IOSUIModalTransitionStyle class

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

Annotations

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

isSupported() bool
Checks if the value is supported by the defaultTargetPlatform.
name() String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() int?
Gets int native value if supported by the current platform, otherwise null.
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<IOSUIModalTransitionStyle>
Set of all values of IOSUIModalTransitionStyle.
final

Static Methods

asNameMap() Map<String, IOSUIModalTransitionStyle>
Creates a map from the names of IOSUIModalTransitionStyle values to the values.
byName(String? name) IOSUIModalTransitionStyle?
Gets a possible IOSUIModalTransitionStyle instance value with name name.
fromNativeValue(int? value) IOSUIModalTransitionStyle?
Gets a possible IOSUIModalTransitionStyle instance from a native value.
fromValue(int? value) IOSUIModalTransitionStyle?
Gets a possible IOSUIModalTransitionStyle instance from int value.

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.
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.
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.
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.