show method

void show({
  1. bool? inheritMaterialTheme,
  2. bool? inheritCupertinoTheme,
  3. WiredashFeedbackOptions? options,
})

This will open Wiredash and start the feedback flow.

Use options to configure the feedback flow. Setting the options here will override Wiredash.feedbackOptions.

If Wiredash is already open this method does nothing.

Theming

As a quick way to style Wiredash based on your app Theme set inheritMaterialTheme/inheritCupertinoTheme to true. Wiredash will automatically read colors from context, overriding Wiredash.theme.

For more advanced styling check the documentation and use Wiredash.theme.

Implementation

void show({
  bool? inheritMaterialTheme,
  bool? inheritCupertinoTheme,
  WiredashFeedbackOptions? options,
}) {
  _captureAppTheme(inheritMaterialTheme, inheritCupertinoTheme);
  _captureSessionMetaData();
  _model.feedbackOptionsOverride = options;
  _model.show(flow: WiredashFlow.feedback);
}