const constructure
This commit is contained in:
@@ -49,7 +49,7 @@ class _MainPageState extends State<MainPage> {
|
||||
);
|
||||
},
|
||||
child: AutoTabsRouter(
|
||||
routes: [
|
||||
routes: const [
|
||||
HomeRoute(),
|
||||
TableRoute(),
|
||||
ReportRoute(),
|
||||
@@ -83,7 +83,7 @@ class _MainPageState extends State<MainPage> {
|
||||
),
|
||||
minExtendedWidth: 56,
|
||||
leading: Padding(
|
||||
padding: EdgeInsets.all(8.0),
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Assets.images.logoWhite.image(
|
||||
width: 40,
|
||||
height: 40,
|
||||
@@ -103,7 +103,8 @@ class _MainPageState extends State<MainPage> {
|
||||
onPressed: () {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (context) => LogoutModalDialog(),
|
||||
builder: (context) =>
|
||||
const LogoutModalDialog(),
|
||||
);
|
||||
},
|
||||
tooltip: 'Logout',
|
||||
|
||||
Reference in New Issue
Block a user