added local db

This commit is contained in:
2026-07-29 13:06:39 +05:30
parent d72522e737
commit d9886880cc
38 changed files with 2895 additions and 2261 deletions

View File

@@ -22,7 +22,11 @@ class CartFab extends ConsumerWidget {
return Padding(
padding: const EdgeInsets.all(AppSpacing.lg),
child: Material(
child: ConstrainedBox(
constraints: BoxConstraints(
maxWidth: MediaQuery.sizeOf(context).width - AppSpacing.xxxl,
),
child: Material(
color: AppColors.primary,
borderRadius: AppRadius.brLg,
elevation: 0,
@@ -57,15 +61,18 @@ class CartFab extends ConsumerWidget {
),
),
const SizedBox(width: AppSpacing.md),
const Text(
'View bill',
style: TextStyle(
color: Colors.white,
fontSize: 15,
fontWeight: FontWeight.w600,
const Flexible(
child: Text(
'View bill',
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: Colors.white,
fontSize: 15,
fontWeight: FontWeight.w600,
),
),
),
const SizedBox(width: AppSpacing.xl),
const SizedBox(width: AppSpacing.lg),
Text(
Formatters.money(cart.grandTotal),
style: AppTypography.money(19, color: Colors.white),
@@ -77,6 +84,7 @@ class CartFab extends ConsumerWidget {
),
),
),
),
),
).animate().fadeIn(duration: 180.ms).slideY(begin: 0.3, end: 0);
}