setCloseBackgroundIcon method
Set a custom Close Background
to be displayed behind the Close Icon
.
Implementation
Future<String> setCloseBackgroundIcon(String assetPath) async {
final int result = await (_platform.invokeMethod(
'setBackgroundCloseIcon', assetPath) as FutureOr<int>);
return result > 0 ? "Close Icon Background set" : "There was an error.";
}