copyWith method
ShadSelectTheme
copyWith({
- Duration? popoverReverseDuration,
- ShadDecoration? decoration,
- TextStyle? placeholderStyle,
- double? minWidth,
- double? maxWidth,
- double? maxHeight,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? optionsPadding,
- bool? showScrollToTopChevron,
- bool? showScrollToBottomChevron,
- ShadAnchorBase? anchor,
- EdgeInsetsGeometry? searchPadding,
- bool? clearSearchOnClose,
- ImageFilter? filter,
- List<
Effect> ? effects, - List<
BoxShadow> ? shadows,
inherited
Implementation
ShadSelectTheme copyWith({
Duration? popoverReverseDuration,
ShadDecoration? decoration,
TextStyle? placeholderStyle,
double? minWidth,
double? maxWidth,
double? maxHeight,
EdgeInsetsGeometry? padding,
EdgeInsetsGeometry? optionsPadding,
bool? showScrollToTopChevron,
bool? showScrollToBottomChevron,
ShadAnchorBase? anchor,
EdgeInsetsGeometry? searchPadding,
bool? clearSearchOnClose,
ImageFilter? filter,
List<Effect<dynamic>>? effects,
List<BoxShadow>? shadows,
}) {
final _this = (this as ShadSelectTheme);
return ShadSelectTheme(
popoverReverseDuration:
popoverReverseDuration ?? _this.popoverReverseDuration,
decoration: decoration ?? _this.decoration,
placeholderStyle: placeholderStyle ?? _this.placeholderStyle,
minWidth: minWidth ?? _this.minWidth,
maxWidth: maxWidth ?? _this.maxWidth,
maxHeight: maxHeight ?? _this.maxHeight,
padding: padding ?? _this.padding,
optionsPadding: optionsPadding ?? _this.optionsPadding,
showScrollToTopChevron:
showScrollToTopChevron ?? _this.showScrollToTopChevron,
showScrollToBottomChevron:
showScrollToBottomChevron ?? _this.showScrollToBottomChevron,
anchor: anchor ?? _this.anchor,
searchPadding: searchPadding ?? _this.searchPadding,
clearSearchOnClose: clearSearchOnClose ?? _this.clearSearchOnClose,
filter: filter ?? _this.filter,
effects: effects ?? _this.effects,
shadows: shadows ?? _this.shadows,
);
}