onPressWithCompletion property
A loading-aware alternative to onPress. Call complete() to stop loading.
Returning from this handler does not complete the interaction; throwing
completes it automatically. The completion is idempotent and awaitable.
Specify only one callback. Loading image rotation requires iOS 26 or later.
Implementation
final FutureOr<void> Function(
Future<void> Function() complete,
CPGridButton self,
)?
onPressWithCompletion;