setTheme method

  1. @override
Future<bool> setTheme(
  1. dynamic theme
)
override

This method implements the setTheme and communicated with native side passes values and maintains proper checks

Implementation

@override

///This method implements the setTheme and communicated with native side passes values and maintains proper checks
Future<bool> setTheme(theme) async {
  methodChannel.invokeMethod<String>('setTheme', {"theme": theme});
  return true;
}