NeoCard(
child: Column(
crossAxisAlignment: .start,
mainAxisSize: .min,
children: [
Row(
mainAxisSize: .min,
children: [
PhosphorIcon(
PhosphorIconsRegular.shoppingCart,
color: theme.colors.fgSecondary,
size: 22,
),
Gap(theme.spacings.small),
Text(
"Orders",
style: theme.textStyles.label.copyWith(
color: theme.colors.fgSecondary,
),
),
],
),
Gap(theme.spacings.medium),
Text(
"1,898",
style: theme.textStyles.header1.copyWith(
color: theme.colors.fgPrimary,
fontSize: 36,
),
),
Gap(theme.spacings.small),
NeoBadge(
label: "+12% from last month",
icon: (_) => PhosphorIconsRegular.arrowUp,
color: theme.colors.success,
isPill: true,
),
],
),
),