shadcn_ui 0.26.0 
shadcn_ui: ^0.26.0 copied to clipboard
shadcn/ui ported in Flutter. Awesome UI components for Flutter, fully customizable.
0.26.0 #
- BREAKING CHANGE: Update the 
appBuilderof theShadAppby removing theThemeDataparameter. - REFACTOR: Deprecate 
ShadApp.material,ShadApp.materialRouter,ShadApp.cupertinoandShadApp.cupertinoRouter. UseShadApp.custominstead. 
0.25.1 #
- FIX: The scrollbar of the 
ShadTextareacomponent has been fixed, addedscrollbarPaddingtoShadTextareaThemeandShadInputTheme. - FIX: Focus of 
ShadTextareaon resize. 
0.25.0 #
- CHORE: Bump dependency versions (thanks to @mayapaw).
 - FEAT: Add 
ShadTextareaandShadTextareaFormFieldcomponents (thanks to @dalroy44). - FIX: 
ShadSelectFormFieldinitial value fromShadFormnot working. 
0.24.0 #
- FEAT: Add 
Sonnercomponent. 
0.23.4 #
- FIX: 
ShadSelectFormFieldandShadSelectMultipleFormFieldcontroller not updating the parentShadForm. 
0.23.3 #
- FIX: 
ShadInputonPressedOutsidewhen tapping on anotherShadInput. - FEAT: Add 
groupIdtoShadInputandShadInputFormField, defaults toUniqueKeyinstead ofEditableText. 
0.23.2 #
- FEAT: Add 
copyWithmethod toShadColorScheme(thanks to @Luckey-Elijah). 
0.23.1 #
- FIX: 
ShadResizabledivider alignments whendividerSizeis overriden. 
0.23.0 #
- FIX: Expose 
ShadMouseCursorProvider. - FIX: 
ShadMenubaranchor. - FIX: 
ShadBadgeshould not enter the gesture arena if theonPressedcallback is not provided. - FEAT: Add 
cursortoShadBadge, defaults toSystemMouseCursors.clickifonPressedis provided. - BREAKING CHANGE: Refactor 
ShadAnchorAutoto make it more powerful, removedverticalOffsetandpreferBelowin favor ofoffset,followerAnchorandtargetAnchor. Now every component uses it by default. 
0.22.5 #
- FIX: 
ShadGestureDetectorglobal coordinates when using multipleNavigators. 
0.22.4 #
- FIX: Pass 
themeModetoMaterialApp(thanks to @mubareksd). - FIX: Add 
focusNodetoShadInputFormField. 
0.22.3 #
- FIX: 
ShadTooltipexit animation, adddurationandreverseDurationto it. - FIX: 
ShadMenubarno longer steals the focus. - FIX: 
ShadButtonstealing focus when pressed. - FEAT: Add 
stylusHandwritingEnabledtoShadInput. 
0.22.2 #
- FIX: Add 
constraintstoShadInputandShadInputFormField, by default the min height is calculated based on thestyleandplaceholderStyle. - FIX: 
ShadInputstyle and placeholder style which are now merged instead of replaced. - FIX 
ShadMenubarwrong padding used for the context menu. - CHORE: Set min flutter version to 
3.29.0(thanks to @qk7b) 
0.22.1 #
- FIX: 
ShadInputicon color. 
0.22.0 #
- FEAT: Add 
ShadMenubarcomponent. - REFACTOR: Deprecate 
ShadDividerandShadDividerTheme, useShadSeparatorandShadSeparatorThemeinstead. - FEAT: Add 
onTapInside,onTapOutside,onTapUpInsideandonTapUpOutsidetoShadContextMenu. 
0.21.0 #
- FEAT: Add 
ShadDividercomponent (thanks to @Luckey-Elijah) - FIX: Pass 
buttonDecorationtoShadButtoninsideShadDatePicker(thanks to @plusema86) - CHORE: Add comments to all components + test many of them
 
0.20.3 #
- FIX: Validation mode on form field reset (thanks to @Mayb3Nots)
 
