shadcn_ui 0.31.8
shadcn_ui: ^0.31.8 copied to clipboard
shadcn/ui ported in Flutter. Awesome UI components for Flutter, fully customizable.
0.31.8 #
- FEAT: Add support for keyboard navigation in
ShadCalendar
(thanks to @pedromassango).
0.31.7 #
- FEAT: Add
controller
toShadRadioGroup
to manually control the selected value.
0.31.6 #
- FIX:
ShadSwitch
on RTL direction.
0.31.5 #
- FEAT: Add
useSafeArea
toShadDialog
andShadSheet
to wrap the content with aSafeArea
. Defaults totrue
.
0.31.4 #
- FIX:
closeOnTapOutside
ofShadDatePicker
which wasn't passed toShadPopover
.
0.31.3 #
- FIX: Convert all
EdgeInsets
toEdgeInsetsGeometry
to better support RTL and fix many components.
0.31.2 #
- FEAT: Add
ShadAccordionController
to manually control the open/close state of theShadAccordionItem
s. - FEAT: Toggle
ShadAccordionItem
by pressingSpace
(before it worked only withEnter
) when the header is focused.
0.31.1 #
- FEAT: Add
side
toShadSheetTheme
to set the default side of the sheet from the theme.
0.31.0 #
- FEAT: Modify the
ShadTooltip
component and its hover strategies to work on mobile on tap without a long press. - FEAT: Add
ShadHoverStrategy.onTapOutside
to trigger unhover when tapping outside the widget. - FEAT: Add
ShadHoverStrategy.onTap
to trigger hover/unhover when tapping inside the widget. - FEAT: Now if an hover strategy is present in both
hoverStrategies.hover
andhoverStrategies.unhover
, the hover will be toggled.
0.30.5 #
- FIX: change
ShadSeparator.margin
type toEdgeInsetsGeometry
0.30.4 #
- FIX:
ShadTextareaFormField
initial value assert due to controller being used internally.
0.30.3 #
- FIX:
onChanged
ofShadInputFormField
andShadTextareaFormField
fired twice for any change.
0.30.2 #
- FIX: Expose
ShadDefaultKeyboardToolbarTheme
.
0.30.1+1 #
- CHORE: Remove useless import.
0.30.1 #
- FIX: Fix
ShadResizable
on RTL (for real this time). - CHORE: Bump min Flutter SDK version to
3.35.0
to supportFormField.onReset
andBrightness
from'package:flutter/widgets.dart'
0.30.0 #
- FEAT: Add
ShadKeyboardToolbar
andShadDefaultKeyboardToolbar
components to show a toolbar above the keyboard. AddkeyboardToolbarBuilder
toShadInput
,ShadInputFormField
,ShadTextArea
,ShadTextAreaFormField
,ShadInputOTP
,ShadInputOTPFormField
to easily add a keyboard toolbar to these components.
0.29.4 #
- FIX: Fix
ShadTextTheme.copyWith
was always overwriting custom font with defaultGeist
font. [#425]
0.29.3 #
- FIX: Ensure
ShadForm.onChanged
is called for both standardForm
fields andShadFormField
widgets. - FIX: Add missing
forceErrorText
parameter toShadFormField
widgets.
0.29.2 #
- FIX: Fix
ShadResizable
on RTL. Remove uselesstextDirection
parameter fromShadResizable
andShadResizableTheme
.
0.29.1 #
- FIX: Add missing
alignment
parameter toShadInput
,ShadInputFormField
,ShadTextArea
andShadTextAreaFormField
.
0.29.0 #
- FIX: Add missing popover closing animation (thanks to @DMouayad).
0.28.8 #
- CHORE: Resolve lint issues.
0.28.7 #
- FIX: Updated
ShadPopover
filter logic to use effectiveFilter instead of widget.filter.
0.28.6 #
- REFACTOR: Add
cursor*
customizations through theme (thanks to @GuillaumeMCK).
0.28.5 #
- FIX:
ShadCalendar
back and forward buttons on RTL (thanks to @HarithHaroon).
0.28.4 #
- FEAT: Add
cursorColor
toShadInput
(thanks to @GuillaumeMCK). - FIX: Use
AlignmentGeometry
instead ofAlignment
insideShadInput
,ShadTextarea
and their form fields (thanks to @omaralmgerbie)
0.28.3 #
- FIX: pass
backgroundColor
toShadAppBuilder
(thanks to @GuillaumeMCK)
0.28.2 #
- FIX:
ShadDialog
andShadSheet
now useSafeArea
to prevent the content from being cut off by the system UI.
0.28.1 #
- FIX: Add
clearValueOnUnregister
toShadForm
(defaults tofalse
) to prevent clearing a form field's value from the form state when the field is unregistered (aka disposed). - FIX:
ShadPopover
not closing when pressing ESC (thanks to @DMouayad)
0.28.0 #
- REFACTOR: Update
ShadCalendar
yearSelectorMinWidth
from100
to64
andmonthSelectorMinWidth
from120
to64
. - REFACTOR: Update
ShadCalendar
position of dropdown, which is now centered in the header. - REFACTOR: Add
dropdownFormatMonth
anddropdownFormatYear
toShadCalendar
. - FIX: Center the placeholder in
ShadAvatar
. - DOCS: Fix missing
MainAxisSize.min
inShadCard
notification example. - DOCS: Adjust sheet docs example, with some spacing between buttons.
- FIX: Fix the hit test behavior of
ShadContextMenuRegion
. - FEAT: Expose
hitTestBehavior
fromShadContextMenuRegion
, defaults toHitTestBehavior.opaque
(thanks to @NonymousMorlock). - REFACTOR: Set default text align of
ShadTooltip
tonull
instead ofTextAlign.center
.
0.27.4 #
- FIX:
ShadIconButton
icon size property isn't applied (thanks to @TahaTesser).
0.27.3 #
- FIX:
ShadCalendar
initialMonth
update 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:
ShadAccordion
title overflow when the title is too long (thanks to @monteiz). - FIX:
ShadContextMenuItem
hover background color. - CHORE: Bump the minimum Flutter version to
3.32.0
to support theRoundedSuperellipseBorder
.
0.27.1 #
- FEAT: Add
ShadRoundedSuperellipseBorder
to support the rounded superellipse border style as the primary border of any widget that usesShadDecoration
.
0.27.0 #
- BREAKING CHANGE: The secondary border of
ShadDecoration
now is drawn outward of the widget, without consuming any extra space. This change affects all components that are focusable. - FEAT: Add
offset
toShadBorder
to 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.cupertino
and so on. - REFACTOR: Update the default
anchor
ofShadSelect
,ShadTooltip
andShadPopover
fromShadAnchorAuto()
toShadAnchorAuto(offset: Offset(0, 4))
. - REFACTOR: Add
checkboxPadding
toShadCheckbox
,ShadCheckboxTheme
andShadCheckboxFormField
, defaults toEdgeInsets.only(top: 1)
. - REFACTOR: Add
radioPadding
toShadRadio
andShadRadioTheme
, defaults toEdgeInsets.only(top: 1)
. - FIX: Background color of pages for pure
ShadApp
if noScaffold
is used, by adding a newbackgroundColor
parameter toShadApp
andShadAppBuilder
. - FEAT: Add
actionsGap
toShadDialog
, defaults to8
. - REFACTOR: Update
ShadTimePickerTheme
parameters:spacing
changed from0
to8
,runSpacing
changed from0
to4
,gap
changed from2
to4
,fieldWidth
changed from58
to48
,periodHeight
changed from50
to42
. - FIX: Lookup of correct
ShadTextareaTheme
when retrieving thescrollbarPadding
. - REFACTOR: Update
ShadCalendarTheme.dayButtonDecoration.secondaryFocusedBorder
to use a new offset and 50% opacity for improved visibility. - REFACTOR: The
ShadInputOTPTheme.padding
changed fromEdgeInsets.symmetric(vertical: 4)
tonull
. - REFACTOR: Change
ShadInputOTPTheme.padding
fromEdgeInsets.symmetric(vertical: 4)
tonull
. - REFACTOR: Automatically select the focused
ShadTab
to prevent secondary border collisions, matching original shadcn keyboard navigation behavior. - REFACTOR: Change
ShadCalendarTheme.monthSelectorMinWidth
from130
to120
. - REFACTOR: The
ShadCalendar.yearSelector
andShadCalendar.monthSelector
now use a secondary focused border with 50% opacity to match other parts. - REFACTOR: Update
ShadSelect
with presets example by adding padding. - REFACTOR: Remove secondary border removal from
ShadInput
example with trailing icon. - REFACTOR: Update
ShadMenubar.anchor.offset
fromOffset(-8, 8)
toOffset(-4, 8)
. - REFACTOR: Update
ShadPopover
example by adding a gap between input fields. - FIX:
ShadSelectController
now has aSet
instead of aList
to prevent duplicates in the selected options, this change has been applied toShadSelect.initialValues
andShadSelectFormField
as 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
supportedDevices
toShadContextMenuRegion
to decide which devices trigger the context menu (thanks to @MousyBusiness).
0.26.1 #
- CHORE: Update
intl
dependency to^0.20.2
(thanks to @jg-l) - CHORE: Update all other dependencies to the latest versions.
0.26.0 #
- BREAKING CHANGE: Update the
appBuilder
of theShadApp
by removing theThemeData
parameter. - REFACTOR: Deprecate
ShadApp.material
,ShadApp.materialRouter
,ShadApp.cupertino
andShadApp.cupertinoRouter
. UseShadApp.custom
instead.
0.25.1 #
- FIX: The scrollbar of the
ShadTextarea
component has been fixed, addedscrollbarPadding
toShadTextareaTheme
andShadInputTheme
. - FIX: Focus of
ShadTextarea
on resize.
0.25.0 #
- CHORE: Bump dependency versions (thanks to @mayapaw).
- FEAT: Add
ShadTextarea
andShadTextareaFormField
components (thanks to @dalroy44). - FIX:
ShadSelectFormField
initial value fromShadForm
not working.
0.24.0 #
- FEAT: Add
Sonner
component.
0.23.4 #
- FIX:
ShadSelectFormField
andShadSelectMultipleFormField
controller not updating the parentShadForm
.
0.23.3 #
- FIX:
ShadInput
onPressedOutside
when tapping on anotherShadInput
. - FEAT: Add
groupId
toShadInput
andShadInputFormField
, defaults toUniqueKey
instead ofEditableText
.
0.23.2 #
- FEAT: Add
copyWith
method toShadColorScheme
(thanks to @Luckey-Elijah).
0.23.1 #
- FIX:
ShadResizable
divider alignments whendividerSize
is overriden.
0.23.0 #
- FIX: Expose
ShadMouseCursorProvider
. - FIX:
ShadMenubar
anchor. - FIX:
ShadBadge
should not enter the gesture arena if theonPressed
callback is not provided. - FEAT: Add
cursor
toShadBadge
, defaults toSystemMouseCursors.click
ifonPressed
is provided. - BREAKING CHANGE: Refactor
ShadAnchorAuto
to make it more powerful, removedverticalOffset
andpreferBelow
in favor ofoffset
,followerAnchor
andtargetAnchor
. Now every component uses it by default.
0.22.5 #
- FIX:
ShadGestureDetector
global coordinates when using multipleNavigator
s.
0.22.4 #
- FIX: Pass
themeMode
toMaterialApp
(thanks to @mubareksd). - FIX: Add
focusNode
toShadInputFormField
.
0.22.3 #
- FIX:
ShadTooltip
exit animation, addduration
andreverseDuration
to it. - FIX:
ShadMenubar
no longer steals the focus. - FIX:
ShadButton
stealing focus when pressed. - FEAT: Add
stylusHandwritingEnabled
toShadInput
.
0.22.2 #
- FIX: Add
constraints
toShadInput
andShadInputFormField
, by default the min height is calculated based on thestyle
andplaceholderStyle
. - FIX:
ShadInput
style and placeholder style which are now merged instead of replaced. - FIX
ShadMenubar
wrong padding used for the context menu. - CHORE: Set min flutter version to
3.29.0
(thanks to @qk7b)
0.22.1 #
- FIX:
ShadInput
icon color.
0.22.0 #
- FEAT: Add
ShadMenubar
component. - REFACTOR: Deprecate
ShadDivider
andShadDividerTheme
, useShadSeparator
andShadSeparatorTheme
instead. - FEAT: Add
onTapInside
,onTapOutside
,onTapUpInside
andonTapUpOutside
toShadContextMenu
.
0.21.0 #
- FEAT: Add
ShadDivider
component (thanks to @Luckey-Elijah) - FIX: Pass
buttonDecoration
toShadButton
insideShadDatePicker
(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.leading
instead. Addtrailing
. - FIX: Disable scroll inside
ShadCalendar
0.20.1 #
- REFACTOR: Set
debugShowCheckedModeBanner
tofalse
by default inShadApp
. - FIX Expose
ShadInputOTPTheme
.
0.20.0 #
- FEAT: Add
ShadIconButton
component. - REFACTOR: Deprecated
ShadButton.icon
, useShadIconButton
for a button with just an icon andShadButton.leading
for a button with an icon and a text. - REFACTOR: Deprecate
orderPolicy
, useleading
andtrailing
in the component. - REFACTOR: Deprecate
prefix
andsuffix
inShadInput
, useleading
andtrailing
instead. - REFACTOR Deprecate
searchInputPrefix
inShadSelect
, usesearchInputLeading
instead.
0.19.3 #
- FIX: Make
selectedOptionBuilder
required inShadSelect
(thanks to @muradab). - FIX: Add
optionsBuilder
toShadSelect
and its form fields where it was missing.
0.19.2 #
- FIX: Add constraints to
ShadCard
child.
0.19.1 #
- REFACTOR: Rename
materialTextTheme
intoapplyGoogleFontToTextTheme
. - FEAT: Allow accessing the
ShadTheme
with the context, in thematerialThemeBuilder
andappBuilder
.
0.19.0 #
- FIX:
ShadInput
readOnly
not updating. - BREAKING CHANGE: Rename
ShadSelect
and form fieldscontroller
topopoverController
. - FEAT: Add
controller
toShadSelect
and form fields, to control the selected values. - FIX: Improve the
ShadResizable
controller handling and simplify the logic to resize the panels. - FIX:
ShadResizable
handle position withAxis.vertical
. - BREAKING CHANGE: Now
ShadResizable
requires anid
, to be able to handle when a panel is removed/added from the widget tree correctly. - CHORE: Correctly set the
theme
ordarkTheme
to the internalMaterialApp
.
0.18.7 #
- FIX:
ShadApp
dark theme behavior now is the same as Material. The dark theme is applied only if you provide adarkTheme
and the user theme mode is dark
0.18.6 #
- FIX:
ShadTimePicker
controller not being used correctly when the component is initialized. Now each field allows a single digit instead of two.
0.18.5 #
- FIX:
ShadCalendar
forward button icon color. - CHORE: Bump the version of
universal_image
(thanks to @brunosemfio).
0.18.4 #
- FIX:
ShadDatePicker
popover closes on caption selection. - CHORE: Add
onNavigationNotification
toShadApp
(thanks to @mllrr96) - FIX:
ShadDatePicker
crash when caption layout is different from label, due to misleadingLocale
type passed toDateFormat
, thanksdynamic
for these amazing errors.
0.18.3 #
- FIX: Improve
ShadAvatar
(thanks to @mickey35vn). - FIX: Locale not handled in
ShadCalendar
andShadDatePicker
. - REFACTOR: Remove
optionsOrderPolicy
fromShadSelectTheme
and move it toShadOptionTheme
with the nameorderPolicy
.
0.18.2 #
- FIX:
InputOTP
component with RTL directionality.
0.18.1 #
- FIX: Set
ShadCard
clipBehavior toClip.antialias
, addclipBehavior
toShadCard
andShadCardTheme
. - FIX: Use
selectedDecoration
inShadTabs
(thanks to @thisisamank) - FEAT: Add colorSelector to the ShadcnUI docs (thanks to @0xharkirat)
- FEAT: Add
hourLabel
,minuteLabel
,secondLabel
,periodLabel
,hourPlaceholder
,minutePlaceholder
,secondPlaceholder
andperiodPlaceholder
toShadTimePickerTheme
.
0.18.0 #
- BREAKING CHANGE: Remove
applyIconColorFilter
fromShadButton
. - BREAKING CHANGE: Remove
ShadImage
component. Prefer using theIcon
widget forIconData
, theImage
widget for normal images, andSvgPicture
(from the flutter_svg package for SVG images. If you want a fallback, useUniversalImage
. - BREAKING CHANGE: Rename
iconSrc
iniconData
around components. - FIX:
TimePickerFormField
initial value.
0.17.6 #
- FIX: Fix the iconSize of
ShadButton
, addiconSize
toShadButton
.
0.17.5 #
- FEAT: New
OrderPolicy
,LinearOrderPolicy
,ReverseOrderPolicy
andCustomOrderPolicy
to 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
orderPolicy
toShadOption
,ShadAlert
,ShadButton
,ShadCheckbox
,ShadCheckboxFormField
,ShadDatePicker
,ShadDatePickerFormField
,ShadDateRangePickerFormField
,ShadRadio
,ShadSwitch
,ShadSwitchFormField
,ShadToast
. - FEAT: Add
expands
toShadButton
, defaults to false. Use it if you want the button's child to expand to fill the available space.
0.17.4 #
- FIX
ShadTabs
onChanged runtime exception due to misleading type
0.17.3 #
- FIX:
ShadTable
protectonExit
from setting value after dispose (thanks to @jezell)
0.17.2 #
- FIX: Add
allowDeselection
toShadCalendar.range
- CHORE: Update dependencies
0.17.1 #
- FIX:
ShadInputOTP
text alignment and padding - FEAT: Add
textInputAction
toShadInputOTPSlot
0.17.0 #
- FEAT: Add
ShadInputOTP
andShadInputOTPFormField
components. - BREAKING CHANGE: The
ShadBorder
no 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:
ShadTabs
border radius. - FIX:
ShadSlider
focused thumb. - FIX:
ShadResizable
resize when Directionality is RTL. - FIX: Update the
destructive
color on dark mode to be more visible. - FIX: Make inherited widget lookup untyped
0.16.3 #
- FIX:
showCursor
default value inShadInputFormField
0.16.2 #
- FIX:
ShadTabs
andShadResizable
lerp - FIX:
ShadTabs
focused border color in dark mode
0.16.1 #
- FEAT: Add parameters to
ShadFocusable
.
0.16.0 #
- FEAT: New
ShadTimePicker
andShadTimePickerFormField
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