FLabelStateStyles.inherit constructor

FLabelStateStyles.inherit({
  1. required FStyle style,
})

Creates a FLabelStateStyles that inherits its properties from style.

Implementation

FLabelStateStyles.inherit({required FStyle style})
    : this(
        enabledStyle: style.enabledFormFieldStyle,
        disabledStyle: style.disabledFormFieldStyle,
        errorStyle: style.errorFormFieldStyle,
      );