2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 18:25:26 +00:00

Add "QuantityField"

Juicy juicy refactoring
This commit is contained in:
Oliver Walters
2020-04-18 22:07:02 +10:00
parent 51a877e8d7
commit a7d11faec8
8 changed files with 102 additions and 67 deletions

View File

@ -54,6 +54,10 @@ abstract class RefreshableState<T extends StatefulWidget> extends State<T> {
return null;
}
Widget getFab(BuildContext context) {
return null;
}
@override
Widget build(BuildContext context) {
@ -63,6 +67,7 @@ abstract class RefreshableState<T extends StatefulWidget> extends State<T> {
return Scaffold(
appBar: getAppBar(context),
drawer: getDrawer(context),
floatingActionButton: getFab(context),
body: RefreshIndicator(
onRefresh: refresh,
child: getBody(context)