load replies at render time

This commit is contained in:
Henry Hiles 2026-03-19 11:26:00 -04:00
commit 62f8e675a4
No known key found for this signature in database
9 changed files with 208 additions and 124 deletions

View file

@ -1,13 +1,14 @@
import "package:flutter/material.dart";
class Loading extends StatelessWidget {
const Loading({super.key});
final double? height;
const Loading({this.height, super.key});
@override
Widget build(BuildContext context) => const Center(
child: Padding(
padding: EdgeInsets.all(16),
child: CircularProgressIndicator(),
),
);
Widget build(BuildContext context) => Center(
child: Padding(
padding: EdgeInsets.all(16),
child: SizedBox(height: height, child: CircularProgressIndicator()),
),
);
}