feat: update shimmer loading components to remove const constructors for better flexibility
This commit is contained in:
@@ -18,7 +18,7 @@ class DateSelectorSkeleton extends StatelessWidget {
|
||||
margin: const EdgeInsets.symmetric(
|
||||
horizontal: UiConstants.space1,
|
||||
),
|
||||
child: const UiShimmerBox(
|
||||
child: UiShimmerBox(
|
||||
width: double.infinity,
|
||||
height: 80,
|
||||
borderRadius: UiConstants.radiusLg,
|
||||
|
||||
@@ -8,7 +8,7 @@ class SwipeActionSkeleton extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const UiShimmerBox(
|
||||
return UiShimmerBox(
|
||||
width: double.infinity,
|
||||
height: 60,
|
||||
borderRadius: UiConstants.radiusLg,
|
||||
|
||||
@@ -30,7 +30,7 @@ class ReliabilityScoreSkeleton extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(height: UiConstants.space2),
|
||||
// Progress bar placeholder
|
||||
const UiShimmerBox(
|
||||
UiShimmerBox(
|
||||
width: double.infinity,
|
||||
height: 8,
|
||||
borderRadius: UiConstants.radiusSm,
|
||||
|
||||
Reference in New Issue
Block a user