0.20.2 #
- REFACTOR: Deprecate 
ShadTab.icon, useShadTab.leadinginstead. Addtrailing. - FIX: Disable scroll inside 
ShadCalendar 
0.20.1 #
- REFACTOR: Set 
debugShowCheckedModeBannertofalseby default inShadApp. - FIX Expose 
ShadInputOTPTheme. 
0.20.0 #
- FEAT: Add 
ShadIconButtoncomponent. - REFACTOR: Deprecated 
ShadButton.icon, useShadIconButtonfor a button with just an icon andShadButton.leadingfor a button with an icon and a text. - REFACTOR: Deprecate 
orderPolicy, useleadingandtrailingin the component. - REFACTOR: Deprecate 
prefixandsuffixinShadInput, useleadingandtrailinginstead. - REFACTOR Deprecate 
searchInputPrefixinShadSelect, usesearchInputLeadinginstead. 
0.19.3 #
- FIX: Make 
selectedOptionBuilderrequired inShadSelect(thanks to @muradab). - FIX: Add 
optionsBuildertoShadSelectand its form fields where it was missing. 
0.19.2 #
- FIX: Add constraints to 
ShadCardchild. 
0.19.1 #
- REFACTOR: Rename 
materialTextThemeintoapplyGoogleFontToTextTheme. - FEAT: Allow accessing the 
ShadThemewith the context, in thematerialThemeBuilderandappBuilder. 
0.19.0 #
- FIX: 
ShadInputreadOnlynot updating. - BREAKING CHANGE: Rename 
ShadSelectand form fieldscontrollertopopoverController. - FEAT: Add 
controllertoShadSelectand form fields, to control the selected values. - FIX: Improve the 
ShadResizablecontroller handling and simplify the logic to resize the panels. - FIX: 
ShadResizablehandle position withAxis.vertical. - BREAKING CHANGE: Now 
ShadResizablerequires anid, to be able to handle when a panel is removed/added from the widget tree correctly. - CHORE: Correctly set the 
themeordarkThemeto the internalMaterialApp. 
0.18.7 #
- FIX: 
ShadAppdark theme behavior now is the same as Material. The dark theme is applied only if you provide adarkThemeand the user theme mode is dark 
0.18.6 #
- FIX: 
ShadTimePickercontroller not being used correctly when the component is initialized. Now each field allows a single digit instead of two. 
0.18.5 #
- FIX: 
ShadCalendarforward button icon color. - CHORE: Bump the version of 
universal_image(thanks to @brunosemfio). 
0.18.4 #
- FIX: 
ShadDatePickerpopover closes on caption selection. - CHORE: Add 
onNavigationNotificationtoShadApp(thanks to @mllrr96) - FIX: 
ShadDatePickercrash when caption layout is different from label, due to misleadingLocaletype passed toDateFormat, thanksdynamicfor these amazing errors. 
0.18.3 #
- FIX: Improve 
ShadAvatar(thanks to @mickey35vn). - FIX: Locale not handled in 
ShadCalendarandShadDatePicker. - REFACTOR: Remove 
optionsOrderPolicyfromShadSelectThemeand move it toShadOptionThemewith the nameorderPolicy. 
0.18.2 #
- FIX: 
InputOTPcomponent with RTL directionality. 
0.18.1 #
- FIX: Set 
ShadCardclipBehavior toClip.antialias, addclipBehaviortoShadCardandShadCardTheme. - FIX: Use 
selectedDecorationinShadTabs(thanks to @thisisamank) - FEAT: Add colorSelector to the ShadcnUI docs (thanks to @0xharkirat)
 - FEAT: Add 
