ScrollOffsetAction class

Action for scroll

Inheritance

Constructors

ScrollOffsetAction({@Deprecated('Use subscription on stream instead. And handle changes in listener. Will be removed in next major version') void onChanged(double data)?})

Properties

controller ScrollController
Scroll controller of some list
final
hashCode int
The hash code for this object.
no setterinherited
onChanged → (void Function(double data)?)
Callback for handling a new action
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<double>
The stream to which the event is transmitted
no setterinherited
value double?
no setterinherited

Methods

accept(double data) Future<void>
Acceptance of a new event
inherited
call(double data) Future<void>
Call action
inherited
dispose() Future<void>
Close stream
override
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