FSelectStyle.inherit constructor

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

Creates a FSelectStyle that inherits its properties.

Implementation

FSelectStyle.inherit({
  required FColors colors,
  required FTypography typography,
  required FStyle style,
  required bool touch,
}) : this(
       fieldStyles: .inherit(colors: colors, typography: typography, style: style, touch: touch),
       searchStyle: .inherit(colors: colors, typography: typography, style: style, touch: touch),
       contentStyle: .inherit(colors: colors, typography: typography, style: style, touch: touch),
       emptyTextStyle: typography.xs,
     );