Skip to content

Commit

Permalink
/fix shimmer loading final form
Browse files Browse the repository at this point in the history
  • Loading branch information
BombardierBulge committed Dec 8, 2024
1 parent 5dd25a7 commit 848e896
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ class _LoadingTitle extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.fromLTRB(SksMenuConfig.paddingLarge,0,SksMenuConfig.paddingLarge, SksMenuConfig.paddingMedium),
padding: const EdgeInsets.fromLTRB(SksMenuConfig.paddingLarge, 0,
SksMenuConfig.paddingLarge, SksMenuConfig.paddingMedium),
child: Container(
decoration: BoxDecoration(
color: context.colorTheme.whiteSoap,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class SksMenuViewLoading extends StatelessWidget {
SksMenuHeaderLoading(),
Expanded(
child: _SksMenuTitleLoadingPaddings(),
)
,],
),
],
),
),
);
Expand All @@ -38,10 +38,13 @@ class _SksMenuTitleLoadingPaddings extends StatelessWidget {
Widget build(BuildContext context) {
return ScrollableLoaderBuilder(
itemsSpacing: 4,
mainAxisItemSize:14,
mainAxisItemSize: 14,
scrollDirection: Axis.vertical,
itemBuilder: (BuildContext context, int index) {
return const Padding(padding: EdgeInsets.symmetric(vertical: SksMenuConfig.paddingMedium),child:SksMenuTilesLoading(),);
return const Padding(
padding: EdgeInsets.symmetric(vertical: SksMenuConfig.paddingMedium),
child: SksMenuTilesLoading(),
);
},
);
}
Expand Down

0 comments on commit 848e896

Please sign in to comment.