ModalTransitionStyle class

Class used to specify the transition style when presenting a view controller.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() int
Gets int native value.
toString() String
A string representation of this object.
override
toValue() int
Gets int value.

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

values Set<ModalTransitionStyle>
Set of all values of ModalTransitionStyle.
final

Static Methods

fromNativeValue(int? value) ModalTransitionStyle?
Gets a possible ModalTransitionStyle instance from a native value.
fromValue(int? value) ModalTransitionStyle?
Gets a possible ModalTransitionStyle instance from int value.

Constants

COVER_VERTICAL → const ModalTransitionStyle
When the view controller is presented, its view slides up from the bottom of the screen. On dismissal, the view slides back down. This is the default transition style.
CROSS_DISSOLVE → const ModalTransitionStyle
When the view controller is presented, the current view fades out while the new view fades in at the same time. On dismissal, a similar type of cross-fade is used to return to the original view.
FLIP_HORIZONTAL → const ModalTransitionStyle
When the view controller is presented, the current view initiates a horizontal 3D flip from right-to-left, resulting in the revealing of the new view as if it were on the back of the previous view. On dismissal, the flip occurs from left-to-right, returning to the original view.
PARTIAL_CURL → const ModalTransitionStyle
When the view controller is presented, one corner of the current view curls up to reveal the presented view underneath. On dismissal, the curled up page unfurls itself back on top of the presented view. A view controller presented using this transition is itself prevented from presenting any additional view controllers.