mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Separate onBuild and refresh callbacks
This commit is contained in:
parent
90a39ae3de
commit
93630ea910
5 changed files with 35 additions and 15 deletions
|
|
@ -46,6 +46,11 @@ class _CompanyListState extends RefreshableState<CompanyListWidget> {
|
|||
|
||||
_CompanyListState(this._title, this._filters) {}
|
||||
|
||||
@override
|
||||
Future<void> onBuild(BuildContext context) async {
|
||||
refresh();
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> request(BuildContext context) async {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue