mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Move Drawer to separate file
- Now consistent drawer is accessible across all views
This commit is contained in:
parent
aa865eea1b
commit
6d3db243c3
6 changed files with 132 additions and 61 deletions
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
import 'package:InvenTree/inventree/stock.dart';
|
||||
import 'package:InvenTree/widget/drawer.dart';
|
||||
import 'package:InvenTree/widget/stock_display.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
|
@ -88,6 +89,7 @@ class _LocationDisplayState extends State<LocationDisplayWidget> {
|
|||
appBar: AppBar(
|
||||
title: Text(_title),
|
||||
),
|
||||
drawer: new InvenTreeDrawer(context),
|
||||
body: Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue