showFeedbackButton static method

Future<void> showFeedbackButton(
  1. bool visible
)

showFeedbackButton

Hides or shows the feedback button

Available Platforms

Web, Android, iOS

Implementation

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

  await _channel.invokeMethod('showFeedbackButton', {'visible': visible});
}