shadcn_ui
library
Classes
Adapter
Adapters provide a mechanism to drive an animation from an arbitrary source.
For example, synchronizing an animation with a scroll, controlling
an animation with a slider input, or progressing an animation based on
the time of day.
AlignEffect
An effect that animates the target between the specified begin
and end
alignments (via Align ).
Defaults to begin=Align.topCenter, end=Align.center
.
Animate
The Flutter Animate library makes adding beautiful animated effects to your widgets
simple. It supports both a declarative and chained API. The latter is exposed
via the Widget.animate
extension, which simply wraps the widget in Animate
.
AnimateList <T extends Widget >
Applies animated effects to a list of widgets. It does this by wrapping each
widget in Animate , and then proxying calls to all instances. It can
also offset the timing of each widget's animation via interval
.
Bidi
This provides utility methods for working with bidirectional text. All
of the methods are static, and are organized into a class primarily to
group them together for documentation and discoverability.
BidiFormatter
Bidi stands for Bi-directional text. According to
Wikipedia :
Bi-directional text is text containing text in both text directionalities,
both right-to-left (RTL) and left-to-right (LTR). It generally involves text
containing different types of alphabets, but may also refer to
boustrophedon, which is changing text directionality in each row.
BlurEffect
An effect that animates a blur on the target between the
specified begin
and end
blur radiuses (via ImageFiltered ).
Defaults to begin=0, end=4
.
BoxShadowEffect
An effect that animates a BoxShadow between begin
and end
(via DecoratedBox ).
A value of null
for either will be interpreted as a shadow that matches the other shadow but
with a zero offset and blurRadius.
You can also specify a borderRadius that defines rounded corners for the shadow.
Defaults to begin=null, end=BoxShadow(color: Color(0x80000000), blurRadius: 8.0, offset: Offset(0.0, 4.0))
BytesLoader
An interface that can be implemented to support decoding vector graphic
binary assets from different byte sources.
Cache
The cache for decoded SVGs.
CallbackEffect
An effect that calls a callback function at a particular point in the animation.
It includes a boolean value indicating if the animation is playing in reverse.
ChangeNotifierAdapter
Drives an Animate animation from a ChangeNotifier . The valueGetter
should provide a value in the range 0-1
when a change occurs.
ColorEffect
An effect that animates a Color between begin
and end
, composited with
the target using blendMode (via ColorFiltered ). A color value of null
will be interpreted as a fully transparent version of the other color.
Defaults to begin=null, end=Color(0x800099FF)
.
ColorMapper
A class that transforms from one color to another during SVG parsing.
CombiningSpanExtent
Runs the result of two SpanExtent s through a combiner
function
to determine the ultimate pixel extent of a span.
CrossfadeEffect
An effect that crossfades the incoming child (including preceeding effects)
with a new widget (via Stack and FadeTransition ). It uses a builder so
that the effect can be reused, but note that the builder is only called once
when the effect initially builds.
CustomEffect
Provide an easy way to add custom animated effects via a builder method that
accepts a BuildContext , target child, and calculated animation value
between begin
and end
.
DateFormat
DateFormat is for formatting and parsing dates in a locale-sensitive
manner.
DefaultSvgTheme
The SVG theme to apply to descendant SvgPicture widgets
which don't have explicit theme values.
EffectEntry
Because Effect
classes are immutable and may be reused between multiple
Animate (or AnimateList ) instances, an EffectEntry is created to store
values that may be different between instances. For example, due to an
interval
on AnimateList
, or from inheriting timing parameters.
EffectList
Simple helper class to build a list of effects via the chained api.
Example:
ElevationEffect
An effect that animates a Material elevation shadow between begin
and end
(via PhysicalModel ).
You can also specify a shadow color and borderRadius to add rounded corners.
It defaults to begin=0, end=8
.
FadeEffect
Animates the opacity of the target between the specified
begin
and end
values (via FadeTransition ).
It defaults to begin=0, end=1
.
FixedSpanExtent
A span extent with a fixed pixels value.
FlipEffect
An effect that animates a 2.5D card flip rotation effect (via Transform ).
The effect can be horizontal or vertical.
FollowPathEffect
An effect that moves the target following the specified path (via Transform ).
The path coordinates are relative to the target's nominal position.
FractionalSpanExtent
Specified the span extent as a fraction of the viewport extent.
GoogleFontTextStyle
Intl
The Intl class provides a common entry point for internationalization
related tasks. An Intl instance can be created for a particular locale
and used to create a date format via anIntl.date()
. Static methods
on this class are also used in message formatting.
ListenEffect
An effect that calls a callback function with its current animation value
between begin
and end
.
LowerCaseTextInputFormatter
LucideIcons
Lucide Icons
MaxSpanExtent
Returns the larger pixel extent of the two provided SpanExtent .
MicroMoney
Used primarily for currency formatting, this number-like class stores
millionths of a currency unit, typically as an Int64.
MinSpanExtent
Returns the smaller pixel extent of the two provided SpanExtent .
MouseAreaRegistry
MouseAreaSurfaceRenderBox
MoveEffect
An effect that moves the target between the specified begin
and end
offsets (via Transform.translate ).
Defaults to begin=Offset(0, -16), end=Offset.zero
.
transformHitTests is simply passed on to Transform.translate .
NumberFormat
Provides the ability to format a number in a locale-specific way.
NumberParserBase <R >
PaddingEffect
PictureInfo
The deocded result of a vector graphics asset.
PictureProvider
Deprecated class, will be removed, does not do anything.
RemainingSpanExtent
Specifies that the span should occupy the remaining space in the viewport.
RenderSheetLayoutWithSizeListener
The render object for ShadSheetLayoutWithSizeListener , responsible for
layout and size change notifications.
RenderTableViewport
A render object for viewing RenderBox es in a table format that extends in
both the horizontal and vertical dimensions.
RenderTreeViewport
A render object for viewing RenderBox es in a tree format that extends in
both the horizontal and vertical dimensions.
RestorableShadTabsController <T >
A restorable version of ShadTabsController for state persistence.
RotateEffect
Effect that rotates the target between begin
and end
(via RotationTransition ).
Values are specified in "turns" (360° or 2𝝅 radians), so a begin=0.25, end=2.25
would start with the child
rotated a quarter turn clockwise (90 degrees), and rotate two full turns (ending at 810 degrees).
Defaults to begin=-1.0, end=0
.
SaturateEffect
An effect that animates the color saturation of the target. The begin
and
end
values indicate the saturation level, where 0
is fully desaturated
(ie. grayscale) and 1
is normal saturation. Values >1
will oversaturate.
Defaults to begin=0, end=1
.
ScaleEffect
An effect that scales the target between the specified begin
and end
offset values (via Transform.scale ).
Defaults to begin=Offset(0,0), end=Offset(1,1)
.
ScrollAdapter
Drives an Animate animation from a ScrollController .
ShadAccordion <T >
A customizable accordion widget that manages collapsible items.
ShadAccordionItem <T >
An individual item within a ShadAccordion , capable of being expanded or
collapsed.
ShadAccordionState <T >
ShadAccordionTheme
ShadAlert
A customizable alert widget that displays a message with optional icon and
styling.
ShadAlertTheme
ShadAnchor
Manually specifies the position of the ShadPortal in the global
coordinate system.
ShadAnchorAuto
Automatically infers the position of the ShadPortal in the global
coordinate system adjusting according to the offset ,
followerAnchor and targetAnchor properties.
ShadAnchorBase
The position of the ShadPortal in the global coordinate system.
ShadAnimatedTheme
Animated version of ShadTheme which automatically transitions the colors
etc, over a given duration whenever the given theme changes.
ShadAnimationBuilder
ShadApp
ShadAppBuilder
The builder for an *App
instance.
ShadAvatar
A widget that displays an avatar image with customizable size, shape, and
fallback.
ShadAvatarTheme
ShadBadge
A customizable badge widget that displays content with variant-based
styling.
ShadBadgeTheme
ShadBaseTheme
ShadBlueColorScheme
ShadBorder
A wrapper around the Border class with a reasonable merge.
ShadBorderSide
Creates the side of a border.
ShadBreakpoint
ShadBreakpointLG
ShadBreakpointMD
ShadBreakpoints
ShadBreakpointSM
ShadBreakpointTN
ShadBreakpointXL
ShadBreakpointXXL
ShadButton
A highly customizable button widget with variant and size options.
ShadButtonSizesTheme
The theme for the predefined sizes of ShadButton.
ShadButtonSizeTheme
ShadButtonTheme
The theme for ShadButton.
ShadCalendar
A customizable calendar widget for selecting dates or date ranges.
ShadCalendarModel
Represents the data model for a single month in the calendar.
ShadCalendarTheme
ShadCard
The ShadCard widget provides a container with a title, description, main
content, and optional footer, styled with a background, border, and shadows.
It integrates with ShadTheme for consistent styling and supports leading
and trailing widgets for additional layout flexibility.
ShadCardTheme
ShadCheckbox
A customizable checkbox widget with optional label and sublabel.
ShadCheckboxFormField
ShadCheckboxTheme
ShadColorScheme
A widget that shows the context menu when the user right clicks the child
or long presses it (only on android and ios), unless a value to
longPressEnabled is provided.
ShadDatePicker
A customizable date picker widget with a button and popover calendar.
ShadDatePickerFormField
ShadDatePickerTheme
ShadDateRangePickerFormField
ShadDateTimeRange
Encapsulates a start and end DateTime that represent the range of dates.
ShadDecoration
ShadDecorator
ShadDefaultResizeGrip
A small visual grip used to indicate that the ShadTextarea
is resizable by the user.
ShadDefaultThemeVariant
ShadDialog
A customizable dialog widget for displaying content and actions.
ShadDialogTheme
ShaderEffect
Effect that applies an animated fragment shader to a target. See
Writing and using fragment shaders
for information on how to include shaders in your app.
ShaderUpdateDetails
Passed to the ShaderEffect.update callback. Contains information necessary
for updating the shader:
ShadFocusable
ShadForm
A stateful widget that manages a form with validation and field management.
ShadFormBuilderField <T >
A customizable form field widget with built-in decoration and state
management.
ShadFormBuilderFieldState <F extends ShadFormBuilderField <T > , T >
The state class for ShadFormBuilderField , managing field state and form
integration.
ShadFormScope
An inherited widget that provides access to the ShadFormState
ShadFormState
The state class for ShadForm managing form fields and validation
ShadGestureDetector
A special GestureDetector that handles the hovering state of the child
on devices where the hover is not supported (eg mobile) with the help of
hoverStrategies .
ShadGlobalAnchor
ShadGrayColorScheme
ShadGreenColorScheme
ShadHoverStrategies
ShadIconButton
A customizable icon-only button widget with variant styling.
ShadIndexProvider
Provides an index to the child widget.
The child widget can access the index using
context.watch<ShadProviderIndex>().index
.
ShadInheritedTheme
ShadInput
A customizable text input field with optional leading and trailing widgets.
ShadInputDecorator
ShadInputFormField
ShadInputOTP
A customizable one-time password (OTP) input widget with multiple fields.
ShadInputOTPFormField
ShadInputOTPGroup
ShadInputOTPSlot
ShadInputOTPState
ShadInputOTPTheme
ShadInputState
ShadInputTheme
A menubar that contains a list of items, typically a list of
ShadMenubarItem .
The controller for managing the selected item of the menubar
A menubar item that contains a list of items, typically a list of
ShadContextMenuItem .
ShadMouseArea
ShadMouseAreaRenderBox
ShadMouseAreaSurface
A widget that provides notification of a hover inside or outside of a set of
registered regions, grouped by ShadMouseArea.groupId , without
participating in the gesture disambiguation system.
ShadMouseCursorController
ShadMouseCursorProvider
ShadMouseCursorProviderState
ShadNeutralColorScheme
ShadOption <T >
ShadOptionTheme
ShadOrangeColorScheme
ShadOutwardBorderPainter
A CustomPainter that paints a border outward from the given rectangle.
ShadPanelInfo
The size information of a panel
ShadPopover
ShadPopoverController
Controls the visibility of a ShadPopover .
ShadPopoverTheme
ShadPortal
ShadPosition
ShadPositionDelegate
A delegate for computing the layout of an overlay to be displayed above or
below a target specified in the global coordinate system.
ShadProgress
A customizable linear progress indicator widget.
ShadProgressTheme
ShadProvider <T >
ShadProviderIndex
An immutable class that holds an index .
ShadRadio <T >
A customizable radio button widget that represents a single option in a
radio group.
ShadRadioGroup <T >
A customizable radio group widget that allows selection of one item from
a list of options.
ShadRadioGroupFormField <T >
ShadRadioGroupState <T >
ShadRadioTheme
ShadRedColorScheme
ShadResizableController
ShadResizablePanel
A widget that represents a single resizable panel within a
ShadResizablePanelGroup .
ShadResizablePanelGroup
A widget that provides a group of resizable panels, allowing users to
adjust the size of each panel dynamically.
ShadResizablePanelGroupState
ShadResizableTheme
ShadResizeGripPainter
A customizable painter for drawing diagonal resize grip lines,
typically used in the bottom-right corner of a resizable widget.
ShadResponsiveBuilder
ShadRoseColorScheme
ShadRoundedSuperellipseBorder
A rectangular border with rounded corners following the shape of an
RSuperellipse .
ShadScrollBehavior
Describes how Scrollable widgets behave for ShadApp s.
ShadSelect <T >
A customizable select dropdown widget with various variants and options.
ShadSelectController <T >
Controls the selection state of a ShadSelect widget.
ShadSelectFormField <T >
ShadSelectMultipleFormField <T >
ShadSelectState <T >
ShadSelectTheme
ShadSeparator
A customizable widget that supports horizontal and vertical separators.
ShadSeparatorTheme
Theme for the ShadSeparator
widget.
ShadShadows
ShadSheet
A customizable sheet component that slides in from the edges of the screen.
ShadSheetGestureDetector
A GestureDetector specifically for ShadSheet to handle drag gestures for
dismissal.
ShadSheetInheritedWidget
Inherited widget to provide ShadSheetSide down the widget tree.
ShadSheetLayoutWithSizeListener
A SingleChildRenderObjectWidget that listens for size changes in its child
and applies layout transformations for ShadSheet animations.
ShadSheetTheme
ShadSlateColorScheme
ShadSlider
A customizable slider widget styled to match the Shadcn UI design system.
ShadSliderController
A controller for the ShadSlider widget, managing its value.
ShadSliderTheme
ShadSliderThumbShape
Custom thumb shape for the ShadSlider to match the Shadcn UI style.
ShadSonner
A widget that manages and displays toasts within the widget tree.
ShadSonnerScope
Allows descendants to access the toaster state via ShadSonner.of or
ShadSonner.maybeOf for showing and hiding toasts.
ShadSonnerState
ShadSonnerTheme
ShadStatesController
ShadStoneColorScheme
ShadSwitch
A customizable switch widget, styled according to the Shadcn UI design
system.
ShadSwitchFormField
ShadSwitchTheme
ShadTab <T >
Represents a single tab item within a ShadTabs widget.
ShadTable
A customizable table widget for displaying tabular data.
ShadTableCell
A cell widget for use within ShadTable .
ShadTableTheme
ShadTabs <T >
A widget that displays a horizontal series of tabs with associated content.
ShadTabsController <T >
A controller for ShadTabs to manage tab selection.
ShadTabsState <T >
ShadTabsTheme
ShadTextarea
A customizable multiline textarea widget with
adjustable height and optional resizing grip.
ShadTextareaFormField
ShadTextareaTheme
ShadTextDefaultTheme
ShadTextEditingController
An extension of TextEditingController that stores the previous value.
ShadTextTheme
ShadTheme
ShadThemeData
ShadThemeDataTween
An interpolation between two ShadThemeData s.
ShadThemeVariant
ShadTimeOfDay
Represents a time of day, including hour, minute, and second, and optionally period (AM/PM).
ShadTimePicker
A customizable time picker component with hour, minute, and second inputs.
ShadTimePickerController
A controller for ShadTimePicker to manage the selected time.
ShadTimePickerField
A single input field for ShadTimePicker , used for hour, minute, or second
input.
ShadTimePickerFormField
ShadTimePickerTextEditingController
Custom TextEditingController for ShadTimePickerField to handle time
input formatting and validation.
ShadTimePickerTheme
ShadToast
A customizable toast notification widget.
ShadToaster
A widget that manages and displays toasts within the widget tree.
ShadToasterScope
An inherited widget that provides access to the ShadToasterState .
ShadToasterState
The state class for ShadToaster , managing toast visibility and animations.
ShadToastTheme
ShadTooltip
A widget that displays a tooltip on hover or focus, styled to match the
Shadcn UI design system.
ShadTooltipTheme
ShadVioletColorScheme
ShadYellowColorScheme
ShadZincColorScheme
ShakeEffect
Effect that shakes the target, using translation, rotation, or both (via Transform ).
ShimmerEffect
An effect that animates gradient overlay effects (via ShaderMask ), such as the shimmer loading effect
popularized by facebook .
SizeEffect
SlideEffect
An effect that moves the target based on a fraction of its size
per the specified begin
and end
offsets (via SlideTransition ).
Defaults to begin=Offset(0, -0.5), end=Offset.zero
(slide down from half its height).
SonnerBoxy
Renders the layout of the toasts, stacking them when animation is at 0, and
arranging them like in a column when animation is at 1.
Span
Defines the extent, visual appearance, and gesture handling of a row or
column.
SpanBorder
Describes the border for a Span .
SpanDecoration
A decoration for a Span .
SpanDecorationPaintDetails
Provides the details of a given SpanDecoration for painting.
SpanExtent
Defines the extent of a Span .
SpanExtentDelegate
Delegate passed to SpanExtent.calculateExtent from the
RenderTableViewport during layout.
SpanPadding
Defines the leading and trailing padding values of a Span .
Svg
A utility class for decoding SVG data to a DrawableRoot
or a PictureInfo .
SvgAssetLoader
A BytesLoader that decodes and parses an SVG asset in an isolate and
creates a vector_graphics binary representation.
SvgBytesLoader
A BytesLoader that decodes and parses a UTF-8 encoded SVG string from a
Uint8List in an isolate and creates a vector_graphics binary
representation.
SvgCacheKey
A SvgTheme aware cache key.
SvgFileLoader
A BytesLoader that decodes SVG data from a file in an isolate and creates
a vector_graphics binary representation.
SvgLoader <T >
A BytesLoader that parses a SVG data in an isolate and creates a
vector_graphics binary representation.
SvgNetworkLoader
A BytesLoader that decodes and parses a UTF-8 encoded SVG string the
network in an isolate and creates a vector_graphics binary representation.
SvgPicture
A widget that will parse SVG data for rendering on screen.
SvgStringLoader
A BytesLoader that parses an SVG string in an isolate and creates a
vector_graphics binary representation.
SvgTheme
A theme used when decoding an SVG picture.
SwapEffect
An effect that swaps out the incoming child for a new child at a particular
point in time. This includes all preceding effects. It uses a builder so
that the effect can be reused, but note that the builder is only called once
when the effect initially builds.
TableCellBuilderDelegate
A delegate that supplies children for a TableViewport on demand using a
builder callback.
TableCellListDelegate
A delegate that supplies children for a TableViewport using an
explicit two dimensional array.
TableVicinity
The relative position of a child in a TableViewport in relation
to other children of the viewport, in terms of rows and columns.
TableView
A widget that displays a table, which can scroll in horizontal and vertical
directions.
TableViewCell
Creates a cell of the TableView , along with information regarding merged
cells and RepaintBoundary s.
TableViewParentData
Parent data structure used by RenderTableViewport .
TableViewport
A widget through which a portion of a Table of Widget children are viewed,
typically in combination with a TableView .
ThenEffect
A special convenience "effect" that makes it easier to sequence effects after
one another. It does this by establishing a new baseline time equal to the
previous effect's end time and its own optional delay
.
All subsequent effect delays are relative to this new baseline.
TintEffect
An effect that applies an animated color tint to the target (via ColorFiltered ).
The begin
and end
values indicate the strength of the tint (0 - 0% tint, 1 - 100% tint).
Defaults to begin=0, end=1
.
ToastInfo
ToggleEffect
An effect that allows you to toggle the behavior of a builder function at a certain
point in time.
TreeRowBorder
Describes the border for a TreeRow .
TreeRowBuilderDelegate
A delegate that supplies nodes for a TreeViewport on demand using a
builder callback.
TreeVicinity
The position of a TreeRow in a TreeViewport in relation
to other children of the viewport.
TreeView <T >
A widget that displays TreeViewNode s that expand and collapse in a
vertically and horizontally scrolling TreeViewport .
TreeViewController
Enables control over the TreeViewNodes
of a TreeView .
TreeViewIndentationType
The style of indentation for TreeViewNode s in a TreeView , as handled
by RenderTreeViewport .
TreeViewNode <T >
A data structure for configuring children of a TreeView .
TreeViewport
A widget through which a portion of a tree of TreeViewNode children are
viewed as rows, typically in combination with a TreeView .
UniversalImage
A widget to display all image types for all platforms.
UpperCaseTextInputFormatter
ValueAdapter
Drives an Animate animation directly from a value in the range 0-1
ValueNotifierAdapter
Drives an Animate animation from a ValueNotifier . The value from the
notifier should be in the range 0-1
.
VectorGraphicUtilities
Utility functionality for interaction with vector graphic assets.
VisibilityEffect
An effect that toggles the visibility of the target (via Visibility ).
Defaults to end=true
.
Functions
showShadDialog <T > ({required BuildContext context , required WidgetBuilder builder , bool barrierDismissible = true , Color barrierColor = const Color(0xcc000000) , String barrierLabel = '' , bool useRootNavigator = true , RouteSettings ? routeSettings , Offset ? anchorPoint , List <Effect > ? animateIn , List <Effect > ? animateOut , ShadDialogVariant variant = ShadDialogVariant.primary })
→ Future <T? >
Displays a ShadDialog as a modal dialog with animation.
showShadSheet <T > ({required BuildContext context , required WidgetBuilder builder , ShadSheetSide ? side , Color ? backgroundColor , String barrierLabel = '' , ShapeBorder ? shape , Color barrierColor = const Color(0xcc000000) , bool useRootNavigator = false , bool isDismissible = true , RouteSettings ? routeSettings , Offset ? anchorPoint , List <Effect > ? animateIn , List <Effect > ? animateOut })
→ Future <T? >
Shows a ShadSheet , which is a modal bottom sheet implementation.
toBeginningOfSentenceCase <T extends String ? > (T input , [String ? locale ])
→ T
Convert a string to beginning of sentence case, in a way appropriate to the
locale.
Typedefs
AnimateCallback
= void Function(AnimationController controller )
Function signature for Animate callbacks.
AnimEffect <T >
= Effect<T >
CombiningTableSpanExtent
= CombiningSpanExtent
Runs the result of two TableSpanExtent s through a combiner
function
to determine the ultimate pixel extent of a span.
CombiningTreeRowExtent
= CombiningSpanExtent
Runs the result of two TreeRowExtent s through a combiner
function
to determine the ultimate pixel height of a tree row.
CustomEffectBuilder
= Widget Function(BuildContext context , double value , Widget child )
FixedTableSpanExtent
= FixedSpanExtent
A span extent with a fixed pixels value.
FixedTreeRowExtent
= FixedSpanExtent
A TreeRow with a fixed pixels height.
FocusWidgetBuilder
= Widget Function(BuildContext context , bool focused , Widget ? child )
FractionalTableSpanExtent
= FractionalSpanExtent
Specified the span extent as a fraction of the viewport extent.
FractionalTreeRowExtent
= FractionalSpanExtent
Specified the TreeRow height as a fraction of the viewport extent.
GoogleFontBuilder
= TextStyle Function({Paint ? background , Color ? backgroundColor , Color ? color , TextDecoration ? decoration , Color ? decorationColor , TextDecorationStyle ? decorationStyle , double ? decorationThickness , List <FontFeature > ? fontFeatures , double ? fontSize , FontStyle ? fontStyle , FontWeight ? fontWeight , Paint ? foreground , double ? height , double ? letterSpacing , Locale ? locale , List <Shadow > ? shadows , TextBaseline ? textBaseline , TextStyle ? textStyle , double ? wordSpacing })
MaxTableSpanExtent
= MaxSpanExtent
Returns the larger pixel extent of the two provided TableSpanExtent .
MaxTreeRowExtent
= MaxSpanExtent
Returns the larger pixel extent of the two provided TreeRowExtent .
MinTableSpanExtent
= MinSpanExtent
Returns the smaller pixel extent of the two provided TableSpanExtent .
MinTreeRowExtent
= MinSpanExtent
Returns the smaller pixel extent of the two provided TreeRowExtent .
RemainingTableSpanExtent
= RemainingSpanExtent
Specifies that the span should occupy the remaining space in the viewport.
RemainingTreeRowExtent
= RemainingSpanExtent
Specifies that the row should occupy the remaining space in the viewport.
ReparentChildBuilder
= Widget Function(Widget parent , Widget child )
The builder type used by Animate.reparentTypes . It must accept an existing
parent widget, and rebuild it with the provided child. In effect, it clones
the provided parent widget with the new child.
ResponsiveWidgetBuilder
= Widget Function(BuildContext context , ShadBreakpoint breakpoint )
ShaderUpdateCallback
= EdgeInsets ? Function(ShaderUpdateDetails details )
Function signature for ShaderEffect update handlers.
ShadFormFields
= Map <Object , ShadFormBuilderFieldState <ShadFormBuilderField , dynamic > >
A typedef representing a map of form field states with dynamic values.
ShadSelectedOptionBuilder <T >
= Widget Function(BuildContext context , T value )
Builder for the selected option widget in ShadSelect .
ShadTableCellBuilder
= ShadTableCell Function(BuildContext context , TableVicinity vicinity )
Builder function for creating ShadTableCell widgets.
ShadTooltipController
= ShadPopoverController
Controls the visibility of a ShadTooltip .
SheetDragEndHandler
= void Function(DragEndDetails details , {required bool isClosing })
A callback for when the user stops dragging the sheet.
SheetDragStartHandler
= void Function(DragStartDetails details )
A callback for when the user begins dragging the sheet.
SizeChangeCallback <Size >
= void Function(Size size )
Callback for when the size of a widget changes.
SpanExtentCombiner
= double Function(double , double )
Signature for a function that combines the result of two
SpanExtent.calculateExtent invocations.
SvgErrorWidgetBuilder
= Widget Function(BuildContext context , Object error , StackTrace stackTrace )
Builder function to create an error widget. This builder is called when
the image failed loading.
TableSpan
= Span
Defines the extent, visual appearance, and gesture handling of a row or
column in a TableView .
TableSpanBorder
= SpanBorder
Describes the border for a TableSpan .
TableSpanBuilder
= TableSpan ? Function(int index )
Signature for a function that creates a TableSpan for a given index of row
or column in a TableView .
TableSpanDecoration
= SpanDecoration
A decoration for a TableSpan .
TableSpanDecorationPaintDetails
= SpanDecorationPaintDetails
Provides the details of a given TableSpanDecoration for painting.
TableSpanExtent
= SpanExtent
Defines the extent of a TableSpan .
TableSpanExtentCombiner
= SpanExtentCombiner
Signature for a function that combines the result of two
TableSpanExtent.calculateExtent invocations.
TableSpanExtentDelegate
= SpanExtentDelegate
Delegate passed to TableSpanExtent.calculateExtent from the
RenderTableViewport during layout.
TableSpanPadding
= SpanPadding
Defines the leading and trailing padding values of a TableSpan .
TableViewCellBuilder
= TableViewCell Function(BuildContext context , TableVicinity vicinity )
Signature for a function that creates a child TableViewCell for a given
TableVicinity in a TableView , but may return null.
ToggleEffectBuilder
= Widget Function(BuildContext context , bool value , Widget child )
TreeRow
= Span
Defines the extent, visual appearance, and gesture handling of a row in a
TreeView .
TreeRowDecoration
= SpanDecoration
A decoration for a TreeRow .
TreeRowDecorationPaintDetails
= SpanDecorationPaintDetails
Provides the details of a given TreeRowDecoration for painting.
TreeRowExtent
= SpanExtent
Defines the extent, or height, of a TreeRow .
TreeRowExtentCombiner
= SpanExtentCombiner
Signature for a function that combines the result of two
TreeRowExtent.calculateExtent invocations.
TreeRowExtentDelegate
= SpanExtentDelegate
Delegate passed to TreeSpanExtent.calculateExtent
from the
RenderTreeViewport during layout.
TreeRowPadding
= SpanPadding
Defines the leading and trailing padding values of a TreeRow .
TreeVicinityToRowBuilder
= TreeRow Function(TreeVicinity )
Returns a TreeRow for the given TreeVicinity in the TreeView .
TreeViewNodeBuilder <T >
= Widget Function(BuildContext context , TreeViewNode <T > node , AnimationStyle toggleAnimationStyle )
Signature for a function that creates a Widget to represent the given
TreeViewNode in the TreeView .
TreeViewNodeCallback <T >
= void Function(TreeViewNode <T > node )
Signature for a function that is called when a TreeViewNode is toggled,
changing its expanded state.
TreeViewNodesAnimation
= ({int fromIndex , int toIndex , double value } )
Represents the animation of the children of a parent TreeViewNode that
are animating into or out of view.
TreeViewRowBuilder <T >
= TreeRow Function(TreeViewNode <T > node )
Signature for a function that creates a TreeRow for a given
TreeViewNode in a TreeView .
ValueTransformer <T >
= dynamic Function(T value )
A function that transforms the value of a form field into a different
format.