setTheme static method

Future<bool> setTheme({
  1. KevinThemeAndroid? androidTheme,
  2. KevinThemeIos? iosTheme,
})

Sets SDK theme.

Returns true if theme was set and false otherwise

Implementation

static Future<bool> setTheme({
  KevinThemeAndroid? androidTheme,
  KevinThemeIos? iosTheme,
}) {
  return KevinFlutterCorePlatformInterface.instance.setTheme(
    androidTheme: androidTheme,
    iosTheme: iosTheme,
  );
}