change settings link

This commit is contained in:
Patrick Alvin Alcala 2025-03-25 17:52:22 +08:00
parent 21abc721fd
commit 5bffc744e3
5 changed files with 31 additions and 8 deletions

View file

@ -94,10 +94,10 @@ class _CustomerPageState extends State<CustomerPage> {
),
),
BottomBarItem(
inActiveItem: Icon(Icons.person, size: barIconInactiveSize, color: unselectedBarColor),
activeItem: Icon(Icons.person, size: barIconActiveSize, color: selectedBarColor),
inActiveItem: FaIcon(FontAwesomeIcons.userGear, size: barIconInactiveSize, color: unselectedBarColor),
activeItem: FaIcon(FontAwesomeIcons.userGear, size: barIconActiveSize, color: selectedBarColor),
itemLabelWidget: TextWidget(
text: 'Profile',
text: 'Settings',
size: barFontSize,
bold: true,
color: unselectedBarColor,

View file

@ -8,6 +8,7 @@ import 'package:pharmacy_mobile/widgets/customer_pagebackground_widget.dart';
import 'package:pharmacy_mobile/widgets/customer_title_widget.dart';
import 'package:pharmacy_mobile/widgets/snackbar_widget.dart';
import 'package:pharmacy_mobile/widgets/text_widget.dart';
// import 'package:flutter_settings_screens/flutter_settings_screens.dart';
class CustomerProfilePage extends StatefulWidget {
const CustomerProfilePage({super.key});
@ -80,6 +81,19 @@ class _CustomerProfilePageState extends State<CustomerProfilePage> {
),
],
),
// SimpleSettingsTile(
// title: 'Advanced',
// subtitle: 'More, advanced settings.',
// // screen: SettingsScreen(
// // title: 'Sub menu',
// // children: <Widget>[
// // CheckboxSettingsTile(
// // settingsKey: 'key-of-your-setting',
// // title: 'This is a simple Checkbox',
// // ),
// // ],
// // ),
// ),
const Gap(32),
ButtonWidget(text: 'Log Out', onPressed: _signOut)
],