mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
SP-1495-fix-deployment by wrapping ChartsLoadingWidget.CircularProgressIndicator
with a padding instead of adding padding as a property of CircularProgressIndicator
.
This commit is contained in:
@ -5,6 +5,7 @@ class ChartsLoadingWidget extends StatelessWidget {
|
|||||||
required this.isLoading,
|
required this.isLoading,
|
||||||
super.key,
|
super.key,
|
||||||
});
|
});
|
||||||
|
|
||||||
final bool isLoading;
|
final bool isLoading;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@ -14,8 +15,9 @@ class ChartsLoadingWidget extends StatelessWidget {
|
|||||||
child: const SizedBox.square(
|
child: const SizedBox.square(
|
||||||
dimension: 16,
|
dimension: 16,
|
||||||
child: FittedBox(
|
child: FittedBox(
|
||||||
child: CircularProgressIndicator(
|
child: Padding(
|
||||||
padding: EdgeInsetsDirectional.only(end: 8),
|
padding: EdgeInsetsDirectional.only(end: 8),
|
||||||
|
child: CircularProgressIndicator(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user