mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
explicitly declare empty lists
This commit is contained in:
parent
4833c4ca28
commit
eb63b1828c
2 changed files with 3 additions and 2 deletions
|
@ -2,4 +2,4 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|||
import 'package:stackwallet/models/exchange/change_now/currency.dart';
|
||||
|
||||
final availableChangeNowCurrenciesStateProvider =
|
||||
StateProvider<List<Currency>>((ref) => []);
|
||||
StateProvider<List<Currency>>((ref) => <Currency>[]);
|
||||
|
|
|
@ -2,4 +2,5 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|||
import 'package:stackwallet/models/exchange/change_now/available_floating_rate_pair.dart';
|
||||
|
||||
final availableFloatingRatePairsStateProvider =
|
||||
StateProvider<List<AvailableFloatingRatePair>>((ref) => []);
|
||||
StateProvider<List<AvailableFloatingRatePair>>(
|
||||
(ref) => <AvailableFloatingRatePair>[]);
|
||||
|
|
Loading…
Reference in a new issue