Skip to content

Commit

Permalink
remove random icon (for tree shaking)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxAPCS committed Feb 4, 2024
1 parent 064a7a5 commit 2afcd9e
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions lib/pages/admin/admin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,7 @@ final adminGoRoute = GoRoute(
parentNavigatorKey: _adminNavigatorKey,
path: 'home',
name: RoutePaths.adminportal.name,
pageBuilder: (context, state) => MaterialPage(
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
const DrawerButton(),
Icon(
IconData(rnd.nextInt(62685 - 57344) + 57344,
fontFamily: 'MaterialIcons'),
color: Color.fromARGB(
255, rnd.nextInt(255), rnd.nextInt(255), rnd.nextInt(255)),
size: rnd.nextInt(40) + 50)
]))),
pageBuilder: (context, state) => const MaterialPage(child: DrawerButton())),
GoRoute(
parentNavigatorKey: _adminNavigatorKey,
path: AdminRoutePaths.achiqueue.name,
Expand Down

0 comments on commit 2afcd9e

Please sign in to comment.