useMaterial property
bool
get
useMaterial
Indicates if the App is running the Material interface theme.
Implementation
bool get useMaterial {
final _appState = appState;
return (_appState != null && _appState.useMaterial!) ||
(UniversalPlatform.isAndroid &&
(_appState == null || !_appState.switchUI!)) ||
(UniversalPlatform.isIOS && (_appState == null || _appState.switchUI!));
}