This project uses the default Flutter sample project and adds the Wiredash widget to enable interactive user feedback - luckily that's easy as 1-2-3 🎉
Inside main.dart
the default MaterialApp
is now a child of Wiredash
. It's important that Wiredash sits at the root of your application for it to function properly.
We also added an IconButton
as the only action to the AppBar
which serves as the trigger for the feedback routine. In its callback it calls Wiredash.of(context).startFeedback()
to launch Wiredash.
- Create a new Wiredash project on wiredash.io.
- Make sure to add your own API credentials to the
Wiredash
widget insidemain.dart
. - Run the sample by typing
flutter run
into a console window inside theexample
folder. - Inside the sample app, tap the
?
button on the top right to launch Wiredash. - Get creative and write / draw your first feedback 🖌