setIndicatorSize method

Future<void> setIndicatorSize(
  1. PullToRefreshSize size
)

Sets the size of the refresh indicator. One of PullToRefreshSize.DEFAULT, or PullToRefreshSize.LARGE.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • size: all platforms

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

Implementation

Future<void> setIndicatorSize(PullToRefreshSize size) =>
    platform.setIndicatorSize(size);