This commit is contained in:
2020-12-23 00:43:59 -05:00
parent 0fd880f57b
commit 86c845b49b
54 changed files with 3638 additions and 107 deletions

View File

@@ -0,0 +1,11 @@
import 'package:flutter/material.dart';
import 'package:flutter_wisetronic/store/actions.dart';
import 'package:redux/redux.dart';
final localeReducer = combineReducers<Locale>([
TypedReducer<Locale, UpdateLocale>(_updateLocale)
]);
Locale _updateLocale(Locale locale, action) {
return action.locale;
}