FTextFieldStyle constructor

FTextFieldStyle({
  1. required Brightness keyboardAppearance,
  2. required FLabelLayoutStyle labelLayoutStyle,
  3. required FTextFieldStateStyle enabledStyle,
  4. required FTextFieldStateStyle disabledStyle,
  5. required FTextFieldErrorStyle errorStyle,
  6. Color cursorColor = CupertinoColors.activeBlue,
  7. EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 14, vertical: 14),
  8. EdgeInsets scrollPadding = const EdgeInsets.all(20),
})

Creates a FTextFieldStyle.

Implementation

FTextFieldStyle({
  required this.keyboardAppearance,
  required this.labelLayoutStyle,
  required this.enabledStyle,
  required this.disabledStyle,
  required this.errorStyle,
  this.cursorColor = CupertinoColors.activeBlue,
  this.contentPadding = const EdgeInsets.symmetric(horizontal: 14, vertical: 14),
  this.scrollPadding = const EdgeInsets.all(20),
});