feat: update profile page
This commit is contained in:
parent
06d777290d
commit
de11c1243c
@ -58,6 +58,14 @@ class ProfileAccountInfo extends StatelessWidget {
|
|||||||
subtitle: user.createdAt.toDate,
|
subtitle: user.createdAt.toDate,
|
||||||
showArrow: false,
|
showArrow: false,
|
||||||
),
|
),
|
||||||
|
ProfileDivider(),
|
||||||
|
|
||||||
|
ProfileTile(
|
||||||
|
icon: LineIcons.userEdit,
|
||||||
|
title: 'Ubah Profil',
|
||||||
|
subtitle: 'Ubah profil kamu',
|
||||||
|
showArrow: false,
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
|
import 'package:auto_route/auto_route.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../../../../common/theme/theme.dart';
|
import '../../../../common/theme/theme.dart';
|
||||||
|
import '../../../router/app_router.gr.dart';
|
||||||
import 'divider.dart';
|
import 'divider.dart';
|
||||||
import 'profile_tile.dart';
|
import 'profile_tile.dart';
|
||||||
|
|
||||||
@ -39,8 +41,8 @@ class ProfileBusinessSetting extends StatelessWidget {
|
|||||||
|
|
||||||
ProfileTile(
|
ProfileTile(
|
||||||
icon: Icons.business_outlined,
|
icon: Icons.business_outlined,
|
||||||
title: 'Business Information',
|
title: 'Outlet Information',
|
||||||
subtitle: 'Manage your business details',
|
subtitle: 'Manage your Outlet details',
|
||||||
onTap: () {
|
onTap: () {
|
||||||
// Navigate to business info
|
// Navigate to business info
|
||||||
},
|
},
|
||||||
@ -71,23 +73,10 @@ class ProfileBusinessSetting extends StatelessWidget {
|
|||||||
ProfileDivider(),
|
ProfileDivider(),
|
||||||
|
|
||||||
ProfileTile(
|
ProfileTile(
|
||||||
icon: Icons.receipt_long_outlined,
|
icon: Icons.inventory_2_outlined,
|
||||||
title: 'Tax Settings',
|
title: 'Product',
|
||||||
subtitle: 'Configure tax rates and policies',
|
subtitle: 'Manage your products',
|
||||||
onTap: () {
|
onTap: () => context.router.push(ProductRoute()),
|
||||||
// Navigate to tax settings
|
|
||||||
},
|
|
||||||
),
|
|
||||||
|
|
||||||
ProfileDivider(),
|
|
||||||
|
|
||||||
ProfileTile(
|
|
||||||
icon: Icons.print_outlined,
|
|
||||||
title: 'Receipt & Print Settings',
|
|
||||||
subtitle: 'Configure receipt templates',
|
|
||||||
onTap: () {
|
|
||||||
// Navigate to print settings
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user