CardFormStyle class
Styiling information for the cardfield.
- Annotations
-
- @freezed
Constructors
- CardFormStyle({@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? backgroundColor, int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? borderColor, int? borderRadius, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? cursorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? textColor, int? fontSize, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? placeholderColor})
-
factory
-
CardFormStyle.fromJson(Map<
String, dynamic> json) -
factory
Properties
- backgroundColor → Color?
-
no setterinherited
- borderColor → Color?
-
no setterinherited
- borderRadius → int?
-
Borderradius that can give the Cardfield rounded corners.
no setterinherited
- borderWidth → int?
-
Width for the border.
no setterinherited
-
copyWith
→ $CardFormStyleCopyWith<
CardFormStyle> -
no setterinherited
- cursorColor → Color?
-
no setterinherited
- fontSize → int?
-
Font size.
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?
-
Color of the input in case incorrect data is entered.
no setterinherited
Methods
-
apply(
CardFormStyle? style) → CardFormStyle -
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