FSelectSearchStyle.inherit constructor
FSelectSearchStyle.inherit({
- required FColors colors,
- required FTypography typography,
- 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(
fieldStyle: .inherit(colors: colors, typography: typography, style: style).copyWith(
color: const FVariants.all(null),
border: const FVariants.all(OutlineInputBorder(borderSide: .none)),
iconStyle: FVariants.all(IconThemeData(size: 15, color: colors.mutedForeground)),
),
dividerStyle: FDividerStyles.inherit(
colors: colors,
style: style,
).resolve({}).copyWith(width: 2, padding: .zero),
progressStyle: .inherit(colors: colors),
);