appTheme property

AppTheme get appTheme

Returns the configured app theme used for image and text rendering.

The default is AppTheme.automatic.

Returns

Implementation

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

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

Sets the images and text rendering theme.

Parameters

Implementation

static set appTheme(AppTheme theme) {
  staticMethod('SdkSettings', 'setTheme', args: theme.id);
}