TransitionOptions class

Mixed-in types
Annotations
  • @MappableClass.new(includeCustomMappers: [DurationMapper()])

Constructors

TransitionOptions({required TransitionType type, Duration duration = const Duration(milliseconds: 200), Duration delay = const Duration(milliseconds: 0), CurveType curve = CurveType.ease})
const

Properties

copyWith → TransitionOptionsCopyWith<TransitionOptions, TransitionOptions, TransitionOptions>
no setterinherited
curve → CurveType
final
delay → Duration
final
duration → Duration
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalAnimationDuration → Duration
no setter
type → TransitionType
final

Methods

merge(TransitionOptions? other) → TransitionOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
inherited
toMap() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

schema → Schema
final

Constants

fromJson → const TransitionOptions Function(String json)