reorganize and rename widgets
This commit is contained in:
parent
05d25869ef
commit
d5f29dc344
1 changed files with 568 additions and 547 deletions
15
lib/widgets/common/loading.dart
Normal file
15
lib/widgets/common/loading.dart
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import "package:material_ui/material_ui.dart";
|
||||
|
||||
class const Loading({super.key, final double? dimension})
|
||||
extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) => Center(
|
||||
child: Padding(
|
||||
padding: .all(16),
|
||||
child: SizedBox.square(
|
||||
dimension: dimension,
|
||||
child: CircularProgressIndicator(),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue