close static method

Future<void> close()

close

Closes the feedback widget

Available Platforms

Web, Android, iOS

Implementation

static Future<void> close() async {
  if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
    debugPrint(
      'closeWidget is not available for current operating system',
    );
    return;
  }

  await _channel.invokeMethod('closeWidget');
}