Transition class
Represents the CSS transition property.
Transitions enable you to define the transition between two states of an element. Different
states may be defined using pseudo-classes like :hover or :active or dynamically set.
Read more: MDN transition
Constructors
- Transition(String property, {required Duration duration, Curve? curve, Duration? delay})
-
Create a transition for a specific CSS property.
constfactory
-
Transition.combine(List<
Transition> transitions) -
Combine multiple transitions into one.
constfactory
Properties
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
Constants
- inherit → const Transition
- initial → const Transition
- revert → const Transition
- revertLayer → const Transition
- unset → const Transition