ReviewerFallbackConsentBuilder typedef

ReviewerFallbackConsentBuilder = Future<bool> Function(BuildContext context, Locale locale)

A function type for building a fallback consent screen.

This function takes a BuildContext and Locale and returns a Future<bool> indicating whether the user has given consent.

@ai Use this type when implementing custom consent screens for store reviews.

Implementation

typedef ReviewerFallbackConsentBuilder = Future<bool> Function(
  BuildContext context,
  Locale locale,
);