mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
CAKE-28 | reworked exchange confirm page; applied light and dark themes to exchange confirm page, currency picker, picker, base alert dialog, alert with one action; applied maximum characters parameter to crypto currency text field in the exchange card
This commit is contained in:
parent
40aeacfb4b
commit
ecf7a5ba78
15 changed files with 404 additions and 341 deletions
|
@ -21,7 +21,8 @@ class BaseTextFormField extends StatelessWidget {
|
|||
this.enabled = true,
|
||||
this.validator,
|
||||
this.textStyle,
|
||||
this.placeholderTextStyle});
|
||||
this.placeholderTextStyle,
|
||||
this.maxLength});
|
||||
|
||||
final TextEditingController controller;
|
||||
final TextInputType keyboardType;
|
||||
|
@ -42,6 +43,7 @@ class BaseTextFormField extends StatelessWidget {
|
|||
final FormFieldValidator<String> validator;
|
||||
final TextStyle placeholderTextStyle;
|
||||
final TextStyle textStyle;
|
||||
final int maxLength;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
@ -54,6 +56,7 @@ class BaseTextFormField extends StatelessWidget {
|
|||
maxLines: maxLines,
|
||||
inputFormatters: inputFormatters,
|
||||
enabled: enabled,
|
||||
maxLength: maxLength,
|
||||
style: textStyle ?? TextStyle(
|
||||
fontSize: 16.0,
|
||||
color: textColor ?? Theme.of(context).primaryTextTheme.title.color),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue