copyWith method

  1. @override
ThemeExtension<NesSelectionListTheme> copyWith({
  1. Size? markerSize,
  2. double? itemMinHeight,
})
override

Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.

Implementation

@override
ThemeExtension<NesSelectionListTheme> copyWith({
  Size? markerSize,
  double? itemMinHeight,
}) {
  return NesSelectionListTheme(
    markerSize: markerSize ?? this.markerSize,
    itemMinHeight: itemMinHeight ?? this.itemMinHeight,
  );
}