IOSUIModalTransitionStyle class Null safety

An iOS-specific class used to specify the transition style when presenting a view controller.

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override
toValue() int

Operators

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

Static Properties

values Set<IOSUIModalTransitionStyle>
final

Static Methods

fromValue(int? value) IOSUIModalTransitionStyle?

Constants

COVER_VERTICAL → const IOSUIModalTransitionStyle
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.
const IOSUIModalTransitionStyle._internal(0)
CROSS_DISSOLVE → const IOSUIModalTransitionStyle
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.
const IOSUIModalTransitionStyle._internal(2)
FLIP_HORIZONTAL → const IOSUIModalTransitionStyle
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.
const IOSUIModalTransitionStyle._internal(1)
PARTIAL_CURL → const IOSUIModalTransitionStyle
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.
const IOSUIModalTransitionStyle._internal(3)