refactor(ui_components): move borderColors type
This commit is contained in:
parent
eda643e9b4
commit
51672cc95a
@ -43,7 +43,7 @@ class TextInputStyle extends ThemeStyle<TextInputStyle> {
|
||||
final Color? suffixIconColor;
|
||||
|
||||
final MultiColor? backgroundColors;
|
||||
final MultiColor? borderColors;
|
||||
final Color? borderColors;
|
||||
final BoxShadow? boxShadow;
|
||||
final BorderRadiusGeometry? radius;
|
||||
final TextStyle? inputStyle;
|
||||
@ -86,7 +86,7 @@ class TextInputStyle extends ThemeStyle<TextInputStyle> {
|
||||
backgroundColors:
|
||||
MultiColor.lerp(a.backgroundColors, b.backgroundColors, t),
|
||||
radius: BorderRadiusGeometry.lerp(a.radius, b.radius, t),
|
||||
borderColors: MultiColor.lerp(a.borderColors, b.borderColors, t),
|
||||
borderColors: Color.lerp(a.borderColors, b.borderColors, t),
|
||||
boxShadow: BoxShadow.lerp(a.boxShadow, b.boxShadow, t),
|
||||
inputStyle: TextStyle.lerp(a.inputStyle, b.inputStyle, t),
|
||||
prefixStyle: TextStyle.lerp(a.prefixStyle, b.prefixStyle, t),
|
||||
@ -106,7 +106,7 @@ class TextInputStyle extends ThemeStyle<TextInputStyle> {
|
||||
TextStyle? labelStyle,
|
||||
TextStyle? hintStyle,
|
||||
MultiColor? backgroundColors,
|
||||
MultiColor? borderColors,
|
||||
Color? borderColors,
|
||||
BoxShadow? boxShadow,
|
||||
BorderRadiusGeometry? radius,
|
||||
TextStyle? inputStyle,
|
||||
|
Loading…
x
Reference in New Issue
Block a user