goxiaoy / flutter_survey_js

Flutter client library for parsing and display surveyjs.io survey
https://goxiaoy.github.io/flutter_survey_js/
MIT License
16 stars 17 forks source link

Can we hide pagination dots for mobile? #88

Closed Vpdwivedi closed 1 year ago

Vpdwivedi commented 1 year ago

Can we hide pagination dots that come on the top of the screen. Screenshot is attached for the reference:

image

Also can we change the text/color of buttons?

laogao commented 1 year ago

There is a stepperBuilder field in SurveyLayout which maybe you can override.

As for the theming of widgets, you may wrap your entire SurveyWidget in a flutter Theme widget and use its data field to customize the colors. (see #14)

goxiaoy commented 1 year ago

See https://github.com/goxiaoy/flutter_survey_js/blob/main/example/lib/components/custom_layout.dart