mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Add some getters
This commit is contained in:
parent
1d7d3def04
commit
56dd22c656
3 changed files with 39 additions and 1 deletions
|
|
@ -31,10 +31,22 @@ class _StockItemTestResultDisplayState extends RefreshableState<StockItemTestRes
|
|||
|
||||
_StockItemTestResultDisplayState(this.item);
|
||||
|
||||
// Squish together templates and results
|
||||
|
||||
List<Widget> resultsList() {
|
||||
List<Widget> items = [];
|
||||
|
||||
items.add(ListTile(
|
||||
title: Text("Test results"),
|
||||
));
|
||||
|
||||
return items;
|
||||
}
|
||||
|
||||
@override
|
||||
Widget getBody(BuildContext context) {
|
||||
return ListView(
|
||||
|
||||
children: resultsList(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue