craft_ux 0.0.9 copy "craft_ux: ^0.0.9" to clipboard
craft_ux: ^0.0.9 copied to clipboard

A Flutter package that provides a collection of reusable UI components and utilities for building beautiful and consistent user interfaces.

Changelog #

0.0.7 #

Changed #

  • Error messages displayed in two places for amount fixed.

0.0.6 #

Changed #

  • Error messages for all field widgets now support up to three lines with ellipsis for better overflow handling and mobile readability.

0.0.5 #

Changed #

  • Checkbox label now supports up to two lines with ellipsis, and the required asterisk is appended using RichText for improved mobile layout and overflow handling.

0.0.4 #

Added #

  • Mobile field widget: New input type for phone numbers with built-in validation
  • Numeric-only input validation
  • Configurable maximum length (default: 10 digits)
  • Phone keyboard type for better mobile input
  • Proper cursor position management
  • Consistent styling with form theme

0.0.3 #

Added #

  • Section divider: Visual divider between form sections for improved readability.
  • Horizontal radio buttons: Support for displaying radio options in a horizontal row.
  • Pretty-printed JSON view: Added a monospace, copyable JSON code view for submitted data.
  • Loading indicator for delete: Per-row loading spinner for delete actions in repeatable sections.

Changed #

  • Amount field UX: Now shows raw input while editing and formats with commas on blur, for a more intuitive experience.
  • Date picker field: Improved display and parsing of date values, including support for initial values.

Fixed #

  • Autocomplete overlay: Overlay now hides correctly after selecting an option.
  • Error borders: Error borders now display correctly for all field types, including month and amount fields.
  • Validation: Improved required/empty value checks for all field types.

0.0.2 #

  • Added comprehensive form theming system with DynamicFormTheme
  • Improved field styling consistency across all input types
  • Enhanced form section styling with customizable borders and spacing
  • Fixed onChange behavior consistency in text, password, and textarea fields
  • Added proper handling of custom types in dropdown_search
  • Improved form validation and error handling
  • Added support for conditional field rendering
  • Enhanced documentation and example app

0.0.1 #

  • Initial release
  • Added HTTP Client Provider
  • Added Form handling utilities
  • Added basic UI components
  • Implemented error handling and logging

0.0.9 #

Changed #

  • Dropdown overlays now dynamically size to available space above/below the field and are always anchored flush to the field (never floating or misaligned).
  • Only one dropdown overlay can be open at a time; opening a new dropdown closes any previously open overlay.
  • Overlay positioning is now left-aligned and matches the field width and position for perfect alignment.
  • Multi-select dropdowns (search) on mobile now use a modal bottom sheet with local state for instant UI updates and robust selection.
  • Improved tick/selected state logic for multi-select dropdowns (always value-based, always in sync).

Fixed #

  • Dropdown overlays no longer overflow or appear detached when the field is at the bottom of the screen.
  • Multi-select dropdowns now refresh and show correct selection state immediately after search/filter.

0.0.8 #

Changed #

  • Amount field now formats numbers in Indian comma style (e.g., 12,34,567.89) on blur for all amount fields.
  • Dropdown overlays now use dynamic height based on available space and item count, never exceeding screen bounds.
  • Improved overlay UX for both single and multi-select dropdowns, including keyboard and scroll handling.

Fixed #

  • Overlay for dropdown fields now always starts directly above or below the field, even for the last field in the form.
  • Fixed issues with dropdown overlays being hidden behind the keyboard or clipped at the screen edge.
2
likes
0
points
163
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides a collection of reusable UI components and utilities for building beautiful and consistent user interfaces.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, dropdown_search, flutter, http, intl, logger, provider

More

Packages that depend on craft_ux