TransitionOptions class

The transition options controls timing for the interpolation between a transitionable style property's previous value and new value. These can be used to define the style default property transition behavior. Also, any transitionable style property may also have its own -transition property that defines specific transition timing for that specific layer property, overriding the global transition values.

Constructors

TransitionOptions({int? duration, int? delay, bool? enablePlacementTransitions})

Properties

delay int?
Length of time before a transition begins. Units in milliseconds. Defaults to 0.0.
getter/setter pair
duration int?
Time allotted for transitions to complete. Units in milliseconds. Defaults to 300.0.
getter/setter pair
enablePlacementTransitions bool?
Whether the fade in/out symbol placement transition is enabled. Defaults to true.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() Object
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

Static Methods

decode(Object result) TransitionOptions