isEnabled method

Future<bool> isEnabled()

Returns true is pull-to-refresh feature is enabled, otherwise false.

Officially Supported Platforms/Implementations:

Use the PlatformPullToRefreshController.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<bool> isEnabled() => platform.isEnabled();