update home ui
This commit is contained in:
parent
9076c9c66e
commit
6e4b09f15e
@ -13,7 +13,6 @@ import 'widgets/feature.dart';
|
|||||||
import 'widgets/header.dart';
|
import 'widgets/header.dart';
|
||||||
import 'widgets/promo_banner.dart';
|
import 'widgets/promo_banner.dart';
|
||||||
import 'widgets/stats.dart';
|
import 'widgets/stats.dart';
|
||||||
import 'widgets/top_product.dart';
|
|
||||||
|
|
||||||
@RoutePage()
|
@RoutePage()
|
||||||
class HomePage extends StatefulWidget implements AutoRouteWrapper {
|
class HomePage extends StatefulWidget implements AutoRouteWrapper {
|
||||||
@ -174,9 +173,6 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
|||||||
const HomePromoBanner(),
|
const HomePromoBanner(),
|
||||||
HomeFeature(),
|
HomeFeature(),
|
||||||
HomeStats(overview: state.dashboard.overview),
|
HomeStats(overview: state.dashboard.overview),
|
||||||
HomeTopProduct(
|
|
||||||
products: state.dashboard.topProducts,
|
|
||||||
),
|
|
||||||
const SpaceHeight(40),
|
const SpaceHeight(40),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
import 'package:auto_route/auto_route.dart';
|
import 'package:auto_route/auto_route.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:hugeicons/hugeicons.dart';
|
import 'package:hugeicons/hugeicons.dart';
|
||||||
import 'package:line_icons/line_icon.dart';
|
|
||||||
import 'package:line_icons/line_icons.dart';
|
|
||||||
|
|
||||||
import '../../../../common/extension/extension.dart';
|
import '../../../../common/extension/extension.dart';
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user