form_ui_builder 0.0.5 copy "form_ui_builder: ^0.0.5" to clipboard
form_ui_builder: ^0.0.5 copied to clipboard

A Flutter package for building dynamic, data-driven forms with conditional visibility, auto-calculations, multi-field validation, and real-time validation support.

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.

0.0.1 - 2025-12-16 #

Added #

  • Initial release of Form UI Builder package
  • Dynamic form generation from JSON configuration
  • Real-time field validation as user types
  • Conditional field visibility based on other field values
  • Auto-calculation of dependent fields (e.g., sum, totals)
  • Multi-field validation support
  • Mobile number validation with custom rules
  • Range validation (min/max values)
  • Focus management and keyboard navigation
  • Clean Architecture implementation with BLoC pattern
  • Dependency injection using GetIt service locator
  • Functional error handling with Either from fpdart
  • Comprehensive form building API with two approaches:
    • Build from JSON configuration
    • Build from parameter map
  • Export of key entities and utilities for easy integration
  • Example application demonstrating all features

Features #

  • FormLogicBundle - Central data structure for form state management
  • FormUiBuilderBloc - BLoC for managing form state and events
  • FormUiBuilderScreen - Pre-built UI screen for rendering forms
  • buildFormLogicBundle() - Function to build forms from JSON
  • buildFormLogicBundleFromParameterMap() - Function to build forms from parameter maps
  • Support for various element types (Text, Number, Date, etc.)
  • Validation rules including required fields, min/max values, and custom patterns
  • Auto-calculation from child fields
  • Conditional show/hide logic based on field values
  • Form submission handling with validation
0
likes
135
points
47
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for building dynamic, data-driven forms with conditional visibility, auto-calculations, multi-field validation, and real-time validation support.

Repository (GitHub)

License

MIT (license)

Dependencies

collection, dio, equatable, flutter, flutter_bloc, fpdart, get_it, internet_connection_checker_plus, intl, synchronized

More

Packages that depend on form_ui_builder