feat: order detail
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -10,6 +10,7 @@ import '../../../components/appbar/appbar.dart';
|
||||
import '../../../components/button/button.dart';
|
||||
import '../../../components/spacer/spacer.dart';
|
||||
import '../../../components/widgets/empty_widget.dart';
|
||||
import '../../../router/app_router.gr.dart';
|
||||
import 'widgets/status_tile.dart';
|
||||
import 'widgets/order_tile.dart';
|
||||
|
||||
@@ -219,7 +220,11 @@ class _OrderPageState extends State<OrderPage> with TickerProviderStateMixin {
|
||||
padding: EdgeInsets.zero,
|
||||
itemBuilder: (context, index) {
|
||||
return OrderTile(
|
||||
onTap: () {},
|
||||
onTap: () => context.router.push(
|
||||
OrderDetailRoute(
|
||||
order: state.orders[index],
|
||||
),
|
||||
),
|
||||
order: state.orders[index],
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user