Flutter upgrade

This commit is contained in:
M 2022-10-12 13:09:57 -04:00
parent c921ad890a
commit 1beb18b045
505 changed files with 6657 additions and 5875 deletions

View file

@ -4,7 +4,7 @@ import 'package:cake_wallet/core/validator.dart';
import 'package:cw_core/crypto_currency.dart';
class AddressValidator extends TextValidator {
AddressValidator({@required CryptoCurrency type})
AddressValidator({required CryptoCurrency type})
: super(
errorMessage: S.current.error_text_address,
pattern: getPattern(type),
@ -79,7 +79,7 @@ class AddressValidator extends TextValidator {
}
}
static List<int> getLength(CryptoCurrency type) {
static List<int>? getLength(CryptoCurrency type) {
switch (type) {
case CryptoCurrency.xmr:
return null;