ScrollEvent class
Event representing scrolling.
class ScrollEvent extends ViewEvent { final ScrollerState state; /** Constructor * */ ScrollEvent(String type, View target, this.state) : super(type, target); }
Extends
ViewEvent > ScrollEvent
Constructors
new ScrollEvent(String type, View target, ScrollerState state) #
Constructor
ScrollEvent(String type, View target, this.state) : super(type, target);
Properties
View currentTarget #
inherited from ViewEvent
The view that is handling this event currently.
View currentTarget
final bool isPropagationStopped #
inherited from ViewEvent
Returns whether this event's propagation is stopped.
Default: false.
It becomes true if stopPropagation is called, and then all remaining event listeners are ignored.
bool get isPropagationStopped => _propStop;
final ScrollerState state #
final ScrollerState state
Methods
void preventDefault() #
inherited from ViewEvent
Prevents the browser's default behavior.
void preventDefault() { }