copyWith method

  1. @override
ResponsiveBreakpointTheme<T> copyWith({
  1. List<T>? breakpoints,
})
override

Creates a copy of the theme with optionally updated breakpoints.

Implementation

@override
ResponsiveBreakpointTheme<T> copyWith({List<T>? breakpoints}) =>
    ResponsiveBreakpointTheme<T>(
      breakpoints: breakpoints ?? this.breakpoints,
    );