FSelectStyle.inherit constructor

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

Creates a FSelectStyle that inherits its properties.

Implementation

FSelectStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
  : this(
      selectFieldStyle: FTextFieldStyle.inherit(colors: colors, typography: typography, style: style),
      iconStyle: IconThemeData(color: colors.mutedForeground, size: 18),
      popoverStyle: FPopoverStyle.inherit(colors: colors, style: style),
      searchStyle: FSelectSearchStyle.inherit(colors: colors, typography: typography, style: style),
      contentStyle: FSelectContentStyle.inherit(colors: colors, typography: typography, style: style),
      emptyTextStyle: typography.sm,
    );