Files
GitJournal/lib/widgets/app_bar_menu_button.dart
Vishesh Handa 1a52fb754d AppMenuButton: Remove badge for when git remote not configured
I cannot seem to get it to look nice with this new version of Badges and
now I'm reconsidering if it should be shown at all. The user doesn't
**need** to setup the git repo. This app can be used without it
perfectly fine.
2020-05-01 11:04:21 +02:00

17 lines
378 B
Dart

import 'package:flutter/material.dart';
class GJAppBarMenuButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
var appBarMenuButton = IconButton(
key: const ValueKey("DrawerButton"),
icon: const Icon(Icons.menu),
onPressed: () {
Scaffold.of(context).openDrawer();
},
);
return appBarMenuButton;
}
}