hourLabel,minuteLabel,secondLabel,periodLabel,hourPlaceholder,minutePlaceholder,secondPlaceholderandperiodPlaceholdertoShadTimePickerTheme. 
0.18.0 #
- BREAKING CHANGE: Remove 
applyIconColorFilterfromShadButton. - BREAKING CHANGE: Remove 
ShadImagecomponent. Prefer using theIconwidget forIconData, theImagewidget for normal images, andSvgPicture(from the flutter_svg package for SVG images. If you want a fallback, useUniversalImage. - BREAKING CHANGE: Rename 
iconSrciniconDataaround components. - FIX: 
TimePickerFormFieldinitial value. 
0.17.6 #
- FIX: Fix the iconSize of 
ShadButton, addiconSizetoShadButton. 
0.17.5 #
- FEAT: New 
OrderPolicy,LinearOrderPolicy,ReverseOrderPolicyandCustomOrderPolicyto update the order policy of the items in a list, this can be very useful to arrange the order of the parts of the shadcn components. - FEAT: Add 
orderPolicytoShadOption,ShadAlert,ShadButton,ShadCheckbox,ShadCheckboxFormField,ShadDatePicker,ShadDatePickerFormField,ShadDateRangePickerFormField,ShadRadio,ShadSwitch,ShadSwitchFormField,ShadToast. - FEAT: Add 
expandstoShadButton, defaults to false. Use it if you want the button's child to expand to fill the available space. 
0.17.4 #
- FIX 
ShadTabsonChanged runtime exception due to misleading type 
0.17.3 #
- FIX: 
ShadTableprotectonExitfrom setting value after dispose (thanks to @jezell) 
0.17.2 #
- FIX: Add 
allowDeselectiontoShadCalendar.range - CHORE: Update dependencies
 
0.17.1 #
- FIX: 
ShadInputOTPtext alignment and padding - FEAT: Add 
textInputActiontoShadInputOTPSlot 
0.17.0 #
- FEAT: Add 
ShadInputOTPandShadInputOTPFormFieldcomponents. - BREAKING CHANGE: The 
ShadBorderno longer has default values, if you want to see the border rendered provide a color and a width greater than 0. This fixes the merge of material borders. - FIX: 
ShadTabsborder radius. - FIX: 
ShadSliderfocused thumb. - FIX: 
ShadResizableresize when Directionality is RTL. - FIX: Update the 
destructivecolor on dark mode to be more visible. - FIX: Make inherited widget lookup untyped
 
0.16.3 #
- FIX: 
showCursordefault value inShadInputFormField 
0.16.2 #
- FIX: 
ShadTabsandShadResizablelerp - FIX: 
ShadTabsfocused border color in dark mode 
0.16.1 #
- FEAT: Add parameters to 
ShadFocusable. 
0.16.0 #
- FEAT: New 
ShadTimePickerandShadTimePickerFormFieldcomponents. - FIX: 
maxLength,maxLengthEnforcementandshowCursornot working onShadInput - FIX: 
ShadCalendarrange day button text style whendisableSecondaryBorderistrue. - CHORE: Set minimum Flutter version to 
3.24.0 - CHORE: Remove 
trackColorfromShadSwitch(thanks to @RaghavTheGreat) - FIX: 
ShadSlideronChangedcalled on every controller update (thanks to @helightdev). 
0.15.3 #
- FIX: 
ShadDialogandShadSheetchildren constraints. - CHORE: Replace 
flutter_svg_plusdependency withflutter_svgandvector_graphics_pluswithvector_graphics. 
0.15.2 #
- FIX: 
ShadDialogandShadSheetchildren constraints. 
0.15.1 #
- FIX: Decoration merge
 
0.15.0 #
- FEAT: New 
ShadDatePickercomponent. - FEAT: Add 
allowDeselectionproperty toShadCalendar. - FIX: 
ShadSelectcrash when usingoptionsBuilder. - FEAT: Add 
itemCountandshrinkWraptoShadSelectandShadSelectFormField. 
0.14.1 #
- FIX: 
ShadAppscroll behavior. 
0.14.0 #
- BREAKING CHANGE: Remove 
onChangedNullablefromShadSelectandShadSelectFormField. Now theonChangedcallback will be called withnullwhen the user deselects an option ifallowDeselectionis set totrue. (thanks to @moshOntong-IT) - FEAT: Add click mouse cursor to 
ShadTablewhenonRowTaporonColumnTapis provided. 
0.13.5 #
- FIX: Fix 
ShadSelectinitial 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.customfor custom WidgetsApp implementation. 
0.13.2 #
- CHORE: Use forked 
flutter_svgandvector_graphicspackages. 
0.13.1 #
- CHORE: Update 
ShadImageimport due to WASM. 
0.13.0 #
- FEAT: New 
ShadCalendarcomponent with thesingle,multipleandrangevariants. 
0.12.0 #
- FEAT: Add 
axis,spacing,runSpacing,alignment,runAlignment,crossAxisAlignmentandcrossAxisAlignmenttoShadRadioGroupandShadRadioGroupFormField. 
0.11.1 #
- FEAT: Add 
headerstoShadImageto allow custom headers in the network requests. 
0.11.0 #
- FEAT: Add 
ShadSelect.multiple,ShadSelect.multipleWithSearch,ShadSelectMultipleFormFieldandShadSelectMultipleFormField.withSearchconstructors. - FEAT: Add 
onChangedNullabletoShadSelectandShadSelectFormField, to allow the deselection of an option. - Improve the 
ShadSelectfocus behavior. - Improve size of 
ShadSelectoptions to fit the available space. 
0.10.0 #
- BREAKING CHANGE: Rename 
childrenparameter ofShadContextMenuandShadContextMenuRegionintoitems. 
0.9.8 #
- Improve the 
ShadContextMenuright 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 
ShadContextMenucomponent. 
0.9.5 #
- Add text selection toolbar to 
ShadInput(thanks to @moshOntong-IT). 
0.9.4 #
- Add gestures recognizers to 
ShadTablefor rows and columns. 
0.9.3 #
- Fix 
ShadSelectFormFieldfocus whenreadOnlyis true. 
0.9.2 #
- Add 
gaptoShadInputandShadInputFormField(thanks to @moshOntong-IT). 
0.9.1 #
- Fix native context menu by disabling it on Web.
 - Add 
controllertoShadContextMenu. - Add 
onLongPresstoShadContextMenuRegion, defaults totrueon mobile. 
0.9.0 #
- New 
ShadContextMenucomponent. - Add 
groupIdtoShadPopover, to determine if the tap is inside the popover or not. - Add 
onFocusChangetoShadFocusableandShadButton. - Add 
onSecondaryTaptoShadButton. 
0.8.1 #
- Fix 
ShadTabsnot updating the controller when the value changes. 
0.8.0 #
- BREAKING CHANGE: Refactor 
ShadResizablePanelGroupin 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 
onChangedtoShadTabs. - Add 
onSecondaryTaptoShadGestureDetectorandShadButton. - Fix 
maxWidthmissing inShadSelectForlField. 
0.7.3 #
- Add 
headerandfootertoShadSelectandShadSelectFormField. - Add 
mainAxisAlignmentandcrossAxisAlignmenttoShadAlert. - Fix unintentional disposal of 
controllerinShadSelect. - Remove assert about 
iconandiconSrcinShadAlert, you can avoid using an icon now. - Fix height of Sheet.
 
0.7.2 #
- Add 
controllerparameter toShadSelectandShadSelectFormField. 
0.7.1 #
- Fix performance of 
ShadSelectwith the newoptionsBuilderparameter for a large number of options. - Fix keyboard appearance of 
ShadInput(thanks to @hieupm2096). - Add 
onPressedtoShadBadge. - Rename button 
textparameter intochild. - Rename dialog 
contentparameter intochild. - Rename sheet 
contentparameter intochild. - Rename tab 
textparameter intochild. 
0.7.0 #
- Rename Tabs 
defaultValueparameter intovalue. - Rename Card 
contentparameter intochild. - Rename Badge 
textparameter intochild. - Rename Input 
onTapparameter intoonPressed. - Rename AccordionItem 
contentparameter intochild. - Add 
filterto Select and Popover in order to blur the background when the popover is open. - Pass 
errorTexttoerrorbuild of Form Fields. - Add 
gapto Buttons, default to8. - Update type of 
srcparameter of Avatar - Add 
Alert.rawconstructor - Add 
Dialog.rawconstructor - Add 
Select.rawandSelectFormField.rawconstructors - Add 
TableCell.rawconstructor - Add 
draggableto Sheet to make it draggable, it works on every side. - Add 
ThemeVariantto handle the default theme variant, and the one without the secondary border. 
0.6.5 #
- Add 
textDirectiontoShadButton 
0.6.4 #
- Make 
contentofShadTaboptional - Add 
TextSelectionThemeusing shadcn colors - Add 
crossAxisAlignmenttoShadCheckbox - Fix 
ShadSelectpopover padding 
0.6.3 #
- Fix 
FormFields label not getting the correct style. - Update the 
Popoveranimation duration to be faster, the same applies to theSelectcomponent. - Remove unused 
waitDurationandshowDurationfromPopover. - Add 
effectsandshadowstoSelectandSelectTheme. 
0.6.2 #
- Fix form field error border decoration not working
 - Add 
ShadAutovalidateModetoShadForm, with the newalwaysAfterFirstValidationmode (the new default) - Fix: apply Google Font to Material text theme
 
0.6.1 #
- Remove 
ShadButtonSize.icon. Now by default, when theiconis provided and thetextis not, the button will use theiconsize. 
0.6.0 #
- Add 
ShadTabscomponent - Add 
ShadColorScheme.fromNameto easily create a color scheme from a name (String) - Add 
packagetoShadImage(thanks to @farhanfadila1717) - Fix 
decorationof form fields - Fix selection controls of 
ShadInput 
0.5.7 #
- Renamed the breakpoints
 - Add 
context.breakpointextension 
0.5.6 #
- Fix mismatch of 
childAlignmentandoverlayAlignmentinShadPortal - Remove top padding of 
ShadPopover - Set default values to 
ShadAnchorandShadAnchorAuto 
0.5.5 #
- Remove 
inputDecorationfrom form fields. - Fix 
ShadAppdefault 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 
onTapnot working inShadInputandShadInputFormField 
0.5.1 #
- Fix 
ShadInputFormFieldwhich disposed the controller being passed to it. - Add 
scrollableandscrollPaddingtoShadDialogandShadSheet. By default, the dialogs and sheets are scrollable and the viewInsets are the default scroll padding. 
0.5.0 #
- Add the 
ShadSelect.withSearchconstructor to easily add a search input to the select component. 
0.4.7 #
- Add 
maintainStatetoShadAccordionto keep the child in the tree even if the item is closed, defaults tofalse. - Update 
ShadAccordionto useeffectsinstead oftransitionBuilder. - Remove 
rivedependency and Rive support inShadImagedue to many issues with the package. - Remove 
colorSchemefromShadTextTheme. Now the colors will be automatically derived, unless specified. - Fix popover position in 
ShadSelectcomponent. - Refactor 
ShadDecorationto easily change the default borders and add new decoration properties to it. Some properties have been moved from the components to thedecorationof the component. - Fix 
ShadTablerow indexes when using anheaderBuilder(thanks to @Kyziq). 
0.4.6 #
- Update depencencies versions
 - Remove 
ShadSameWidthColumncomponent - Remove boxy dependency
 - Make components keyboard accessible
 
0.4.5 #
- Remove 
placeholderStyleandplaceholderAlignmentfromShadDecorationand move toShadInputandShadInputFormField - Add 
suffixandprefixtoShadInputandShadInputFormField 
0.4.4 #
- Add 
horizontalScrollPhysicsandverticalScrollPhysicstoShadTable - Add 
mainAxisAlignmentandcrossAxisAlignmenttoShadButton - Fix 
ShadDialogcontent adding default text style - Remove popover asserts and ignore operation if already opened/closed.
 - Add 
longPressDurationtoShadGestureDetector - Add 
hoverStrategiesto ShadButtonTheme's - Fix use 
strutStyleinShadInput - Add 
backgroundColortoShadInputandShadInputFormField(thanks to @Dredayduncan) - Remove 
inputDecorationfromShadInput - Put 
placeholderon top ofShadInput - Fix text style alignment
 
0.4.3 #
- Fix 
ShadResizabledivider position 
0.4.2 #
- Add 
ShadGestureDetectorwith hover strategies for touchscreens. - Add 
ShadTooltipControllertoShadTooltip. - Increase the divider size in the 
ShadResizablecomponent. 
0.4.1 #
- Expose 
ShadResizableTheme. 
0.4.0 #
- Add 
ShadResizablecomponent 
0.3.3 #
- Improve pub dev score
 
0.3.2 #
- Fix 
preferBelowdefault value forShadSelectandShadPopover 
0.3.1 #
- Add 
ShadAnchorAutotoShadPortal, to automatically adjust the position of the overlay. This applies to all components that useShadPortal, likeShadSelect,ShadTooltip,ShadPopover. 
0.3.0 #
- Add 
ShadTablecomponent - Improved 
ShadInputplaceholder alignment 
0.2.6 #
- Fix buttons state not updated correctly
 - Remove 
ShadAssetsin favor ofLucideIcons 
0.2.5 #
- Add 
widthandheighttoShadCard - Add 
leadingandtrailingtoShadCard 
0.2.4 #
- Add workaround for google_fonts issue about font weights. see https://github.com/material-foundation/flutter-packages/issues/35
 - Make 
fromofShadTextTheme.fromGoogleFontunnamed. 
0.2.3 #
- Expose 
ShadTextTheme - Fix 
ShadTextThemeto add ability to change font family - Add 
materialThemeBuilderto defaultShadApp - Add 
ShadTextTheme.fromGoogleFontto use a Google Font 
0.2.2 #
- Fix lerp of 
ShadDecorationandShadBorder - Add 
ShadDecoration.noneandShadBorder.none 
0.2.1 #
- Fix export of color schemes (thanks to @Pietervdw)
 
0.2.0 #
- Add 
materialThemeBuilderandcupertinoThemeBuildertoShadApp - Fix 
readOnlyforShadInput - Fix 
initialValueforShadInputFormField - Rename 
AnimatedShadThemeintoShadAnimatedTheme 
0.1.0 #
- new 
ShadProgresscomponent - new 
ShadAccordioncomponent - new 
ShadSheetcomponent - add 
onLongPressto buttons - add 
ShadStatesControllerto 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