refactor(ui_components): update colors using Multicolor class (#138)

This commit is contained in:
Malo Léon 2023-02-16 13:14:01 +01:00
parent c2b60f2d79
commit c6beae597b
2 changed files with 6 additions and 6 deletions

View File

@ -145,7 +145,7 @@ abstract class TextInputComponent extends Component
final EditableTextContextMenuBuilder? contextMenuBuilder;
final SpellCheckConfiguration? spellCheckConfiguration;
final List<Color>? backgroundColors;
final List<Color>? borderColors;
final MultiColor? backgroundColors;
final MultiColor? borderColors;
final double? radius;
}

View File

@ -7,8 +7,8 @@ part of 'text_input_component.dart';
// **************************************************************************
abstract class $TextInputComponentCWProxy {
TextInputComponent backgroundColors(List<Color>? backgroundColors);
TextInputComponent borderColors(List<Color>? borderColors);
TextInputComponent backgroundColors(MultiColor? backgroundColors);
TextInputComponent borderColors(MultiColor? borderColors);
TextInputComponent radius(double? radius);
TextInputComponent controller(TextEditingController? controller);
TextInputComponent focusNode(FocusNode? focusNode);
@ -76,8 +76,8 @@ abstract class $TextInputComponentCWProxy {
TextMagnifierConfiguration? magnifierConfiguration);
TextInputComponent key(Key? key);
TextInputComponent call({
List<Color>? backgroundColors,
List<Color>? borderColors,
MultiColor? backgroundColors,
MultiColor? borderColors,
double? radius,
TextEditingController? controller,
FocusNode? focusNode,