change settings link
This commit is contained in:
parent
21abc721fd
commit
5bffc744e3
5 changed files with 31 additions and 8 deletions
File diff suppressed because one or more lines are too long
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
],
|
||||
|
|
|
|||
16
pubspec.lock
16
pubspec.lock
|
|
@ -45,10 +45,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: archive
|
||||
sha256: "0c64e928dcbefddecd234205422bcfc2b5e6d31be0b86fef0d0dd48d7b4c9742"
|
||||
sha256: "7dcbd0f87fe5f61cb28da39a1a8b70dbc106e2fe0516f7836eb7bb2948481a12"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.0.4"
|
||||
version: "4.0.5"
|
||||
args:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -342,6 +342,14 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.0.27"
|
||||
flutter_settings_screens:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: flutter_settings_screens
|
||||
sha256: b9e5ff87537fceeb67012560db6ef4bb0ff7d7a031e8184e1689538756ca99a0
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.3.4"
|
||||
flutter_svg:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -436,10 +444,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: image
|
||||
sha256: "13d3349ace88f12f4a0d175eb5c12dcdd39d35c4c109a8a13dfeb6d0bd9e31c3"
|
||||
sha256: "4e973fcf4caae1a4be2fa0a13157aa38a8f9cb049db6529aa00b4d71abc4d928"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.5.3"
|
||||
version: "4.5.4"
|
||||
image_picker:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ dependencies:
|
|||
flutter_bloc: ^9.1.0
|
||||
flutter_dotenv: ^5.2.1
|
||||
path_provider: ^2.1.5
|
||||
flutter_settings_screens: ^0.3.4
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue