BeamParameters class

Parameters used while beaming.

Constructors

BeamParameters({TransitionDelegate transitionDelegate = const DefaultTransitionDelegate(), RouteInformation? popConfiguration, bool beamBackOnPop = false, bool popBeamLocationOnPop = false, bool stacked = true})
Creates a BeamParameters with specified properties.
const

Properties

beamBackOnPop bool
Whether to implicitly BeamerDelegate.beamBack instead of default pop.
final
hashCode int
The hash code for this object.
no setterinherited
popBeamLocationOnPop bool
Whether to remove entire current BeamLocation from history, instead of default pop.
final
popConfiguration RouteInformation?
Which route to pop to, instead of default pop.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stacked bool
Whether all the pages produced by BeamLocation.buildPages are stacked. If not (false), just the last page is taken.
final
transitionDelegate TransitionDelegate
Which transition delegate to use when building pages.
final

Methods

copyWith({TransitionDelegate? transitionDelegate, RouteInformation? popConfiguration, bool resetPopConfiguration = false, bool? beamBackOnPop, bool? popBeamLocationOnPop, bool? stacked}) BeamParameters
Returns a copy of this with optional changes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited