copyWith method

ShadSelectTheme copyWith({
  1. Duration? popoverReverseDuration,
  2. ShadDecoration? decoration,
  3. TextStyle? placeholderStyle,
  4. double? minWidth,
  5. double? maxWidth,
  6. double? maxHeight,
  7. EdgeInsetsGeometry? padding,
  8. EdgeInsetsGeometry? optionsPadding,
  9. bool? showScrollToTopChevron,
  10. bool? showScrollToBottomChevron,
  11. ShadAnchorBase? anchor,
  12. EdgeInsetsGeometry? searchPadding,
  13. bool? clearSearchOnClose,
  14. ImageFilter? filter,
  15. List<Effect>? effects,
  16. 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,
  );
}