colorScheme.secondary
This commit is contained in:
parent
42d078011e
commit
c557e72320
7 changed files with 19 additions and 62 deletions
|
@ -25,8 +25,7 @@ class CheckboxIconFormField extends FormField<bool> {
|
|||
builder: (FormFieldState<bool> state) {
|
||||
trueIconColor ??= (context == null
|
||||
? null
|
||||
: Theme.of(context).accentIconTheme.color);
|
||||
// Plan to change to colorScheme.secondary
|
||||
: Theme.of(context).colorScheme.secondary);
|
||||
|
||||
return Padding(
|
||||
padding: EdgeInsets.all(padding),
|
||||
|
|
|
@ -17,6 +17,8 @@ class CheckboxListTileFormField extends FormField<bool> {
|
|||
Color? activeColor,
|
||||
Color? checkColor,
|
||||
ListTileControlAffinity controlAffinity = ListTileControlAffinity.leading,
|
||||
EdgeInsetsGeometry? contentPadding,
|
||||
bool autofocus = false,
|
||||
Widget? secondary,
|
||||
}) : super(
|
||||
key: key,
|
||||
|
@ -48,6 +50,8 @@ class CheckboxListTileFormField extends FormField<bool> {
|
|||
: null,
|
||||
controlAffinity: controlAffinity,
|
||||
secondary: secondary,
|
||||
contentPadding: contentPadding,
|
||||
autofocus: autofocus,
|
||||
);
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue