refactor(ui_components): move borderColors type

This commit is contained in:
Malo Léon 2023-02-21 13:13:01 +01:00
parent eda643e9b4
commit 51672cc95a

View File

@ -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,