presentSheet static method
Presents a native sheet with the given title.
Implementation
static Future<void> presentSheet({String title = ''}) async {
if (defaultTargetPlatform != TargetPlatform.iOS) {
return;
}
try {
await _channel.invokeMethod<void>('presentSheet', <String, dynamic>{'title': title});
} on MissingPluginException {
// Ignored — non-iOS or not registered.
}
}