FTextFieldErrorStyle.inherit constructor

FTextFieldErrorStyle.inherit({
  1. required FFormFieldErrorStyle formFieldErrorStyle,
  2. required Color contentColor,
  3. required Color hintColor,
  4. required Color focusedBorderColor,
  5. required Color unfocusedBorderColor,
  6. required FTypography typography,
  7. required FStyle style,
})

Creates a FTextFieldErrorStyle that inherits its properties.

Implementation

FTextFieldErrorStyle.inherit({
  required FFormFieldErrorStyle formFieldErrorStyle,
  required super.contentColor,
  required super.hintColor,
  required super.focusedBorderColor,
  required super.unfocusedBorderColor,
  required super.typography,
  required super.style,
})  : errorTextStyle = formFieldErrorStyle.errorTextStyle,
      super.inherit(formFieldStyle: formFieldErrorStyle);