FStyle constructor
FStyle({
- required FFormFieldStyle enabledFormFieldStyle,
- required FFormFieldStyle disabledFormFieldStyle,
- required FFormFieldErrorStyle errorFormFieldStyle,
- required FIconStyle iconStyle,
- required FFocusedOutlineStyle focusedOutlineStyle,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8)),
- double borderWidth = 1,
- EdgeInsets pagePadding = const EdgeInsets.symmetric(vertical: 8, horizontal: 12),
Creates an FStyle.
Note: Unless you are creating a completely new style, modifying FThemes' predefined styles should be preferred.
Implementation
FStyle({
required this.enabledFormFieldStyle,
required this.disabledFormFieldStyle,
required this.errorFormFieldStyle,
required this.iconStyle,
required this.focusedOutlineStyle,
this.borderRadius = const BorderRadius.all(Radius.circular(8)),
this.borderWidth = 1,
this.pagePadding = const EdgeInsets.symmetric(vertical: 8, horizontal: 12),
});