appTheme property
Returns the configured app theme used for image and text rendering.
The default is AppTheme.automatic.
Returns
- AppTheme: the configured theme.
Implementation
static AppTheme get appTheme {
final OperationResult resultString = staticMethod(
'SdkSettings',
'getTheme',
);
return AppThemeExtension.fromId(resultString['result']);
}
Sets the images and text rendering theme.
Parameters
theme: the AppTheme to apply.
Implementation
static set appTheme(AppTheme theme) {
staticMethod('SdkSettings', 'setTheme', args: theme.id);
}