feedback 0.1.0-beta.1
feedback: ^0.1.0-beta.1 copied to clipboard
A Flutter package for getting better feedback. It allows the user to give interactive feedback directly in the app.
Feedback #
A Flutter package for getting better feedback. It allows the user to give interactive feedback directly in the app. Get it on pub.dev!
Getting Started #
Just wrap your app in a BetterFeedback
widget and supply
an onFeedback
function. The function gets called when
the user submits his feedback. To show the feedback view just
call BetterFeedback.of(context).show();
import 'package:feedback/feedback.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
BetterFeedback(
child: MyApp(
key: GlobalKey(),
),
onFeedback: alertFeedbackFunction,
),
);
}
Sample (as of 0.1.0-beta) #
[Example]
Additional notes #
You can combine this with device_info to get additional information about the users environment to better debug his issues.
FAQ #
- Why does the content of my Scaffold change (gets repositioned upwards) while I'm
writing my feedback?
- Probably because Scaffold.resizeToAvoidBottomInset is set to true. You could set it to false while the user provides feedback.