useCupertino property

bool get useCupertino

Indicates if the App is running the Cupertino interface theme.

Implementation

bool get useCupertino {
  final _appState = appState;
  return (_appState != null && _appState.useCupertino!) ||
      (UniversalPlatform.isIOS &&
          (_appState == null || !_appState.switchUI!)) ||
      (UniversalPlatform.isAndroid &&
          (_appState == null || _appState.switchUI!));
}