appTheme property
Get the images & texts render theme
Default theme is automatic
Returns
- The app theme, AppTheme object
Throws
- An exception if it fails.
Implementation
static AppTheme get appTheme {
final OperationResult resultString = staticMethod(
'SdkSettings',
'getTheme',
);
return AppThemeExtension.fromId(resultString['result']);
}
Set images & texts render theme
Parameters
- IN theme The app theme
Throws
- An exception if it fails.
Implementation
static set appTheme(AppTheme theme) {
objectMethod(0, 'SdkSettings', 'setTheme', args: theme.id);
}