doc : CoreLoadingIndicator and CoreLoadingOverlay
This commit is contained in:
@@ -25,12 +25,32 @@ class HomePage extends GetView<HomeLogic> {
|
||||
SizedBox(height: 8.h),
|
||||
WidelyUsedWidget(),
|
||||
SizedBox(height: 20),
|
||||
Wrap(
|
||||
spacing: 8,
|
||||
children: [
|
||||
buildColumn(CoreLoadingIndicator(), 'CoreLoadingIndicator'),
|
||||
buildColumn(CoreLoadingIndicator.linear(), 'CoreLoadingIndicator.linear'),
|
||||
buildColumn(CoreLoadingIndicator.lottie(), ' CoreLoadingIndicator.lottie'),
|
||||
buildColumn(CoreLoadingIndicator.small(), ' CoreLoadingIndicator.small'),
|
||||
|
||||
buildColumn(CoreLoadingIndicator.cupertino(), 'CoreLoadingIndicator.cupertino'),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget buildColumn(Widget widget, String title) {
|
||||
|
||||
return Container(
|
||||
height: 70.h,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
spacing: 8, children: [widget, Text(title)]));
|
||||
}
|
||||
|
||||
InkWell mainInformation() {
|
||||
return InkWell(
|
||||
onTap: () {
|
||||
|
||||
Reference in New Issue
Block a user