mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Add snackbar with icon
- stock adjust - part edit - location edit
This commit is contained in:
parent
ce2a866384
commit
c8c056f96d
7 changed files with 154 additions and 34 deletions
|
|
@ -8,6 +8,8 @@ import 'package:InvenTree/widget/drawer.dart';
|
|||
|
||||
abstract class RefreshableState<T extends StatefulWidget> extends State<T> {
|
||||
|
||||
final refreshableKey = GlobalKey<ScaffoldState>();
|
||||
|
||||
// Storage for context once "Build" is called
|
||||
BuildContext context;
|
||||
|
||||
|
|
@ -80,6 +82,7 @@ abstract class RefreshableState<T extends StatefulWidget> extends State<T> {
|
|||
this.context = context;
|
||||
|
||||
return Scaffold(
|
||||
key: refreshableKey,
|
||||
appBar: getAppBar(context),
|
||||
drawer: getDrawer(context),
|
||||
floatingActionButton: getFab(context),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue