WiredashController class

Use this controller to interact with Wiredash

Start Wiredash:

Wiredash.of(context).show();

Add user information

Wiredash.of(context)
    .setBuildProperties(buildVersion: "1.4.3", buildNumber: "42");
Available extensions

Constructors

WiredashController(WiredashModel _model)

Properties

hashCode int
The hash code for this object.
no setterinherited
metaData CustomizableWiredashMetaData
Reads the currently set metaData (immutable)
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setUserProperties → void Function({String? userEmail, String? userId})
Use this method to provide custom userId and userEmail to the feedback.
no setter
visible ValueNotifier<bool>
A ValueNotifier representing the current state of the capture UI. Use this to change your app's configuration when the user is in the process of taking a screenshot of your app - e.g. hiding sensitive information or disabling specific widgets.
no setter

Methods

forceSubmitEvents() Future<void>
Submits all pending analytics events to the server
modifyMetaData(CustomizableWiredashMetaData mutation(CustomizableWiredashMetaData metaData)) → void
Modify the metadata that will be collected with Wiredash
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetMetaData() → void
Resets all metadata to the initial state
show({bool? inheritMaterialTheme, bool? inheritCupertinoTheme, WiredashFeedbackOptions? options}) → void
This will open Wiredash and start the feedback flow.
showPromoterSurvey({bool? inheritMaterialTheme, bool? inheritCupertinoTheme, PsOptions? options, bool? force}) Future<bool>

Available on WiredashController, provided by the PromoterScoreWiredash extension

Probably shows the Promoter Score survey depending on options, specifically PsOptions.frequency, PsOptions.initialDelay and PsOptions.minimumAppStarts settings.
toString() String
A string representation of this object.
inherited
trackEvent(String eventName, {Map<String, Object?>? data}) Future<void>
Tracks an event with Wiredash.

Operators

operator ==(Object other) bool
The equality operator.
inherited