shadcn_ui 0.43.0
shadcn_ui: ^0.43.0 copied to clipboard
shadcn/ui ported in Flutter. Awesome UI components for Flutter, fully customizable.
0.43.0 #
- BREAKING CHANGE: Rename
iconintoleadinginShadDatePickerandShadDatePickerFormFieldand addtrailing.
0.42.1 #
- CHORE: Add
selectedIconColortoShadOptionThemeto allow customizing the color of the selected icon.
0.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.
0.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.
0.40.6 #
- FIX: Add
maxLengthparameter toShadTextarea(thanks to @mickey35vn).
0.40.5 #
- FIX:
ShadSonnerheight normalization for stacked toasts with different heights.
0.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.
0.40.3 #
- FIX:
ShadButtonconstraints regression when using aLayoutBuilderas child.
0.40.2 #
- FIX:
ShadSelectFormFieldonChangedcallback being fired twice when changing the value.
0.40.1 #
- FIX:
ShadInputconstraints are applied at the top of the widget and not to the inner editable text. - CHORE: Run the Dart formatter.
0.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.
0.39.14 #
- CHORE: Downgrade Dart SDK constraint to
3.6.0to temporarely fix the pub dev score issue about the Dart formatter (see #9091)
0.39.13 #
- FIX: Provide more fallback colors to
ShadCalendar.
0.39.12 #
- FIX:
weekNumbersHeaderTextStyleinShadCalendarnot having a default color.
0.39.11 #
- FIX:
ShadAvatarwith null source.
0.39.10 #
- FIX: Update
theme_extensions_builderand fix merge issues in themes.
0.39.9 #
- FIX: Regression in
ShadSelectwhere the dropdown no longer expanded to the intrinsic width of its options. - FIX: Select popover not respecting anchoring point when scrolling.
- CHORE: Bump min Dart SDK version to
3.10.0.
0.39.8 #
- FIX: Autofocus search input in select dropdown (thanks @Isakdl).
0.39.7 #
- FIX:
ShadOptionselectedIcon position doesn't match original shadcn/ui (thanks to @DMouayad).
0.39.6 #
- FIX: Assertion error when using
ShadSelect.withSearch.
0.39.5 #
- FEAT: Add
onPressedtoShadSelectand its form fields to provide a custom callback when the select input is pressed, instead of toggling the popover.
0.39.4 #
- FIX:
ShadDatePickerselected range not updated insidedidUpdateWidget.
0.39.3 #
- FIX: Remove extra gap when
actionsis empty inShadDialog. - FEAT: Add
titlePinned,descriptionPinnedandactionsPinnedtoShadDialogandShadSheetto control whether to pin the title, description and actions when scrolling the content.
0.39.2 #
- FEAT: Add
buttonTextStyletoShadDateRangePickerFormField.
0.39.1 #
- FEAT: Add
buttonTextStyletoShadDatePicker,ShadDatePickerThemeandShadDatePickerFormFieldto customize the text style of the button that triggers the date picker popover.
0.39.0 #
- FEAT: Add
top,bottom,verticalGapandonLineCountChangetoShadInput,ShadInputFormField,ShadTextAreaandShadTextAreaFormFieldto add widgets above or below the input field, and to get notified when the number of lines in the input changes. - CHORE: Export
boxypackage. - FIX:
ShadTextareadouble scrollbar. - FEAT: Add
editableTextSizetoShadInputandShadInputFormFieldto set a fixed size for the editable text area. - FIX: Disable text selection inside buttons (thanks to @Isakdl).
- FIX: ShadDialog always expands to constraints.maxWidth (thanks to @DMouayad).
0.38.5 #
- FIX:
ShadTabsconsuming extra space whenexpandContentis true for unselected tabs.
0.38.4 #
- REFACTOR: Remove required parameters from
ShadThemeData, use default values instead. - FEAT: Add
setInternalFieldErrortoShadFormto set a forced error text for a form field.
0.38.3 #
- FEAT: Add
maintainStatetoShadTabsto control whether to maintain the state of the tabs when switching between them. Defaults totrue. - FEAT: Add
canRequestFocustoShadButton. - FIX: Unselected
ShadTabwhich was focusable.
0.38.2 #
- FEAT: Add
searchFocusNodetoShadSelectandShadSelectFormFieldto provide a custom focus node for the search input. - FEAT: Add
onSearchSubmittedtoShadSelectandShadSelectFormFieldto handle the submission of the search input (e.g., when the user presses the Enter key). - FIX:
ShadInputcrash when removing the externalfocusNode.
0.38.1 #
- FIX: Fix ShadTable doesn't support RTL (thanks to @DMouayad).
- FIX: ShadToast & ShadSonner doesn't react to text direction change (thanks to @DMouayad).
- FIX: ShadSheet crash when tap outside the sheet (thanks to @pro100andrey).
- FIX: Feat: direction-aware dialog and toast close buttons (thanks to @DMouayad).
- FIX: ShadDialog - scrolling doesn’t work when constraints are set (thanks to @pro100andrey).
0.38.0 #
- BREAKING CHANGE:
ShadTabs.expandContenthas been removed and added toShadTab.expandContentto allow expanding only specific tabs.
0.37.4 #
- FIX: Export
Effectfromflutter_animateasAnimateEffectto avoid name conflicts. - FIX: Export
TextDirectionfromintlasIntlTextDirectionto avoid name conflicts.
0.37.3 #
- FIX:
ShadSelectnot updating the controller when the form field value changes. - FIX: Remove
initialValuesfromShadSelectMultipleFormField, usecontrollerinstead. - FIX:
ShadSelect.withSearchkeyboard shortcuts closing the popover when the search input is focused.
0.37.2 #
- FEAT: Add
backgroundColor,selectedBackgroundColor,textStyleandselectedTextStyletoShadOptionThemeandShadOption, to customize the background color and text style ofShadOption(thanks to @9dan).
0.37.1 #
- FIX: Test fails due to pending Timer when using
AnimateandDuration.zero, which has been replaced withShadAnimate. - FEAT: Add
ShadThemeData.mergeandShadTheme.mergemethods to easily merge two themes together. This is useful when you want to override only a few properties of the theme for a subtree of the widget tree.
0.37.0 #
- FEAT: Add
tabsGapandtabBarAlignmenttoShadTabsin order to customize the gaps between tabs and the alignment of the tab bar (thanks to @9dan). - FIX: Fix the resulting TextStyle applied to ShadTab (thanks to @9dan).
- FIX: Fix the resulting decoration applied to ShadTab (thanks to @9dan).
- REFACTOR: Before all text styles from
ShadTextThemehad a color applied andinheritedset tofalse, this prevented customizing the text styles easily. Now all text styles haveinheritset totrueand no color applied, so they can be customized more easily (thanks to @9dan) - FEAT: Expose
TextStyle.fallbackmethod to easily set a fallback property to a TextStyle if it is null; for example,textStyle.fallback(color: Colors.red)will set the color to red if it is null, and will keep the original color if it is not null (thanks to @9dan). - FIX:
ShadOption.selectedIconwas always visible, even if the option was not selected (thanks to @DMouayad). - FEAT: Allow custom exit transition duration in
showShadDialog(thanks to @DMouayad). - FEAT: Add
showHours,showMinutesandshowSecondstoShadTimePickerandShadTimePickerFormFieldto customize which fields are shown.
0.36.1 #
- FIX: Expose
ShadButtonSizesTheme. - FEAT: Add
textStyletoShadButtonandShadButtonThemeto customize the text style of the button.
0.36.0 #
- BREAKING CHANGE: Remove
iconDatafromShadAlert, useiconinstead. - FEAT: Add
iconSizetoShadAlertandShadAlertTheme, fallbacks to16from inheritedIconTheme.
0.35.1 #
- FIX: The
lerpmethod of themes was overriding null double values with 0. - FIX: Replaced
BorderwithShadBorderbecauseBorder.mergefrom Flutter is a mess (sums widths of a and b).
0.35.0 #
- BREAKING CHANGE: The
mergeWithmethod has been renamed intomergeand themergeboolean has been renamed intocanMerge(ShadThemes). - CHORE: The theme generation has been automated by using the theme_extensions_builder package (thanks to @pro100andrey).
0.34.0 #
- FEAT: Add
leading,trailing,topandbottomparameters toShadAlertto add widgets before, after, above or below the main content of the alert.
0.33.1 #
- FIX:
ShadSelectalways scrolling to the selected option when opening the popover which can now be disabled withensureSelectedVisible: false. - CHORE: Remove
requiredfromonSearchChangedinShadSelectandShadSelectFormFieldto make it optional, as it is not required when a customsearchwidget is provided.
0.33.0 #
0.32.2 #
- FIX:
ShadTooltipnot showing on hover.
0.32.1 #
- FIX:
ShadToastconstraints were not being used. - FIX:
ShadToasttext direction was not taken from theme. - FEAT: Add
mainAxisSizeandmainAxisAlignmenttoShadToastandShadToastTheme, defaults toMainAxisSize.maxandMainAxisAlignment.spaceBetween.
0.32.0 #
- REFACTOR: Now all components are material-free. The only exception is
ShadAppwhich provides platform adaptive routing and scroll behavior.
0.31.9 #
- FIX:
ShadSelectnot reacting to the controller and rebuildingselectedOptionBuilder. - FIX:
ShadSelectFormFieldandShadSelectMultipleFormFieldnot resetting the value on form reset.
0.31.8 #
- FEAT: Add support for keyboard navigation in
ShadCalendar(thanks to @pedromassango).
0.31.7 #
- FEAT: Add
controllertoShadRadioGroupto manually control the selected value.
0.31.6 #
- FIX:
ShadSwitchon RTL direction.
0.31.5 #
- FEAT: Add
useSafeAreatoShadDialogandShadSheetto wrap the content with aSafeArea. Defaults totrue.
0.31.4 #
- FIX:
closeOnTapOutsideofShadDatePickerwhich wasn't passed toShadPopover.
0.31.3 #
- FIX: Convert all
EdgeInsetstoEdgeInsetsGeometryto better support RTL and fix many components.
0.31.2 #
- FEAT: Add
ShadAccordionControllerto manually control the open/close state of theShadAccordionItems. - FEAT: Toggle
ShadAccordionItemby pressingSpace(before it worked only withEnter) when the header is focused.
0.31.1 #
- FEAT: Add
sidetoShadSheetThemeto set the default side of the sheet from the theme.
0.31.0 #
- FEAT: Modify the
ShadTooltipcomponent and its hover strategies to work on mobile on tap without a long press. - FEAT: Add
ShadHoverStrategy.onTapOutsideto trigger unhover when tapping outside the widget. - FEAT: Add
ShadHoverStrategy.onTapto trigger hover/unhover when tapping inside the widget. - FEAT: Now if an hover strategy is present in both
hoverStrategies.hoverandhoverStrategies.unhover, the hover will be toggled.
0.30.5 #
- FIX: change
ShadSeparator.margintype toEdgeInsetsGeometry
0.30.4 #
- FIX:
ShadTextareaFormFieldinitial value assert due to controller being used internally.
0.30.3 #
- FIX:
onChangedofShadInputFormFieldandShadTextareaFormFieldfired twice for any change.
0.30.2 #
- FIX: Expose
ShadDefaultKeyboardToolbarTheme.
0.30.1+1 #
- CHORE: Remove useless import.
0.30.1 #
- FIX: Fix
ShadResizableon RTL (for real this time). - CHORE: Bump min Flutter SDK version to
3.35.0to supportFormField.onResetandBrightnessfrom'package:flutter/widgets.dart'
0.30.0 #
- FEAT: Add
ShadKeyboardToolbarandShadDefaultKeyboardToolbarcomponents to show a toolbar above the keyboard. AddkeyboardToolbarBuildertoShadInput,ShadInputFormField,ShadTextArea,ShadTextAreaFormField,ShadInputOTP,ShadInputOTPFormFieldto easily add a keyboard toolbar to these components.
0.29.4 #
- FIX: Fix
ShadTextTheme.copyWithwas always overwriting custom font with defaultGeistfont. [#425]
0.29.3 #
- FIX: Ensure
ShadForm.onChangedis called for both standardFormfields andShadFormFieldwidgets. - FIX: Add missing
forceErrorTextparameter toShadFormFieldwidgets.
0.29.2 #
- FIX: Fix
ShadResizableon RTL. Remove uselesstextDirectionparameter fromShadResizableandShadResizableTheme.
0.29.1 #
- FIX: Add missing
alignmentparameter toShadInput,ShadInputFormField,ShadTextAreaandShadTextAreaFormField.
0.29.0 #
- FIX: Add missing popover closing animation (thanks to @DMouayad).
0.28.8 #
- CHORE: Resolve lint issues.
0.28.7 #
- FIX: Updated
ShadPopoverfilter logic to use effectiveFilter instead of widget.filter.
0.28.6 #
- REFACTOR: Add
cursor*customizations through theme (thanks to @GuillaumeMCK).
0.28.5 #
- FIX:
ShadCalendarback and forward buttons on RTL (thanks to @HarithHaroon).
0.28.4 #
- FEAT: Add
cursorColortoShadInput(thanks to @GuillaumeMCK). - FIX: Use
AlignmentGeometryinstead ofAlignmentinsideShadInput,ShadTextareaand their form fields (thanks to @omaralmgerbie)
0.28.3 #
- FIX: pass
backgroundColortoShadAppBuilder(thanks to @GuillaumeMCK)
0.28.2 #
- FIX:
ShadDialogandShadSheetnow useSafeAreato prevent the content from being cut off by the system UI.
0.28.1 #
- FIX: Add
clearValueOnUnregistertoShadForm(defaults tofalse) to prevent clearing a form field's value from the form state when the field is unregistered (aka disposed). - FIX:
ShadPopovernot closing when pressing ESC (thanks to @DMouayad)
0.28.0 #
- REFACTOR: Update
ShadCalendaryearSelectorMinWidthfrom100to64andmonthSelectorMinWidthfrom120to64. - REFACTOR: Update
ShadCalendarposition of dropdown, which is now centered in the header. - REFACTOR: Add
dropdownFormatMonthanddropdownFormatYeartoShadCalendar. - FIX: Center the placeholder in
ShadAvatar. - DOCS: Fix missing
MainAxisSize.mininShadCardnotification example. - DOCS: Adjust sheet docs example, with some spacing between buttons.
- FIX: Fix the hit test behavior of
ShadContextMenuRegion. - FEAT: Expose
hitTestBehaviorfromShadContextMenuRegion, defaults toHitTestBehavior.opaque(thanks to @NonymousMorlock). - REFACTOR: Set default text align of
ShadTooltiptonullinstead ofTextAlign.center.
0.27.4 #
- FIX:
ShadIconButtonicon size property isn't applied (thanks to @TahaTesser).
0.27.3 #
- FIX:
ShadCalendarinitialMonthupdate when the user did not interact with the month selector yet. - DOCS: Fix typo in button code snippet (thanks to @piedcipher).
0.27.2 #
- FIX:
ShadAccordiontitle overflow when the title is too long (thanks to @monteiz). - FIX:
ShadContextMenuItemhover background color. - CHORE: Bump the minimum Flutter version to
3.32.0to support theRoundedSuperellipseBorder.
0.27.1 #
- FEAT: Add
ShadRoundedSuperellipseBorderto support the rounded superellipse border style as the primary border of any widget that usesShadDecoration.
0.27.0 #
- BREAKING CHANGE: The secondary border of
ShadDecorationnow is drawn outward of the widget, without consuming any extra space. This change affects all components that are focusable. - FEAT: Add
offsettoShadBorderto set the offset between the widget and the outward secondary border. - REFACTOR: Remove all deprecated parameters across the whole package, including
orderPolicy,ShadApp.material,ShadApp.cupertinoand so on. - REFACTOR: Update the default
anchorofShadSelect,ShadTooltipandShadPopoverfromShadAnchorAuto()toShadAnchorAuto(offset: Offset(0, 4)). - REFACTOR: Add
checkboxPaddingtoShadCheckbox,ShadCheckboxThemeandShadCheckboxFormField, defaults toEdgeInsets.only(top: 1). - REFACTOR: Add
radioPaddingtoShadRadioandShadRadioTheme, defaults toEdgeInsets.only(top: 1). - FIX: Background color of pages for pure
ShadAppif noScaffoldis used, by adding a newbackgroundColorparameter toShadAppandShadAppBuilder. - FEAT: Add
actionsGaptoShadDialog, defaults to8. - REFACTOR: Update
ShadTimePickerThemeparameters:spacingchanged from0to8,runSpacingchanged from0to4,gapchanged from2to4,fieldWidthchanged from58to48,periodHeightchanged from50to42. - FIX: Lookup of correct
ShadTextareaThemewhen retrieving thescrollbarPadding. - REFACTOR: Update
ShadCalendarTheme.dayButtonDecoration.secondaryFocusedBorderto use a new offset and 50% opacity for improved visibility. - REFACTOR: The
ShadInputOTPTheme.paddingchanged fromEdgeInsets.symmetric(vertical: 4)tonull. - REFACTOR: Change
ShadInputOTPTheme.paddingfromEdgeInsets.symmetric(vertical: 4)tonull. - REFACTOR: Automatically select the focused
ShadTabto prevent secondary border collisions, matching original shadcn keyboard navigation behavior. - REFACTOR: Change
ShadCalendarTheme.monthSelectorMinWidthfrom130to120. - REFACTOR: The
ShadCalendar.yearSelectorandShadCalendar.monthSelectornow use a secondary focused border with 50% opacity to match other parts. - REFACTOR: Update
ShadSelectwith presets example by adding padding. - REFACTOR: Remove secondary border removal from
ShadInputexample with trailing icon. - REFACTOR: Update
ShadMenubar.anchor.offsetfromOffset(-8, 8)toOffset(-4, 8). - REFACTOR: Update
ShadPopoverexample by adding a gap between input fields. - FIX:
ShadSelectControllernow has aSetinstead of aListto prevent duplicates in the selected options, this change has been applied toShadSelect.initialValuesandShadSelectFormFieldas well.
0.26.5 #
- CHORE: Update lower bound dependency versions.
0.26.4 #
- CHORE: Relax dependencies, previous versions were too strict and have been retracted.
0.26.3 #
- CHORE: Bump the min flutter version to
3.32.0.
0.26.2 #
- FIX: Add
supportedDevicestoShadContextMenuRegionto decide which devices trigger the context menu (thanks to @MousyBusiness).
0.26.1 #
- CHORE: Update
intldependency to^0.20.2(thanks to @jg-l) - CHORE: Update all other dependencies to the latest versions.
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