claform_sdk_flutter 1.1.2 copy "claform_sdk_flutter: ^1.1.2" to clipboard
claform_sdk_flutter: ^1.1.2 copied to clipboard

Flutter SDK for Claform surveys: 36 question types, content blocks, theming, offline support, and quiz scoring in a pure-Dart survey experience.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.1.2 #

Changed #

1.1.1 #

Changed #

  • Shortened the package description and set a valid homepage.
  • Removed unused dependencies (file_picker, image_picker, signature) — the file/photo/signature widgets use built-in implementations, so these were never imported.
  • Bumped intl to ^0.20.0 and confetti to ^0.8.0.

Fixed #

  • Wrapped generic types in doc comments in backticks so pub.dev no longer interprets angle brackets as HTML.

1.1.0 #

Added #

  • Support for the 6 display/content blocks: heading, text_block, image_block, video_embed, divider, and spacer. Each renders as clean, non-answerable content (bypassing the answer/validation chrome), with typed config on QuestionSettings (heading, textBlock, imageBlock, videoEmbed, divider, spacer). Image links and video cards open externally via url_launcher.
  • Support for the 7 action elements (redirect_action, email_action, webhook_action, calculate_action, score_display, payment_action, integration_action). These are modelled but render nothing, mirroring the web/React Native SDKs.
  • 13 new QuestionType members with explicit parseQuestionType / questionTypeToString arms for every one.
  • QuestionType.unknown sentinel: an unrecognised or future wire type string now parses to this member instead of collapsing to text_short, so a payload carrying a new element type parses cleanly and is never mistaken for an answerable input (isInputQuestion(QuestionType.unknown) is false).
  • Category helpers isInputQuestion, isDisplayBlock, isActionElement (plus displayBlockTypes / actionElementTypes sets).
  • url_launcher dependency (used only for display-block links and video cards).

Fixed #

  • parseQuestionType no longer silently collapses wire strings to text_short — the 13 new types round-trip losslessly, and any unrecognised string resolves to QuestionType.unknown (a non-input sentinel) rather than masquerading as a required text question.
  • Display blocks and action elements are now excluded from validation, progress (numerator/denominator), question numbering, required/navigation gating, getAllAnswers, and quiz scoring — only input questions count.

1.0.0 #

Added #

  • SurveyWidget Flutter widget for rendering and submitting Claform surveys
  • SurveyConfig (apiUrl + surveyId/shareId) configuration
  • Survey lifecycle callbacks (onComplete, onPageChanged, onError)
  • Offline caching, auto-save, and resume
  • RTL and multi-language support
  • Null-safe, Dart 3 (>=3.0.0 <4.0.0)
0
likes
160
points
--
downloads

Documentation

API reference

Publisher

verified publisherclaform.com

Flutter SDK for Claform surveys: 36 question types, content blocks, theming, offline support, and quiz scoring in a pure-Dart survey experience.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, confetti, dio, flutter, intl, provider, shared_preferences, url_launcher, uuid

More

Packages that depend on claform_sdk_flutter