DialogTransition class

Allows to control dialogs transitions.

Constructors

DialogTransition({Curve curve = Curves.linear, TransitionType transitionType = TransitionType.none, Duration transitionDuration = Duration.zero, Widget customTransitionBuilder(BuildContext, Animation<double>, Animation<double>, Widget)?, Offset? startOffset, Alignment? alignment})
const

Properties

alignment Alignment?
Alignment for scale transition : only used with TransitionType.scale and TransitionType.scaleAndFade.
final
curve Curve
Curve for the animation.
final
customTransitionBuilder → (Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?)
Custom transition
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startOffset Offset?
Starting offset for slide transition : only used with TransitionType.slide.
final
transitionDuration Duration
Transition duration.
final
transitionType TransitionType
Choose transition type to use the predefined transitions without much hassle.
final

Methods

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