shadcn_ui 0.16.0 shadcn_ui: ^0.16.0 copied to clipboard
shadcn-ui ported in Flutter. Awesome UI components for Flutter, fully customizable.
0.16.0 #
- FEAT: New
ShadTimePicker
andShadDatePickerFormField
components. - FIX:
maxLength
,maxLengthEnforcement
andshowCursor
not working onShadInput
- FIX:
ShadCalendar
range day button text style whendisableSecondaryBorder
istrue
. - CHORE: Set minimum Flutter version to
3.24.0
- CHORE: Remove
trackColor
fromShadSwitch
(thanks to @RaghavTheGreat) - FIX:
ShadSlider
onChanged
called on every controller update (thanks to @helightdev).
0.15.3 #
- FIX:
ShadDialog
andShadSheet
children constraints. - CHORE: Replace
flutter_svg_plus
dependency withflutter_svg
andvector_graphics_plus
withvector_graphics
.
0.15.2 #
- FIX:
ShadDialog
andShadSheet
children constraints.
0.15.1 #
- FIX: Decoration merge
0.15.0 #
- FEAT: New
ShadDatePicker
component. - FEAT: Add
allowDeselection
property toShadCalendar
. - FIX:
ShadSelect
crash when usingoptionsBuilder
. - FEAT: Add
itemCount
andshrinkWrap
toShadSelect
andShadSelectFormField
.
0.14.1 #
- FIX:
ShadApp
scroll behavior.
0.14.0 #
- BREAKING CHANGE: Remove
onChangedNullable
fromShadSelect
andShadSelectFormField
. Now theonChanged
callback will be called withnull
when the user deselects an option ifallowDeselection
is set totrue
. (thanks to @moshOntong-IT) - FEAT: Add click mouse cursor to
ShadTable
whenonRowTap
oronColumnTap
is provided.
0.13.5 #
- FIX: Fix
ShadSelect
initial values on widget creation.
0.13.4+1 #
- CHORE: Update svg dependencies
0.13.4 #
- CHORE: Update svg dependencies
0.13.3 #
- FEAT: Add
ShadApp.custom
for custom WidgetsApp implementation.
0.13.2 #
- CHORE: Use forked
flutter_svg
andvector_graphics
packages.
0.13.1 #
- CHORE: Update
ShadImage
import due to WASM.
0.13.0 #
- FEAT: New
ShadCalendar
component with thesingle
,multiple
andrange
variants.
0.12.0 #
- FEAT: Add
axis
,spacing
,runSpacing
,alignment
,runAlignment
,crossAxisAlignment
andcrossAxisAlignment
toShadRadioGroup
andShadRadioGroupFormField
.
0.11.1 #
- FEAT: Add
headers
toShadImage
to allow custom headers in the network requests.
0.11.0 #
- FEAT: Add
ShadSelect.multiple
,ShadSelect.multipleWithSearch
,ShadSelectMultipleFormField
andShadSelectMultipleFormField.withSearch
constructors. - FEAT: Add
onChangedNullable
toShadSelect
andShadSelectFormField
, to allow the deselection of an option. - Improve the
ShadSelect
focus behavior. - Improve size of
ShadSelect
options to fit the available space.
0.10.0 #
- BREAKING CHANGE: Rename
children
parameter ofShadContextMenu
andShadContextMenuRegion
intoitems
.
0.9.8 #
- Improve the
ShadContextMenu
right click behavior on Web.
0.9.7 #
- Remove kind event from
ShadMouseArea
0.9.6 #
- Fix: the browser context menu has been enabled again, and deactivated only for the
ShadContextMenu
component.
0.9.5 #
- Add text selection toolbar to
ShadInput
(thanks to @moshOntong-IT).
0.9.4 #
- Add gestures recognizers to
ShadTable
for rows and columns.
0.9.3 #
- Fix
ShadSelectFormField
focus whenreadOnly
is true.
0.9.2 #
- Add
gap
toShadInput
andShadInputFormField
(thanks to @moshOntong-IT).
0.9.1 #
- Fix native context menu by disabling it on Web.
- Add
controller
toShadContextMenu
. - Add
onLongPress
toShadContextMenuRegion
, defaults totrue
on mobile.
0.9.0 #
- New
ShadContextMenu
component. - Add
groupId
toShadPopover
, to determine if the tap is inside the popover or not. - Add
onFocusChange
toShadFocusable
andShadButton
. - Add
onSecondaryTap
toShadButton
.
0.8.1 #
- Fix
ShadTabs
not updating the controller when the value changes.
0.8.0 #
- BREAKING CHANGE: Refactor
ShadResizablePanelGroup
in order to react to window resize correctly. The sizes have been normalized. You don't need to provide anymore a pixel size, but a value between 0 and 1 which indicates the percentage of the available space. - Add
onChanged
toShadTabs
. - Add
onSecondaryTap
toShadGestureDetector
andShadButton
. - Fix
maxWidth
missing inShadSelectForlField
.
0.7.3 #
- Add
header
andfooter
toShadSelect
andShadSelectFormField
. - Add
mainAxisAlignment
andcrossAxisAlignment
toShadAlert
. - Fix unintentional disposal of
controller
inShadSelect
. - Remove assert about
icon
andiconSrc
inShadAlert
, you can avoid using an icon now. - Fix height of Sheet.
0.7.2 #
- Add
controller
parameter toShadSelect
andShadSelectFormField
.
0.7.1 #
- Fix performance of
ShadSelect
with the newoptionsBuilder
parameter for a large number of options. - Fix keyboard appearance of
ShadInput
(thanks to @hieupm2096). - Add
onPressed
toShadBadge
. - Rename button
text
parameter intochild
. - Rename dialog
content
parameter intochild
. - Rename sheet
content
parameter intochild
. - Rename tab
text
parameter intochild
.
0.7.0 #
- Rename Tabs
defaultValue
parameter intovalue
. - Rename Card
content
parameter intochild
. - Rename Badge
text
parameter intochild
. - Rename Input
onTap
parameter intoonPressed
. - Rename AccordionItem
content
parameter intochild
. - Add
filter
to Select and Popover in order to blur the background when the popover is open. - Pass
errorText
toerror
build of Form Fields. - Add
gap
to Buttons, default to8
. - Update type of
src
parameter of Avatar - Add
Alert.raw
constructor - Add
Dialog.raw
constructor - Add
Select.raw
andSelectFormField.raw
constructors - Add
TableCell.raw
constructor - Add
draggable
to Sheet to make it draggable, it works on every side. - Add
ThemeVariant
to handle the default theme variant, and the one without the secondary border.
0.6.5 #
- Add
textDirection
toShadButton
0.6.4 #
- Make
content
ofShadTab
optional - Add
TextSelectionTheme
using shadcn colors - Add
crossAxisAlignment
toShadCheckbox
- Fix
ShadSelect
popover padding
0.6.3 #
- Fix
FormField
s label not getting the correct style. - Update the
Popover
animation duration to be faster, the same applies to theSelect
component. - Remove unused
waitDuration
andshowDuration
fromPopover
. - Add
effects
andshadows
toSelect
andSelectTheme
.
0.6.2 #
- Fix form field error border decoration not working
- Add
ShadAutovalidateMode
toShadForm
, with the newalwaysAfterFirstValidation
mode (the new default) - Fix: apply Google Font to Material text theme
0.6.1 #
- Remove
ShadButtonSize.icon
. Now by default, when theicon
is provided and thetext
is not, the button will use theicon
size.
0.6.0 #
- Add
ShadTabs
component - Add
ShadColorScheme.fromName
to easily create a color scheme from a name (String) - Add
package
toShadImage
(thanks to @farhanfadila1717) - Fix
decoration
of form fields - Fix selection controls of
ShadInput
0.5.7 #
- Renamed the breakpoints
- Add
context.breakpoint
extension
0.5.6 #
- Fix mismatch of
childAlignment
andoverlayAlignment
inShadPortal
- Remove top padding of
ShadPopover
- Set default values to
ShadAnchor
andShadAnchorAuto
0.5.5 #
- Remove
inputDecoration
from form fields. - Fix
ShadApp
default dark theme.
0.5.4 #
- Fix double padding on form fields.
0.5.3 #
- Update dependencies
- Removed deprecated parameters
checkerboard...
fromShadApp
0.5.2 #
- Fix
onTap
not working inShadInput
andShadInputFormField
0.5.1 #
- Fix
ShadInputFormField
which disposed the controller being passed to it. - Add
scrollable
andscrollPadding
toShadDialog
andShadSheet
. By default, the dialogs and sheets are scrollable and the viewInsets are the default scroll padding.
0.5.0 #
- Add the
ShadSelect.withSearch
constructor to easily add a search input to the select component.
0.4.7 #
- Add
maintainState
toShadAccordion
to keep the child in the tree even if the item is closed, defaults tofalse
. - Update
ShadAccordion
to useeffects
instead oftransitionBuilder
. - Remove
rive
dependency and Rive support inShadImage
due to many issues with the package. - Remove
colorScheme
fromShadTextTheme
. Now the colors will be automatically derived, unless specified. - Fix popover position in
ShadSelect
component. - Refactor
ShadDecoration
to easily change the default borders and add new decoration properties to it. Some properties have been moved from the components to thedecoration
of the component. - Fix
ShadTable
row indexes when using anheaderBuilder
(thanks to @Kyziq).
0.4.6 #
- Update depencencies versions
- Remove
ShadSameWidthColumn
component - Remove boxy dependency
- Make components keyboard accessible
0.4.5 #
- Remove
placeholderStyle
andplaceholderAlignment
fromShadDecoration
and move toShadInput
andShadInputFormField
- Add
suffix
andprefix
toShadInput
andShadInputFormField
0.4.4 #
- Add
horizontalScrollPhysics
andverticalScrollPhysics
toShadTable
- Add
mainAxisAlignment
andcrossAxisAlignment
toShadButton
- Fix
ShadDialog
content adding default text style - Remove popover asserts and ignore operation if already opened/closed.
- Add
longPressDuration
toShadGestureDetector
- Add
hoverStrategies
to ShadButtonTheme's - Fix use
strutStyle
inShadInput
- Add
backgroundColor
toShadInput
andShadInputFormField
(thanks to @Dredayduncan) - Remove
inputDecoration
fromShadInput
- Put
placeholder
on top ofShadInput
- Fix text style alignment
0.4.3 #
- Fix
ShadResizable
divider position
0.4.2 #
- Add
ShadGestureDetector
with hover strategies for touchscreens. - Add
ShadTooltipController
toShadTooltip
. - Increase the divider size in the
ShadResizable
component.
0.4.1 #
- Expose
ShadResizableTheme
.
0.4.0 #
- Add
ShadResizable
component
0.3.3 #
- Improve pub dev score
0.3.2 #
- Fix
preferBelow
default value forShadSelect
andShadPopover
0.3.1 #
- Add
ShadAnchorAuto
toShadPortal
, to automatically adjust the position of the overlay. This applies to all components that useShadPortal
, likeShadSelect
,ShadTooltip
,ShadPopover
.
0.3.0 #
- Add
ShadTable
component - Improved
ShadInput
placeholder alignment
0.2.6 #
- Fix buttons state not updated correctly
- Remove
ShadAssets
in favor ofLucideIcons
0.2.5 #
- Add
width
andheight
toShadCard
- Add
leading
andtrailing
toShadCard
0.2.4 #
- Add workaround for google_fonts issue about font weights. see https://github.com/material-foundation/flutter-packages/issues/35
- Make
from
ofShadTextTheme.fromGoogleFont
unnamed.
0.2.3 #
- Expose
ShadTextTheme
- Fix
ShadTextTheme
to add ability to change font family - Add
materialThemeBuilder
to defaultShadApp
- Add
ShadTextTheme.fromGoogleFont
to use a Google Font
0.2.2 #
- Fix lerp of
ShadDecoration
andShadBorder
- Add
ShadDecoration.none
andShadBorder.none
0.2.1 #
- Fix export of color schemes (thanks to @Pietervdw)
0.2.0 #
- Add
materialThemeBuilder
andcupertinoThemeBuilder
toShadApp
- Fix
readOnly
forShadInput
- Fix
initialValue
forShadInputFormField
- Rename
AnimatedShadTheme
intoShadAnimatedTheme
0.1.0 #
- new
ShadProgress
component - new
ShadAccordion
component - new
ShadSheet
component - add
onLongPress
to buttons - add
ShadStatesController
to buttons - update
showShadDialog
- set toast default animations based on alignment
- change toast default offset
- add Material and Cupertino constructors in
ShadApp
0.0.1-dev1 #
- First development release
0.0.0 #
- Initial commit