triggerMode property Null safety

RefreshIndicatorTriggerMode triggerMode
final

Defines how this RefreshIndicator can be triggered when users overscroll.

The RefreshIndicator can be pulled out in two cases, 1, Keep dragging if the scrollable widget at the edge with zero scroll position when the drag starts. 2, Keep dragging after overscroll occurs if the scrollable widget has a non-zero scroll position when the drag starts.

If this is RefreshIndicatorTriggerMode.anywhere, both of the cases above can be triggered.

If this is RefreshIndicatorTriggerMode.onEdge, only case 1 can be triggered.

Defaults to RefreshIndicatorTriggerMode.onEdge.

Implementation

final RefreshIndicatorTriggerMode triggerMode;