FStyle constructor

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