flutter_survey_js

Flutter package for parsing and display surveyjs widgets

All these widgets and highly depend on reactive_forms

Live preview https://goxiaoy.github.io/flutter_survey_js/

IMPORTANT_NOTE

This package has not fully tested, use at your own risk

Supported widgets:

  • x matrixdropdown
  • x matrixdynamic
  • x matrix
  • expression
  • x checkbox
  • x ranking
  • x radiogroup
  • imagepicker
  • x dropdown
  • x text
  • x multipletext
  • x html
  • x image
  • x comment
  • file
  • x rating
  • x boolean
  • x signaturepad
  • x paneldynamic
  • x panel

Supported validator:

  • x numericvalidator
  • x textvalidator
  • answercountvalidator
  • x regexvalidator
  • x emailvalidator
  • expressionvalidator

Getting Started

import 'package:flutter_survey_js/survey.dart' as s;
...
const survey = {
  "questions": [
    {
      "type": "rating",
      "name": "satisfaction",
      "title": "How satisfied are you with the Product?",
      "mininumRateDescription": "Not Satisfied",
      "maximumRateDescription": "Completely satisfied"
    }
  ]
};
...
s.SurveyWidget(
  survey: s.Survey.fromJson(survey),
  onChange: (v) {
    print(v);
  },
  onSubmit: (v) {
    print(v);
  },
)


Libraries

checkbox
condition
condition_operand
condition_runner
conditionable_widget
conditions_parser
elements_state
form_control
function_factory
helper
image
image_picker
l10n
matrix
matrix_dropdown
matrix_dropdown_base
matrix_dynamic
messages_all
messages_en
messages_zh
multi_localization_delegate
multiple_text
nodes
operand
panel_dynamic
panel_title
price_text
process
question_title
questionnaire_page
radio_group
ranking
rating
reactive
reactive_color_picker
reactive_nested_form
reactive_nested_group_array
reactive_reorderable_list
reactive_signature_string
survey
survey
survey_answer_page
survey_element_factory
survey_page
survey_page_widget
survey_widget
text
utils
validators