Spinner class. Fire notifications loading
This commit is contained in:
parent
fa63734ff2
commit
4ff9d995e7
4 changed files with 25 additions and 8 deletions
|
|
@ -17,6 +17,7 @@ import 'mainDrawer.dart';
|
|||
import 'models/appState.dart';
|
||||
import 'placesAutocompleteUtils.dart';
|
||||
import 'redux/actions.dart';
|
||||
import 'firesSpinner.dart';
|
||||
|
||||
@immutable
|
||||
class _ViewModel {
|
||||
|
|
@ -217,7 +218,7 @@ class _ActiveFiresPageState extends State<ActiveFiresPage> {
|
|||
FloatingActionButtonLocation.centerFloat,
|
||||
bottomNavigationBar: new GlobalFiresBottomStats(),
|
||||
body: view.isLoading
|
||||
? new SpinKitPulse(color: fires600)
|
||||
? new FiresSpinner()
|
||||
: hasLocations
|
||||
? new Stack(children: <Widget>[
|
||||
new RefreshIndicator(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue