AubecsFormStyle class
Styling information for the AubecsFormField
- Annotations
-
- @freezed
Constructors
- AubecsFormStyle({@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? textColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? placeholderColor, int? fontSize, int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? backgroundColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? borderColor, int? borderRadius})
-
constfactory
-
AubecsFormStyle.fromJson(Map<
String, dynamic> json) -
factory
Properties
- backgroundColor → Color?
-
no setterinherited
- borderColor → Color?
-
no setterinherited
- borderRadius → int?
-
Borderadius of the form
Only available for Android
no setterinherited
- borderWidth → int?
-
Borderwith of the form
Only available for Android
no setterinherited
-
copyWith
→ $AubecsFormStyleCopyWith<
AubecsFormStyle> -
no setterinherited
- fontSize → int?
-
Size of the font in the input form.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- placeholderColor → Color?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textColor → Color?
-
no setterinherited
- textErrorColor → Color?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited