AubecsFormStyle constructor
- @JsonSerializable(explicitToJson: true)
const
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,
})
Implementation
@JsonSerializable(explicitToJson: true)
const factory AubecsFormStyle({
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
/// Color of the textinput
Color? textColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
/// Color of the errormessage
/// Only available for Android
Color? textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
/// Color of the place holder text
/// Only available for Android
Color? placeholderColor,
/// Size of the font in the input form.
int? fontSize,
/// Borderwith of the form
/// Only available for Android
int? borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
/// Background color of the form.
///
/// Make sure there is enough contrast with the text color
Color? backgroundColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
/// Color of the border of the formfields.
///
/// Make sure there is enough contrast with the text color
/// Only available for Android
Color? borderColor,
/// Borderadius of the form
/// Only available for Android
int? borderRadius,
}) = _AubecsFormStyle;