useCupertino property

bool 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));
}