ShakeToReport class
A plugin that detects shakes and navigates to a report screen.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
initShakeListener(
{required dynamic onSubmit(ReportFormData formData), double shakeThreshold = 40.0, Widget? customScreen, bool takeScreenshot = true}) → void - Initializes the shake listener and navigates to the report screen when a shake is detected.
-
wrapWithScreenshotController(
{required Widget child}) → Widget