Skip to content

Releases: nank1ro/flutter-shadcn-ui

v0.42.0

12 Dec 16:06
b9d5f18

Choose a tag to compare

  • BREAKING CHANGE: The old setValue has been renamed into setFieldValue to better reflect its purpose, and now accepts a notifyField boolean parameter (defaults to true) to control whether to notify the form field of the value change.
  • BREAKING CHANGE: ShadFormBuilderFieldState.setInternalError has been renamed into setError for consistency.
  • BREAKING CHANGE: ShadFormState.removeInternalFieldValue has been renamed into removeFieldValue for consistency.
  • BREAKING CHANGE: Now setValue takes a Map<String, dynamic> as value and updates the entire form value. It also accepts a notifyFields boolean parameter (defaults to true) to control whether to notify the changed form fields of the value changes.

v0.41.0

11 Dec 17:03
a5f8fd7

Choose a tag to compare

  • FEAT: Add setValue to ShadForm to manipulate the value of a form field programmatically.
  • BREAKING CHANGE: The map stored by ShadForm now uses String as a key instead of Object. Every form field id must be a String now. This change was made for convenience with JSON serialization.

v0.40.6

10 Dec 17:16
9b83aa1

Choose a tag to compare

  • FIX: Add maxLength parameter to ShadTextarea (thanks to @mickey35vn).

v0.40.5

08 Dec 13:56
9ba3808

Choose a tag to compare

  • FIX: ShadSonner height normalization for stacked toasts with different heights.

v0.40.4

06 Dec 14:49
f731bb8

Choose a tag to compare

  • FIX: ShadPopover dismissal animation when multiple popovers were opened quickly one after another. This affected components like ShadContextMenu and ShadMenubar.
  • FIX: ShadMenubar onPressed behavior, so mobile taps now open/close the menubar items correctly.

v0.40.3

04 Dec 14:25
e928a49

Choose a tag to compare

  • FIX: ShadButton constraints regression when using a LayoutBuilder as child.

v0.40.2

02 Dec 15:50

Choose a tag to compare

  • FIX: ShadSelectFormField onChanged callback being fired twice when changing the value.

v0.40.1

01 Dec 17:33

Choose a tag to compare

  • FIX: ShadInput constraints are applied at the top of the widget and not to the inner editable text.
  • CHORE: Run the Dart formatter.

v0.40.0

01 Dec 14:49
1df8faa

Choose a tag to compare

  • FEAT: Add new component ShadBreadcrumb and all of its related components (thanks to @MoazSalem).
  • FIX: Update ShadButton to allow for more flexibility with height and width properties (thanks to @MoazSalem).
  • FIX: Get closeIcon from theme in ShadTheme (thanks to @DMouayad).
  • FIX: Merge of ShadDecoration in the component themes.

v0.39.14

25 Nov 11:54

Choose a tag to compare

  • CHORE: Downgrade Dart SDK constraint to 3.6.0 to temporarely fix the pub dev score issue about the Dart formatter (see #9091)