FPickerStyle.inherit constructor

FPickerStyle.inherit({
  1. required FColors colors,
  2. required FStyle style,
  3. required FTypography typography,
})

Creates a FPickerStyle that inherits its properties.

Implementation

FPickerStyle.inherit({required FColors colors, required FStyle style, required FTypography typography})
  : this(
      textStyle: typography.base.copyWith(fontWeight: FontWeight.w500),
      selectionBorderRadius: style.borderRadius,
      selectionColor: colors.muted,
      focusedOutlineStyle: style.focusedOutlineStyle,
    );