2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 10:15:32 +00:00

Add progress indicators to a bunch o' stuff

This commit is contained in:
Oliver Walters
2021-02-11 21:38:48 +11:00
parent dba45c7600
commit b1b85a33f8
8 changed files with 172 additions and 96 deletions

View File

@ -1,5 +1,6 @@
import 'dart:io';
import 'package:InvenTree/widget/progress.dart';
import 'package:InvenTree/widget/snacks.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
@ -172,6 +173,11 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
headerTile()
);
if (loading) {
tiles.add(progressIndicator());
return tiles;
}
// Category information
if (part.categoryName != null && part.categoryName.isNotEmpty) {
tiles.add(