copyWith method
PullDownButtonTheme
copyWith({
- PullDownMenuRouteTheme? routeTheme,
- PullDownMenuItemTheme? itemTheme,
- PullDownMenuDividerTheme? dividerTheme,
- PullDownMenuTitleTheme? titleTheme,
- bool? applyOpacity,
override
Creates a copy of this object with the given fields replaced with the new values.
Implementation
@override
PullDownButtonTheme copyWith({
PullDownMenuRouteTheme? routeTheme,
PullDownMenuItemTheme? itemTheme,
PullDownMenuDividerTheme? dividerTheme,
PullDownMenuTitleTheme? titleTheme,
bool? applyOpacity,
}) =>
PullDownButtonTheme(
routeTheme: routeTheme ?? this.routeTheme,
itemTheme: itemTheme ?? this.itemTheme,
dividerTheme: dividerTheme ?? this.dividerTheme,
titleTheme: titleTheme ?? this.titleTheme,
applyOpacity: applyOpacity ?? this.applyOpacity,
);