M3ERefreshCallback typedef

M3ERefreshCallback = Future<void> Function()

Signature for the callback invoked when the user triggers a refresh.

Mirrors the RefreshCallback typedef of the reference implementation: the returned future is awaited by the indicator, which keeps spinning until it completes.

Implementation

typedef M3ERefreshCallback = Future<void> Function();