diff --git a/lib/presentation/pages/order/order_list/widgets/order_summary.dart b/lib/presentation/pages/order/order_list/widgets/order_summary.dart index e5dab19..4adf922 100644 --- a/lib/presentation/pages/order/order_list/widgets/order_summary.dart +++ b/lib/presentation/pages/order/order_list/widgets/order_summary.dart @@ -34,36 +34,13 @@ class OrderSummary extends StatelessWidget { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - IntrinsicHeight( - child: Row( - children: [ - Expanded( - child: _SummaryStat( - title: context.lang.total_orders, - value: totalOrder.count, - amount: totalOrder.amount, - icon: Icons.receipt_long_rounded, - iconBackground: AppColor.white.withOpacity(0.2), - isLoading: isLoading, - ), - ), - VerticalDivider( - width: 28, - thickness: 1, - color: AppColor.white.withOpacity(0.25), - ), - Expanded( - child: _SummaryStat( - title: context.lang.pending_order, - value: totalPendingOrder.count, - amount: totalPendingOrder.amount, - icon: Icons.hourglass_top_rounded, - iconBackground: _pendingColor, - isLoading: isLoading, - ), - ), - ], - ), + _SummaryStat( + title: context.lang.pending_order, + value: totalPendingOrder.count, + amount: totalPendingOrder.amount, + icon: Icons.hourglass_top_rounded, + iconBackground: _pendingColor, + isLoading: isLoading, ), const SpaceHeight(16), _PendingRatioBar(ratio: pendingRatio), @@ -113,7 +90,7 @@ class _SummaryStat extends StatelessWidget { color: iconBackground, borderRadius: BorderRadius.circular(10), ), - child: Icon(icon, color: AppColor.white, size: 16), + child: Icon(icon, color: AppColor.white, size: 20), ), const SpaceWidth(8), Expanded( @@ -121,7 +98,7 @@ class _SummaryStat extends StatelessWidget { title, maxLines: 1, overflow: TextOverflow.ellipsis, - style: AppStyle.sm.copyWith( + style: AppStyle.lg.copyWith( color: AppColor.white.withOpacity(0.9), fontWeight: FontWeight.w600, ), @@ -133,7 +110,7 @@ class _SummaryStat extends StatelessWidget { if (isLoading) ...[ _shimmerBox(width: 110, height: 26), const SpaceHeight(6), - _shimmerBox(width: 64, height: 16), + _shimmerBox(width: 80, height: 20), ] else ...[ TweenAnimationBuilder( tween: IntTween(begin: 0, end: amount), @@ -170,7 +147,7 @@ class _SummaryStat extends StatelessWidget { context.lang.order_count_label(animatedValue), maxLines: 1, overflow: TextOverflow.ellipsis, - style: AppStyle.md.copyWith( + style: AppStyle.xl.copyWith( color: AppColor.white.withOpacity(0.9), fontWeight: FontWeight.w700, ), diff --git a/pubspec.yaml b/pubspec.yaml index b08b869..0b6796b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: "A new Flutter project." publish_to: "none" -version: 1.0.4+17 +version: 1.0.4+18 environment: sdk: ^3.8.1