refactor: Update flutter lints
This commit is contained in:
parent
b473f514ba
commit
35983437e2
15 changed files with 43 additions and 82 deletions
|
|
@ -69,7 +69,7 @@ enum AppSettings<T> {
|
|||
static SharedPreferences get store => _store!;
|
||||
static SharedPreferences? _store;
|
||||
|
||||
static Future<SharedPreferences> init({loadWebConfigFile = true}) async {
|
||||
static Future<SharedPreferences> init({bool loadWebConfigFile = true}) async {
|
||||
if (AppSettings._store != null) return AppSettings.store;
|
||||
|
||||
final store = AppSettings._store = await SharedPreferences.getInstance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue