mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
Hide unused widgets
This commit is contained in:
@ -75,26 +75,26 @@ class _UserDropdownMenuState extends State<UserDropdownMenu> {
|
||||
),
|
||||
),
|
||||
items: <PopupMenuEntry>[
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: ListTile(
|
||||
leading: SvgPicture.asset(Assets.accountSetting),
|
||||
title: Text(
|
||||
"Account Settings",
|
||||
style: context.textTheme.bodyMedium,
|
||||
),
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: ListTile(
|
||||
leading: SvgPicture.asset(Assets.settings),
|
||||
title: Text(
|
||||
"Settings",
|
||||
style: context.textTheme.bodyMedium,
|
||||
),
|
||||
),
|
||||
),
|
||||
// PopupMenuItem(
|
||||
// onTap: () {},
|
||||
// child: ListTile(
|
||||
// leading: SvgPicture.asset(Assets.accountSetting),
|
||||
// title: Text(
|
||||
// "Account Settings",
|
||||
// style: context.textTheme.bodyMedium,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// PopupMenuItem(
|
||||
// onTap: () {},
|
||||
// child: ListTile(
|
||||
// leading: SvgPicture.asset(Assets.settings),
|
||||
// title: Text(
|
||||
// "Settings",
|
||||
// style: context.textTheme.bodyMedium,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
PopupMenuItem(
|
||||
onTap: () {
|
||||
showDialog(
|
||||
@ -211,8 +211,10 @@ class _UserDropdownMenuState extends State<UserDropdownMenu> {
|
||||
elevation: 1,
|
||||
child: Text(
|
||||
'Logout',
|
||||
style:
|
||||
Theme.of(context).textTheme.bodyMedium!.copyWith(fontSize: 12, color: Colors.white),
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyMedium!
|
||||
.copyWith(fontSize: 12, color: Colors.white),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user