Releases: nank1ro/flutter-shadcn-ui
Releases · nank1ro/flutter-shadcn-ui
v0.42.0
- BREAKING CHANGE: The old
setValuehas been renamed intosetFieldValueto better reflect its purpose, and now accepts anotifyFieldboolean parameter (defaults totrue) to control whether to notify the form field of the value change. - BREAKING CHANGE:
ShadFormBuilderFieldState.setInternalErrorhas been renamed intosetErrorfor consistency. - BREAKING CHANGE:
ShadFormState.removeInternalFieldValuehas been renamed intoremoveFieldValuefor consistency. - BREAKING CHANGE: Now
setValuetakes aMap<String, dynamic>as value and updates the entire form value. It also accepts anotifyFieldsboolean parameter (defaults totrue) to control whether to notify the changed form fields of the value changes.
v0.41.0
- FEAT: Add
setValuetoShadFormto manipulate the value of a form field programmatically. - BREAKING CHANGE: The map stored by
ShadFormnow usesStringas a key instead ofObject. Every form fieldidmust be aStringnow. This change was made for convenience with JSON serialization.
v0.40.6
- FIX: Add
maxLengthparameter toShadTextarea(thanks to @mickey35vn).
v0.40.5
v0.40.4
- FIX:
ShadPopoverdismissal animation when multiple popovers were opened quickly one after another. This affected components likeShadContextMenuandShadMenubar. - FIX:
ShadMenubaronPressed behavior, so mobile taps now open/close the menubar items correctly.
v0.40.3
v0.40.2
v0.40.1
v0.40.0
- FEAT: Add new component
ShadBreadcrumband all of its related components (thanks to @MoazSalem). - FIX: Update
ShadButtonto allow for more flexibility with height and width properties (thanks to @MoazSalem). - FIX: Get
closeIconfrom theme inShadTheme(thanks to @DMouayad). - FIX: Merge of
ShadDecorationin the component themes.