actualAppTheme property
AppTheme
get
actualAppTheme
Returns the actual theme currently in effect.
When the SDK theme is set to AppTheme.automatic, this returns the actual resolved theme (AppTheme.dark or AppTheme.light).
Returns
- AppTheme: the actual theme in use.
Implementation
static AppTheme get actualAppTheme {
final OperationResult resultString = staticMethod(
'SdkSettings',
'getActualTheme',
);
return AppThemeExtension.fromId(resultString['result']);
}