update home ui
This commit is contained in:
@@ -4,6 +4,7 @@ import 'package:line_icons/line_icons.dart';
|
||||
|
||||
import '../../../../common/extension/extension.dart';
|
||||
import '../../../../common/theme/theme.dart';
|
||||
import '../../../components/assets/assets.gen.dart';
|
||||
import '../../../router/app_router.gr.dart';
|
||||
import 'feature_tile.dart';
|
||||
|
||||
@@ -38,26 +39,22 @@ class HomeFeature extends StatelessWidget {
|
||||
children: [
|
||||
HomeFeatureTile(
|
||||
title: context.lang.sales,
|
||||
color: const Color(0xFF4CAF50),
|
||||
icon: LineIcons.receipt,
|
||||
iconPath: Assets.icons.icReportSales.path,
|
||||
onTap: () => context.router.push(SalesRoute()),
|
||||
),
|
||||
HomeFeatureTile(
|
||||
title: context.lang.purchase,
|
||||
color: const Color(0xFF2196F3),
|
||||
icon: LineIcons.shoppingCart,
|
||||
iconPath: Assets.icons.icReportPurchase.path,
|
||||
onTap: () => context.router.push(PurchaseRoute()),
|
||||
),
|
||||
HomeFeatureTile(
|
||||
title: context.lang.profit_loss,
|
||||
color: const Color(0xFF8BC34A),
|
||||
icon: LineIcons.moneyCheck,
|
||||
iconPath: Assets.icons.icReportProfitLoss.path,
|
||||
onTap: () => context.router.push(FinanceRoute()),
|
||||
),
|
||||
HomeFeatureTile(
|
||||
title: context.lang.product,
|
||||
color: const Color(0xFFFF9800),
|
||||
icon: LineIcons.box,
|
||||
iconPath: Assets.icons.icReportProduct.path,
|
||||
onTap: () => context.router.push(ProductAnalyticRoute()),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user