Merge redesign part 1.

This commit is contained in:
M 2020-09-01 14:18:07 +03:00
commit c950f8bfc0
126 changed files with 4852 additions and 2871 deletions

View file

@ -3,10 +3,11 @@ import 'package:cake_wallet/generated/i18n.dart';
import 'package:cake_wallet/src/domain/common/wallet_type.dart';
class AmountValidator extends TextValidator {
AmountValidator({WalletType type})
AmountValidator({WalletType type, bool isAutovalidate = false})
: super(
errorMessage: S.current.error_text_amount,
pattern: _pattern(type),
isAutovalidate: isAutovalidate,
minLength: 0,
maxLength: 0);