pub package

Flutter package for add feedback page to your application.

Show Cases

12gif example
12gif example

Use this package :

1. Depend on it

Add this to your package's pubspec.yaml file:

  feedback_page: ^0.0.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

3. Import it

Now in your Dart code, you can use:

import 'package:feedback_page/feedback_page.dart';

Widget constructor :

PropNameDescriptiondefault valueoptional
percentCallbackget slider value percent-true
imgPathlist with string type involved assets of images-false
backgroundColorcolor of widget background-false
closeIconthis icon is locate top right in widget-false
closeIconColorcolor of closeIcon with Color typeColors.blacktrue
closeIconSizesize of closeIcon with double type30true
closeIconOnPresspass a function to this prop-false
mainTitletitle is locate in tope center in widget pass a string to this prop-false
mainTitleStylestyle of main title pass a TextStyle to this oneTextStyle(fontWeight: FontWeight.bold, fontSize: 30)true
imageWidthpass double to this prop (size of image widget)200true
imageHeightpass double to this prop (size of image widget)200true
minValueWidgetthis widget shown in left side of slider-false
maxValueWidgetthis widget shown in left side of slider-false
defaultSliderValuedefault value of slider (thumb show you this value at first)0true
btnChildwidget is type of this prop . widget is show in the button-false
btnOnPresspass a function to this prop-false
btnColorcolor of button with Color typeColors.blacktrue
btnBorderRadiuspass double to give value radius of button30true
btnHeightpass double to give value height of button200true
btnWidthpass double to give value width of button50true
sliderThemeDataif you want have Custom slider pass SliderThemeData hereSliderThemeData()true
alignmentControllerDurationDuration to forward alignment animationDuration(milliseconds: 700)true
zoomControllerDurationDuration to forward zoom(in/out) animationDuration(milliseconds: 200)true