FSelectSearchStyle.inherit constructor

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

Creates a copy of this FSelectSearchStyle but with the given fields replaced with the new values.

Implementation

FSelectSearchStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
  : this(
      textFieldStyle: FTextFieldStyle.inherit(colors: colors, typography: typography, style: style).copyWith(
        border: FWidgetStateMap.all(const OutlineInputBorder(borderSide: BorderSide(color: Colors.transparent))),
      ),
      iconStyle: IconThemeData(size: 15, color: colors.mutedForeground),
      dividerStyle: FDividerStyles.inherit(
        colors: colors,
        style: style,
      ).horizontalStyle.copyWith(width: 2, padding: EdgeInsets.zero),
      loadingIndicatorStyle: FProgressStyles.inherit(colors: colors, style: style).circularIconProgressStyle,
    );