FStyle constructor

FStyle({
  1. required FFormFieldStyle enabledFormFieldStyle,
  2. required FFormFieldStyle disabledFormFieldStyle,
  3. required FFormFieldErrorStyle errorFormFieldStyle,
  4. required FIconStyle iconStyle,
  5. required FFocusedOutlineStyle focusedOutlineStyle,
  6. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8)),
  7. double borderWidth = 1,
  8. 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),
});