import 'package:redux/redux.dart'; import 'package:invoiceninja/redux/dashboard/dashboard_actions.dart'; import 'package:invoiceninja/redux/product/product_actions.dart'; import 'package:invoiceninja/redux/auth/auth_actions.dart'; final loadingReducer = combineReducers([ TypedReducer(_setLoading), TypedReducer(_setLoaded), TypedReducer(_setLoaded), TypedReducer(_setLoading), TypedReducer(_setLoaded), TypedReducer(_setLoaded), TypedReducer(_setLoading), TypedReducer(_setLoaded), TypedReducer(_setLoaded), TypedReducer(_setLoading), TypedReducer(_setLoaded), TypedReducer(_setLoaded), TypedReducer(_setLoaded), ]); bool _setLoading(bool state, action) { return true; } bool _setLoaded(bool state, action) { return false; }