quick_feedback

Last updated:

0 purchases

quick_feedback Image
quick_feedback Images
Add to Cart

Description:

quick feedback

Quick Feedback #
Quick feedback lets your android and ios app to collect feedback from yours with ease of implementation and with customizations options.
Quick feedback works for both Android and IOS.
Here how it looks #



Usage #
Add the dependency to your pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
quick_feedback:
copied to clipboard
Example: Use within your application. #
QuickFeedback(
title: 'Leave a feedback', // Title of dialog
showTextBox: true, // default false
textBoxHint:
'Share your feedback', // Feedback text field hint text default: Tell us more
submitText: 'SUBMIT', // submit button text default: SUBMIT
onSubmitCallback: (feedback) {
print('$feedback'); // map { rating: 2, feedback: 'some feedback' }
Navigator.of(context).pop();
},
askLaterText: 'ASK LATER',
onAskLaterCallback: () {
print('Do something on ask later click');
},
);
copied to clipboard
QuickFeedback #
The widget expects title and onSubmitCallback to be provided explicitly.
Options #


title
Required and must be a string. see example.


showTextBox
Optional, default is false.


textBoxHint
Placeholder text or hint text within the feedback text box.


submitText
Optional, default is SUBMIT.


onSubmitCallback
Required, must be a function, with one parameter which gets a map of { rating: Int, feedback: String } see example.


askLaterText
Optional, default: ASK ME LATER


onAskLaterCallback
Optional, function. gets invoked if provided on Ask me later button press and also closes the dialogue or take to previous page if used on a screen.


License #
Copyright 2018 @Sapidlabs
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.