CssTransition class sealed

CSS transition value.

Implemented types

Constructors

CssTransition({required String property, required String duration, CssTimingFunction? timingFunction, String? delay})
Single transition.
factory
CssTransition.global(CssGlobal global)
Global keyword (inherit, initial, unset, revert).
factory
CssTransition.multiple(List<CssTransition> transitions)
Multiple transitions.
factory
CssTransition.raw(String value)
Raw CSS value escape hatch.
factory
CssTransition.simple(String property, String duration, [CssTimingFunction? timingFunction])
Shorthand for a simple transition.
factory
CssTransition.variable(String varName)
CSS variable reference.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toCss() String
Converts this value to its CSS string representation.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

none → const CssTransition