appTheme property

AppTheme get appTheme

Get the images & texts render theme

Default theme is automatic

Returns

Throws

  • An exception if it fails.

Implementation

static AppTheme get appTheme {
  final OperationResult resultString = staticMethod(
    'SdkSettings',
    'getTheme',
  );

  return AppThemeExtension.fromId(resultString['result']);
}
set appTheme (AppTheme theme)

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