Skip to content

0.0.53

Latest

Choose a tag to compare

@sunarya-thito sunarya-thito released this 14 Jul 21:16
· 5 commits to master since this release

shadcn_flutter

[0.0.53]

Added

  • Generalized Key-based Anchoring System: Introduced OverlayAnchor and a
    global registry OverlayAnchorRegistry to support anchoring overlays
    (Popovers, Drawers, Sheets, etc.) using Symbol keys.
  • Support for optional anchor keys: Added anchor parameter (Symbol?) to:
    • showPopover and PopoverController.show
    • openDrawer, openSheet, openRawDrawer, openDrawerOverlay, and
      openSheetOverlay This eliminates the need to use Builder widgets to wrap
      trigger components just to obtain a nested BuildContext for
      findRenderObject().
  • [#271] PinnedSheet component: A new sheet variant that stays pinned to its
    anchor.
  • shadcn_flutter_genui package: Added a new companion package to the
    monorepo.
  • Added DecoratedChipClipboardHandler and improved ChipInput clipboard
    handling.
  • Added focus-based paint ordering on the text field and its input features.

Changed

  • Deprecated direct BuildContext context parameter across all overlay/popup
    functions (such as showPopover, openDrawer, openSheet, etc.) in favor of
    anchor (Symbol?).
  • Simplified PhoneInput component. Dial code is now mandatory and
    filterPlusCode, filterZeroCode, and filterCountryCode are now marked as
    deprecated.
  • Renamed TreeView to Tree (breaking): update usages of TreeView and
    related APIs to the new Tree name.
  • [#367] Migrated to the new Overlay system: Overlays now use the reworked
    overlay implementation.
  • Made paintOrder nullable.
  • Improved InputOTP border and paint order.

Fixed

  • [#403] Fix decimal input bug: Resolved _DoubleOnlyFormatter not
    accepting 0.00N input cases (PR #403 by @petertle22).
  • [#404] Clickable morphing decoration: Ensured the Clickable decoration
    morphs smoothly when transitioning between shape/border-radius changes.
  • Cleaned up redundant and deprecated Builder widget usages in documentation,
    main examples, and sub-components.
  • [#415] Fixed inconsistent InputFeature text setting.
  • [#411] Fixed Sortable losing/incorrectly tracking its state, and fixed
    the sortable example.
  • [#417] Fixed Divider rendering inside a vertically-unbounded parent.
  • Fixed Stepper line alignment.
  • Fixed paint order for ButtonGroup.
  • Fixed paint order for input features.
  • Fixed AutoComplete overlay behavior.
  • Fixed popover positioning.

shadcn_flutter_genui

[0.0.1]

  • Added initial widgets and functionality for the GenUI package, enabling AI-generated interfaces with shadcn_flutter widgets.