LiveOptions class

Constructors

LiveOptions({Duration delay = Duration.zero, Duration showItemInterval = _kDuration, Duration showItemDuration = _kDuration, double visibleFraction = 0.025, bool reAnimateOnVisibility = false})
Configuration suitable for reuse in Live{List,SliverList,Grid,SliverGrid}.options constructors {@tool sample} [...]
const

Properties

delay Duration
Start animation after (default zero)
final
hashCode int
The hash code for this object. [...]
read-only, inherited
reAnimateOnVisibility bool
Hide the element when it approaches the frame of the screen so that in the future, when it falls into the visibility range - reproduce animation again
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showItemDuration Duration
Animation duration
final
showItemInterval Duration
Show each item through
final
visibleFraction double
A fraction in the range [0, 1] that represents what proportion of the widget is visible (assuming rectangular bounding boxes). [...]
final

Methods

copyWith({Duration delay, Duration showItemInterval, Duration showItemDuration, double visibleFraction, bool reAnimateOnVisibility}) LiveOptions
Creates a copy of this options but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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