You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudsolutions-atoms/lib/new_views/common_widgets/app_lazy_loading.dart

22 lines
743 B
Dart

import 'package:flutter/material.dart';
import 'package:test_sa/extensions/int_extensions.dart';
import 'package:test_sa/new_views/app_style/app_color.dart';
import 'package:test_sa/views/app_style/sizing.dart';
class AppLazyLoading extends StatelessWidget {
const AppLazyLoading({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Center(
child: Container(
height: 36.toScreenWidth,
width: 36.toScreenWidth,
padding: const EdgeInsets.all(8),
decoration: const BoxDecoration(color: AppColor.neutral10, shape: BoxShape.circle, boxShadow: [AppStyle.boxShadow]),
child: const Center(child: CircularProgressIndicator(strokeWidth: 3)),
),
);
}
}