diff --git a/lib/src/Fields/src/models/style.model.dart b/lib/src/Fields/src/models/style.model.dart index 933d25b..753f9d6 100644 --- a/lib/src/Fields/src/models/style.model.dart +++ b/lib/src/Fields/src/models/style.model.dart @@ -31,6 +31,7 @@ class AstromicFieldStyle { this.borderColor, this.borderGradient, this.cursorColor, + this.cursorErrorColor, this.hintStyle, this.textStyle, }); @@ -64,6 +65,7 @@ class AstromicFieldStyle { //s1 - Colors final Color fillColor; final Color? cursorColor; + final Color? cursorErrorColor; final Color? borderColor; final Gradient? borderGradient; //s1 - Styling @@ -92,6 +94,7 @@ class AstromicFieldStyle { CrossAxisAlignment? suffixAlignment, Color? fillColor, Color? cursorColor, + Color? cursorErrorColor, Color? borderColor, Gradient? borderGradient, TextStyle? hintStyle, @@ -117,6 +120,7 @@ class AstromicFieldStyle { suffixSize: suffixSize ?? this.suffixSize, fillColor: fillColor ?? this.fillColor, cursorColor: cursorColor ?? this.cursorColor, + cursorErrorColor: cursorErrorColor ?? this.cursorErrorColor, borderColor: borderColor ?? this.borderColor, borderGradient: borderGradient ?? this.borderGradient, hintStyle: hintStyle ?? this.hintStyle,