add proper logging

This commit is contained in:
shenlong-tanwen
2024-08-21 23:43:48 +05:30
parent 1631df70e9
commit 75448ce56b
37 changed files with 923 additions and 224 deletions
@@ -0,0 +1,22 @@
import 'package:flutter/material.dart';
class ImLoadingIndicator extends StatelessWidget {
const ImLoadingIndicator({super.key, this.dimension, this.strokeWidth});
/// The size of the indicator with a default of 24
final double? dimension;
/// The width of the indicator with a default of 2
final double? strokeWidth;
@override
Widget build(BuildContext context) {
return SizedBox(
width: dimension ?? 24,
height: dimension ?? 24,
child: FittedBox(
child: CircularProgressIndicator(strokeWidth: strokeWidth ?? 4),
),
);
}
}