SwipeTracker.enabled

bool enabled() @property

Get enabled property.

Returns

Whether the swipe tracker is enabled.

When it's not enabled, no events will be processed. Usually widgets will want to expose this via a property.

void enabled(bool propval) @property

Set enabled property.

Parameters

propvalWhether the swipe tracker is enabled. When it's not enabled, no events will be processed. Usually widgets will want to expose this via a property.