copy method
FlowerPage<T>
copy({
- LocalKey? key,
- String? name,
- FlowerPageBuilder? page,
- bool? popGesture,
- Map<
String, String> ? parameters, - String? title,
- Transition? transition,
- Curve? curve,
- Alignment? alignment,
- bool? maintainState,
- bool? opaque,
- List<
BindingsInterface> ? bindings, - BindingsInterface? binding,
- List<
Bind> ? binds, - CustomTransition? customTransition,
- Duration? transitionDuration,
- Duration? reverseTransitionDuration,
- bool? fullscreenDialog,
- RouteSettings? settings,
- List<
FlowerPage< ? children,T> > - FlowerPage? unknownRoute,
- List<
FlowerMiddleware> ? middlewares, - bool? preventDuplicates,
- double gestureWidth(
- BuildContext context
- Object? arguments,
- bool? showCupertinoParallax,
- Completer<
T?> ? completer,
Implementation
FlowerPage<T> copy({
LocalKey? key,
String? name,
FlowerPageBuilder? page,
bool? popGesture,
Map<String, String>? parameters,
String? title,
Transition? transition,
Curve? curve,
Alignment? alignment,
bool? maintainState,
bool? opaque,
List<BindingsInterface>? bindings,
BindingsInterface? binding,
List<Bind>? binds,
CustomTransition? customTransition,
Duration? transitionDuration,
Duration? reverseTransitionDuration,
bool? fullscreenDialog,
RouteSettings? settings,
List<FlowerPage<T>>? children,
FlowerPage? unknownRoute,
List<FlowerMiddleware>? middlewares,
bool? preventDuplicates,
final double Function(BuildContext context)? gestureWidth,
bool? participatesInRootNavigator,
Object? arguments,
bool? showCupertinoParallax,
Completer<T?>? completer,
}) {
return FlowerPage(
key: key ?? this.key,
participatesInRootNavigator:
participatesInRootNavigator ?? this.participatesInRootNavigator,
preventDuplicates: preventDuplicates ?? this.preventDuplicates,
name: name ?? this.name,
page: page ?? this.page,
popGesture: popGesture ?? this.popGesture,
parameters: parameters ?? this.parameters,
title: title ?? this.title,
transition: transition ?? this.transition,
curve: curve ?? this.curve,
alignment: alignment ?? this.alignment,
maintainState: maintainState ?? this.maintainState,
opaque: opaque ?? this.opaque,
bindings: bindings ?? this.bindings,
binds: binds ?? this.binds,
binding: binding ?? this.binding,
customTransition: customTransition ?? this.customTransition,
transitionDuration: transitionDuration ?? this.transitionDuration,
reverseTransitionDuration:
reverseTransitionDuration ?? this.reverseTransitionDuration,
fullscreenDialog: fullscreenDialog ?? this.fullscreenDialog,
children: children ?? this.children,
unknownRoute: unknownRoute ?? this.unknownRoute,
middlewares: middlewares ?? this.middlewares,
gestureWidth: gestureWidth ?? this.gestureWidth,
arguments: arguments ?? this.arguments,
showCupertinoParallax:
showCupertinoParallax ?? this.showCupertinoParallax,
completer: completer ?? this.completer,
);
}