setPrefersSystemTheme static method

Future<void> setPrefersSystemTheme(
  1. bool value
)

Sets a flag uses the default theme for the support feature.

@param value A flag to enforce the preferred theme for the DevRev UI, overriding system theme when enabled.

Implementation

static Future<void> setPrefersSystemTheme(bool value) {
  return DevRevSDKPlatform.instance.setPrefersSystemTheme(value);
}