drawer added, trying to fix text alignment
This commit is contained in:
parent
9e42671488
commit
157d485e3c
4 changed files with 82 additions and 1 deletions
|
@ -13,6 +13,7 @@ import 'package:datetime_picker_formfield/datetime_picker_formfield.dart';
|
|||
import 'package:local_spend/common/apifunctions/find_organisations.dart';
|
||||
import 'package:local_spend/common/widgets/popupListView.dart';
|
||||
import 'package:local_spend/common/apifunctions/categories.dart';
|
||||
import 'package:local_spend/common/widgets/awesome_drawer.dart';
|
||||
|
||||
const URL = "https://flutter.io/";
|
||||
const demonstration = false;
|
||||
|
@ -300,8 +301,10 @@ class ReceiptPageState extends State<ReceiptPage> {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
var drawer = new AwesomeDrawer();
|
||||
return PlatformScaffold(
|
||||
drawer: Drawer(),
|
||||
drawer: drawer.getDrawer(context),
|
||||
|
||||
appBar: AppBar(
|
||||
automaticallyImplyLeading: !Platform.isIOS, // done to remove UI glitch, now works on both platforms
|
||||
// leading: Drawer(),
|
||||
|
|
|
@ -12,6 +12,7 @@ import 'package:local_spend/common/widgets/charts/grouped_bar_chart.dart';
|
|||
import 'package:local_spend/common/widgets/charts/scatter_bucketingAxis_legend.dart';
|
||||
import 'package:local_spend/common/widgets/charts/numeric_line_bar_combo.dart';
|
||||
import 'package:local_spend/common/widgets/charts/series_legend_with_measures.dart';
|
||||
import 'package:local_spend/common/widgets/awesome_drawer.dart';
|
||||
|
||||
const URL = "https://flutter.io/";
|
||||
const demonstration = false;
|
||||
|
@ -43,7 +44,11 @@ class StatsPageState extends State<StatsPage> {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
var drawer = new AwesomeDrawer();
|
||||
|
||||
return PlatformScaffold(
|
||||
drawer: drawer.getDrawer(context),
|
||||
|
||||
appBar: AppBar(
|
||||
backgroundColor: Colors.blue[400],
|
||||
title: Text(
|
||||
|
|
Reference in a new issue