| 123456789101112131415161718192021222324 |
- import 'package:flutter/material.dart';
- class ImageLoading extends StatelessWidget{
- final double? value;
- const ImageLoading({
- super.key,
- this.value
- });
- @override
- Widget build(BuildContext context) {
- return Container(
- decoration: BoxDecoration(color: Colors.grey.withAlpha(20)),
- child:Center(
- child: SizedBox(
- width: 48, height: 48,
- child: CircularProgressIndicator(
- value: value
- )),
- ) ,
- );
- }
- }
|