Major overhaul of "paginated list" widget class

- Simplify implementation
- Create mixin class for code reuse
- Allow custom app-bar
- Allow custom ordering / sorting options
- Improve code commenting / readability
This commit is contained in:
Oliver Walters 2022-07-06 20:24:40 +10:00
parent 979f950129
commit 7301243ed6
6 changed files with 143 additions and 134 deletions

View file

@ -354,7 +354,9 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => BomList(part)
builder: (context) => PaginatedBomList({
"part": part.pk.toString(),
})
)
);
}