changeTheme static method
Change the theme of elepay SDK UI.
Note:
- This method must be called after elepay SDK is initialized and before the payment processing.
- iOS only supports this method on iOS 13 and above.
Implementation
static Future<void> changeTheme(ElepayTheme theme) async {
await _channel
.invokeMethod("changeTheme", {"theme": theme.stringPresentation});
}