shadcn_flutter_experimental library

Classes

AbsoluteKeyframe<T>
A keyframe that animates between explicit start and end values.
AbsoluteResizablePaneController
Controller for resizable panes with absolute (fixed) sizing.
AbsorbPointer
A widget that absorbs pointers during hit testing.
AbstractButtonStyle
Abstract interface defining the style properties for button components.
AbstractLayoutBuilder<LayoutInfoType>
An abstract superclass for widgets that defer their building until layout.
AbstractNavigationButton
Abstract base class for navigation button widgets.
AcceptSuggestionIntent
Intent for accepting the currently selected autocomplete suggestion.
Accordion
A container widget that displays a list of collapsible items with only one item expanded at a time.
AccordionItem
An individual item within an Accordion that can be expanded or collapsed.
AccordionState
State class for Accordion widget.
AccordionTheme
Theme configuration for Accordion, AccordionItem, and AccordionTrigger widgets.
AccordionTrigger
A specialized trigger widget designed for use within AccordionItem.
Accumulator
Mutable wrapper of an integer that can be passed by reference to track a value across a recursive stack.
Action<T extends Intent>
Base class for an action or command to be performed.
ActionDispatcher
An action dispatcher that invokes the actions given to it.
ActionListener
A helper widget for making sure that listeners on an action are removed properly.
Actions
A widget that maps Intents to Actions to be used by its descendants when invoking an Action.
ActivateAction
An Action that activates the currently focused control.
ActivateIntent
An Intent that activates the currently focused control.
ActiveDotItem
An active dot item widget representing the current position.
AdaptiveScaler
A widget that applies adaptive scaling to its descendants.
AdaptiveScaling
Defines scaling behavior for adaptive layouts.
Alert
A versatile alert component for displaying important messages or notifications.
AlertDialog
A modal dialog component for displaying important alerts and confirmations.
AlertTheme
Theme configuration for Alert components.
Align
A widget that aligns its child within itself and optionally sizes itself based on the child's size.
Alignment
A point within a rectangle.
AlignmentDirectional
An offset that's expressed as a fraction of a Size, but whose horizontal component is dependent on the writing direction.
AlignmentGeometry
Base class for Alignment that allows for text-direction aware resolution.
AlignmentGeometryTween
An interpolation between two AlignmentGeometry.
AlignmentTween
An interpolation between two alignments.
AlignTransition
Animated version of an Align that animates its Align.alignment property.
AlphaPainter
A custom painter that draws a checkboard pattern for alpha/transparency visualization.
AlwaysScrollableScrollPhysics
Scroll physics that always lets the user scroll.
AlwaysStoppedAnimation<T>
An animation that is always stopped at a given value.
AndroidView
Embeds an Android view in the Widget hierarchy.
AndroidViewSurface
Integrates an Android view with Flutter's compositor, touch, and semantics subsystems.
Animatable<T>
An object that can produce a value of type T given an Animation<double> as input.
AnimatableValue<T>
A generic class that represents an animatable value between a start and an end value.
AnimatedAlign
Animated version of Align which automatically transitions the child's position over a given duration whenever the given alignment changes.
AnimatedBuilder
A general-purpose widget for building animations.
AnimatedCheckPainter
Custom painter for drawing animated checkmarks in checkboxes.
AnimatedContainer
Animated version of Container that gradually changes its values over a period of time.
AnimatedCrossFade
A widget that cross-fades between two given children and animates itself between their sizes.
AnimatedDefaultTextStyle
Animated version of DefaultTextStyle which automatically transitions the default text style (the text style to apply to descendant Text widgets without explicit style) over a given duration whenever the given style changes.
AnimatedFractionallySizedBox
Animated version of FractionallySizedBox which automatically transitions the child's size over a given duration whenever the given widthFactor or heightFactor changes, as well as the position whenever the given alignment changes.
AnimatedGrid
A scrolling container that animates items when they are inserted into or removed from a grid. in a grid.
AnimatedGridState
The State for an AnimatedGrid that animates items when they are inserted or removed.
AnimatedList
A scrolling container that animates items when they are inserted or removed.
AnimatedListState
The AnimatedListState for AnimatedList, a scrolling list container that animates items when they are inserted or removed.
AnimatedModalBarrier
A widget that prevents the user from interacting with widgets behind itself, and can be configured with an animated color value.
AnimatedOpacity
Animated version of Opacity which automatically transitions the child's opacity over a given duration whenever the given opacity changes.
AnimatedPadding
Animated version of Padding which automatically transitions the indentation over a given duration whenever the given inset changes.
AnimatedPhysicalModel
Animated version of PhysicalModel.
AnimatedPositioned
Animated version of Positioned which automatically transitions the child's position over a given duration whenever the given position changes.
AnimatedPositionedDirectional
Animated version of PositionedDirectional which automatically transitions the child's position over a given duration whenever the given position changes.
AnimatedProperty<T>
A property that can be animated between values of type T.
AnimatedRotation
Animated version of Transform.rotate which automatically transitions the child's rotation over a given duration whenever the given rotation changes.
AnimatedScale
Animated version of Transform.scale which automatically transitions the child's scale over a given duration whenever the given scale changes.
AnimatedSize
Animated widget that automatically transitions its size over a given duration whenever the given child's size changes.
AnimatedSlide
Widget which automatically transitions the child's offset relative to its normal position whenever the given offset changes.
AnimatedSwitcher
A widget that by default does a cross-fade between a new widget and the widget previously set on the AnimatedSwitcher as a child.
AnimatedTheme
A widget that animates theme changes over time.
AnimatedValueBuilder<T>
A widget that rebuilds its child whenever the animated value changes.
AnimatedWidget
A widget that rebuilds when the given Listenable changes value.
AnimatedWidgetBaseState<T extends ImplicitlyAnimatedWidget>
A base class for widgets with implicit animations that need to rebuild their widget tree as the animation runs.
Animation<T>
A value which might change over time, moving forward or backward.
AnimationController
A controller for an animation.
AnimationMax<T extends num>
An animation that tracks the maximum of two other animations.
AnimationMean
An animation of doubles that tracks the mean of two other animations.
AnimationMin<T extends num>
An animation that tracks the minimum of two other animations.
AnimationQueueController
A controller that manages a queue of animation requests.
AnimationRequest
Represents a request to animate to a specific target value.
AnimationRunner
Manages the execution of a single animation step.
AnimationStyle
Used to override the default parameters of an animation.
AnnotatedRegion<T extends Object>
Annotates a region of the layer tree with a value.
AppBar
A customizable application bar component for layout headers.
AppKitView
Widget that contains a macOS AppKit view.
AppLifecycleListener
A listener that can be used to listen to changes in the application lifecycle.
AspectRatio
A widget that attempts to size the child to a specific aspect ratio.
AssetBundle
A collection of resources used by the application.
AssetBundleImageKey
Key for the image obtained by an AssetImage or ExactAssetImage.
AssetBundleImageProvider
A subclass of ImageProvider that knows about AssetBundles.
AssetImage
Fetches an image from an AssetBundle, having determined the exact image to use based on the context.
AsyncSnapshot<T>
Immutable representation of the most recent interaction with an asynchronous computation.
AutoComplete
Intelligent autocomplete functionality with customizable suggestion handling.
AutocompleteFirstOptionIntent
An Intent to highlight the first option in the autocomplete list.
AutocompleteHighlightedOption
An inherited widget used to indicate which autocomplete option should be highlighted for keyboard navigation.
AutoCompleteIntent
An intent representing an autocomplete suggestion selection.
AutocompleteLastOptionIntent
An Intent to highlight the last option in the autocomplete list.
AutocompleteNextOptionIntent
An Intent to highlight the next option in the autocomplete list.
AutocompleteNextPageOptionIntent
An Intent to highlight the option one page after the currently highlighted option in the autocomplete list.
AutocompletePreviousOptionIntent
An Intent to highlight the previous option in the autocomplete list.
AutocompletePreviousPageOptionIntent
An Intent to highlight the option one page before the currently highlighted option in the autocomplete list.
AutoCompleteTheme
Theme configuration for AutoComplete widget styling and behavior.
AutofillGroup
An AutofillScope widget that groups AutofillClients together.
AutofillGroupState
State associated with an AutofillGroup widget.
AutofillHints
A collection of commonly used autofill hint strings on different platforms.
AutomaticKeepAlive
Allows subtrees to request to be kept alive in lazy lists.
AutomaticNotchedShape
A NotchedShape created from ShapeBorders.
Avatar
A circular or rounded rectangular widget for displaying user profile images or initials.
AvatarBadge
A circular badge widget designed to overlay on Avatar components.
AvatarGroup
A widget that arranges multiple AvatarWidgets in an overlapping layout.
AvatarGroupClipper
Custom clipper for creating overlapping avatar group effects.
AvatarTheme
Theme configuration for Avatar and related avatar components.
AvatarWidget
Abstract base class for avatar-related widgets.
AxisAlignment
Alignment along an axis.
AxisAlignmentDirectional
Directional alignment along an axis.
AxisAlignmentGeometry
Base class for axis-based alignment.
AxisInsets
Insets along an axis with support for directionality.
AxisInsetsDirectional
Directional insets along an axis.
AxisInsetsGeometry
Base class for axis-based insets.
BackButtonDispatcher
Report to a Router when the user taps the back button on platforms that support back buttons (such as Android).
BackButtonListener
A convenience widget that registers a callback for when the back button is pressed.
BackdropFilter
A widget that applies a filter to the existing painted content and then paints child.
BackdropGroup
A widget that establishes a shared backdrop layer for all child BackdropFilter widgets that opt into using it.
BackdropKey
A backdrop key uniquely identifies the backdrop that a BackdropFilterLayer samples from.
BackdropTransformData
Data class containing backdrop transformation information.
BadgeTheme
Theme data for customizing badge widget appearance across different styles.
BallisticScrollActivity
The activity a scroll view performs after being set into motion.
Displays a diagonal message above the corner of another widget.
BannerPainter
Paints a Banner.
Baseline
A widget that positions its child according to the child's baseline.
Basic
A versatile layout widget for arranging leading, title, subtitle, content, and trailing elements.
BasicLayout
Same as Basic, but without forcing text styles.
BasicTheme
Theme configuration for Basic layout widgets.
BeveledRectangleBorder
A rectangular border with flattened or "beveled" corners.
BiDirectionalConvert<A, B>
A bidirectional converter between types A and B.
BiDirectionalValueBound<T>
A ValueBound that binds the source to the target bidirectionally.
BlockSemantics
A widget that drops the semantics of all widget that were painted before it in the same semantic container.
Bone
A widget that represents a bone of the loading skeleton effect
BoneMock
A class that provides mock data for generating fake
BootstrapIcons
A collection of Bootstrap Icons as Flutter IconData.
Border
A border of a box, comprised of four sides: top, right, bottom, left.
BorderDirectional
A border of a box, comprised of four sides, the lateral sides of which flip over based on the reading direction.
BorderRadius
An immutable set of radii for each corner of a rectangle.
BorderRadiusDirectional
An immutable set of radii for each corner of a rectangle, but with the corners specified in a manner dependent on the writing direction.
BorderRadiusGeometry
Base class for BorderRadius that allows for text-direction aware resolution.
BorderRadiusTween
An interpolation between two BorderRadiuss.
BorderSide
A side of a border of a box.
BorderTween
An interpolation between two Borders.
BottomNavigationBarItem
An interactive button within either material's BottomNavigationBar or the iOS themed CupertinoTabBar with an icon and title.
BouncingScrollPhysics
Scroll physics for environments that allow the scroll offset to go beyond the bounds of the content, but then bounce the content back to the edge of those bounds.
BouncingScrollSimulation
An implementation of scroll physics that matches iOS.
BoxBorder
Base class for box borders that can paint as rectangles, circles, or rounded rectangles.
BoxConstraints
Immutable layout constraints for RenderBox layout.
BoxConstraintsTween
An interpolation between two BoxConstraints.
BoxDecoration
An immutable description of how to paint a box.
BoxPainter
A stateful class that can paint a particular Decoration.
BoxScrollView
A ScrollView that uses a single child layout model.
BoxShadow
A shadow cast by a box.
BranchLine
Abstract base class for defining tree branch line styles.
Navigation breadcrumb trail showing hierarchical path with customizable separators.
Theme for Breadcrumb.
BuildContext
A handle to the location of a widget in the widget tree.
Builder
A stateless utility widget whose build method uses its builder callback to create the widget's child.
BuildOwner
Manager class for the widgets framework.
BuildScope
A class that determines the scope of a BuildOwner.buildScope operation.
Button
A versatile, customizable button widget with comprehensive styling and interaction support.
ButtonActivateIntent
An Intent that activates the currently focused button.
ButtonDensity
Defines the padding density for button components.
ButtonGroup
A widget that groups multiple buttons together with connected borders.
ButtonGroupData
Data class defining border radius multipliers for grouped buttons.
ButtonSize
Defines the relative size scaling for button components.
ButtonState<T extends Button>
State class for Button widgets managing interactive state and rendering.
ButtonStyle
Configurable button style combining variance, size, density, and shape.
ButtonStyleOverride
Widget for locally overriding button styles within a subtree.
ButtonStyleOverrideData
Data class holding button style override delegates.
ButtonStylePropertyAll<T>
A button state property delegate that always returns the same value.
ButtonTheme
Abstract base class for button theme customization.
ButtonVariance
Implementation of AbstractButtonStyle providing concrete button style variants.
CachedValueWidget<T>
A widget that caches a computed value.
Calendar
A highly customizable calendar widget supporting multiple selection modes.
CalendarGrid
Widget that renders a calendar grid using provided data.
CalendarGridData
Data structure representing a complete calendar month grid.
CalendarGridItem
Individual item within a calendar grid representing a single date cell.
CalendarItem
Individual calendar date cell with interactive behavior and visual states.
CalendarTheme
Theme configuration for calendar widgets.
CalendarValue
Abstract base class representing calendar selection values.
CalendarView
Represents a specific month and year view in calendar navigation.
CallbackAction<T extends Intent>
An Action that takes a callback in order to configure it without having to create an explicit Action subclass just to call a callback.
CallbackContextAction<T extends Intent>
A context action that executes a callback.
CallbackShortcuts
A widget that binds key combinations to specific callbacks.
Canvas
An interface for recording graphical operations.
CapturedData
CapturedData holds all the data captured from another context.
CapturedThemes
Stores a list of captured InheritedThemes that can be wrapped around a child Widget.
CapturedWrapper
A widget that wraps a child with captured themes and data.
Card
A versatile container widget that provides a card-like appearance with comprehensive styling options.
CardButton
A button styled as a card with elevated appearance and extensive gesture support.
CardButtonTheme
Theme configuration for card button styling.
CardImage
Interactive card component with an image and optional text content.
CardImageTheme
Theme configuration for CardImage components.
CardTheme
Theme data for customizing Card and SurfaceCard widget appearance.
Interactive carousel widget with automatic transitions and customizable layouts.
CarouselController
A controller for the carousel.
CarouselDotIndicator
A dot indicator for the carousel.
CarouselFixedConstraint
A fixed carousel size constraint.
CarouselFractionalConstraint
A fractional carousel size constraint.
CarouselSizeConstraint
Size constraint for the carousel.
CarouselTheme
Theme data for Carousel.
CarouselTransition
A carousel layout.
CatmullRomCurve
An animation easing curve that passes smoothly through the given control points using a centripetal Catmull-Rom spline.
CatmullRomSpline
A 2D spline that passes smoothly through the given control points using a centripetal Catmull-Rom spline.
Center
A widget that centers its child within itself.
ChangeListener
An interface to provide a way to notify listeners.
ChangeNotifier
A class that can be extended or mixed in that provides a change notification API using VoidCallback for notifications.
CharacterActivator
A shortcut combination that is triggered by a key event that produces a specific character.
CharacterInputOTPChild
A character-based OTP input field with validation and transformation.
CharacterRange
A range of characters of a Characters.
Characters
The characters of a string.
ChartColorScheme
A color scheme for charts with 5 distinct colors.
ChatBubble
A widget that displays a single chat message or content.
ChatBubbleData
Data associated with a ChatBubble within a ChatGroup.
ChatBubbleType
Defines the type of a ChatBubble.
ChatConstrainedBox
A widget that constrains the width of its child based on a factor and aligns it.
ChatGroup
A widget that groups multiple ChatBubbles together.
ChatGroupTheme
Defines the theme for a ChatGroup.
ChatTailTheme
Defines the theme for the tail of a ChatBubble.
ChatTheme
Defines the theme for ChatBubbles.
Checkbox
Core checkbox widget with comprehensive theming and interaction support.
CheckboxController
Reactive controller for managing checkbox state with convenient methods.
CheckboxTheme
Theme configuration for Checkbox widget styling and visual appearance.
CheckedModeBanner
Displays a Banner saying "DEBUG" when running in debug mode. MaterialApp builds one of these by default.
ChildBackButtonDispatcher
A variant of BackButtonDispatcher which listens to notifications from a parent back button dispatcher, and can take priority from its parent for the handling of such notifications.
ChildVicinity
The relative position of a child in a TwoDimensionalViewport in relation to other children of the viewport.
Chip
Compact interactive element for tags, labels, and selections.
ChipButton
Specialized button component designed for use within chips.
ChipEditingController<T>
A text editing controller that supports inline chip widgets.
ChipInput<T>
A text input widget that supports inline chip elements.
ChipInputState<T>
State class for ChipInput.
ChipInputTheme
Theme configuration for ChipInput widget styling and behavior.
ChipSubmitIntent
Intent for submitting a chip in the chip input.
ChipTheme
Theme for Chip.
CircleBorder
A border that fits a circle within the available space.
CircularNotchedRectangle
A rectangle with a smooth circular notch.
CircularProgressIndicator
A circular progress indicator that displays task completion as a rotating arc.
CircularProgressIndicatorTheme
Theme configuration for CircularProgressIndicator components.
ClampingScrollPhysics
Scroll physics for environments that prevent the scroll offset from reaching beyond the bounds of the content.
ClampingScrollSimulation
An implementation of scroll physics that aligns with Android.
Clickable
A highly configurable clickable widget with extensive gesture and state support.
ClipboardStatusNotifier
A ValueNotifier whose value indicates whether the current contents of the clipboard can be pasted.
ClipContext
Clip utilities used by PaintingContext.
ClipOval
A widget that clips its child using an oval.
ClipPath
A widget that clips its child using a path.
ClipRect
A widget that clips its child using a rectangle.
ClipRRect
A widget that clips its child using a rounded rectangle.
ClipRSuperellipse
A widget that clips its child using a rounded superellipse.
CloseMenuIntent
Intent for closing the current menu via keyboard action.
CodeSnippet
A syntax-highlighted code display widget with copy functionality.
CodeSnippetTheme
Theme configuration for CodeSnippet components.
CollapseTreeNodeIntent
Intent to collapse a tree node.
Collapsible
A container widget that can show or hide its content with a collapsible interface.
CollapsibleContent
A content widget that shows or hides based on the parent Collapsible state.
CollapsibleState
State class for Collapsible widget.
CollapsibleStateData
Internal data structure for sharing collapsible state between child widgets.
CollapsibleTheme
Theme configuration for Collapsible, CollapsibleTrigger, and CollapsibleContent widgets.
CollapsibleTrigger
A trigger widget that controls the expansion state of its parent Collapsible.
Color
An immutable color value in ARGB format.
ColorControls
Widget providing color input controls with multiple color space modes.
ColorDerivative
An abstract base class representing a color that can be transformed between different color spaces.
ColoredBox
A widget that paints its area with a specified Color and then draws its child on top of that color.
ColorFilter
A description of a color filter to apply when drawing a shape or compositing a layer with a particular Paint. A color filter is a function that takes two colors, and outputs one color. When applied during compositing, it is independently applied to each pixel of the layer being drawn before the entire layer is merged with the destination.
ColorFiltered
Applies a ColorFilter to its child.
ColorGradient
An abstract base class representing a color gradient with multiple color stops.
ColorHistoryGrid
A grid widget that displays a history of previously used colors.
ColorHistoryStorage
An abstract interface for storing and managing color history.
ColorInput
A color input widget that allows users to select and edit colors.
ColorInputController
Reactive controller for managing color input state with color operations.
ColorInputTheme
Theme configuration for ColorInput widget styling and behavior.
ColorPicker
A comprehensive color picker widget with multiple color mode support.
ColorPickerTheme
Theme configuration for ColorPicker widget styling and layout.
ColorProperty
DiagnosticsProperty that has an Color as value.
Colors
A collection of color constants and shades for shadcn_flutter.
ColorScheme
The color scheme for shadcn_flutter applications.
ColorSchemes
ColorShades
A collection of color shades from light to dark.
ColorStop
Represents a color stop in a gradient with a specific color and position.
ColorSwatch<T>
A color that has a small table of related colors called a "swatch".
ColorTween
An interpolation between two colors.
Column
A widget that displays its children in a vertical array.
Command
Interactive command palette with search functionality and dynamic results.
CommandCategory
A category grouping for command items in a command palette.
CommandEmpty
A default widget displayed when command search returns no results.
CommandItem
An individual selectable item in a command palette.
CompareTo<T extends Comparable<T>>
A validator that compares a value against a static comparison value.
CompareWith<T extends Comparable<T>>
A validator that compares a field's value with another form field's value.
ComponentElement
An Element that composes other Elements.
ComponentTheme<T extends ComponentThemeData>
An inherited widget that provides component-specific theme data.
ComponentThemeButtonStyle<T extends ButtonTheme>
Theme-aware button style that integrates with the component theme system.
ComponentThemeData
A base class for component-specific theme data.
ComponentValueController<T>
A concrete implementation of ComponentController that manages a single value.
CompositedTransformFollower
A widget that follows a CompositedTransformTarget.
CompositedTransformTarget
A widget that can be targeted by a CompositedTransformFollower.
CompositeValidator<T>
A validator that combines multiple validators with AND logic.
CompoundAnimation<T>
An interface for combining multiple Animations. Subclasses need only implement the value getter to control how the child animations are combined. Can be chained to combine more than 2 animations.
ConditionalValidator<T>
A validator that applies conditional validation based on form state.
ConstantBreakpoint
A breakpoint that uses constant step increments.
ConstantTween<T>
A tween with a constant value.
ConstrainedBox
A widget that imposes additional constraints on its child.
ConstrainedLayoutBuilder<ConstraintType extends Constraints>
A specialized AbstractLayoutBuilder whose widget subtree depends on the incoming ConstraintType that will be imposed on the widget.
ConstrainedTableSize
Defines size constraints for table columns or rows.
ConstraintsTransformBox
A container widget that applies an arbitrary transform to its constraints, and sizes its child using the resulting BoxConstraints, optionally clipping, or treating the overflow as an error.
Container
A convenience widget that combines common painting, positioning, and sizing widgets.
ContentInsertionConfiguration
Configures the ability to insert media content through the soft keyboard.
ContextAction<T extends Intent>
An abstract Action subclass that adds an optional BuildContext to the isEnabled and invoke methods to be able to provide context to actions.
ContextCallbackAction<T extends Intent>
A context action that executes a callback with context.
ContextMenu
A widget that shows a context menu when right-clicked or long-pressed.
ContextMenuButtonItem
The type and callback for a context menu button.
ContextMenuController
Builds and manages a context menu at a given location.
ContextMenuPopup
Internal widget for rendering a context menu popup.
ContextMenuTheme
Theme for ContextMenuPopup and context menu widgets.
ContinuousRectangleBorder
A rectangular border with smooth continuous transitions between the straight sides and the rounded corners.
ControlledAnimation
A controlled animation that wraps an AnimationController and provides smooth transitions between values using curves.
ControlledCheckbox
Reactive checkbox with automatic state management and controller support.
ControlledColorInput
A controlled color input widget integrating with form state management.
ControlledComponentAdapter<T>
A widget adapter that bridges controlled component logic with custom UI implementations.
ControlledComponentData<T>
Immutable data container for controlled component state.
ControlledDatePicker
A controlled date picker widget with comprehensive date selection features.
ControlledMultipleAnswer<T>
A controlled widget for managing multiple item selections with external state management.
ControlledMultipleChoice<T>
A controlled widget for managing single item selection with external state management.
ControlledMultiSelect<T>
Reactive multi-selection dropdown with automatic state management.
ControlledRadioGroup<T>
Reactive radio button group with automatic state management and exclusivity.
ControlledSelect<T>
Reactive single-selection dropdown with automatic state management.
ControlledSlider
Reactive slider with automatic state management and controller support.
ControlledStarRating
Reactive star rating widget with automatic state management and controller support.
ControlledSwitch
A controlled switch widget with automatic state management.
ControlledTimePicker
A controlled time picker widget for selecting time values with external state management.
ControlledToggle
A controlled version of Toggle that integrates with form state management.
ConvertedController<F, T>
A controller that converts between types F and T.
CopySelectionTextIntent
An Intent that represents a user interaction that attempts to copy or cut the current selection in the field.
Countries
This class is a collection of all the countries.
CountryFlag
A widget that displays a country flag.
CrossFadedTransition
A widget that provides a cross-fade transition between two child widgets.
Cubic
A cubic polynomial mapping of the unit interval.
Curve
An parametric animation easing curve, i.e. a mapping of the unit interval to the unit interval.
Curve2D
Abstract class that defines an API for evaluating 2D parametric curves.
Curve2DSample
A class that holds a sample of a 2D parametric curve, containing the value (the X, Y coordinates) of the curve at the parametric value t.
CurvedAnimation
An animation that applies a curve to another animation.
Curves
A collection of common animation curves.
CurveTween
Transforms the value of the given animation by the given curve.
CustomClipper<T>
An interface for providing custom clips.
CustomMultiChildLayout
A widget that uses a delegate to size and position multiple children.
CustomPaint
A widget that provides a canvas on which to draw during the paint phase.
CustomPainter
The interface used by CustomPaint (in the widgets library) and RenderCustomPaint (in the rendering library).
CustomPainterSemantics
Contains properties describing information drawn in a rectangle contained by the Canvas used by a CustomPaint.
CustomScrollView
A ScrollView that creates custom scroll effects using slivers.
CustomSingleChildLayout
A widget that defers the layout of its single child to a delegate.
DashedContainer
A container with a dashed border outline.
DashedContainerProperties
Properties for defining a dashed container border appearance.
DashedLine
A widget that displays a horizontal dashed line.
DashedLinePainter
A custom painter that draws a dashed horizontal line.
DashedLineProperties
Properties for defining a dashed line appearance.
DashedPainter
A custom painter that draws a dashed border around a rectangle.
Data<T>
A widget that provides the data to its descendants.
DataBuilder<T>
A widget that receives the data from the ancestor Data widget.
DataHolder<T>
An interface that holds forwardable data.
DataMessenger<T>
DataMessenger is a widget that holds the forwardable data. The data is attached/received from the ForwardableData widget and then passed to the descendants. DataMessenger<T> can only store ForwardableData<T>.
DataMessengerRoot
DataMessengerRoot is the root of the data messenger tree. The root stores all kinds of forwardable data and provides them to the descendants.
DataNotifier<T>
A widget that passes value from a ValueListenable to its descendants. The data is refreshed when the ValueListenable changes.
DateInput
Reactive date input field with integrated date picker and text editing.
DatePicker
A date picker widget for selecting dates.
DatePickerController
A controller for managing the selected date in a DatePicker.
DatePickerDialog
A date picker dialog that provides comprehensive date selection capabilities.
DatePickerTheme
Theme configuration for DatePicker widget styling and behavior.
DateRangePicker
A widget for selecting a date range.
DateTimeRange
Represents a range of dates with a start and end time.
DebounceController
A controller to debounce or throttle a callback.
DebugCreator
A wrapper class for the Element that is the creator of a RenderObject.
DecoratedBox
A widget that paints a Decoration either before or after its child paints.
DecoratedBoxTransition
Animated version of a DecoratedBox that animates the different properties of its Decoration.
DecoratedSliver
A sliver widget that paints a Decoration either before or after its child paints.
Decoration
A description of a box decoration (a decoration applied to a Rect).
DecorationImage
An image for a box decoration.
DecorationImagePainter
The painter for a DecorationImage.
DecorationTween
An interpolation between two Decorations.
DecreaseSliderValue
Intent for decreasing the slider value via keyboard shortcuts.
DecreaseStarIntent
Intent for decreasing the star rating value via keyboard shortcuts.
DefaultAssetBundle
A widget that determines the default asset bundle for its descendants.
DefaultPlatformMenuDelegate
The platform menu delegate that handles the built-in macOS platform menu generation using the 'flutter/menu' channel.
DefaultRefreshIndicator
Default refresh indicator widget with platform-appropriate styling.
DefaultSelectionStyle
The selection style to apply to descendant EditableText widgets which don't have an explicit style.
DefaultTextEditingShortcuts
A widget with the shortcuts used for the default text editing behavior.
DefaultTextHeightBehavior
The TextHeightBehavior that will apply to descendant Text and EditableText widgets which have not explicitly set Text.textHeightBehavior.
DefaultTextStyle
The text style to apply to descendant Text widgets which don't have an explicit style.
DefaultTextStyleTransition
Animated version of a DefaultTextStyle that animates the different properties of its TextStyle.
DefaultTransitionDelegate<T>
The default implementation of TransitionDelegate that the Navigator will use if its Navigator.transitionDelegate is not specified.
DefaultWidgetsLocalizations
US English localizations for the widgets library.
DeleteCharacterIntent
Deletes the character before or after the caret location, based on whether forward is true.
DeleteToLineBreakIntent
Deletes from the current caret location to the previous or next soft or hard line break, based on whether forward is true.
DeleteToNextWordBoundaryIntent
Deletes from the current caret location to the previous or next word boundary, based on whether forward is true.
Density
Defines density settings for spacing throughout the UI.
DensityColumn
A column widget with density-aware spacing between children.
DensityContainerPadding
A padding widget that resolves density insets using container padding base.
DensityContentPadding
A padding widget that resolves density insets using content padding base.
DensityEdgeInsetsGeometry
Interface for edge insets that can be resolved using density settings.
DensityFlex
A flex widget with density-aware spacing between children.
DensityGap
A gap widget that resolves spacing using density settings.
DensityRow
A row widget with density-aware spacing between children.
DesktopEditableTextContextMenu
Context menu for editable text fields on desktop platforms.
DesktopPointerScrollEvent
A custom pointer scroll event for desktop platforms.
DesktopTextSelectionToolbarLayoutDelegate
Positions the toolbar at anchor if it fits, otherwise moves it so that it just fits fully on-screen.
DestructiveBadge
A destructive-styled badge for displaying warnings or dangerous actions.
DestructiveButton
Convenience widget for creating a destructive button.
DestructiveButtonTheme
Theme configuration for destructive button styling.
DevToolsDeepLinkProperty
Debugging message for DevTools deep links.
DiagnosticsNode
Defines diagnostics data for a value.
DialogOverlayCompleter<T>
Completer that manages the lifecycle of a dialog overlay.
DialogOverlayHandler
Overlay handler that manages dialog display using the navigation stack.
DialogRoute<T>
Custom route implementation for shadcn_flutter dialogs.
DirectionalCaretMovementIntent
A DirectionalTextEditingIntent that moves the caret or the selection to a new location.
DirectionalEdgeInsetsDensity
Direction-aware density edge insets using start/end instead of left/right.
DirectionalFocusAction
An Action that moves the focus to the focusable node in the direction configured by the associated DirectionalFocusIntent.direction.
DirectionalFocusIntent
An Intent that represents moving to the next focusable node in the given direction.
DirectionalGradientAngle
A directional gradient angle that is aware of text direction.
Directionality
A widget that determines the ambient directionality of text and text-direction-sensitive render objects.
DirectionalMenuFocusIntent
Intent for directional focus traversal within menus.
DirectionalSelectTreeNodeIntent
Intent to navigate and select tree nodes directionally.
DirectionalTextEditingIntent
A text editing related Intent that performs an operation towards a given direction of the current caret location.
DisableWidgetInspectorScope
Disables the Flutter DevTools Widget Inspector for a Widget subtree.
DismissAction
An Action that dismisses the focused widget.
Dismissible
A widget that can be dismissed by dragging in the indicated direction.
DismissIntent
An Intent that dismisses the currently focused widget.
DismissMenuAction
An action that closes all the menus associated with the given MenuController.
DismissUpdateDetails
Details for DismissUpdateCallback.
DisplayFeatureSubScreen
Positions child such that it avoids overlapping any DisplayFeature that splits the screen into sub-screens.
DisposableBuildContext<T extends State<StatefulWidget>>
Provides non-leaking access to a BuildContext.
Divider
A horizontal line widget used to visually separate content sections.
DividerPainter
Custom painter for drawing horizontal divider lines.
DividerProperties
Immutable properties for divider appearance.
DividerTheme
Theme data for customizing Divider widget appearance.
DoNothingAction
An Action that doesn't perform any action when invoked.
DoNothingAndStopPropagationIntent
An Intent that is bound to a DoNothingAction, but, in addition to not performing an action, also stops the propagation of the key event bound to this intent to other key event handlers in the focus chain.
DoNothingAndStopPropagationTextIntent
An Intent to send the event straight to the engine.
DoNothingIntent
An Intent that is bound to a DoNothingAction.
DotIndicator
Navigation indicator with customizable dots showing current position in a sequence.
DotIndicatorTheme
Theme configuration for DotIndicator and its dot items.
DotItem
A basic dot item widget with customizable appearance.
DragBoundary
Provides a DragBoundaryDelegate for its descendants whose bounds are those defined by this widget.
DragBoundaryDelegate<T>
The interface for defining the algorithm for a boundary that a specified shape is dragged within.
DragDownDetails
Details object for callbacks that use GestureDragDownCallback.
DragEndDetails
Details object for callbacks that use GestureDragEndCallback.
Draggable<T extends Object>
A widget that can be dragged from to a DragTarget.
DraggableDetails
Represents the details when a specific pointer event occurred on the Draggable.
DraggableScrollableActuator
A widget that can notify a descendent DraggableScrollableSheet that it should reset its position to the initial state.
DraggableScrollableController
Controls a DraggableScrollableSheet.
DraggableScrollableNotification
A Notification related to the extent, which is the size, and scroll offset, which is the position of the child list, of the DraggableScrollableSheet.
DraggableScrollableSheet
A container for a Scrollable that responds to drag gestures by resizing the scrollable until a limit is reached, and then scrolling.
DragScrollActivity
The activity a scroll view performs when the user drags their finger across the screen.
DragStartDetails
Details object for callbacks that use GestureDragStartCallback.
DragTarget<T extends Object>
A widget that receives data when a Draggable widget is dropped.
DragTargetDetails<T>
Represents the details when a pointer event occurred on the DragTarget.
DragUpdateDetails
Details object for callbacks that use GestureDragUpdateCallback.
DrawerEntryWidget<T>
Widget representing a single drawer entry in the overlay stack.
DrawerEntryWidgetState<T>
State class for DrawerEntryWidget managing drawer animations and lifecycle.
DrawerLayerData
Data class representing a drawer overlay layer in the hierarchy.
DrawerOverlay
Widget that manages drawer overlay layers.
DrawerOverlayCompleter<T>
Completer for drawer overlay operations.
DrawerOverlayEntry<T>
Data class representing a drawer overlay entry in the stack.
DrawerOverlayState
State class for DrawerOverlay managing drawer entry lifecycle.
DrawerSwiperHandler
Drawer-style swiper handler with backdrop transformation.
DrawerTheme
Theme configuration for drawer and sheet overlays.
DrawerWrapper
Internal wrapper widget for drawer/sheet rendering.
DrivenScrollActivity
An activity that drives a scroll view through a given animation.
A dropdown menu widget that displays a list of menu items in a popup.
Internal data class for dropdown menu context.
Theme for DropdownMenu.
DualTransitionBuilder
A transition builder that animates its child based on the AnimationStatus of the provided animation.
DurationInput
Reactive duration input field with formatted text editing and validation.
DurationPicker
Widget for picking duration values with day, hour, minute, and second components.
DurationPickerController
Controller for managing DurationPicker values programmatically.
DurationPickerDialog
Dialog widget for interactive duration selection.
EdgeDraggingAutoScroller
An auto scroller that scrolls the scrollable if a drag gesture drags close to its edge.
EdgeInsets
An immutable set of offsets in each of the four cardinal directions.
EdgeInsetsDensity
Fixed direction density edge insets using left/right.
EdgeInsetsDirectional
An immutable set of offsets in each of the four cardinal directions, but whose horizontal components are dependent on the writing direction.
EdgeInsetsGeometry
Base class for EdgeInsets that allows for text-direction aware resolution.
EdgeInsetsGeometryTween
An interpolation between two EdgeInsetsGeometrys.
EdgeInsetsTween
An interpolation between two EdgeInsetss.
EditablePart
A part that represents an editable input field section.
EditableText
A basic text input field.
EditableTextState
State for an EditableText.
EditableTextTapOutsideIntent
An Intent that represents a tap outside the field.
EditableTextTapUpOutsideIntent
An Intent that represents a tap outside the field.
ElasticInCurve
An oscillating curve that grows in magnitude while overshooting its bounds.
ElasticInOutCurve
An oscillating curve that grows and then shrinks in magnitude while overshooting its bounds.
ElasticOutCurve
An oscillating curve that shrinks in magnitude while overshooting its bounds.
Element
An instantiation of a Widget at a particular location in the tree.
EmailValidator
A validator that checks if a string is a valid email address.
EmptySelectItem
An empty select item delegate that renders no items.
EmptyTextSelectionControls
Text selection controls that do not show any toolbars or handles.
EnableWidgetInspectorScope
Enables the Flutter DevTools Widget Inspector for a Widget subtree.
ErrorDescription
An explanation of the problem and its cause, any information that may help track down the problem, background information, etc.
ErrorHint
An ErrorHint provides specific, non-obvious advice that may be applicable.
ErrorSummary
A short (one line) description of the problem that was detected.
ErrorWidget
A widget that renders an exception's message.
ExactAssetImage
Fetches an image from an AssetBundle, associating it with the given scale.
ExcludeFocus
A widget that controls whether or not the descendants of this widget are focusable.
ExcludeFocusTraversal
A widget that controls whether or not the descendants of this widget are traversable.
ExcludeSemantics
A widget that drops all the semantics of its descendants.
Expanded
A widget that expands a child of a Row, Column, or Flex so that the child fills the available space.
ExpandSelectionToDocumentBoundaryIntent
Expands the current selection to the document boundary in the direction given by forward.
ExpandSelectionToLineBreakIntent
Expands the current selection to the closest line break in the direction given by forward.
ExpandTreeNodeIntent
Intent to expand a tree node.
Expansible
A StatefulWidget that expands and collapses.
ExpansibleController
A controller for managing the expansion state of an Expansible.
ExtendSelectionByCharacterIntent
Extends, or moves the current selection from the current TextSelection.extent position to the previous or the next character boundary.
ExtendSelectionByPageIntent
Scrolls up or down by page depending on the forward parameter. Extends the selection up or down by page based on the forward parameter.
ExtendSelectionToDocumentBoundaryIntent
Extends, or moves the current selection from the current TextSelection.extent position to the start or the end of the document.
ExtendSelectionToLineBreakIntent
Extends, or moves the current selection from the current TextSelection.extent position to the closest line break in the direction given by forward.
ExtendSelectionToNextParagraphBoundaryIntent
Extends, or moves the current selection from the current TextSelection.extent position to the previous or the next paragraph boundary.
ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent
Extends, or moves the current selection from the current TextSelection.extent position to the previous or the next paragraph boundary depending on the forward parameter.
ExtendSelectionToNextWordBoundaryIntent
Extends, or moves the current selection from the current TextSelection.extent position to the previous or the next word boundary.
ExtendSelectionToNextWordBoundaryOrCaretLocationIntent
Extends, or moves the current selection from the current TextSelection.extent position to the previous or the next word boundary, or the TextSelection.base position if it's closer in the move direction.
ExtendSelectionVerticallyToAdjacentLineIntent
Extends, or moves the current selection from the current TextSelection.extent position to the closest position on the adjacent line.
ExtendSelectionVerticallyToAdjacentPageIntent
Expands, or moves the current selection from the current TextSelection.extent position to the closest position on the adjacent page.
EyeDropperLayer
A layer widget that provides eye dropper (color picking) functionality.
EyeDropperLayerScope
Provides access to eye dropper functionality in the widget tree.
EyeDropperResult
Represents the result of an eye dropper color picking operation.
FadeInImage
An image that shows a placeholder image while the target image is loading, then fades in the new image when it loads.
FadeTransition
Animates the opacity of a widget.
FadingCarouselTransition
A fading carousel transition.
Feedback
Provides platform-specific acoustic and/or haptic feedback for certain actions.
FileImage
Decodes the given File object as an image, associating it with the given scale.
FittedBox
Scales and positions its child within itself according to fit.
FittedSizes
The pair of sizes returned by applyBoxFit.
FixedButtonTheme
Theme configuration for fixed button styling.
FixedColumnWidth
Sizes the column to a specific number of pixels.
FixedExtentMetrics
Metrics for a ScrollPosition to a scroll view with fixed item sizes.
FixedExtentScrollController
A controller for scroll views whose items have the same size.
FixedExtentScrollPhysics
A snapping physics that always lands directly on items instead of anywhere within the scroll extent.
FixedScrollMetrics
An immutable snapshot of values associated with a Scrollable viewport.
FixedTableSize
Table size mode with a fixed pixel value.
FixedTooltipOverlayHandler
A fixed overlay handler for tooltips using direct overlay entries.
Flex
A widget that displays its children in a one-dimensional array.
FlexColumnWidth
Sizes the column by taking a part of the remaining space once all the other columns have been laid out.
Flexible
A widget that controls how a child of a Row, Column, or Flex flexes.
FlexibleResizablePaneController
Controller for resizable panes with flexible (proportional) sizing.
FlexParentData
Parent data for use with RenderFlex.
FlexTableSize
Table size mode that distributes available space using flex factors.
FlippedCurve
A curve that is the reversed inversion of its given curve.
FlippedTweenSequence
Enables creating a flipped Animation whose value is defined by a sequence of Tweens.
FlipperCharacter
Animates a single character by flipping through FlipperCharset.
FlipperCharset
Defines a character set for FlipperCharacter and TextFlipper.
Flow
A widget that sizes and positions children efficiently, according to the logic in a FlowDelegate.
FlowDelegate
A delegate that controls the appearance of a flow layout.
FlowPaintingContext
A context in which a FlowDelegate paints.
FlutterErrorDetails
Class for information provided to FlutterExceptionHandler callbacks.
The Flutter logo, in widget form. This widget respects the IconTheme. For guidelines on using the Flutter logo, visit https://flutter.dev/brand.
FlutterLogoDecoration
An immutable description of how to paint Flutter's logo.
Focus
A widget that manages a FocusNode to allow keyboard focus to be given to this widget and its descendants.
FocusableActionDetector
A widget that combines the functionality of Actions, Shortcuts, MouseRegion and a Focus widget to create a detector that defines actions and key bindings, and provides callbacks for handling focus and hover highlights.
FocusAttachment
An attachment point for a FocusNode.
FocusManager
Manages the focus tree.
FocusNode
An object that can be used by a stateful widget to obtain the keyboard focus and to handle keyboard events.
FocusOrder
Base class for all sort orders for OrderedTraversalPolicy traversal.
FocusOutline
A widget that displays a visual outline when focused.
FocusOutlineTheme
Theme configuration for focus outline appearance.
FocusScope
A FocusScope is similar to a Focus, but also serves as a scope for its descendants, restricting focus traversal to the scoped controls.
FocusScopeNode
A subclass of FocusNode that acts as a scope for its descendants, maintaining information about which descendant is currently or was last focused.
FocusTraversalGroup
A widget that describes the inherited focus policy for focus traversal for its descendants, grouping them into a separate traversal group.
FocusTraversalOrder
An inherited widget that describes the order in which its child subtree should be traversed.
FocusTraversalPolicy
Determines how focusable widgets are traversed within a FocusTraversalGroup.
FontFeature
A feature tag and value that affect the selection of glyphs in a font.
FontVariation
An axis tag and value that can be used to customize variable fonts.
FontWeight
The thickness of the glyphs used to draw the text.
ForcePressDetails
Details object for callbacks that use GestureForcePressStartCallback, GestureForcePressPeakCallback, GestureForcePressEndCallback or GestureForcePressUpdateCallback.
Form
A widget that provides form management capabilities for collecting and validating user input.
FormattedInput
A controlled input widget for structured data entry with formatting.
FormattedInputController
A controller for managing FormattedInput values programmatically.
FormattedInputData
Internal data structure for formatted input parts.
FormattedInputTheme
Theme configuration for FormattedInput widget styling.
FormattedObjectInput<T>
A formatted input widget that works with complex objects.
FormattedValue
Represents a complete formatted value composed of multiple parts.
FormattedValuePart
Represents a part of a formatted value with its associated input part and value.
FormController
Controller for managing form state, validation, and submission.
FormEntry<T>
A form field entry that wraps a form widget with validation.
FormEntryErrorBuilder
Widget builder for displaying form entry validation errors.
FormEntryInterceptor<T>
A widget that intercepts form value reports.
FormEntryState
State class for FormEntry widgets.
FormErrorBuilder
Widget builder for displaying form-wide validation errors.
FormField<T>
A standard form field widget with label, validation, and error display.
FormFieldState<T>
The current state of a FormField. Passed to the FormFieldBuilder method for use in constructing the form field's widget.
FormInline<T>
An inline form field widget with label next to the input.
FormKey<T>
A key that uniquely identifies a form field and its type.
FormPendingBuilder
Widget builder for displaying pending form validations.
FormState
State class for the Form widget that manages form controller lifecycle.
FormTableLayout
A table-based layout for multiple form fields.
FormValidityNotification
A notification sent when a form field's validation state changes.
FormValueState<T>
Holds the current value and validator for a form field.
ForwardableData<T>
A widget that holds the data that can be attached to ancestor holders.
ForwardableDataState<T>
The state of the ForwardableData widget.
FractionallySizedBox
A widget that sizes its child to a fraction of the total available space. For more details about the layout algorithm, see RenderFractionallySizedOverflowBox.
FractionalOffset
An offset that's expressed as a fraction of a Size.
FractionalOffsetTween
An interpolation between two fractional offsets.
FractionalTableSize
Table size mode that uses a fractional value of the table's size.
FractionalTranslation
Applies a translation transformation before painting its child.
FractionColumnWidth
Sizes the column to a fraction of the table's constraints' maxWidth.
FrozenTableData
Configuration for frozen (pinned) rows and columns in a table.
FullScreenDialogOverlayHandler
Full-screen variant of the dialog overlay handler.
FutureBuilder<T>
A widget that builds itself based on the latest snapshot of interaction with a Future.
FutureOrBuilder<T>
A widget that builds itself based on a FutureOr value.
FutureWidgetBuilder<T>
A widget that builds itself based on the latest snapshot of interaction with
Gap
A widget that takes a fixed amount of space in the direction of its parent.
GestureDetector
A widget that detects gestures.
GestureRecognizerFactory<T extends GestureRecognizer>
Factory for creating gesture recognizers.
GestureRecognizerFactoryWithHandlers<T extends GestureRecognizer>
Factory for creating gesture recognizers that delegates to callbacks.
GhostButton
Convenience widget for creating a ghost button.
GhostButtonTheme
Theme configuration for ghost button styling.
GlobalKey<T extends State<StatefulWidget>>
A key that is unique across the entire app.
GlobalObjectKey<T extends State<StatefulWidget>>
A global key that takes its identity from the object used as its value.
GlowingOverscrollIndicator
A visual indication that a scroll view has overscrolled.
GlyphInfo
The measurements of a character (or a sequence of visually connected characters) within a paragraph.
Gradient
A 2D gradient.
GradientAngle
A non-directional gradient angle that uses standard Alignment.
GradientAngleGeometry
An abstract base class for representing gradient angles with alignment geometry.
GradientRotation
A GradientTransform that rotates the gradient around the center-point of its bounding box.
GradientTransform
Base class for transforming gradient shaders without applying the same transform to the entire canvas.
GridItemPickerLayout
A grid-based layout for item pickers.
GridPaper
A widget that draws a rectilinear grid of lines one pixel wide.
GridView
A scrollable, 2D array of widgets.
Hero
A widget that marks its child as being a candidate for hero animations.
HeroController
A Navigator observer that manages Hero transitions.
HeroControllerScope
An inherited widget to host a hero controller.
HeroMode
Enables or disables Heroes in the widget subtree.
HoldScrollActivity
A scroll activity that does nothing but can be released to resume normal idle behavior.
HorizontalResizableDragger
A Horizontal dragger that can be used as a divider between resizable panes.
HoverCard
A widget that displays a popover when hovered or long-pressed.
HoverCardTheme
Theme configuration for hover card behavior and appearance.
HSLColor
A color represented using alpha, hue, saturation, and lightness.
HSLColorSlider
A slider widget for adjusting HSL color components.
HSLColorSliderPainter
A custom painter for rendering HSL color slider gradients.
HSVColor
A color represented using alpha, hue, saturation, and value.
HSVColorSlider
A slider widget for adjusting HSV color components.
HSVColorSliderPainter
A custom painter for rendering HSV color slider gradients.
HtmlElementView
Embeds an HTML element in the Widget hierarchy in Flutter web.
Icon
A graphical icon widget drawn with a glyph from a font described in an IconData such as material's predefined IconDatas in Icons.
IconButton
Icon-only button widget with support for multiple visual styles.
IconData
A description of an icon fulfilled by a font glyph.
IconDataProperty
DiagnosticsProperty that has an IconData as value.
Icons
Identifiers for the supported Material Icons.
IconTheme
Controls the default properties of icons in a widget subtree.
IconThemeData
Defines the size, font variations, color, opacity, and shadows of icons.
IconThemeDataTween
A tween for animating between two IconThemeData values.
IconThemeProperties
Properties for icon theming.
IdleScrollActivity
A scroll activity that does nothing.
IgnoreBaseline
A widget that causes the parent to ignore the child for the purposes of baseline alignment.
IgnoreForm<T>
A widget that prevents form components from submitting their values to form controllers.
IgnorePointer
A widget that is invisible during hit testing.
Image
A widget that displays an image.
ImageCache
Class for caching images.
ImageCacheStatus
Information about how the ImageCache is tracking an image.
ImageChunkEvent
An immutable notification of image bytes that have been incrementally loaded.
ImageConfiguration
Configuration information passed to the ImageProvider.resolve method to select a specific image.
ImageFiltered
Applies an ImageFilter to its child.
ImageIcon
An icon that comes from an ImageProvider, e.g. an AssetImage.
ImageInfo
A dart:ui.Image object with its corresponding scale.
ImageProvider<T extends Object>
Identifies an image without committing to the precise final asset. This allows a set of images to be identified and for the precise image to later be resolved based on the environment, e.g. the device pixel ratio.
ImageShader
A shader (as used by Paint.shader) that tiles an image.
ImageSizeInfo
Tracks the bytes used by a dart:ui.Image compared to the bytes needed to paint that image without scaling it.
ImageStream
A handle to an image resource.
ImageStreamCompleter
Base class for those that manage the loading of dart:ui.Image objects for ImageStreams.
ImageStreamCompleterHandle
An opaque handle that keeps an ImageStreamCompleter alive even if it has lost its last listener.
ImageStreamListener
Interface for receiving notifications about the loading of an image.
ImplicitlyAnimatedWidget
An abstract class for building widgets that animate changes to their properties.
ImplicitlyAnimatedWidgetState<T extends ImplicitlyAnimatedWidget>
A base class for the State of widgets with implicit animations.
InactiveDotItem
An inactive dot item widget representing non-current positions.
IncreaseSliderValue
Intent for increasing the slider value via keyboard shortcuts.
IncreaseStarIntent
Intent for increasing the star rating value via keyboard shortcuts.
IndentGuideLine
Branch line implementation with simple vertical lines.
IndentGuideNone
Branch line implementation with no visual connections.
IndentGuidePath
Branch line implementation with connected path lines.
IndexedSemantics
A widget that annotates the child semantics with an index.
IndexedSlot<T extends Element?>
A value for Element.slot used for children of MultiChildRenderObjectElements.
IndexedStack
A Stack that shows a single child from a list of children.
InheritedDataHolder<T>
An InheritedWidget that passes the DataHolder to its descendants.
InheritedDataHolderWidget<T>
An abstract InheritedWidget that passes the DataHolder to its descendants.
InheritedElement
An Element that uses an InheritedWidget as its configuration.
InheritedModel<T>
An InheritedWidget that's intended to be used as the base class for models whose dependents may only depend on one part or "aspect" of the overall model.
InheritedModelElement<T>
An Element that uses a InheritedModel as its configuration.
InheritedNotifier<T extends Listenable>
An inherited widget for a Listenable notifier, which updates its dependencies when the notifier is triggered.
InheritedRootDataHolder
An InheritedWidget that passes the root DataHolder to its descendants.
InheritedTheme
An InheritedWidget that defines visual properties like colors and text styles, which the child's subtree depends on.
InheritedWidget
Base class for widgets that efficiently propagate information down the tree.
InlineSpan
An immutable span of inline content which forms part of a paragraph.
InlineSpanSemanticsInformation
The textual and semantic label information for an InlineSpan.
InputAboveBelowFeature
Adds a custom widget above or below the text input area.
InputAutoCompleteFeature
Adds autocomplete functionality to the input field.
InputClearFeature
Adds a clear button to the input field.
InputCopyFeature
Adds a copy button to the input field.
InputFeature
Abstract factory for creating input field feature components.
InputFeatureState<T extends InputFeature>
Abstract base state class for input features.
InputFeatureVisibility
Abstract base class for controlling input feature visibility.
InputHintFeature
Adds a hint/info button to the input field with a popover.
InputLeadingFeature
Adds a custom widget to the leading (left) side of the input field.
InputOTP
A specialized input widget for One-Time Password (OTP) and verification code entry.
InputOTPChild
Abstract base class for OTP input child elements.
InputOTPChildData
Data passed to InputOTPChild.build for rendering OTP input fields.
InputOTPTheme
Theme data for customizing InputOTP widget appearance.
InputPart
Abstract base class for parts of a formatted input.
InputPasswordToggleFeature
Adds a password visibility toggle feature to the input field.
InputPasteFeature
Adds a paste button to the input field.
InputRevalidateFeature
Adds a revalidate button to the input field.
InputShowHintIntent
Intent to show an input hint popover.
InputSpinnerFeature
Adds spinner controls (increment/decrement) to numeric input fields.
InputStepperButtonFeature
Adds a single increment button to numeric input fields.
InputTrailingFeature
Adds a custom widget to the trailing (right) side of the input field.
InspectorButton
An abstract base class for creating Material or Cupertino-styled inspector buttons.
InspectorReferenceData
Structure to help reference count Dart objects referenced by a GUI tool using WidgetInspectorService.
InspectorSelection
Mutable selection state of the inspector.
InspectorSerializationDelegate
A delegate that configures how a hierarchy of DiagnosticsNodes are serialized by the Flutter Inspector.
InstantTooltip
A tooltip that shows immediately on hover without delay.
Intent
An abstract class representing a particular configuration of an Action.
InteractiveViewer
A widget that enables pan and zoom interactions with its child.
Interval
A curve that is 0.0 until begin, then curved (according to curve) from 0.0 at begin to 1.0 at end, then remains 1.0 past end.
IntervalDuration
A custom curve that allows for an interval-based animation with a specific duration.
IntrinsicColumnWidth
Sizes the column according to the intrinsic dimensions of all the cells in that column.
IntrinsicHeight
A widget that sizes its child to the child's intrinsic height.
IntrinsicTableSize
Table size mode that uses the intrinsic size of cell content.
IntrinsicWidth
A widget that sizes its child to the child's maximum intrinsic width.
IntTween
An interpolation between two integers that rounds.
InvalidResult
A validation result indicating that validation failed.
IOSSystemContextMenuItem
Describes a context menu button that will be rendered in the iOS system context menu and not by Flutter itself.
IOSSystemContextMenuItemCopy
Creates an instance of IOSSystemContextMenuItem for the system's built-in copy button.
IOSSystemContextMenuItemCustom
Creates an instance of IOSSystemContextMenuItem for custom action buttons defined by the developer.
IOSSystemContextMenuItemCut
Creates an instance of IOSSystemContextMenuItem for the system's built-in cut button.
IOSSystemContextMenuItemLiveText
Creates an instance of IOSSystemContextMenuItem for the system's built-in Live Text button.
IOSSystemContextMenuItemLookUp
Creates an instance of IOSSystemContextMenuItem for the system's built-in look up button.
IOSSystemContextMenuItemPaste
Creates an instance of IOSSystemContextMenuItem for the system's built-in paste button.
IOSSystemContextMenuItemSearchWeb
Creates an instance of IOSSystemContextMenuItem for the system's built-in search web button.
IOSSystemContextMenuItemSelectAll
Creates an instance of IOSSystemContextMenuItem for the system's built-in select all button.
IOSSystemContextMenuItemShare
Creates an instance of IOSSystemContextMenuItem for the system's built-in share button.
ItemBuilder<T>
A delegate that builds items on demand using a builder function.
ItemChildDelegate<T>
Abstract delegate for providing items to an item picker.
ItemList<T>
A delegate that wraps a fixed list of items.
ItemPicker<T>
A widget for selecting items from a collection using various presentation modes.
ItemPickerData
Data provided by ItemPickerDialog to its descendants.
ItemPickerDialog<T>
A dialog widget for picking an item from a list or grid.
ItemPickerLayout
Abstract base class for item picker layout strategies.
ItemPickerOption<T>
A selectable option within an item picker.
KeepAlive
Mark a child as needing to stay alive even when it's in a lazy list that would otherwise remove it.
KeepAliveHandle
A Listenable which can be manually triggered.
KeepAliveNotification
Indicates that the subtree through which this notification bubbles must be kept alive even if it would normally be discarded as an optimization.
Key
A Key is an identifier for Widgets, Elements and SemanticsNodes.
KeyboardDisplay
A widget that displays keyboard shortcuts in a visually appealing format.
KeyboardInsertedContent
A class representing rich content (such as a PNG image) inserted via the system input method.
KeyboardKeyDisplay
A widget that displays a single keyboard key in a styled format.
KeyboardListener
A widget that calls a callback whenever the user presses or releases a key on a keyboard.
KeyboardShortcutDisplayHandle
Handle for accessing keyboard shortcut display builders.
KeyboardShortcutDisplayMapper
Widget that provides keyboard shortcut display customization.
KeyboardShortcutTheme
Theme for keyboard shortcut displays.
KeyedSubtree
A widget that builds its child.
KeyedTabChildWidget<T>
A keyed tab child widget identified by a custom key value.
KeyedTabItem<T>
A keyed tab item widget.
KeyEvent
Defines the interface for keyboard key events.
Keyframe<T>
An abstract interface for keyframes in timeline animations.
KeySet<T extends KeyboardKey>
A set of KeyboardKeys that can be used as the keys in a Map.
Label
A layout widget for labels with optional leading and trailing elements.
LabeledGlobalKey<T extends State<StatefulWidget>>
A global key with a debugging label.
An object that a LeaderLayer can register with.
LayoutBuilder
Builds a widget tree that can depend on the parent widget's size.
LayoutChangedNotification
Indicates that the layout of one of the descendants of the object receiving this notification has changed in some way, and that therefore any assumptions about that layout are no longer valid.
LayoutId
Metadata for identifying children in a CustomMultiChildLayout.
LeafRenderObjectElement
An Element that uses a LeafRenderObjectWidget as its configuration.
LeafRenderObjectWidget
A superclass for RenderObjectWidgets that configure RenderObject subclasses that have no children.
LegacyColorSchemes
Legacy color schemes using HSL color definitions.
LengthValidator
A validator that checks if a string's length is within specified bounds.
LexicalFocusOrder
Can be given to a FocusTraversalOrder widget to use a String to assign a lexical order to a widget subtree that is using a OrderedTraversalPolicy to define the order in which widgets should be traversed with the keyboard.
LimitedBox
A box that limits its size only when it's unconstrained.
LinearBorder
An OutlinedBorder like BoxBorder that allows one to define a rectangular (box) border in terms of zero to four LinearBorderEdges, each of which is rendered as a single line.
LinearBorderEdge
Defines the relative size and alignment of one LinearBorder edge.
LinearColorGradient
A linear gradient implementation of ColorGradient.
LinearGradient
A 2D linear gradient.
LinearProgressIndicator
A sophisticated linear progress indicator with advanced visual effects.
LinearProgressIndicatorTheme
Theme configuration for LinearProgressIndicator components.
LineMetrics
LineMetrics stores the measurements and statistics of a single line in the paragraph.
LinkButton
Convenience widget for creating a link button.
LinkButtonTheme
Theme configuration for link button styling.
ListBody
A widget that arranges its children sequentially along a given axis, forcing them to the dimension of the parent in the other axis.
ListChange<T>
Base class for list modification operations.
ListChangeDetails<T>
A list change details containing the added, removed, and index of the changes.
ListChanges<T>
Represents a collection of list modifications.
Listenable
An object that maintains a list of listeners.
ListenableBuilder
A general-purpose widget for building a widget subtree when a Listenable changes.
Listener
A widget that calls callbacks in response to common pointer events.
ListInsertChange<T>
A list change that inserts an item.
ListItemPickerLayout
A list-based layout for item pickers.
ListListenable<T>
A list that can be listened to for changes.
ListNotifier<T>
A list that can be listened to for changes and notifies listeners when the list changes.
ListRemoveChange<T>
A list change that removes an item.
ListSwapChange<T>
A list change that swaps two items.
ListView
A scrollable list of widgets arranged linearly.
ListWheelChildBuilderDelegate
A delegate that supplies children for ListWheelScrollView using a builder callback.
ListWheelChildDelegate
A delegate that supplies children for ListWheelScrollView.
ListWheelChildListDelegate
A delegate that supplies children for ListWheelScrollView using an explicit list.
ListWheelChildLoopingListDelegate
A delegate that supplies infinite children for ListWheelScrollView by looping an explicit list.
ListWheelElement
Element that supports building children lazily for ListWheelViewport.
ListWheelScrollView
A box in which children on a wheel can be scrolled.
ListWheelViewport
A viewport showing a subset of children on a wheel.
LiveTextInputStatusNotifier
A ValueNotifier whose value indicates whether the current device supports the Live Text (OCR) function.
Locale
An identifier used to select a user's language and formatting preferences.
LocalHistoryEntry
An entry in the history of a LocalHistoryRoute.
Localizations
Defines the Locale for its child and the localized resources that the child depends on.
LocalizationsDelegate<T>
A factory for a set of localized resources of type T, to be loaded by a Localizations widget.
LocalizationsResolver
A helper class used to manage localization resolution.
LocalKey
A key that is not a GlobalKey.
LogicalKeySet
A set of LogicalKeyboardKeys that can be used as the keys in a map.
LongPressDraggable<T extends Object>
Makes its child draggable starting from long press.
LongPressEndDetails
Details for callbacks that use GestureLongPressEndCallback.
LongPressMoveUpdateDetails
Details for callbacks that use GestureLongPressMoveUpdateCallback.
LongPressStartDetails
Details for callbacks that use GestureLongPressStartCallback.
LookupBoundary
A lookup boundary controls what entities are visible to descendants of the boundary via the static lookup methods provided by the boundary.
LucideIcons
A collection of Lucide icons as Flutter IconData constants.
MagnifierController
A controller for a magnifier.
MagnifierDecoration
The decorations to put around the loupe in a RawMagnifier.
MagnifierInfo
A data class that contains the geometry information of text layouts and selection gestures, used to position magnifiers.
MapChangeDetails<K, V>
A map change details containing the added and removed entries.
MapListenable<K, V>
A map that can be listened to for changes.
MapNotifier<K, V>
A map that can be listened to for changes and notifies listeners when the map changes.
MappedValueNotifier<T, R>
A ValueListenable that maps the value of another ValueListenable.
MaskFilter
A mask filter to apply to shapes as they are painted. A mask filter is a function that takes a bitmap of color pixels, and returns another bitmap of color pixels.
MaterialPage<T>
A page that creates a material style PageRoute.
MaterialPageRoute<T>
A modal route that replaces the entire screen with a platform-adaptive transition.
Matrix4
4D Matrix. Values are stored in column major order.
Matrix4Tween
An interpolation between two Matrix4s.
MatrixTransition
Animates the Matrix4 of a transformed widget.
MatrixUtils
Utility functions for working with matrices.
MaxColumnWidth
Sizes the column such that it is the size that is the maximum of two column width specifications.
MaxGap
A widget that takes, at most, an amount of space in a Row, Column, or Flex widget.
MaxValidator<T extends num>
A validator that checks if a numeric value does not exceed a maximum threshold.
MediaQuery
Establishes a subtree in which media queries resolve to the given data.
MediaQueryData
Information about a piece of media (e.g., a window).
MediaQueryVisibility
A widget that conditionally displays children based on media query constraints.
MediaQueryVisibilityTheme
Theme configuration for MediaQueryVisibility.
MemoryImage
Decodes the given Uint8List buffer as an image, associating it with the given scale.
A horizontal menubar widget for displaying application menus and menu items.
Theme configuration for menubar button styling.
State class for Menubar widget.
Theme configuration for Menubar appearance and layout.
Clickable button menu item with optional submenu support.
Theme configuration for menu button styling.
Checkbox menu item with checked/unchecked state.
A controller used to manage a menu created by a subclass of RawMenuAnchor, such as MenuAnchor, MenuBar, SubmenuButton.
Data container for individual menu item state.
Visual divider between menu items.
Spacing gap between menu items.
Container widget for organizing menu items into a group.
Data class containing menu group state and configuration.
Abstract base class for menu item widgets.
Non-interactive label menu item.
Overlay handler specialized for menu popover display.
A styled container widget for displaying popup menus.
A theme for MenuPopup.
Individual radio button item within a MenuRadioGroup.
Radio button group container for menu items.
Displays a keyboard shortcut in a menu.
Styling options for menu widgets such as MenuGroup and MenuButton.
MergeSemantics
A widget that merges the semantics of its descendants.
MetaData
Holds opaque meta data in the render tree.
MinColumnWidth
Sizes the column such that it is the size that is the minimum of two column width specifications.
MinValidator<T extends num>
A validator that checks if a numeric value meets a minimum threshold.
MobileEditableTextContextMenu
Context menu for editable text fields on mobile platforms.
ModalBackdrop
A visual backdrop widget that creates modal-style overlays.
ModalBackdropTheme
Theme configuration for modal backdrop appearance and behavior.
ModalBarrier
A widget that prevents the user from interacting with widgets behind itself.
ModalContainer
A container widget that provides consistent styling for modal content.
ModalRoute<T>
A route that blocks interaction with previous routes.
Model<T>
A widget that provides the model to its descendants.
ModelBoundary<T>
A widget that stops the property of the given type from being passed to its descendants.
ModelBuilder<T>
A widget that uses the model to build a widget.
ModelKey<T>
A ModelKey that holds the data key and provides methods to find and change the data.
ModelListenable<T>
A widget that provides the model to its descendants and listens to the data changes. The data is refreshed when the ValueListenable changes. The model is read-only.
ModelNotifier<T>
A widget that provides the model to its descendants and listens to the data changes. The data is refreshed when the ValueNotifier changes.
MonthCalendar
A calendar widget that displays months in a year grid.
MoreDots
A widget that displays multiple dots, commonly used for loading indicators or menus.
MouseCursor
An interface for mouse cursor definitions.
MouseRegion
A widget that tracks the movement of mice.
MultiCalendarValue
Calendar value representing multiple selected dates.
MultiChildLayoutDelegate
A delegate that controls the layout of multiple children.
MultiChildRenderObjectElement
An Element that uses a MultiChildRenderObjectWidget as its configuration.
MultiChildRenderObjectWidget
A superclass for RenderObjectWidgets that configure RenderObject subclasses that have a single list of children. (This superclass only provides the storage for that child list, it doesn't actually provide the updating logic.)
MultiData
A widget that provides multiple data to its descendants.
MultiDataItem
An internal interface that provides dataType and wrap method.
MultiFrameImageStreamCompleter
Manages the decoding and scheduling of image frames.
MultiModel
A widget that provides multiple models to its descendants.
MultipleAnswer<T>
A widget for multiple-selection choice scenarios.
MultipleAnswerController<T>
A controller for managing ControlledMultipleAnswer selections programmatically.
MultipleChoice<T>
A widget for single-selection choice scenarios.
MultipleChoiceController<T>
A controller for managing ControlledMultipleChoice selection programmatically.
MultipleChoiceTheme
Theme data for MultipleChoice and MultipleAnswer.
MultiSelect<T>
A customizable dropdown selection widget for multi-value selection.
MultiSelectableSelectionContainerDelegate
A delegate that handles events and updates for multiple Selectable children.
MultiSelectChip
Chip widget designed for multi-select contexts with automatic removal functionality.
MultiSelectController<T>
Controller for managing ControlledMultiSelect state programmatically.
MutableNotifier<T>
A notifier class that allows mutable updates and notifies listeners of changes.
MutedButtonTheme
Theme configuration for muted button styling.
Intent for navigating through autocomplete suggestions via keyboard.
A flexible navigation container widget for organizing navigation items.
Base class for navigation bar items.
Theme data for customizing NavigationBar widget appearance.
Non-selectable navigation button for actions.
Data class tracking navigation child position and selection state.
Data class containing navigation control configuration and state.
Visual divider between navigation items.
Spacing gap between navigation items.
Selectable navigation item with selection state management.
Non-interactive label widget for navigation sections.
A horizontal navigation menu with dropdown content support.
A content item displayed within a navigation menu popover.
A grid layout container for organizing navigation menu content items.
An individual menu item within a NavigationMenu.
State class for NavigationMenuItem widget.
State class for NavigationMenu managing menu interactions and timing.
Theme configuration for NavigationMenu components.
A notification that a change in navigation has taken place.
Internal widget that applies spacing between navigation items.
A vertical or horizontal navigation rail component for sidebar navigation.
A full-width navigation sidebar component for comprehensive navigation.
NavigationToolbar is a layout helper to position 3 widgets or groups of widgets along a horizontal axis that's sensible for an application's navigation bar such as in Material Design and in iOS.
Custom widget wrapper for navigation items.
A widget that manages a set of child widgets with a stack discipline.
An interface for observing the behavior of a Navigator.
Enables the handling of system back gestures.
The state for a Navigator widget.
NestedScrollView
A scrolling view inside of which can be nested other scrolling views, with their scroll positions being intrinsically linked.
NestedScrollViewState
The State for a NestedScrollView.
NestedScrollViewViewport
The Viewport variant used by NestedScrollView.
NetworkImage
Fetches the given URL from the network, associating it with the given scale.
NeverScrollableScrollPhysics
Scroll physics that does not allow the user to scroll.
NextFocusAction
An Action that moves the focus to the next focusable node in the focus order.
NextFocusIntent
An Intent bound to NextFocusAction, which moves the focus to the next focusable node in the focus traversal order.
NextItemIntent
Intent for navigating to the next item in a radio group.
NextMenuFocusIntent
Intent for moving focus to next/previous menu item.
NonNullValidator<T>
A validator that ensures a value is not null.
NotchedShape
A shape with a notch in its outline.
NotEmptyValidator
A validator that ensures a string is not null or empty.
Notification
A notification that can bubble up the widget tree.
NotificationListener<T extends Notification>
A widget that listens for Notifications bubbling up the tree.
NotValidator<T>
A validator that negates the result of another validator.
NullableDate
Represents a date with nullable components (year, month, day).
NullableTimeOfDay
Represents a time with nullable components (hour, minute, second).
NumberTicker
A widget that smoothly animates between numeric values with customizable display.
NumberTickerTheme
Theme configuration for NumberTicker widgets.
NumericFocusOrder
Can be given to a FocusTraversalOrder widget to assign a numerical order to a widget subtree that is using a OrderedTraversalPolicy to define the order in which widgets should be traversed with the keyboard.
ObjectFormField<T>
A form field widget for complex object values.
ObjectFormFieldDialogResult<T>
Holds the result value from an object form field dialog.
ObjectFormFieldState<T>
State class for ObjectFormField managing form value and user interactions.
ObjectFormHandler<T>
Abstract interface for controlling an object form field's state.
ObjectKey
A key that takes its identity from the object used as its value.
Offset
An immutable 2D floating-point offset.
Offstage
A widget that lays the child out as if it was in the tree, but without painting anything, without making the child available for hit testing, and without taking any room in the parent.
OneFrameImageStreamCompleter
Manages the loading of dart:ui.Image objects for static ImageStreams (those with only one frame).
Opacity
A widget that makes its child partially transparent.
OpenSubMenuIntent
Intent for opening a submenu via keyboard action.
OrderedTraversalPolicy
A FocusTraversalPolicy that orders nodes by an explicit order that resides in the nearest FocusTraversalOrder widget ancestor.
OrientationBuilder
Builds a widget tree that can depend on the parent widget's orientation (distinct from the device orientation).
OrValidator<T>
A validator that combines multiple validators with OR logic.
OTPSeparator
A visual separator for OTP input groups.
OutlineBadge
An outline-styled badge for displaying labels, counts, or status indicators.
OutlineButton
Convenience widget for creating an outline button.
OutlineButtonTheme
Theme configuration for outline button styling.
OutlinedBorder
A ShapeBorder that draws an outline with the width and color specified by side.
OutlinedContainer
A container widget with customizable border and surface effects.
OutlinedContainerTheme
Theme configuration for OutlinedContainer appearance.
OvalBorder
A border that fits an elliptical shape.
OverflowBar
A widget that lays out its children in a row unless they "overflow" the available horizontal space, in which case it lays them out in a column instead.
OverflowBox
A widget that imposes different constraints on its child than it gets from its parent, possibly allowing the child to overflow the parent.
OverflowMarquee
Automatically scrolling widget for content that overflows its container.
OverflowMarqueeTheme
Theme configuration for OverflowMarquee scrolling text displays.
Overlay
A stack of entries that can be managed independently.
OverlayBarrier
Configuration for overlay modal barriers.
OverlayCompleter<T>
Abstract interface for overlay operation completion tracking.
OverlayEntry
A place in an Overlay that can contain a widget.
OverlayHandler
Abstract handler for managing overlay presentation and lifecycle.
OverlayManager
Abstract manager for overlay operations.
OverlayManagerAsTooltipOverlayHandler
Overlay handler that delegates tooltip display to an OverlayManager.
OverlayManagerLayer
Layer widget managing different overlay handlers for the application.
OverlayPopoverEntry<T>
Implementation of OverlayCompleter for popover overlays.
OverlayPortal
A widget that renders its overlay child on an Overlay.
OverlayPortalController
A class to show, hide and bring to top an OverlayPortal's overlay child in the target Overlay.
OverlayRoute<T>
A route that displays widgets in the Navigator's Overlay.
OverlayState
The current state of an Overlay.
OverscrollIndicatorNotification
A notification that either a GlowingOverscrollIndicator or a StretchingOverscrollIndicator will start showing an overscroll indication.
OverscrollNotification
A notification that a Scrollable widget has not changed its scroll position because the change would have caused its scroll position to go outside of its scroll bounds.
Padding
A widget that insets its child by the given padding.
Page<T>
Describes the configuration of a Route.
PageController
A controller for PageView.
PageMetrics
Metrics for a PageView.
PageRoute<T>
A modal route that replaces the entire screen.
PageRouteBuilder<T>
A utility class for defining one-off page routes in terms of callbacks.
PageScrollPhysics
Scroll physics used by a PageView.
PageStorage
Establish a subtree in which widgets can opt into persisting states after being destroyed.
PageStorageBucket
A storage bucket associated with a page in an app.
PageStorageKey<T>
A Key that can be used to persist the widget state in storage after the destruction and will be restored when recreated.
PageTransitionsBuilder
Defines a page transition animation for a PageRoute.
PageView
A scrollable list that works page by page.
Pagination
A navigation widget for paginated content with comprehensive page controls.
PaginationTheme
Theme data for customizing Pagination widget appearance.
Paint
A description of the style to use when drawing on a Canvas.
PaintingContext
A place to paint.
PaintOrder
A widget that sets the paint order of a non-flexible child in a Row, Column, or Flex.
ParametricCurve<T>
An abstract class providing an interface for evaluating a parametric curve.
ParentDataElement<T extends ParentData>
An Element that uses a ParentDataWidget as its configuration.
ParentDataWidget<T extends ParentData>
Base class for widgets that hook ParentData information to children of RenderObjectWidgets.
PasteTextIntent
An Intent to paste text from Clipboard to the field.
Path
A complex, one-dimensional subset of a plane.
PerformanceOverlay
Displays performance statistics.
PhoneInput
A specialized input widget for entering international phone numbers.
PhoneInputTheme
Theme data for PhoneInput.
PhoneNumber
Represents a phone number with country code information.
PhysicalModel
A widget representing a physical layer that clips its children to a shape.
PhysicalShape
A widget representing a physical layer that clips its children to a path.
PinnedHeaderSliver
A sliver that keeps its Widget child at the top of the a CustomScrollView.
Placeholder
A widget that draws a box that represents where other widgets will one day be added.
PlaceholderDimensions
Holds the Size and baseline required to represent the dimensions of a placeholder in text.
PlaceholderSpan
An immutable placeholder that is embedded inline within text.
PlainChatBubbleType
A simple ChatBubbleType with no tail.
PlatformMenu
A class for representing menu items that have child submenus.
PlatformMenuBar
A menu bar that uses the platform's native APIs to construct and render a menu described by a PlatformMenu/PlatformMenuItem hierarchy.
PlatformMenuDelegate
An abstract delegate class that can be used to set WidgetsBinding.platformMenuDelegate to provide for managing platform menus.
PlatformMenuItem
A class for PlatformMenuItems that do not have submenus (as a PlatformMenu would), but can be selected.
PlatformMenuItemGroup
A class that groups other menu items into sections delineated by dividers.
PlatformProvidedMenuItem
A class that represents a menu item that is provided by the platform.
PlatformRouteInformationProvider
The route information provider that propagates the platform route information changes.
PlatformSelectableRegionContextMenu
A widget that provides native selection context menu for its child subtree.
PlatformViewCreationParams
The parameters used to create a PlatformViewController.
Links a platform view with the Flutter framework.
PlatformViewSurface
Integrates a platform view with Flutter's compositor, touch, and semantics subsystems.
PointerCancelEvent
The input from the pointer is no longer directed towards this receiver.
PointerData
Data about the current pointer position.
PointerDownEvent
The pointer has made contact with the device.
PointerEvent
Base class for touch, stylus, or mouse events.
PointerMoveEvent
The pointer has moved with respect to the device while the pointer is in contact with the device.
PointerUpEvent
The pointer has stopped making contact with the device.
PopEntry<T>
Allows listening to and preventing pops.
Popover
A comprehensive popover overlay system for displaying contextual content.
PopoverController
A controller for managing multiple popovers and their lifecycle.
PopoverLayout
Custom layout widget for positioning popover content.
PopoverLayoutRender
Custom render object for popover layout positioning.
PopoverOverlayHandler
Handles overlay presentation for popover components.
PopoverOverlayWidget
Internal widget for rendering popover overlays.
PopoverOverlayWidgetState
State class for PopoverOverlayWidget managing popover positioning and lifecycle.
PopScope<T>
Manages back navigation gestures.
PopupRoute<T>
A modal route that overlays a widget over the current route.
Positioned
A widget that controls where a child of a Stack is positioned.
PositionedDirectional
A widget that controls where a child of a Stack is positioned without committing to a specific TextDirection.
PositionedTransition
Animated version of Positioned which takes a specific Animation<RelativeRect> to transition the child's position from a start position to an end position over the lifetime of the animation.
PredictiveBackRoute
An interface for a route that supports predictive back gestures.
PreferredSize
A widget with a preferred size.
PreferredSizeWidget
An interface for widgets that can return the size this widget would prefer if it were otherwise unconstrained.
PreviousFocusAction
An Action that moves the focus to the previous focusable node in the focus order.
PreviousFocusIntent
An Intent bound to PreviousFocusAction, which moves the focus to the previous focusable node in the focus traversal order.
PreviousItemIntent
Intent for navigating to the previous item in a radio group.
PrimaryBadge
A primary style badge widget for highlighting important information or status.
PrimaryButton
Convenience widget for creating a primary button.
PrimaryButtonTheme
Theme configuration for primary button styling.
PrimaryScrollController
Associates a ScrollController with a subtree.
PrioritizedAction
An Action that iterates through a list of Intents, invoking the first that is enabled.
PrioritizedIntents
An Intent that evaluates a series of specified orderedIntents for execution.
Progress
A linear progress indicator that visually represents task completion.
ProgressTheme
Theme configuration for Progress components.
ProxyAnimation
An animation that is a proxy for another animation.
ProxyElement
An Element that uses a ProxyWidget as its configuration.
ProxyWidget
A widget that has a child widget provided to it, instead of building a new widget.
RadialColorGradient
A radial gradient for color values.
RadialGradient
A 2D radial gradient.
Radio
A radio button widget that displays a circular selection indicator.
RadioCard<T>
A card-style radio button with custom content.
RadioCardTheme
Theme data for the RadioCard widget.
RadioGroup<T>
A group of radio buttons for single-selection input.
RadioGroupController<T>
Controller for managing ControlledRadioGroup state programmatically.
RadioGroupData<T>
Data class holding radio group state information.
RadioGroupRegistry<T>
An abstract interface for registering a group of radios.
RadioGroupState<T>
State class for RadioGroup with form integration.
RadioItem<T>
A radio button item with optional leading and trailing widgets.
RadioTheme
Theme data for customizing Radio widget appearance.
Radius
A radius for either circular or elliptical shapes.
RadixIcons
A collection of Radix Icons for Flutter applications.
RangeCalendarValue
Calendar value representing a date range selection.
RangeMaintainingScrollPhysics
Scroll physics that attempt to keep the scroll position in range when the contents change dimensions suddenly.
RangeValidator<T extends num>
A validator that checks if a numeric value falls within a specified range.
RawAutocomplete<T extends Object>
A widget for helping the user make a selection by entering some text and choosing from among a list of options.
RawCell
Low-level widget for positioning cells in table layouts.
RawDialogRoute<T>
A general dialog route which allows for customization of the dialog popup.
RawGestureDetector
A widget that detects gestures described by the given gesture factories.
RawGestureDetectorState
State for a RawGestureDetector.
RawImage
A widget that displays a dart:ui.Image directly.
RawKeyboardListener
A widget that calls a callback whenever the user presses or releases a key on a keyboard.
RawKeyEvent
Defines the interface for raw key events.
RawMagnifier
A common base class for magnifiers.
RawMenuAnchor
A widget that wraps a child and anchors a floating menu.
RawMenuAnchorGroup
Creates a menu anchor that is always visible and is not displayed in an OverlayPortal.
RawMenuOverlayInfo
Anchor and menu information passed to RawMenuAnchor.
RawRadio<T>
A Radio button that provides basic radio functionalities.
RawScrollbar
An extendable base class for building scrollbars that fade in and out.
RawScrollbarState<T extends RawScrollbar>
The state for a RawScrollbar widget, also shared by the Scrollbar and CupertinoScrollbar widgets.
RawSortableItemPositioned
Widget that positions a sortable item at a specific offset.
RawSortableList<T>
A low-level sortable list widget with customizable rendering.
RawSortableParentData
Parent data for sortable items within a RawSortableStack.
RawSortableStack
RawSortableStack prevents the stacking children from going outside the bounds of this widget. A raw sortable stack widget for managing layered sortable items.
RawTableLayout
Low-level table layout widget.
RawView
The lower level workhorse widget for View that bootstraps a render tree for a view.
ReadingOrderTraversalPolicy
Traverses the focus order in "reading order".
RecentColorsScope
Provides color history storage in the widget tree.
RecentColorsScopeState
State class for RecentColorsScope implementing color history storage.
Rect
An immutable, 2D, axis-aligned, floating-point rectangle whose coordinates are relative to a given origin.
RectTween
An interpolation between two rectangles.
RedoTextIntent
An Intent that represents a user interaction that attempts to go back to the previous editing state.
RefreshTrigger
A widget that provides pull-to-refresh functionality.
RefreshTriggerPhysics
Custom scroll physics for refresh trigger behavior.
RefreshTriggerStage
Immutable snapshot of refresh trigger state.
RefreshTriggerState
State for the refresh trigger widget.
RefreshTriggerTheme
Theme configuration for RefreshTrigger.
RegexValidator
A validator that checks if a string matches a regular expression pattern.
RelativeKeyframe<T>
A keyframe that animates from the previous keyframe's end value to a target.
RelativePositionedTransition
Animated version of Positioned which transitions the child's position based on the value of rect relative to a bounding box with the specified size.
RelativeRect
An immutable 2D, axis-aligned, floating-point rectangle whose coordinates are given relative to another rectangle's edges, known as the container. Since the dimensions of the rectangle are relative to those of the container, this class has no width and height members. To determine the width or height of the rectangle, convert it to a Rect using toRect() (passing the container's own Rect), and then examine that object.
RelativeRectTween
An interpolation between two relative rects.
RenderBox
A render object in a 2D Cartesian coordinate system.
RenderChatConstrainedBox
A render object that constrains the width of its child and aligns it.
RenderFlex
A patched version of rendering.RenderFlex that supports custom paint ordering.
RenderNestedScrollViewViewport
The RenderViewport variant used by NestedScrollView.
RenderObject
An object in the render tree.
RenderObjectElement
An Element that uses a RenderObjectWidget as its configuration.
RenderObjectToWidgetAdapter<T extends RenderObject>
A bridge from a RenderObject to an Element tree.
RenderObjectToWidgetElement<T extends RenderObject>
The root of an element tree that is hosted by a RenderObject.
RenderObjectWidget
RenderObjectWidgets provide the configuration for RenderObjectElements, which wrap RenderObjects, which provide the actual rendering of the application.
RenderRawSortableStack
Render object for managing sortable item stacking and positioning.
RenderScrollableClientViewport
Render object for ScrollableClientViewport.
RenderSemanticsGestureHandler
Listens for the specified gestures from the semantics server (e.g. an accessibility tool).
RenderSliverOverlapAbsorber
A sliver that wraps another, forcing its layout extent to be treated as overlap.
RenderSliverOverlapInjector
A sliver that has a sliver geometry based on the values stored in a SliverOverlapAbsorberHandle.
RenderStack
A patched version of rendering.RenderStack that supports custom paint ordering.
RenderTableLayout
Custom render object for laying out table cells with advanced features.
RenderTapRegion
A render object that defines a region that can detect taps inside or outside of itself and any group of regions it belongs to, without participating in the gesture disambiguation system.
RenderTapRegionSurface
A render object that provides notification of a tap inside or outside of a set of registered regions, without participating in the gesture disambiguation system (other than to consume tap down events if TapRegion.consumeOutsideTaps is true).
RenderTreeRootElement
A RenderObjectElement used to manage the root of a render tree.
RenderTwoDimensionalViewport
A base class for viewing render objects that scroll in two dimensions.
ReorderableDelayedDragStartListener
A wrapper widget that will recognize the start of a drag operation by looking for a long press event. Once it is recognized, it will start a drag operation on the wrapped item in the reorderable list.
ReorderableDragStartListener
A wrapper widget that will recognize the start of a drag on the wrapped widget by a PointerDownEvent, and immediately initiate dragging the wrapped item to a new location in a reorderable list.
ReorderableList
A scrolling container that allows the user to interactively reorder the list items.
ReorderableListState
The state for a list that allows the user to interactively reorder the list items.
RepaintBoundary
A widget that creates a separate display list for its child.
RepeatedAnimationBuilder<T>
A widget that builds an animation repeatedly using a builder function.
ReplaceResult<T>
A validation result that indicates a value should be replaced.
ReplaceTextIntent
An Intent that represents a user interaction that attempts to modify the current TextEditingValue in an input field.
RequestFocusAction
An Action that requests the focus on the node it is given in its RequestFocusIntent.
RequestFocusIntent
An intent for use with the RequestFocusAction, which supplies the FocusNode that should be focused.
ResizableData
Data class providing information about a resizable panel's orientation.
ResizableDraggerTheme
Theme for HorizontalResizableDragger and VerticalResizableDragger.
ResizablePane
A resizable panel that can be part of a ResizablePanel layout.
ResizablePanel
A container widget that creates resizable panels separated by interactive dividers.
ResizableTable
A table widget with resizable columns and rows.
ResizableTableController
Controller for managing resizable table column and row dimensions.
ResizableTableTheme
Theme configuration for resizable tables.
ResizeImage
Instructs Flutter to decode the image at the specified dimensions instead of at its native size.
ResizeImageKey
Key used internally by ResizeImage.
RestorableBool
A RestorableProperty that knows how to store and restore a bool.
RestorableBoolN
A RestorableProperty that knows how to store and restore a bool that is nullable.
RestorableChangeNotifier<T extends ChangeNotifier>
A base class for creating a RestorableProperty that stores and restores a ChangeNotifier.
RestorableDateTime
A RestorableValue that knows how to save and restore DateTime.
RestorableDateTimeN
A RestorableValue that knows how to save and restore DateTime that is nullable.
RestorableDouble
A RestorableProperty that knows how to store and restore a double.
RestorableDoubleN
A RestorableProperty that knows how to store and restore a double that is nullable.
RestorableEnum<T extends Enum>
A RestorableProperty that knows how to store and restore an Enum type.
RestorableEnumN<T extends Enum>
A RestorableProperty that knows how to store and restore a nullable Enum type.
RestorableInt
A RestorableProperty that knows how to store and restore an int.
RestorableIntN
A RestorableProperty that knows how to store and restore an int that is nullable.
RestorableListenable<T extends Listenable>
A base class for creating a RestorableProperty that stores and restores a Listenable.
RestorableNum<T extends num>
A RestorableProperty that knows how to store and restore a num.
RestorableNumN<T extends num?>
A RestorableProperty that knows how to store and restore a num that is nullable.
RestorableProperty<T>
Manages an object of type T, whose value a State object wants to have restored during state restoration.
RestorableRouteFuture<T>
Gives access to a Route object and its return value that was added to a navigator via one of its "restorable" API methods.
RestorableString
A RestorableProperty that knows how to store and restore a String.
RestorableStringN
A RestorableProperty that knows how to store and restore a String that is nullable.
RestorableTextEditingController
A RestorableProperty that knows how to store and restore a TextEditingController.
RestorableValue<T>
A RestorableProperty that makes the wrapped value accessible to the owning State object via the value getter and setter.
RestorationBucket
A RestorationBucket holds pieces of the restoration data that a part of the application needs to restore its state.
RestorationScope
Creates a new scope for restoration IDs used by descendant widgets to claim RestorationBuckets.
ReverseAnimation
An animation that is the reverse of another animation.
ReverseTween<T extends Object?>
A Tween that evaluates its parent in reverse.
RichText
A paragraph of rich text.
RootBackButtonDispatcher
The default implementation of back button dispatcher for the root router.
RootElement
The root of the element tree.
RootRenderObjectElement
Deprecated. Unused in the framework and will be removed in a future version of Flutter.
RootRestorationScope
Inserts a child bucket of RestorationManager.rootBucket into the widget tree and makes it available to descendants via RestorationScope.of.
RootWidget
A widget for the root of the widget tree.
RotatedBox
A widget that rotates its child by a integral number of quarter turns.
RotationTransition
Animates the rotation of a widget.
RoundedRectangleBorder
A rectangular border with rounded corners.
RoundedSuperellipseBorder
A rectangular border with rounded corners following the shape of an RSuperellipse.
Route<T>
An abstraction for an entry managed by a Navigator.
RouteAware
An interface for objects that are aware of their current Route.
RouteInformation
A piece of routing information.
RouteInformationParser<T>
A delegate that is used by the Router widget to parse a route information into a configuration of type T.
RouteInformationProvider
A route information provider that provides route information for the Router widget
RouteObserver<R extends Route>
A Navigator observer that notifies RouteAwares of changes to the state of their Route.
Router<T>
The dispatcher for opening and closing pages of an application.
RouterConfig<T>
A convenient bundle to configure a Router widget.
RouterDelegate<T>
A delegate that is used by the Router widget to build and configure a navigating widget.
RouteSettings
Data that might be useful in constructing a Route.
RouteTransitionRecord
A Route wrapper interface that can be staged for TransitionDelegate to decide how its underlying Route should transition on or off screen.
Row
A widget that displays its children in a horizontal array.
RRect
An immutable rounded rectangle with the custom radii for all four corners.
RSTransform
A transform consisting of a translation, a rotation, and a uniform scale.
RSuperellipse
An immutable rounded superellipse.
SafeArea
A widget that insets its child with sufficient padding to avoid intrusions by the operating system.
SafeLerp<T>
A utility for safely interpolating between values of type T.
SafePasswordValidator
A validator for ensuring password strength and security requirements.
SawTooth
A sawtooth curve that repeats a given number of times over the unit interval.
Scaffold
A fundamental layout widget that provides the basic structure for screen layouts.
ScaffoldBarData
Data class for identifying scaffold bar (header/footer) positioning.
ScaffoldBoxConstraints
Box constraints with additional header and footer height information.
ScaffoldFooterPadding
Widget that applies footer-aware padding to its child.
ScaffoldHeaderPadding
Widget that applies header-aware padding to its child.
ScaffoldPaddingStorage
Storage for scaffold padding values.
ScaffoldState
State class for Scaffold widget.
ScaffoldTheme
Theme data for customizing Scaffold widget appearance.
ScaleEndDetails
Details for GestureScaleEndCallback.
ScaleStartDetails
Details for GestureScaleStartCallback.
ScaleTransition
Animates the scale of a transformed widget.
ScaleUpdateDetails
Details for GestureScaleUpdateCallback.
Scrollable
A widget that manages scrolling in one dimension and informs the Viewport through which the content is viewed.
ScrollableClient
A customizable scrollable widget with two-axis scrolling support.
ScrollableClientTheme
Theme data for ScrollableClient.
ScrollableClientViewport
Viewport widget for ScrollableClient with two-dimensional scrolling.
ScrollableDetails
Describes the aspects of a Scrollable widget to inform inherited widgets like ScrollBehavior for decorating or enumerate the properties of combined Scrollables, such as TwoDimensionalScrollable.
ScrollableSortableLayer
A sortable layer that provides automatic scrolling during drag operations.
ScrollableState
State object for a Scrollable widget.
ScrollAction
An Action that scrolls the relevant Scrollable by the amount configured in the ScrollIntent given to it.
ScrollActivity
Base class for scrolling activities like dragging and flinging.
ScrollActivityDelegate
A backend for a ScrollActivity.
ScrollAwareImageProvider<T extends Object>
An ImageProvider that makes use of Scrollable.recommendDeferredLoadingForContext to avoid loading images when rapidly scrolling.
Scrollbar
A customizable scrollbar widget for shadcn_flutter.
ScrollbarPainter
Paints a scrollbar's track and thumb.
ScrollbarTheme
Theme configuration for Scrollbar.
ScrollBehavior
Describes how Scrollable widgets should behave.
ScrollConfiguration
Controls how Scrollable widgets behave in a subtree.
ScrollContext
An interface that Scrollable widgets implement in order to use ScrollPosition.
ScrollController
Controls a scrollable widget.
ScrollDragController
Scrolls a scroll view as the user drags their finger across the screen.
ScrollEndNotification
A notification that a Scrollable widget has stopped scrolling.
ScrollHoldController
Interface for holding a Scrollable stationary.
ScrollIncrementDetails
A details object that describes the type of scroll increment being requested of a ScrollIncrementCalculator function, as well as the current metrics for the scrollable.
ScrollIntent
An Intent that represents scrolling the nearest scrollable by an amount appropriate for the type specified.
ScrollMetricsNotification
A notification that a scrollable widget's ScrollMetrics have changed.
ScrollNotification
A Notification related to scrolling.
ScrollNotificationObserver
Notifies its listeners when a descendant scrolls.
ScrollNotificationObserverState
The listener list state for a ScrollNotificationObserver returned by ScrollNotificationObserver.of.
ScrollPhysics
Determines the physics of a Scrollable widget.
ScrollPosition
Determines which portion of the content is visible in a scroll view.
ScrollPositionWithSingleContext
A scroll position that manages scroll activities for a single ScrollContext.
ScrollSpringSimulation
A SpringSimulation where the value of x is guaranteed to have exactly the end value when the simulation isDone.
ScrollStartNotification
A notification that a Scrollable widget has started scrolling.
ScrollToDocumentBoundaryIntent
Scrolls to the beginning or end of the document depending on the forward parameter.
ScrollUpdateNotification
A notification that a Scrollable widget has changed its scroll position.
ScrollView
A widget that combines a Scrollable and a Viewport to create an interactive scrolling pane of content in one dimension.
ScrollViewInterceptor
Widget that intercepts scroll events to simulate middle-button drag scrolling.
SecondaryBadge
A secondary-styled badge for displaying labels, counts, or status indicators.
SecondaryButton
Convenience widget for creating a secondary button.
SecondaryButtonTheme
Theme configuration for secondary button styling.
Select<T>
A customizable dropdown selection widget for single-value selection.
SelectableRegion
A widget that introduces an area for user selections.
SelectableRegionSelectionStatusScope
Notifies its listeners when the selection under a SelectableRegion or SelectionArea is being changed or finalized.
SelectableRegionState
State for a SelectableRegion.
SelectableText
A text widget that supports text selection by users.
SelectableTextTheme
Theme data for SelectableText to customize cursor and selection behavior.
SelectAction
An action that selects the currently focused control.
SelectAllTextIntent
An Intent to select everything in the field.
SelectController<T>
Controller for managing ControlledSelect state programmatically.
SelectData
Data class holding select dropdown state and configuration.
SelectedButton
A button that changes style based on its selected state.
SelectedButtonState
State class for SelectedButton managing selection and interaction states.
SelectGroup
A container for grouping related select items with optional headers and footers.
SelectIntent
An Intent that selects the currently focused control.
SelectionContainer
A container that handles SelectionEvents for the Selectables in the subtree.
SelectionContainerDelegate
A delegate to handle SelectionEvents for a SelectionContainer.
SelectionDetails
A read-only interface for accessing the details of a selection under a SelectionListener.
SelectionListener
A SelectionContainer that allows the user to access the SelectionDetails and listen to selection changes for the child subtree it wraps under a SelectionArea or SelectableRegion.
SelectionListenerNotifier
Notifies listeners when the selection under a SelectionListener has been changed.
SelectionOverlay
An object that manages a pair of selection handles and a toolbar.
SelectionRegistrarScope
An inherited widget to host a SelectionRegistrar for the subtree.
SelectItem
Represents a selectable item in a dropdown menu.
SelectItemBuilder
A select item delegate that uses a builder function.
SelectItemButton<T>
A button widget representing a selectable item in a dropdown menu.
SelectItemDelegate
Abstract base class for building select item lists.
SelectItemList
A select item delegate that uses a static list of children.
SelectLabel
A label widget for grouping items in a select popup.
SelectPopup<T>
A popup widget for displaying selectable items in a dropdown.
SelectState<T>
State class for the Select widget managing selection and popup interactions.
SelectTheme
Theme data for customizing Select widget appearance and behavior.
SelectTreeNodeIntent
Intent to select a tree node.
Semantics
A widget that annotates the widget tree with a description of the meaning of the widgets.
SemanticsDebugger
A widget that visualizes the semantics for the child.
SemanticsGestureDelegate
A base class that describes what semantics notations a RawGestureDetector should add to the render object RenderSemanticsGestureHandler.
SensitiveContent
Widget to set the ContentSensitivity of content in the widget tree.
SensitiveContentHost
Host of the current content sensitivity for the widget tree that contains some number SensitiveContent widgets.
SeparatedFlex
A flex widget that adds separators between children.
SeparatedIterable<T>
An iterable that inserts a separator between elements of another iterable.
SeparatedIterator<T>
An iterator that yields elements with separators between them.
SetChangeDetails<T>
A set change details containing the added and removed elements.
SetListenable<T>
A set that can be listened to for changes.
SetNotifier<T>
A set notifier class that allows mutable updates and notifies listeners of changes.
ShadcnAnimatedTheme
An animated theme widget for shadcn_flutter.
ShadcnApp
The main application widget for shadcn_flutter.
ShadcnLayer
A layer widget that provides shadcn theme and infrastructure.
ShadcnLocalizations
Callers can lookup localized strings with an instance of ShadcnLocalizations returned by ShadcnLocalizations.of(context).
ShadcnMultiPreview
A MultiPreview that generates multiple ShadcnPreviews with different configurations.
ShadcnPointArcTween
A custom tween for animating points along an arc.
ShadcnPreview
A Preview that wraps the previewed widget in a ShadcnLayer.
ShadcnRectArcTween
A custom tween for animating rectangles along an arc.
ShadcnScrollBehavior
Default scroll behavior for shadcn_flutter applications.
ShadcnSkeletonizerConfigLayer
A configuration layer that provides Skeletonizer setup with theme integration.
ShadcnUI
A widget that provides text and icon styling for shadcn UI components.
Shader
Base class for objects such as Gradient and ImageShader which correspond to shaders as used by Paint.shader.
ShaderMask
A widget that applies a mask generated by a Shader to its child.
ShaderWarmUp
Interface for drawing an image to warm up Skia shader compilations.
Shadow
A single shadow.
ShapeBorder
Base class for shape outlines.
ShapeBorderClipper
A CustomClipper that clips to the outer path of a ShapeBorder.
ShapeDecoration
An immutable description of how to paint an arbitrary shape.
SharedAppData
Enables sharing key/value data with its child and all of the child's descendants.
SharpCornerChatBubbleType
A ChatBubbleType that makes one corner sharp instead of rounded.
SheetOverlayHandler
Overlay handler specialized for sheet-style overlays.
SheetSwiperHandler
Sheet-style swiper handler with minimal styling.
SheetWrapper
Wrapper widget for sheet overlays.
ShortcutActivator
An interface to define the keyboard key combination to trigger a shortcut.
ShortcutManager
A manager of keyboard shortcut bindings used by Shortcuts to handle key events.
ShortcutMapProperty
A DiagnosticsProperty which handles formatting a Map<LogicalKeySet, Intent> (the same type as the Shortcuts.shortcuts property) so that its diagnostic output is human-readable.
ShortcutRegistrar
A widget that holds a ShortcutRegistry which allows descendants to add, remove, or replace shortcuts.
ShortcutRegistry
A class used by ShortcutRegistrar that allows adding or removing shortcut bindings by descendants of the ShortcutRegistrar.
ShortcutRegistryEntry
A entry returned by ShortcutRegistry.addAll that allows the caller to identify the shortcuts they registered with the ShortcutRegistry through the ShortcutRegistrar.
Shortcuts
A widget that creates key bindings to specific actions for its descendants.
ShortcutSerialization
A class used by MenuSerializableShortcut to describe the shortcut for serialization to send to the platform for rendering a PlatformMenuBar.
ShrinkWrappingViewport
A widget that is bigger on the inside and shrink wraps its children in the main axis.
Simulation
The base class for all simulations.
SingleActivator
A shortcut key combination of a single key and modifiers.
SingleCalendarValue
Calendar value representing a single selected date.
SingleChartColorScheme
A chart color scheme that uses a single color for all chart elements.
SingleChildLayoutDelegate
A delegate for computing the layout of a render object with a single child.
SingleChildRenderObjectElement
An Element that uses a SingleChildRenderObjectWidget as its configuration.
SingleChildRenderObjectWidget
A superclass for RenderObjectWidgets that configure RenderObject subclasses that have a single child slot.
SingleChildScrollView
A box in which a single widget can be scrolled.
Size
Holds a 2D floating-point size.
SizeChangedLayoutNotification
Indicates that the size of one of the descendants of the object receiving this notification has changed, and that therefore any assumptions about that layout are no longer valid.
SizeChangedLayoutNotifier
A widget that automatically dispatches a SizeChangedLayoutNotification when the layout dimensions of its child change.
SizedBox
A box with a specified size.
SizedOverflowBox
A widget that is a specific size but passes its original constraints through to its child, which may then overflow.
SizeTransition
Animates its own size and clips and aligns its child.
SizeTween
An interpolation between two sizes.
SizeUnitLocale
Configuration for file size unit formatting.
SkeletonTheme
Theme configuration for skeleton loading effects.
Slider
A Material Design slider widget for selecting values or ranges.
SliderController
Reactive controller for managing slider state with value operations.
SliderTheme
Theme for Slider.
SliderValue
Represents a slider value, supporting both single and range configurations.
SlideTransition
Animates the position of a widget relative to its normal position.
SlidingCarouselTransition
A sliding carousel transition.
SliverAnimatedGrid
A SliverGrid that animates items when they are inserted or removed.
SliverAnimatedGridState
The state for a SliverAnimatedGrid that animates items when they are inserted or removed.
SliverAnimatedList
A SliverList that animates items when they are inserted or removed.
SliverAnimatedListState
The state for a SliverAnimatedList that animates items when they are inserted or removed.
SliverAnimatedOpacity
Animated version of SliverOpacity which automatically transitions the sliver child's opacity over a given duration whenever the given opacity changes.
SliverAppBar
A Material Design app bar that integrates with a CustomScrollView.
SliverChildBuilderDelegate
A delegate that supplies children for slivers using a builder callback.
SliverChildDelegate
A delegate that supplies children for slivers.
SliverChildListDelegate
A delegate that supplies children for slivers using an explicit list.
SliverConstrainedCrossAxis
A sliver that constrains the cross axis extent of its sliver child.
SliverCrossAxisExpanded
Set a flex factor for allocating space in the cross axis direction.
SliverCrossAxisGroup
A sliver that places multiple sliver children in a linear array along the cross axis.
SliverEnsureSemantics
A sliver that ensures its sliver child is included in the semantics tree.
SliverFadeTransition
Animates the opacity of a sliver widget.
SliverFillRemaining
A sliver that contains a single box child that fills the remaining space in the viewport.
SliverFillViewport
A sliver that contains multiple box children that each fills the viewport.
SliverFixedExtentList
A sliver that places multiple box children with the same main axis extent in a linear array.
SliverFloatingHeader
A sliver that shows its child when the user scrolls forward and hides it when the user scrolls backwards.
SliverGap
A sliver that takes a fixed amount of space.
SliverGrid
A sliver that places multiple box children in a two dimensional arrangement.
SliverGridDelegate
Controls the layout of tiles in a grid.
SliverGridDelegateWithFixedCrossAxisCount
Creates grid layouts with a fixed number of tiles in the cross axis.
SliverGridDelegateWithMaxCrossAxisExtent
Creates grid layouts with tiles that each have a maximum cross-axis extent.
SliverIgnorePointer
A sliver widget that is invisible during hit testing.
SliverLayoutBuilder
Builds a sliver widget tree that can depend on its own SliverConstraints.
SliverList
A sliver that places multiple box children in a linear array along the main axis.
SliverMainAxisGroup
A sliver that places multiple sliver children in a linear array along the main axis, one after another.
SliverMultiBoxAdaptorElement
An element that lazily builds children for a SliverMultiBoxAdaptorWidget.
SliverMultiBoxAdaptorWidget
A base class for slivers that have multiple box children.
SliverOffstage
A sliver that lays its sliver child out as if it was in the tree, but without painting anything, without making the sliver child available for hit testing, and without taking any room in the parent.
SliverOpacity
A sliver widget that makes its sliver child partially transparent.
SliverOverlapAbsorber
A sliver that wraps another, forcing its layout extent to be treated as overlap.
SliverOverlapAbsorberHandle
Handle to provide to a SliverOverlapAbsorber, a SliverOverlapInjector, and an NestedScrollViewViewport, to shift overlap in a NestedScrollView.
SliverOverlapInjector
A sliver that has a sliver geometry based on the values stored in a SliverOverlapAbsorberHandle.
SliverPadding
A sliver that applies padding on each side of another sliver.
SliverPersistentHeader
A sliver whose size varies when the sliver is scrolled to the edge of the viewport opposite the sliver's GrowthDirection.
SliverPersistentHeaderDelegate
Delegate for configuring a SliverPersistentHeader.
SliverPrototypeExtentList
A sliver that places its box children in a linear array and constrains them to have the same extent as a prototype item along the main axis.
SliverReorderableList
A sliver list that allows the user to interactively reorder the list items.
SliverReorderableListState
The state for a sliver list that allows the user to interactively reorder the list items.
SliverResizingHeader
A sliver that is pinned to the start of its CustomScrollView and reacts to scrolling by resizing between the intrinsic sizes of its min and max extent prototypes.
SliverSafeArea
A sliver that insets another sliver by sufficient padding to avoid intrusions by the operating system.
SliverSemantics
A sliver that annotates its subtree with a description of the meaning of the slivers.
SliverToBoxAdapter
A sliver that contains a single box widget.
SliverVariedExtentList
A sliver that places its box children in a linear array and constrains them to have the corresponding extent returned by itemExtentBuilder.
SliverVisibility
Whether to show or hide a sliver child.
SliverWithKeepAliveWidget
A base class for slivers that have KeepAlive children.
SlottedMultiChildRenderObjectWidget<SlotType, ChildType extends RenderObject>
A superclass for RenderObjectWidgets that configure RenderObject subclasses that organize their children in different slots.
SlottedRenderObjectElement<SlotType, ChildType extends RenderObject>
Element used by the SlottedMultiChildRenderObjectWidget.
SnapshotController
A controller for the SnapshotWidget that controls when the child image is displayed and when to regenerated the child image.
SnapshotPainter
A painter used to paint either a snapshot or the child widgets that would be a snapshot.
SnapshotWidget
A widget that can replace its child with a snapshotted version of the child.
Sortable<T>
A draggable widget that supports drag-and-drop reordering with directional drop zones.
SortableChildBuilderDelegate<T>
A delegate that builds items on demand.
SortableChildListDelegate<T>
A delegate that provides items from an explicit list.
SortableData<T>
Immutable data wrapper for sortable items in drag-and-drop operations.
SortableDragHandle
A dedicated drag handle for initiating sortable drag operations.
SortableDropFallback<T>
A fallback drop zone for sortable items when dropped outside specific sortable widgets.
SortableLayer
A layer widget that manages drag-and-drop sessions for sortable widgets.
SortableListDelegate<T>
Abstract base for providing items to a sortable list.
Spacer
Spacer creates an adjustable, empty spacer that can be used to tune the spacing between widgets in a Flex container, like Row or Column.
SpellCheckConfiguration
Controls how spell check is performed for text input.
Split
A curve that progresses according to beginCurve until split, then according to endCurve.
SpringDescription
Structure that describes a spring's constants.
Stack
A widget that positions its children relative to the edges of its box.
StackParentData
Parent data for use with RenderStack.
StadiumBorder
A border that fits a stadium-shaped border (a box with semicircles on the ends) within the rectangle of the widget it is applied to.
StageBreakpoint
Abstract base class for defining stage-based layout breakpoints.
StageContainer
A responsive container that adapts to screen size using breakpoints.
StageContainerTheme
Theme configuration for StageContainer responsive behavior.
StagedBreakpoint
A breakpoint that uses predefined stage values.
StarBorder
A border that fits a star or polygon-shaped border within the rectangle of the widget it is applied to.
StarRating
An interactive star rating widget for collecting user feedback and ratings.
StarRatingController
A controller for managing StarRating widget values programmatically.
StarRatingTheme
Theme data for customizing StarRating widget appearance.
State<T extends StatefulWidget>
The logic and internal state for a StatefulWidget.
StatedWidget
An abstract widget that provides state-aware visual variations.
StatefulBuilder
A platonic widget that both has state and calls a closure to obtain its child widget.
StatefulElement
An Element that uses a StatefulWidget as its configuration.
StatefulWidget
A widget that has mutable state.
StatelessElement
An Element that uses a StatelessWidget as its configuration.
StatelessWidget
A widget that does not require mutable state.
StaticPart
A part that displays static, non-editable text.
StaticSelectionContainerDelegate
A delegate that manages updating multiple Selectable children where the Selectables do not change or move around frequently.
StatusTransitionWidget
A widget that rebuilds when the given animation changes status.
Step
Represents a single step in a stepper component.
StepContainer
Container widget for step content with optional action buttons.
StepItem
A vertical step indicator widget that displays a step's title and content.
StepNumber
Step indicator widget displaying step number, checkmark, or custom icon.
StepNumberData
Data class providing step index context to descendant widgets.
Stepper
A multi-step navigation component with visual progress indication.
StepperController
Controller for managing stepper state and navigation.
StepperTheme
Theme configuration for Stepper components.
StepperValue
Immutable value representing the current state of a stepper.
StepProperties
Contains properties and state information for stepper rendering.
Steps
Vertical step progression widget with numbered indicators and connectors.
StepsTheme
Theme for Steps.
StepTitle
Clickable step title widget with optional subtitle.
StepTween
An interpolation between two integers that floors.
StepVariant
Abstract base class for step visual presentation variants.
StillKeyframe<T>
A keyframe that holds a constant value without animating.
StreamBuilder<T>
Widget that builds itself based on the latest snapshot of interaction with a Stream.
StreamBuilderBase<T, S>
Base class for widgets that build themselves based on interaction with a specified Stream.
StretchEffect
A widget that applies a stretching visual effect to its child.
StretchingOverscrollIndicator
A Material Design visual indication that a scroll view has overscrolled.
StrutStyle
Defines the strut, which sets the minimum height a line can be relative to the baseline.
SubFocus
Individual focusable widget within a SubFocusScope hierarchy.
SubFocusScope
Hierarchical focus management system for complex widget trees.
SubmissionResult
Result of a form submission containing values and validation errors.
SubmitButton
A button that automatically handles form submission states.
SurfaceBarrierPainter
Custom painter that creates a barrier effect with an optional cutout.
SurfaceBlur
A widget that applies a blur effect to its background.
SurfaceCard
A card variant with surface blur and opacity effects.
SweepColorGradient
A sweep (angular/conical) gradient for color values.
SweepGradient
A 2D sweep gradient.
Swiper
A gesture-responsive widget that triggers overlay content through swiping.
SwiperHandler
Abstract handler interface for swiper overlay implementations.
SwiperTheme
Theme configuration for swiper overlay behavior and appearance.
Switch
A Material Design switch for toggling boolean values.
SwitchController
Controller for managing switch state.
Switcher
A swipeable container that transitions between multiple child widgets.
SwitchTheme
Theme configuration for Switch widget styling and visual appearance.
SystemContextMenu
Displays the system context menu on top of the Flutter view.
SystemMouseCursors
A collection of system MouseCursors.
SystemTextScaler
A TextScaler that reflects the user's font scale preferences from the platform's accessibility settings.
TabButton
Convenience widget for creating a tab button.
TabChildWidget
A simple tab child widget wrapping arbitrary content.
TabContainer
Container widget for managing multiple tabs.
TabContainerData
Internal data class holding tab container state and callbacks.
TabContainerTheme
Theme data for TabContainer providing default builders.
TabItem
A basic tab item widget.
Table
A flexible table widget with support for spanning, scrolling, and interactive features.
TableBorder
Border specification for Table widgets.
TableCell
Represents a single cell in a table.
TableCellTheme
Theme configuration for individual table cells.
TableColumnWidth
Base class to describe how wide a column in a RenderTable should be.
TableFooter
Specialized row for table footers.
TableHeader
Specialized row for table headers.
TableLayoutResult
Result of table layout calculations.
TableParentData
Parent data for table cell layout information.
TableRef
Reference to a table row or column by index and span.
TableRow
Represents a row in a table.
TableSize
Base class for table sizing strategies.
TableTheme
Theme configuration for Table components.
TabList
A horizontal tab list widget for selecting between multiple tab content areas.
TabListTheme
Theme configuration for TabList appearance and behavior.
TabPane<T>
A comprehensive tab pane widget with sortable tabs and integrated content display.
TabPaneData<T>
Data wrapper for tab pane items that extends sortable functionality.
TabPaneState<T>
State class for TabPane widget.
TabPaneTheme
Theme configuration for TabPane appearance and layout.
Tabs
A tabbed interface widget for organizing content into switchable panels.
TabsTheme
Theme data for customizing Tabs widget appearance.
TailBehavior
Defines when a tail should be shown on a ChatBubble.
TailChatBubbleType
A ChatBubbleType that draws an external triangular tail.
TapDownDetails
Details for GestureTapDownCallback, such as position.
TapRegion
A widget that defines a region that can detect taps inside or outside of itself and any group of regions it belongs to, without participating in the gesture disambiguation system (other than to consume tap down events if consumeOutsideTaps is true).
TapRegionRegistry
An interface for registering and unregistering a RenderTapRegion (typically created with a TapRegion widget) with a RenderTapRegionSurface (typically created with a TapRegionSurface widget).
TapRegionSurface
A widget that provides notification of a tap inside or outside of a set of registered regions, without participating in the gesture disambiguation system.
TapUpDetails
Details for GestureTapUpCallback, such as position.
Text
A run of text with a single style.
TextAlignVertical
The vertical alignment of text within an input box.
TextArea
A multi-line text input widget with resizable dimensions and comprehensive styling.
TextBox
A rectangle enclosing a run of text.
TextButton
Convenience widget for creating a text button.
TextButtonTheme
Theme configuration for text button styling.
TextDecoration
A linear decoration to draw near the text.
TextEditingController
A controller for an editable text field.
TextEditingValue
The current text, selection, and composing state for editing a run of text.
TextField
A highly customizable single-line text input widget with extensive feature support.
TextFieldAppendTextIntent
Intent to append text to the current text field content.
TextFieldClearIntent
Intent to clear all text from the text field.
TextFieldReplaceCurrentWordIntent
Intent to replace the current word in the text field.
TextFieldSelectAllAndCopyIntent
Intent to select all text in the field and copy it to clipboard.
TextFieldSetSelectionIntent
Intent to set the text selection in the text field.
TextFieldSetTextIntent
Intent to set the entire text field content to a specific value.
TextFieldState
State class for TextField widget.
TextFieldTapRegion
A TapRegion that adds its children to the tap region group for widgets based on the EditableText text editing widget, such as TextField and CupertinoTextField.
TextFieldTheme
Theme data for customizing TextField appearance.
TextFlipper
Animates a string by flipping each character.
TextHeightBehavior
Defines how to apply TextStyle.height over and under text.
TextInputFormatters
Provides factory methods for common text input formatters.
TextInputStatefulWidget
Abstract base class for stateful text input widgets.
TextInputType
The type of information for which to optimize the text input control.
TextMagnifierConfiguration
A configuration object for a magnifier (e.g. in a text field).
TextModifier
Abstract base class for text modifier widgets.
TextPainter
An object that paints a TextSpan tree into a Canvas.
TextPosition
A position in a string of text.
TextRange
A range of characters in a string of text.
TextScaler
A class that describes how textual contents should be scaled for better readability.
TextSelection
A range of text that represents a selection.
TextSelectionControls
An interface for building the selection UI, to be provided by the implementer of the toolbar widget.
TextSelectionGestureDetector
A gesture detector to respond to non-exclusive event chains for a text field.
TextSelectionGestureDetectorBuilder
Builds a TextSelectionGestureDetector to wrap an EditableText.
TextSelectionGestureDetectorBuilderDelegate
Delegate interface for the TextSelectionGestureDetectorBuilder.
TextSelectionOverlay
An object that manages a pair of text selection handles for a RenderEditable.
TextSelectionPoint
Represents the coordinates of the point in a selection, and the text direction at that point, relative to top left of the RenderEditable that holds the selection.
TextSelectionToolbarAnchors
The position information for a text selection toolbar.
TextSelectionToolbarLayoutDelegate
A SingleChildLayoutDelegate for use with CustomSingleChildLayout that positions its child above anchorAbove if it fits, or otherwise below anchorBelow.
TextSpan
An immutable span of text.
TextStyle
An immutable style describing how to format and paint text.
TextStyleTween
An interpolation between two TextStyles.
Texture
A rectangle upon which a backend texture is mapped.
Theme
An inherited widget that provides theme data to its descendants.
ThemeData
The theme data for shadcn_flutter.
ThemeDataTween
A tween for animating between two ThemeData values.
ThreePointCubic
A cubic polynomial composed of two curves that share a common center point.
Threshold
A curve that is 0.0 until it hits the threshold, then it jumps to 1.0.
TickerFuture
An object representing an ongoing Ticker sequence.
TickerMode
Enables or disables tickers (and thus animation controllers) in the widget subtree.
TickerProvider
An interface implemented by classes that can vend Ticker objects.
TimeInput
Reactive time input field with formatted text editing and validation.
Timeline
A vertical timeline widget for displaying chronological data.
TimelineAnimatable<T>
An Animatable wrapper for TimelineAnimation with explicit duration.
TimelineAnimation<T>
A timeline-based animation built from multiple keyframes.
TimelineData
Data model for individual timeline entries.
TimelineTheme
Theme configuration for Timeline widgets.
TimeOfDay
Represents a time of day with hour, minute, and second.
TimePicker
A time picker widget for selecting time values.
TimePickerController
A controller for managing ControlledTimePicker values programmatically.
TimePickerDialog
Dialog widget for interactive time selection.
TimePickerTheme
Theme configuration for TimePicker widget appearance and behavior.
TimeRange
Represents a range of time with a start and end time.
Title
A widget that describes this app in the operating system.
ToastEntry
Configuration for a single toast notification.
ToastEntryLayout
Internal widget for managing toast entry layout and animations.
ToastLayer
A sophisticated layer widget that provides toast notification infrastructure.
ToastOverlay
Abstract interface for controlling individual toast notification instances.
ToastTheme
Theme configuration for toast notification system.
Toggle
Simple toggle button with stateful on/off behavior.
ToggleablePainter
A base class for a CustomPainter that may be passed to ToggleableStateMixin.buildToggleable to draw the visual representation of a Toggleable.
ToggleController
A controller for managing toggle state in toggle buttons and switches.
ToggleState
State class for Toggle that manages the toggle behavior and form integration.
Tolerance
Structure that specifies maximum allowable magnitudes for distances, durations, and velocity differences to be considered equal.
ToolbarItemsParentData
ParentData that determines whether or not to paint the corresponding child.
ToolbarOptions
Toolbar configuration for EditableText.
Tooltip
An interactive tooltip widget that displays contextual information on hover.
TooltipContainer
A styled container widget for tooltip content.
TooltipTheme
Theme data for customizing TooltipContainer widget appearance.
Tracker
A widget that displays a tracker.
TrackerData
A data container for individual tracker segments.
TrackerLevel
An abstract class that defines values for different Tracker levels.
TrackerTheme
Theme configuration for Tracker components.
TrackingScrollController
A ScrollController whose initialScrollOffset tracks its most recently updated ScrollPosition.
TrainHoppingAnimation
This animation starts by proxying one animation, but when the value of that animation crosses the value of the second (either because the second is going in the opposite direction, or because the one overtakes the other), the animation hops over to proxying the second animation.
Transform
A widget that applies a transformation before painting its child.
TransformationController
A thin wrapper on ValueNotifier whose value is a Matrix4 representing a transformation.
Transformers
A utility class that provides static methods for transforming various types of values, such as numbers, colors, offsets, and sizes.
TransformProperty
Property which handles Matrix4 that represent transforms.
TransitionDelegate<T>
The delegate that decides how pages added and removed from Navigator.pages transition in or out of the screen.
TransitionRoute<T>
A route with entrance and exit transitions.
TransposeCharactersIntent
An Intent that represents a user interaction that attempts to swap the characters immediately around the cursor.
TreeItem<T>
A concrete tree node implementation that holds data and state.
TreeItemExpandDefaultHandler<T>
Default handler for tree item expand/collapse operations.
TreeItemView
A comprehensive tree item widget with interaction, expansion, and selection support.
TreeNode<T>
Abstract base class representing a node in a tree structure.
TreeNodeData<T>
Data container for rendering a tree node.
TreeNodeDepth
Represents depth information for a tree node.
TreeRoot<T>
A special tree node that serves as an invisible root container.
TreeSelectionDefaultHandler<T>
Default handler for tree node selection changes.
TreeSliver<T>
A widget that displays TreeSliverNodes that expand and collapse in a vertically and horizontally scrolling Viewport.
TreeSliverController
Enables control over the TreeSliverNodes of a TreeSliver.
TreeSliverNode<T>
A data structure for configuring children of a TreeSliver.
TreeTheme
Theme configuration for TreeView appearance and behavior.
TreeView<T>
A comprehensive tree view widget with hierarchical data display and interaction.
Tween<T extends Object?>
A linear interpolation between a beginning and ending value.
TweenAnimationBuilder<T extends Object?>
Widget builder that animates a property of a Widget to a target value whenever the target value changes.
TweenSequence<T>
Enables creating an Animation whose value is defined by a sequence of Tweens.
TweenSequenceItem<T>
A simple holder for one element of a TweenSequence.
TwoDimensionalChildBuilderDelegate
A delegate that supplies children for a TwoDimensionalScrollView using a builder callback.
TwoDimensionalChildDelegate
A delegate that supplies children for scrolling in two dimensions.
TwoDimensionalChildListDelegate
A delegate that supplies children for a TwoDimensionalViewport using an explicit two dimensional array.
TwoDimensionalChildManager
A delegate used by RenderTwoDimensionalViewport to manage its children.
TwoDimensionalScrollable
A widget that manages scrolling in both the vertical and horizontal dimensions and informs the TwoDimensionalViewport through which the content is viewed.
TwoDimensionalScrollableState
State object for a TwoDimensionalScrollable widget.
TwoDimensionalScrollView
A widget that combines a TwoDimensionalScrollable and a TwoDimensionalViewport to create an interactive scrolling pane of content in both vertical and horizontal dimensions.
TwoDimensionalViewport
A widget through which a portion of larger content can be viewed, typically in combination with a TwoDimensionalScrollable.
TwoDimensionalViewportParentData
Parent data structure used by RenderTwoDimensionalViewport.
Typography
Typography definitions for shadcn_flutter.
UiKitView
Embeds an iOS view in the Widget hierarchy.
UnconstrainedBox
A widget that imposes no constraints on its child, allowing it to render at its "natural" size.
UndoHistory<T>
Provides undo/redo capabilities for a ValueNotifier.
UndoHistoryController
A controller for the undo history, for example for an editable text field.
UndoHistoryState<T>
State for a UndoHistory.
UndoHistoryValue
Represents whether the current undo stack can undo or redo.
UndoTextIntent
An Intent that represents a user interaction that attempts to go back to the previous editing state.
UniDirectionalValueBound<T>
A ValueBound that binds the source to the target unidirectionally.
UniqueKey
A key that is only equal to itself.
UniqueWidget<T extends State<StatefulWidget>>
Base class for stateful widgets that have exactly one inflated instance in the tree.
UnmanagedRestorationScope
Inserts a provided RestorationBucket into the widget tree and makes it available to descendants via RestorationScope.of.
UnorderedListData
Data class for tracking unordered list nesting depth.
UpdateSelectionIntent
An Intent that represents a user interaction that attempts to change the selection in an input field.
URLValidator
A validator that checks if a string is a valid URL.
UserScrollNotification
A notification that the user has changed the ScrollDirection in which they are scrolling, or have stopped scrolling.
Validated<T>
A widget that displays validation feedback for form entries.
ValidationMode<T>
A validator wrapper that controls when validation occurs based on form lifecycle.
ValidationResult
Abstract base class representing the result of a validation operation.
Validator<T>
Abstract base class for implementing form field validation logic.
ValidatorBuilder<T>
A validator that uses a custom builder function for validation logic.
ValueBound<T>
A class that binds a source value to a target value.
ValueChangeNotifier<T>
A value notifier class that notifies listeners of changes.
ValueKey<T>
A key that uses a value of a particular type to identify itself.
ValueListenableBuilder<T>
A widget whose content stays synced with a ValueListenable.
ValueNotifier<T>
A ChangeNotifier that holds a single value.
ValueNotifierUnmodifiableView<T>
A read-only view of a ValueListenable.
Velocity
A velocity in two dimensions.
VerticalDivider
A vertical line used to separate content in a layout.
VerticalDividerPainter
Custom painter for drawing vertical divider lines.
VerticalResizableDragger
A Vertical dragger that can be used as a divider between resizable panes.
View
Bootstraps a render tree that is rendered into the provided FlutterView.
ViewAnchor
Decorates a child widget with a side View.
ViewCollection
A collection of sibling Views.
Viewport
A widget through which a portion of larger content can be viewed, typically in combination with a Scrollable.
Visibility
Whether to show or hide a child.
VoidCallbackAction
An Action that invokes the VoidCallback given to it in the VoidCallbackIntent passed to it when invoked.
VoidCallbackIntent
An Intent that keeps a VoidCallback to be invoked by a VoidCallbackAction when it receives this intent.
VoidChangeListener
A callback that takes no arguments and returns no data.
WaitingResult
Validation result indicating a validation is in progress.
WeakMap<K, V>
Does not hold keys from garbage collection.
Widget
Describes the configuration for an Element.
WidgetInputOTPChild
A widget-based OTP child that doesn't accept input.
WidgetInspector
A widget that enables inspecting the child widget's structure.
WidgetOrderTraversalPolicy
A FocusTraversalPolicy that traverses the focus order in widget hierarchy order.
WidgetPart
A part that displays a custom widget.
WidgetsApp
A convenience widget that wraps a number of widgets that are commonly required for an application.
WidgetsBindingObserver
Interface for classes that register with the Widgets layer binding.
WidgetsFlutterBinding
A concrete binding for applications based on the Widgets framework.
WidgetsLocalizations
Interface for localized resource values for the lowest levels of the Flutter framework.
WidgetSpan
An immutable widget that is embedded inline within text.
WidgetStateBorderSide
Defines a BorderSide whose value depends on a set of WidgetStates which represent the interactive state of a component.
WidgetStateColor
Defines a Color that is also a WidgetStateProperty.
WidgetStateMapper<T>
Uses a WidgetStateMap to resolve to a single value of type T based on the current set of Widget states.
WidgetStateMouseCursor
Defines a MouseCursor whose value depends on a set of WidgetStates which represent the interactive state of a component.
WidgetStateOutlinedBorder
Defines an OutlinedBorder whose value depends on a set of WidgetStates which represent the interactive state of a component.
WidgetStateProperty<T>
Interface for classes that resolve to a value of type T based on a widget's interactive "state", which is defined as a set of WidgetStates.
WidgetStatePropertyAll<T>
Convenience class for creating a WidgetStateProperty that resolves to the given value for all states.
WidgetStatesConstraint
This class allows WidgetState enum values to be combined using WidgetStateOperators.
WidgetStatesController
Manages a set of WidgetStates and notifies listeners of changes.
WidgetStatesData
Data class wrapping a set of widget states.
WidgetStatesProvider
A widget that provides widget state information to descendants via Data.
WidgetStateTextStyle
Defines a TextStyle that is also a WidgetStateProperty.
WidgetToRenderBoxAdapter
An adapter for placing a specific RenderBox in the widget tree.
WidgetTreeChangeDetector
A widget that detects changes in the widget tree.
WidgetTreeChangeDetectorState
State for WidgetTreeChangeDetector.
WillPopScope
Registers a callback to veto attempts by the user to dismiss the enclosing ModalRoute.
Window
A comprehensive windowing system for creating desktop-like window interfaces.
WindowActions
Default window actions widget providing minimize, maximize, and close buttons.
WindowController
Reactive controller for managing window state and operations.
WindowNavigator
A widget that manages multiple floating windows.
WindowSnapStrategy
Configuration for window snapping behavior and positioning.
WindowState
Complete state configuration for a window instance.
WindowTheme
Theme configuration for window components.
WindowViewport
Data class containing viewport information for a window.
WindowWidget
A resizable, draggable window widget with title bar and content area.
WordBoundary
A TextBoundary subclass for locating word breaks.
Wrap
A widget that displays its children in multiple horizontal or vertical runs.
WrappedIcon
A widget that wraps an icon with custom theme data.
WrappedText
A widget that wraps text with customizable styling and layout.
Wrapper
A widget that conditionally wraps its child with a builder function.
XFile
A CrossFile is a cross-platform, simplified File abstraction.
YearCalendar
A calendar widget that displays years in a grid.

Enums

AndroidOverscrollIndicator
Types of overscroll indicators supported by TargetPlatform.android.
AnimationBehavior
Configures how an AnimationController behaves when animations are disabled.
AnimationStatus
The status of an animation.
AppLifecycleState
States that an application can be in once it is running.
AutoCompleteMode
Text replacement strategies for autocomplete suggestion application.
AutofillContextAction
Predefined autofill context clean up actions.
AutovalidateMode
Used to configure the auto validation of FormField and Form widgets.
Axis
The two cardinal directions in two dimensions.
AxisDirection
A direction along either the horizontal or vertical Axis in which the origin, or zero position, is determined.
AxisDirectional
Defines a direction along an axis, either vertical or horizontal.
BannerLocation
Where to show a Banner.
BlendMode
Algorithms to use when painting on the canvas.
BlurStyle
Styles to use for blurs in MaskFilter objects.
BorderStyle
The style of line to draw for a BorderSide in a Border.
BoxFit
How a box should be inscribed into another box.
BoxShape
The shape to use when rendering a Border or BoxDecoration.
Brightness
Describes the contrast of a theme or color palette.
ButtonShape
Defines the shape style for button components.
CalendarItemType
Visual states for individual calendar date items.
CalendarSelectionMode
Selection modes available for calendar components.
CalendarValueLookup
Result type for calendar value lookup operations.
CalendarViewType
Defines the different view types available in calendar components.
CarouselAlignment
CarouselAlignment is used to align the carousel items.
ChangeReportingBehavior
The behavior of reporting the selected item index in a ListWheelScrollView.
ChatBubbleCorner
Defines the corner of a ChatBubble where a tail might be attached.
ChatBubbleCornerDirectional
Defines the directional corner of a ChatBubble.
CheckboxState
Represents the possible states of a checkbox widget.
Clip
Different ways to clip content.
ClipboardStatus
An enumeration of the status of the content on the user's clipboard.
ColorPickerMode
Defines the color representation mode for color pickers.
CompareType
Defines comparison operators for numeric validation.
ConnectionState
The state of connection to an asynchronous computation.
ContextMenuButtonType
The buttons that can appear in a context menu by default.
Country
This class represents a Country with its name, code, dialCode and flag.
CrossAxisAlignment
How the children should be placed along the cross axis in a flex layout.
CrossFadeState
Specifies which of two children to show. See AnimatedCrossFade.
DatePart
Represents a part of a date (year, month, or day).
DateState
Represents the interactive state of a date in the calendar.
DecorationPosition
Where to paint a box decoration.
DiagnosticLevel
The various priority levels used to filter which diagnostics are shown and omitted.
DiagonalDragBehavior
Specifies how to configure the DragGestureRecognizers of a TwoDimensionalScrollable.
DismissDirection
The direction in which a Dismissible can be dismissed.
DurationPart
Represents a part of a duration (day, hour, minute, or second).
ExpandMode
Expansion behavior modes for toast notification stacks.
FilterQuality
Quality levels for image sampling in ImageFilter and Shader objects that sample images and for Canvas operations that render images.
FlexFit
How the child is inscribed into the available space.
FloatingHeaderSnapMode
Specifies how a partially visible SliverFloatingHeader animates into a view when a user scroll gesture ends.
FlutterLogoStyle
Possible ways to draw Flutter's logo.
FocusChangeReason
Reason for a focus change event in tree navigation.
FocusHighlightMode
An enum to describe which kind of focus highlight behavior to use when displaying focus information.
FocusHighlightStrategy
An enum to describe how the current value of FocusManager.highlightMode is determined. The strategy is set on FocusManager.highlightStrategy.
FontStyle
Whether to use the italic type variation of glyphs in the font.
FormValidationMode
Defines when form field validation should occur during the component lifecycle.
GrowthDirection
The direction in which a sliver's contents are ordered, relative to the scroll offset axis.
HeroFlightDirection
Direction of the hero's flight based on the navigation operation.
HitTestBehavior
How to behave during hit tests.
HSLColorSliderType
Defines available slider types for HSL color pickers.
HSVColorSliderType
Defines available slider types for HSV color pickers.
ImageRepeat
How to paint any portions of a box not covered by an image.
InputFeaturePosition
Position where an input feature is displayed.
InspectorButtonVariant
Defines the visual and behavioral variants for an InspectorButton.
KeyEventResult
An enum that describes how to handle a key event handled by a FocusOnKeyCallback or FocusOnKeyEventCallback.
LiveTextInputStatus
An enumeration that indicates whether the current device is available for Live Text input.
LockState
Determines how the state of a lock key is used to accept a shortcut.
LoopingMode
An enumeration that defines the modes of repetition for animations or actions.
MainAxisAlignment
How the children should be placed along the main axis in a flex layout.
MainAxisSize
How much space should be occupied in the main axis.
Enumeration defining alignment options for navigation bar items.
Enumeration defining the type of navigation container.
Position of navigation item labels relative to icons.
Size variant for navigation item labels.
Determines when labels are shown in navigation items.
Describes the navigation mode to be set by a MediaQuery widget.
Overflow behavior for navigation item labels.
Enumeration defining alignment options for navigation rail items.
OptionsViewOpenDirection
A direction in which to open the options-view overlay.
Orientation
Whether in portrait or landscape.
OverflowBarAlignment
Defines the horizontal alignment of OverflowBar children when they're laid out in an overflow column.
OverlayChildLocation
The location of the Overlay that an OverlayPortal renders its overlay child on.
OverlayPosition
Position for overlay components like drawers and sheets.
PaintingStyle
Strategies for painting shapes and paths on a canvas.
PanAxis
This enum is used to specify the behavior of the InteractiveViewer when the user drags the viewport.
PanelSibling
Represents the position of a panel relative to another panel.
PasswordPeekMode
Mode for password visibility toggling.
PathFillType
Determines the winding rule that decides how the interior of a Path is calculated.
PathOperation
Strategies for combining paths.
PlaceholderAlignment
Where to vertically align the placeholder relative to the surrounding text.
PlatformProvidedMenuItemType
The list of possible platform provided, prebuilt menus for use in a PlatformMenuBar.
PopoverConstraint
Size constraint strategies for popover overlays.
PromptMode
Defines how a form field editor is presented to the user.
RenderComparison
The description of the difference between two objects, in the context of how it will affect the rendering.
ResizeImagePolicy
Configures the behavior for ResizeImage.
RouteInformationReportingType
The Router's intention when it reports a new RouteInformation to the RouteInformationProvider.
RoutePopDisposition
Indicates whether the current route should be popped.
ScrollbarOrientation
An orientation along either the horizontal or vertical Axis.
ScrollDecelerationRate
The rate at which scroll momentum will be decelerated.
ScrollIncrementType
Describes the type of scroll increment that will be performed by a ScrollAction on a Scrollable.
ScrollPositionAlignmentPolicy
The policy to use when applying the alignment parameter of ScrollPosition.ensureVisible.
ScrollViewKeyboardDismissBehavior
A representation of how a ScrollView should dismiss the on-screen keyboard.
SelectableRegionSelectionStatus
The status of the selection under a SelectableRegion.
SelectionChangedCause
Indicates what triggered the change in selected text (including changes to the cursor location).
SelectionPosition
Represents the visual position of a selected item within a group.
SliverPaintOrder
Specifies an order in which to paint the slivers of a Viewport.
SmartDashesType
Indicates how to handle the intelligent replacement of dashes in text input.
SmartQuotesType
Indicates how to handle the intelligent replacement of quotes in text input.
SnapshotMode
Controls how the SnapshotWidget paints its child.
SortDirection
The direction for sorting.
StackFit
How to size the non-positioned children of a Stack.
StandardComponentType
An enum identifying standard UI components.
StepSize
Defines the size variants available for step indicators.
StepState
Represents the state of an individual step in a stepper.
StrokeCap
Styles to use for line endings.
StrokeJoin
Styles to use for line segment joins.
TableCellResizeMode
Defines how table cells should resize.
TableCellVerticalAlignment
Vertical alignment options for cells in RenderTable objects.
TargetPlatform
The platform that user interaction should adapt to target.
TextAffinity
A way to disambiguate a TextPosition when its offset could match two different locations in the rendered string.
TextAlign
Whether and how to align text horizontally.
TextBaseline
A horizontal line used for aligning text.
TextDecorationStyle
The style in which to draw a text decoration
TextDirection
A direction in which text flows.
TextLeadingDistribution
How the "leading" is distributed over and under the text.
TextOverflow
How overflowing text should be handled.
TextSelectionHandleType
The type of selection handle to be displayed.
TextWidthBasis
The different ways of measuring the width of one or more lines of text.
ThemeMode
Determines which theme mode to use.
TileMode
Defines how to handle areas outside the defined bounds of a gradient or image filter.
TimePart
Represents a part of a time (hour, minute, or second).
ToastLocation
Screen position enumeration for toast notification placement.
TraversalDirection
A direction along either the horizontal or vertical axes.
TraversalEdgeBehavior
Controls the focus transfer at the edges of a FocusScopeNode. For movement transfers (previous or next), the edge represents the first or last items. For directional transfers, the edge represents the outermost items of the FocusScopeNode, For example: for moving downwards, the edge node is the one with the largest bottom coordinate; for moving leftwards, the edge node is the one with the smallest x coordinate.
TriggerStage
Lifecycle stages of a refresh trigger.
UnfocusDisposition
Describe what should happen after FocusNode.unfocus is called.
VertexMode
Defines how a list of points is interpreted when drawing a set of triangles.
VerticalDirection
A direction in which boxes flow vertically.
WebHtmlElementStrategy
The strategy for Image.network and NetworkImage to decide whether to display images in HTML elements contained in a platform view instead of fetching bytes.
WidgetInspectorServiceExtensions
Service extension constants for the Widget Inspector.
WidgetsServiceExtensions
Service extension constants for the widgets library.
WidgetState
Interactive states that some of the widgets can take on when receiving input from the user.
WrapAlignment
How Wrap should align objects.
WrapCrossAlignment
Who Wrap should align children within a run in the cross axis.

Mixins

AlwaysUpdateData
A mixin that always returns true for shouldNotify. Which means the data will always notify the listeners regardless of the changes.
AnimatedMixin
A mixin that provides animated property management for stateful widgets.
AnimationEagerListenerMixin
A mixin that replaces the didRegisterListener/didUnregisterListener contract with a dispose contract.
AnimationLazyListenerMixin
A mixin that helps listen to another object only when this object has registered listeners.
AnimationLocalListenersMixin
A mixin that implements the addListener/removeListener protocol and notifies all the registered listeners when notifyListeners is called.
AnimationLocalStatusListenersMixin
A mixin that implements the addStatusListener/removeStatusListener protocol and notifies all the registered listeners when notifyStatusListeners is called.
AnimationWithParentMixin<T>
Implements most of the Animation interface by deferring its behavior to a given parent Animation.
AutomaticKeepAliveClientMixin<T extends StatefulWidget>
A mixin with convenience methods for clients of AutomaticKeepAlive. It is used with State subclasses to manage keep-alive behavior in lazily built lists.
CachedValue
Mixin for values that need custom rebuild logic.
ChangesNotifierHelperMixin
A mixin that provides a way to notify listeners.
Choice<T>
A mixin that provides choice selection functionality.
ComponentController<T>
A mixin that defines the interface for controlling component values.
ControlledComponent<T>
A mixin that provides a standardized interface for controlled components.
DirectionalFocusTraversalPolicyMixin
A mixin class that provides an implementation for finding a node in a particular direction.
DistinctData
A mixin that provides a shouldNotify method to determine if the data has changed and should notify the listeners.
FormFieldHandle
Interface for form field state management.
FormValueSupplier<T, X extends StatefulWidget>
Mixin that provides form value management for stateful widgets.
KeyedTabChild<T>
Mixin for keyed tab children that use custom keys for identification.
LocalHistoryRoute<T>
A mixin used by routes to handle back navigations internally by popping a list.
A mixin allowing a ShortcutActivator to provide data for serialization of the shortcut when sending to the platform.
ModelProperty<T>
A mixin for all kinds of Model properties.
MultiModelItem
A mixin for all kinds of Data properties.
A mixin for navigation containers that provides child wrapping functionality.
NotifiableElementMixin
Mixin this class to allow receiving Notification objects dispatched by child elements.
OverlayHandlerStateMixin<T extends StatefulWidget>
Mixin providing overlay state management methods.
PaintingBinding
Binding for the painting library.
PaintOrderMixin
Mixin for render objects that support custom paint order.
PaintOrderParentDataMixin
Mixin for parent data that supports paint ordering.
PopNavigatorRouterDelegateMixin<T>
A mixin that wires RouterDelegate.popRoute to the Navigator it builds.
RadioClient<T>
A client for a RadioGroupRegistry.
RenderAbstractLayoutBuilderMixin<LayoutInfoType, ChildType extends RenderObject>
Generic mixin for RenderObjects created by an AbstractLayoutBuilder with the the same LayoutInfoType.
ResizablePaneController
Mixin for controllers that manage resizable pane sizing.
RestorationMixin<S extends StatefulWidget>
Manages the restoration data for a State object of a StatefulWidget.
RootElementMixin
Mixin for the element at the root of the tree.
ScrollMetrics
A description of a Scrollable's contents, useful for modeling the state of its viewport.
SelectBase<T>
Common interface for select components.
SelectPopupHandle
Mixin providing select popup interaction methods.
SingleTickerProviderStateMixin<T extends StatefulWidget>
Provides a single Ticker that is configured to only tick while the current tree is enabled, as defined by TickerMode.
SlottedContainerRenderObjectMixin<SlotType, ChildType extends RenderObject>
Mixin for a RenderObject configured by a SlottedMultiChildRenderObjectWidget.
SlottedMultiChildRenderObjectWidgetMixin<SlotType, ChildType extends RenderObject>
A mixin version of SlottedMultiChildRenderObjectWidget.
SubFocusScopeState
Mixin providing focus scope state management capabilities.
SubFocusState
Mixin providing focus state and control capabilities for focusable widgets.
TabChild
Mixin for widgets that can be used as tab children.
TextInput
Mixin defining the interface for text input widgets.
TextSelectionDelegate
A mixin for manipulating the selection, provided for toolbar or shortcut keys.
TextSelectionHandleControls
TextSelectionControls that specifically do not manage the toolbar in order to leave that to EditableText.contextMenuBuilder.
TickerProviderStateMixin<T extends StatefulWidget>
Provides Ticker objects that are configured to only tick while the current tree is enabled, as defined by TickerMode.
ToggleableStateMixin<S extends StatefulWidget>
A mixin for StatefulWidgets that implement toggleable controls with toggle animations (e.g. Switches, CupertinoSwitches, Checkboxes, CupertinoCheckboxes, Radios, and CupertinoRadios).
TreeSliverStateMixin<T>
A mixin for classes implementing a tree structure as expected by a TreeSliverController.
ViewportElementMixin
A mixin that allows Elements containing Viewport like widgets to correctly modify the notification depth of a ViewportNotificationMixin.
ViewportNotificationMixin
Mixin for Notifications that track how many RenderAbstractViewport they have bubbled through.
WidgetInspectorService
Service used by GUI tools to interact with the WidgetInspector.
WidgetsBinding
The glue between the widgets layer and the Flutter engine.
WindowHandle
Interface for controlling window state and behavior.
WindowNavigatorHandle
Mixin providing window management capabilities for WindowNavigator state.

Extension Types

OverlayChildLayoutInfo
The additional layout information available to the OverlayPortal.overlayChildLayoutBuilder callback.

Extensions

AlignmentExtension on AlignmentGeometry
Extension adding resolution optimization for AlignmentGeometry.
BorderRadiusExtension on BorderRadiusGeometry
Extension adding resolution optimization for BorderRadiusGeometry.
BuildContextExtension on BuildContext
Extension for BuildContext to access Data and Model widgets.
ButtonStyleExtension on AbstractButtonStyle
Extension methods on AbstractButtonStyle for convenient style modifications.
CalendarDateTime on DateTime
Extension methods on DateTime for calendar operations.
ColorExtension on Color
Extension adding color manipulation utilities to Color.
ColorSchemeRecolorExtension on ColorScheme
Helpers for deriving accent variants from a base ColorScheme.
ColumnExtension on Column
Extension adding gap and separator utilities to Column.
DecorationExtension on Decoration
Extension methods for Decoration providing type-safe copyWith operations.
DoubleExtension on double
Extension adding min/max utilities to double.
EdgeInsetsExtension on EdgeInsetsGeometry
Extension adding resolution optimization for EdgeInsetsGeometry.
FlexExtension on Flex
Extension adding gap and separator utilities to Flex.
FormExtension on BuildContext
Extension methods on BuildContext for form operations.
FormMapValuesExtension on FormMapValues
Extension methods for FormMapValues.
FutureOrExtension on FutureOr<T>
Extension methods for FutureOr transformation operations.
HSLColorExtension on HSLColor
Extension for converting HSLColor to other color spaces.
HSVColorExtension on HSVColor
Extension for converting HSVColor to other color spaces.
IconExtension on Widget
Extension on Widget providing convenient icon theme utilities.
IntExtension on int
Extension adding min/max utilities to int.
IterableExtension on Iterable<T>
Extension adding separator joining for iterables.
Joinable on List<T>
Extension for joining lists of widgets with a separator.
ListExtension on List<T>
Extension methods for List operations with null-safe variants.
NullableLerpExtension on T? Function(T? a, T? b, double t)
Extension on nullable interpolation functions to provide additional functionality for working with nullable types in animations.
OTPCodepointListExtension on OTPCodepointList
Extension methods for OTPCodepointList.
RowExtension on Row
Extension adding gap and separator utilities to Row.
SafeLerpExtension on T? Function(T? a, T? b, double t)
Extension on nullable lerp functions to create non-null lerp helpers.
ShadcnLocalizationsExtensions on ShadcnLocalizations
Extension methods for ShadcnLocalizations to provide additional formatting and utility functions.
ShapeDecorationExtension on ShapeDecoration
Extension methods for ShapeDecoration providing copyWith functionality.
SkeletonExtension on Widget
Extension methods for adding skeleton loading effects to any widget.
StateExtension on State<X>
Extension for State to access Data and Model widgets.
StringCharacters on String
TextEditingControllerExtension on TextEditingController
Extension adding word-related utilities to TextEditingController.
TextEditingValueExtension on TextEditingValue
Extension adding text replacement utilities to TextEditingValue.
TextExtension on Widget
Extension providing text styling modifiers for widgets.
TreeNodeListExtension on List<TreeNode<K>>
Extension methods for manipulating lists of tree nodes.
ValueChangeNotifierExtension on ValueChangeNotifier<T>
Extension on ValueChangeNotifier to provide a read-only view and mapping.
ValueListenableExtension on ValueListenable<T>
Extension on ValueListenable to provide a read-only view and mapping.
ValueNotifierExtension on ValueNotifier<T>
Extension on ValueNotifier to provide a read-only view.
WidgetExtension on Widget
Extension adding layout and styling utilities to widgets.
WidgetStateExtension on Set<WidgetState>
Extension on Set<WidgetState> providing convenient boolean getters for common states.
WidgetStateOperators on WidgetStatesConstraint
These operators can be used inside a WidgetStateMap to combine states and find a match.

Constants

factory → const _Factory
Used to annotate an instance or static method m. Indicates that m must either be abstract or must return a newly allocated object or null. In addition, every method that either implements or overrides m is implicitly annotated with this same annotation.
gap2xl → const double
2x extra large gap multiplier (3.0).
gap3xl → const double
3x extra large gap multiplier (3.5).
gap4xl → const double
4x extra large gap multiplier (4.0).
gapLg → const double
Standard/large gap multiplier (2.0).
gapMd → const double
Medium gap multiplier (1.5).
gapSm → const double
Small gap multiplier (1.0).
gapXl → const double
Extra large gap multiplier (2.5).
gapXs → const double
Extra small gap multiplier (0.5).
immutable → const Immutable
Used to annotate a class C. Indicates that C and all subtypes of C must be immutable.
kAlwaysCompleteAnimation → const Animation<double>
An animation that is always complete.
kAlwaysDismissedAnimation → const Animation<double>
An animation that is always dismissed.
kBackdropScaleDown → const double
Scale factor for backdrop transform when drawer is open.
kDefaultContentInsertionMimeTypes → const List<String>
The default mime types to be used when allowedMimeTypes is not provided.
kDefaultDuration → const Duration
Default animation duration for UI transitions (150ms).
kDefaultFontSize → const double
The default font size if none is specified.
kDefaultRouteDirectionalTraversalEdgeBehavior → const TraversalEdgeBehavior
The default value of Navigator.routeDirectionalTraversalEdgeBehavior.
kDefaultRouteTraversalEdgeBehavior → const TraversalEdgeBehavior
The default value of Navigator.routeTraversalEdgeBehavior.
kDefaultWindowConstraints → const BoxConstraints
Default size constraints for window components.
kDoubleTapMinTime → const Duration
Minimum time interval between taps to be considered a double tap.
kLargeStepIndicatorSize → const double
Default large step indicator size in logical pixels.
kMaxScrollSpeed → const double
The maximum scroll speed allowed (10.0).
kMediumStepIndicatorSize → const double
Default medium step indicator size in logical pixels.
kScrollDragSpeed → const double
The drag speed multiplier for scroll interception (0.02).
kSmallStepIndicatorSize → const double
Default small step indicator size in logical pixels.
kSwitchDuration → const Duration
Standard duration for switch state transitions and animations.
kTextFieldHeight → const int
Standard height for text field components in logical pixels.
kTextHeightNone → const double
A TextStyle.height value that indicates the text span should take the height defined by the font, which may not be exactly the height of TextStyle.fontSize.
mustCallSuper → const _MustCallSuper
Used to annotate an instance member (method, getter, setter, operator, or field) m. Indicates that every invocation of a member that overrides m must also invoke m. In addition, every method that overrides m is implicitly annotated with this same annotation.
optionalTypeArgs → const _OptionalTypeArgs
Used to annotate a class, mixin, extension, function, method, or typedef declaration C. Indicates that any type arguments declared on C are to be treated as optional.
pad2xl → const double
2x extra large padding multiplier (3.0).
pad3xl → const double
3x extra large padding multiplier (3.5).
pad4xl → const double
4x extra large padding multiplier (4.0).
padLg → const double
Standard/large padding multiplier (2.0).
padMd → const double
Medium padding multiplier (1.5).
padSm → const double
Small padding multiplier (1.0).
padXl → const double
Extra large padding multiplier (2.5).
padXs → const double
Extra small padding multiplier (0.5).
protected → const _Protected
Used to annotate an instance member in a class or mixin which is meant to be visible only within the declaring library, and to other instance members of the class or mixin, and their subtypes.
required → const Required
Used to annotate a named parameter p in a method or function f. Indicates that every invocation of f must include an argument corresponding to p, despite the fact that p would otherwise be an optional parameter.
staticIconProvider → const Object
Annotation for classes that only provide static const IconData instances.
visibleForTesting → const _VisibleForTesting
Used to annotate a declaration that was made public, so that it is more visible than otherwise necessary, to make code testable.
widgetFactory → const _WidgetFactory
Annotation which marks a function as a widget factory for the purpose of widget creation tracking.

Properties

cupertinoDesktopTextSelectionControls → TextSelectionControls
Text selection controls that follows MacOS design conventions.
final
cupertinoDesktopTextSelectionHandleControls → TextSelectionControls
Text selection handle controls that follow MacOS design conventions.
final
debugCaptureShaderWarmUpImage ↔ ShaderWarmUpImageCallback
Called by ShaderWarmUp.execute immediately after it creates an Image.
getter/setter pair
debugCaptureShaderWarmUpPicture ↔ ShaderWarmUpPictureCallback
Called by ShaderWarmUp.execute immediately after it creates a Picture.
getter/setter pair
debugDisableShadows ↔ bool
Whether to replace all shadows with solid color blocks.
getter/setter pair
debugEnhanceBuildTimelineArguments ↔ bool
Adds debugging information to Timeline events related to Widget builds.
getter/setter pair
debugFocusChanges ↔ bool
Setting to true will cause extensive logging to occur when focus changes occur.
getter/setter pair
debugHighlightDeprecatedWidgets ↔ bool
Show banners for deprecated widgets.
getter/setter pair
debugImageOverheadAllowance ↔ int
The number of bytes an image must use before it triggers inversion when debugInvertOversizedImages is true.
getter/setter pair
debugInvertOversizedImages ↔ bool
If true, the framework will color invert and horizontally flip images that have been decoded to a size taking at least debugImageOverheadAllowance bytes more than necessary.
getter/setter pair
debugNetworkImageHttpClientProvider ↔ HttpClientProvider?
Provider from which NetworkImage will get its HttpClient in debug builds.
getter/setter pair
debugOnPaintImage ↔ PaintImageCallback?
If not null, called when the framework is about to paint an Image to a Canvas with an ImageSizeInfo that contains the decoded size of the image as well as its output size.
getter/setter pair
debugOnRebuildDirtyWidget ↔ RebuildDirtyWidgetCallback?
Callback invoked for every dirty widget built each frame.
getter/setter pair
debugPrint ↔ DebugPrintCallback
Prints a message to the console, which you can access using the "flutter" tool's "logs" command ("flutter logs").
getter/setter pair
debugPrintBuildScope ↔ bool
Log all calls to BuildOwner.buildScope.
getter/setter pair
debugPrintGlobalKeyedWidgetLifecycle ↔ bool
Log when widgets with global keys are deactivated and log when they are reactivated (retaken).
getter/setter pair
debugPrintRebuildDirtyWidgets ↔ bool
Log the dirty widgets that are built each frame.
getter/setter pair
debugPrintScheduleBuildForStacks ↔ bool
Log the call stacks that mark widgets as needing to be rebuilt.
getter/setter pair
debugProfileBuildsEnabled ↔ bool
Adds Timeline events for every Widget built.
getter/setter pair
debugProfileBuildsEnabledUserWidgets ↔ bool
Adds Timeline events for every user-created Widget built.
getter/setter pair
emptyTextSelectionControls → TextSelectionControls
Text selection controls that do not show any toolbars or handles.
final
imageCache → ImageCache
The singleton that implements the Flutter framework's image cache.
no setter
primaryFocus → FocusNode?
Provides convenient access to the current FocusManager.primaryFocus from the WidgetsBinding instance.
no setter

Functions

applyBoxFit(BoxFit fit, Size inputSize, Size outputSize) → FittedSizes
Apply a BoxFit value.
axisDirectionIsReversed(AxisDirection axisDirection) → bool
Returns whether traveling along the given axis direction visits coordinates along that axis in numerically decreasing order.
axisDirectionToAxis(AxisDirection axisDirection) → Axis
Returns the Axis that contains the given AxisDirection.
basicLocaleListResolution(List<Locale>? preferredLocales, Iterable<Locale> supportedLocales) → Locale
The default locale resolution algorithm.
buildEditableTextContextMenu(BuildContext innerContext, EditableTextState editableTextState, {UndoHistoryController? undoHistoryController, TargetPlatform? platform}) → Widget
Builds an appropriate context menu for editable text based on platform.
buildTextSpanWithSpellCheckSuggestions(TextEditingValue value, bool composingWithinCurrentTextRange, TextStyle? style, TextStyle misspelledTextStyle, SpellCheckResults spellCheckResults) → TextSpan
Builds the TextSpan tree given the current state of the text input and spell check results.
childDragAnchorStrategy(Draggable<Object> draggable, BuildContext context, Offset position) → Offset
Display the feedback anchored at the position of the original child.
clearActiveTextInput() → void
Clears the currently active text input field.
closeDrawer<T>(BuildContext context, [T? result]) → Future<void>
Closes the currently open drawer overlay.
closeOverlay<T>(BuildContext context, [T? value]) → Future<void>
Closes the currently active overlay with an optional result value.
closePopover<T>(BuildContext context, [T? result]) → Future<void>
Closes the current popover overlay.
closeSheet(BuildContext context) → Future<void>
Closes the currently open sheet overlay.
colorToHex(Color color, [bool showAlpha = false, bool hashPrefix = true]) → String
Converts a Color to its hexadecimal string representation.
combineKeyEventResults(Iterable<KeyEventResult> results) → KeyEventResult
Combine the results returned by multiple FocusOnKeyCallbacks or FocusOnKeyEventCallbacks.
combineSemanticsInfo(List<InlineSpanSemanticsInformation> infoList) → List<InlineSpanSemanticsInformation>
Combines _semanticsInfo entries where permissible.
contraintToNewText(TextEditingValue newValue, String newText) → TextSelection
Constrains the text selection to fit within the new text length.
createLocalImageConfiguration(BuildContext context, {Size? size}) → ImageConfiguration
Creates an ImageConfiguration based on the given BuildContext (and optionally size).
debugAssertAllPaintingVarsUnset(String reason, {bool debugDisableShadowsOverride = false}) → bool
Returns true if none of the painting library debug variables have been changed.
debugAssertAllWidgetVarsUnset(String reason) → bool
Returns true if none of the widget library debug variables have been changed.
debugCheckCanResolveTextDirection(TextDirection? direction, String target) → bool
Asserts that a given TextDirection is not null.
debugCheckHasDirectionality(BuildContext context, {String? why, String? hint, String? alternative}) → bool
Asserts that the given context has a Directionality ancestor.
debugCheckHasMediaQuery(BuildContext context) → bool
Asserts that the given context has a MediaQuery ancestor.
debugCheckHasOverlay(BuildContext context) → bool
Asserts that the given context has an Overlay ancestor.
debugCheckHasTable(BuildContext context) → bool
Asserts that the given context has a Table ancestor.
debugCheckHasWidgetsLocalizations(BuildContext context) → bool
Asserts that the given context has a Localizations ancestor that contains a WidgetsLocalizations delegate.
debugChildrenHaveDuplicateKeys(Widget parent, Iterable<Widget> children, {String? message}) → bool
Asserts if the given child list contains any duplicate non-null keys.
debugDescribeFocusTree() → String
Returns a text representation of the current focus tree, along with the current attributes on each node.
debugDescribeTransform(Matrix4? transform) → List<String>
Returns a list of strings representing the given transform in a format useful for TransformProperty.
debugDumpApp() → void
Print a string representation of the currently running app.
debugDumpFocusTree() → void
Prints a text representation of the current focus tree, along with the current attributes on each node.
debugDumpLayerTree() → void
Prints a textual representation of the layer trees.
debugDumpRenderTree() → void
Prints a textual representation of the render trees.
debugFlushLastFrameImageSizeInfo() → void
Flushes inter-frame tracking of image size information from paintImage.
debugIsLocalCreationLocation(Object object) → bool
Returns if an object is user created.
debugIsWidgetLocalCreation(Widget widget) → bool
Returns true if a Widget is user created.
debugItemsHaveDuplicateKeys(Iterable<Widget> items) → bool
Asserts if the given list of items contains any duplicate non-null keys.
debugPrintStack({StackTrace? stackTrace, String? label, int? maxFrames}) → void
Dump the stack to the console using debugPrint and FlutterError.defaultStackFilter.
debugTransformDebugCreator(Iterable<DiagnosticsNode> properties) → Iterable<DiagnosticsNode>
Transformer to parse and gather information about DiagnosticsDebugCreator.
debugWidgetBuilderValue(Widget widget, Widget? built) → void
Asserts that the built widget is not null.
decodeImageFromList(Uint8List bytes) → Future<Image>
Creates an image from a list of bytes.
defaultScrollNotificationPredicate(ScrollNotification notification) → bool
A ScrollNotificationPredicate that checks whether notification.depth == 0, which means that the notification did not bubble through any intervening scrolling widgets.
degToRad(double deg) → double
Converts degrees to radians.
flipAxis(Axis direction) → Axis
Returns the opposite of the given Axis.
flipAxisDirection(AxisDirection axisDirection) → AxisDirection
Returns the opposite of the given AxisDirection.
formatFileSize(int bytes, SizeUnitLocale unit) → String
Formats a file size in bytes to a human-readable string.
gap(double gap, {double? crossGap}) → Widget
Creates a gap widget with specified spacing.
getAxisDirectionFromAxisReverseAndDirectionality(BuildContext context, Axis axis, bool reverse) → AxisDirection
Returns the AxisDirection in the given Axis in the current Directionality (or the reverse if reverse is true).
getBullet(BuildContext context, int depth, double size) → Widget
Creates a bullet widget for list items based on depth.
getWordAtCaret(String text, int caret, [String separator = ' ']) → WordInfo
Gets the word at the caret position in a text string.
hexFromColor(Color color) → String
Converts a Flutter Color to hexadecimal string representation.
intentForMacOSSelector(String selectorName) → Intent?
Maps the selector from NSStandardKeyBindingResponding to the Intent if the selector is recognized.
invokeActionOnFocusedWidget(Intent intent) → (bool, Object?)
Invokes an action on the currently focused widget.
isMobile(TargetPlatform platform) → bool
Determines if a platform is mobile.
join(Iterable<Widget> widgets, Widget separator) → Iterable<Widget>
An iterable that inserts a separator between each widget.
lerpFontVariations(List<FontVariation>? a, List<FontVariation>? b, double t) → List<FontVariation>?
Interpolate between two lists of FontVariation objects.
lookupShadcnLocalizations(Locale locale) → ShadcnLocalizations
maxDuration(Duration a, Duration b) → Duration
Returns the maximum of two Duration values.
minDuration(Duration a, Duration b) → Duration
Returns the minimum of two Duration values.
mutateSeparated<T>(List<T> source, List<T> separatedList, T separator) → void
Mutates a list to contain source elements with separators between them.
openDrawer<T>({required BuildContext context, required WidgetBuilder builder, required OverlayPosition position, bool expands = false, bool draggable = true, bool barrierDismissible = true, WidgetBuilder? backdropBuilder, bool useSafeArea = true, bool? showDragHandle, BorderRadiusGeometry? borderRadius, Size? dragHandleSize, bool transformBackdrop = true, double? surfaceOpacity, double? surfaceBlur, Color? barrierColor, AnimationController? animationController, BoxConstraints? constraints, AlignmentGeometry? alignment}) → Future<T?>
Opens a drawer and returns a future that completes when dismissed.
openDrawerOverlay<T>({required BuildContext context, required WidgetBuilder builder, required OverlayPosition position, bool expands = false, bool draggable = true, bool barrierDismissible = true, WidgetBuilder? backdropBuilder, bool useSafeArea = true, bool? showDragHandle, BorderRadiusGeometry? borderRadius, Size? dragHandleSize, bool transformBackdrop = true, double? surfaceOpacity, double? surfaceBlur, Color? barrierColor, AnimationController? animationController, bool autoOpen = true, BoxConstraints? constraints, AlignmentGeometry? alignment}) → DrawerOverlayCompleter<T?>
Opens a drawer overlay with comprehensive customization options.
openRawDrawer<T>({Key? key, required BuildContext context, required DrawerBuilder builder, required OverlayPosition position, bool transformBackdrop = true, bool useRootDrawerOverlay = true, bool modal = true, Color? barrierColor, bool barrierDismissible = true, WidgetBuilder? backdropBuilder, bool useSafeArea = true, AnimationController? animationController, bool autoOpen = true, BoxConstraints? constraints, AlignmentGeometry? alignment}) → DrawerOverlayCompleter<T?>
Opens a raw drawer overlay with full customization.
openSheet<T>({required BuildContext context, required WidgetBuilder builder, required OverlayPosition position, bool barrierDismissible = true, bool transformBackdrop = false, Color? barrierColor, bool draggable = false, AnimationController? animationController, WidgetBuilder? backdropBuilder, BoxConstraints? constraints, AlignmentGeometry? alignment}) → Future<T?>
Opens a sheet and returns a future that completes when dismissed.
openSheetOverlay<T>({required BuildContext context, required WidgetBuilder builder, required OverlayPosition position, bool barrierDismissible = true, bool transformBackdrop = false, WidgetBuilder? backdropBuilder, Color? barrierColor, bool draggable = false, AnimationController? animationController, bool autoOpen = true, BoxConstraints? constraints, AlignmentGeometry? alignment}) → DrawerOverlayCompleter<T?>
Opens a sheet overlay with minimal styling and full-screen expansion.
optionallyResolveBorderRadius(BuildContext context, BorderRadiusGeometry? radius) → BorderRadius?
Resolves a BorderRadiusGeometry to BorderRadius if needed.
paintBorder(Canvas canvas, Rect rect, {BorderSide top = BorderSide.none, BorderSide right = BorderSide.none, BorderSide bottom = BorderSide.none, BorderSide left = BorderSide.none}) → void
Paints a border around the given rectangle on the canvas.
paintImage({required Canvas canvas, required Rect rect, required Image image, String? debugImageLabel, double scale = 1.0, double opacity = 1.0, ColorFilter? colorFilter, BoxFit? fit, Alignment alignment = Alignment.center, Rect? centerSlice, ImageRepeat repeat = ImageRepeat.noRepeat, bool flipHorizontally = false, bool invertColors = false, FilterQuality filterQuality = FilterQuality.medium, bool isAntiAlias = false, BlendMode blendMode = BlendMode.srcOver}) → void
Paints an image into the given rectangle on the canvas.
paintZigZag(Canvas canvas, Paint paint, Offset start, Offset end, int zigs, double width) → void
Draw a line between two points, which cuts diagonally back and forth across the line that connects the two points.
pickColorFromScreen(BuildContext context, [ColorHistoryStorage? storage]) → Future<Color?>
Prompts the user to pick a color from the screen using an eye dropper tool.
pointerDragAnchorStrategy(Draggable<Object> draggable, BuildContext context, Offset position) → Offset
Display the feedback anchored at the position of the touch that started the drag.
positionDependentBox({required Size size, required Size childSize, required Offset target, required bool preferBelow, double verticalOffset = 0.0, double margin = 10.0}) → Offset
Position a child box within a container box, either above or below a target point.
precacheImage(ImageProvider<Object> provider, BuildContext context, {Size? size, ImageErrorListener? onError}) → Future<void>
Prefetches an image into the image cache.
radToDeg(double rad) → double
Converts radians to degrees.
replaceWordAtCaret(String text, int caret, String replacement, bool isSeparator(String char)) → ReplacementInfo
Replaces the word at the caret position with a new string.
resolveEdgeInsets(EdgeInsetsGeometry padding, double basePadding) → EdgeInsetsGeometry
Resolves EdgeInsetsGeometry using the appropriate density base.
runApp(Widget app) → void
Inflate the given widget and attach it to the view.
runWidget(Widget app) → void
Inflate the given widget and bootstrap the widget tree.
shortcutActivatorToKeySet(ShortcutActivator activator) → List<LogicalKeyboardKey>
Converts a ShortcutActivator into a list of logical keyboard keys.
showCommandDialog<T>({required BuildContext context, required CommandBuilder builder, BoxConstraints? constraints, bool autofocus = true, Duration debounceDuration = const Duration(milliseconds: 500), WidgetBuilder? emptyBuilder, ErrorWidgetBuilder? errorBuilder, WidgetBuilder? loadingBuilder, double? surfaceOpacity, double? surfaceBlur}) → Future<T?>
Shows a command palette in a modal dialog.
showDialog<T>({required BuildContext context, required WidgetBuilder builder, bool useRootNavigator = true, bool barrierDismissible = true, Color? barrierColor, String? barrierLabel, bool useSafeArea = true, RouteSettings? routeSettings, Offset? anchorPoint, TraversalEdgeBehavior? traversalEdgeBehavior, AlignmentGeometry? alignment, bool fullScreen = false}) → Future<T?>
Displays a dialog using the shadcn_flutter design system.
showDropdown<T>({required BuildContext context, required WidgetBuilder builder, Offset? position, AlignmentGeometry? anchorAlignment, PopoverConstraint widthConstraint = PopoverConstraint.flexible, PopoverConstraint heightConstraint = PopoverConstraint.flexible, Key? key, bool rootOverlay = true, bool modal = true, Clip clipBehavior = Clip.none, Object? regionGroupId, Offset? offset, AlignmentGeometry? transitionAlignment, AlignmentGeometry? alignment, EdgeInsetsGeometry? margin, bool follow = true, bool consumeOutsideTaps = false, ValueChanged<PopoverOverlayWidgetState>? onTickFollow, bool allowInvertHorizontal = true, bool allowInvertVertical = true, bool dismissBackdropFocus = true, Duration? showDuration, Duration? dismissDuration}) → OverlayCompleter<T?>
Shows a dropdown menu overlay at a specified position or anchored to a widget.
showGeneralDialog<T extends Object?>({required BuildContext context, required RoutePageBuilder pageBuilder, bool barrierDismissible = false, String? barrierLabel, Color barrierColor = const Color(0x80000000), Duration transitionDuration = const Duration(milliseconds: 200), RouteTransitionsBuilder? transitionBuilder, bool useRootNavigator = true, bool fullscreenDialog = false, RouteSettings? routeSettings, Offset? anchorPoint, bool? requestFocus}) → Future<T?>
Displays a dialog above the current contents of the app.
showItemPicker<T>(BuildContext context, {required ItemChildDelegate<T> items, required ItemPickerBuilder<T> builder, T? initialValue, ItemPickerLayout layout = const GridItemPickerLayout(), AlignmentGeometry? alignment, AlignmentGeometry? anchorAlignment, BoxConstraints? constraints, Offset? offset, Widget? title}) → Future<T?>
Shows an item picker in a popover overlay.
showItemPickerDialog<T>(BuildContext context, {required ItemChildDelegate<T> items, required ItemPickerBuilder<T> builder, ItemPickerLayout layout = const GridItemPickerLayout(), T? initialValue, BoxConstraints? constraints, required Widget title}) → Future<T?>
Shows an item picker in a modal dialog.
showPopover<T>({required BuildContext context, required AlignmentGeometry alignment, required WidgetBuilder builder, Offset? position, AlignmentGeometry? anchorAlignment, PopoverConstraint widthConstraint = PopoverConstraint.flexible, PopoverConstraint heightConstraint = PopoverConstraint.flexible, Key? key, bool rootOverlay = true, bool modal = true, bool barrierDismissable = true, Clip clipBehavior = Clip.none, Object? regionGroupId, Offset? offset, AlignmentGeometry? transitionAlignment, EdgeInsetsGeometry? margin, bool follow = true, bool consumeOutsideTaps = true, ValueChanged<PopoverOverlayWidgetState>? onTickFollow, bool allowInvertHorizontal = true, bool allowInvertVertical = true, bool dismissBackdropFocus = true, Duration? showDuration, Duration? dismissDuration, OverlayBarrier? overlayBarrier, OverlayHandler? handler}) → OverlayCompleter<T?>
Displays a popover overlay with specified alignment and behavior.
showToast({required BuildContext context, required ToastBuilder builder, ToastLocation location = ToastLocation.bottomRight, bool dismissible = true, Curve curve = Curves.easeOutCubic, Duration entryDuration = const Duration(milliseconds: 500), VoidCallback? onClosed, Duration showDuration = const Duration(seconds: 5)}) → ToastOverlay
Displays a toast notification with sophisticated positioning and animation.
styleValue<T>({T? widgetValue, T? themeValue, required T defaultValue}) → T
A style helper function that returns the value from the widget, theme, or default value.
subtractByBorder(BorderRadius radius, double borderWidth) → BorderRadius
Subtracts a border width from a border radius.
swapItemInLists<T>(List<List<T>> lists, T element, List<T> targetList, int targetIndex) → void
Swaps an element between multiple lists.
textDirectionToAxisDirection(TextDirection textDirection) → AxisDirection
Returns the AxisDirection in which reading occurs in the given TextDirection.
timelineMaxDuration(Iterable<TimelineAnimation> timelines) → Duration
Finds the maximum total duration among multiple timeline animations.
tweenValue<T>(T begin, T end, double t) → T
Linearly interpolates between two numeric values.
unlerpDouble(double value, double min, double max) → double
Inverse lerp: finds the interpolation parameter given a value.
wrapDouble(double value, double min, double max) → double
Wraps a value within a specified range.

Typedefs

ActionListenerCallback = void Function(Action<Intent> action)
The kind of callback that an Action uses to notify of changes to the action's state.
AnimatableCallback<T> = T Function(double value)
A typedef used by Animatable.fromCallback to create an Animatable from a callback.
AnimatedChildBuilder<T> = Widget Function(BuildContext context, T value, Widget? child)
A typedef for a builder function that creates an animated child widget.
AnimatedChildValueBuilder<T> = Widget Function(BuildContext context, T oldValue, T newValue, double t, Widget? child)
A typedef for a builder function that creates a widget based on an animated value.
AnimatedCrossFadeBuilder = Widget Function(Widget topChild, Key topChildKey, Widget bottomChild, Key bottomChildKey)
Signature for the AnimatedCrossFade.layoutBuilder callback.
AnimatedItemBuilder = Widget Function(BuildContext context, int index, Animation<double> animation)
Signature for the builder callback used by AnimatedList, AnimatedList.separated & AnimatedGrid to build their animated children.
AnimatedRemovedItemBuilder = Widget Function(BuildContext context, Animation<double> animation)
Signature for the builder callback used in AnimatedListState.removeItem and AnimatedGridState.removeItem to animate their children after they have been removed.
AnimatedSwitcherLayoutBuilder = Widget Function(Widget? currentChild, List<Widget> previousChildren)
Signature for builders used to generate custom layouts for AnimatedSwitcher.
AnimatedSwitcherTransitionBuilder = Widget Function(Widget child, Animation<double> animation)
Signature for builders used to generate custom transitions for AnimatedSwitcher.
AnimatedTransitionBuilder = Widget Function(BuildContext context, Animation<double> animation, Widget? child)
Builder callback used by DualTransitionBuilder.
AnimationBuilder<T> = Widget Function(BuildContext context, Animation<T> animation)
A typedef for a function that builds a widget based on the current value of an animation.
AnimationStatusListener = void Function(AnimationStatus status)
Signature for listeners attached using Animation.addStatusListener.
AppExitRequestCallback = Future<AppExitResponse> Function()
A callback type that is used by AppLifecycleListener.onExitRequested to ask the application if it wants to cancel application termination or not.
AppPrivateCommandCallback = void Function(String action, Map<String, dynamic> data)
Signature for the callback that reports the app private command results.
AsyncWidgetBuilder<T> = Widget Function(BuildContext context, AsyncSnapshot<T> snapshot)
Signature for strategies that build widgets based on asynchronous interaction.
AutoCompleteCompleter = String Function(String suggestion)
Function signature for customizing how autocomplete suggestions are applied.
AutocompleteFieldViewBuilder = Widget Function(BuildContext context, TextEditingController textEditingController, FocusNode focusNode, VoidCallback onFieldSubmitted)
The type of the Autocomplete callback which returns the widget that contains the input TextField or TextFormField.
AutoCompleteKey = FormKey<String>
Form key type for autocomplete fields with string values.
AutocompleteOnSelected<T extends Object> = void Function(T option)
The type of the callback used by the RawAutocomplete widget to indicate that the user has selected an option.
AutocompleteOptionsBuilder<T extends Object> = FutureOr<Iterable<T>> Function(TextEditingValue textEditingValue)
The type of the RawAutocomplete callback which computes the list of optional completions for the widget's field, based on the text the user has entered so far.
AutocompleteOptionsViewBuilder<T extends Object> = Widget Function(BuildContext context, AutocompleteOnSelected<T> onSelected, Iterable<T> options)
The type of the RawAutocomplete callback which returns a Widget that displays the specified options and calls onSelected if the user selects an option.
AutocompleteOptionToString<T extends Object> = String Function(T option)
The type of the RawAutocomplete callback that converts an option value to a string which can be displayed in the widget's options menu.
BackdropBuilder = Widget Function(BuildContext context, Widget child, Animation<double> animation, int stackIndex)
Builder function for drawer backdrop transformations.
BarrierBuilder = Widget? Function(BuildContext context, Widget child, Animation<double> animation, int stackIndex)
Builder function for drawer modal barriers.
BinaryOperator<T> = T Function(T a, T b)
A function that takes two values of type T and returns a value of type T.
BoxConstraintsTransform = BoxConstraints Function(BoxConstraints constraints)
Signature for a function that transforms a BoxConstraints to another BoxConstraints.
ButtonStateProperty<T> = T Function(BuildContext context, Set<WidgetState> states)
Function signature for button state-dependent properties.
ButtonStatePropertyDelegate<T> = T Function(BuildContext context, Set<WidgetState> states, T value)
Function signature for button state property delegates with default value.
CarouselItemBuilder = Widget Function(BuildContext context, int index)
Builds a carousel item. The index is the index of the item.
CellPredicate = bool Function(int index, int span)
Predicate function to test if a cell matches certain criteria.
CheckboxKey = FormKey<CheckboxState>
Form key type for checkbox fields with CheckboxState values.
ChildIndexGetter = int? Function(Key key)
Called to find the new index of a child based on its key in case of reordering.
ChipInputKey<T> = FormKey<List<T>>
Form key type for chip input fields with list values.
ChipSubmissionCallback<T> = T? Function(String chipText)
Callback type for converting text to a chip.
ChipWidgetBuilder<T> = Widget Function(BuildContext context, T chip)
Function signature for building custom chip widgets in chip input fields.
CodepointPredicate = bool Function(int codepoint)
A predicate that tests whether a Unicode codepoint is valid.
CodepointUnaryOperator = int Function(int codepoint)
A function that transforms a Unicode codepoint to another.
ColorPickerKey = FormKey<Color>
Form key type for color picker fields with Color values.
CommandBuilder = Stream<List<Widget>> Function(BuildContext context, String? query)
A builder function that produces command search results as a stream.
ConditionalElementVisitor = bool Function(Element element)
Signature for the callback to BuildContext.visitAncestorElements.
ConfirmDismissCallback = Future<bool?> Function(DismissDirection direction)
Signature used by Dismissible to give the application an opportunity to confirm or veto a dismiss gesture.
ContextedCallback = void Function(BuildContext context)
A callback that receives a BuildContext.
ContextedValueChanged<T> = void Function(BuildContext context, T value)
A callback that receives a BuildContext and a value of type T.
Convert<F, T> = T Function(F value)
Function type for converting from type F to type T.
CreatePlatformViewCallback = PlatformViewController Function(PlatformViewCreationParams params)
Constructs a PlatformViewController.
CreateRectTween = Tween<Rect?> Function(Rect? begin, Rect? end)
Signature for a function that takes two Rect instances and returns a RectTween that transitions between them.
DataWidgetBuilder<T> = Widget Function(BuildContext context, T data, Widget? child)
A widget builder that receives the data from the ancestor Data widget.
DateInputKey = FormKey<DateTime>
Form key type for date input fields with DateTime values.
DatePickerKey = FormKey<DateTime>
Form key type for date picker fields with DateTime values.
DateStateBuilder = DateState Function(DateTime date)
Callback function type for determining the state of calendar dates.
DebounceCallback<T> = FutureOr<T> Function()
A callback to be debounced or throttled.
DebounceErrorConsumer = void Function(Object error, StackTrace stackTrace)
A callback to be called when the debounced or throttled callback throws an error.
DebounceResultConsumer<T> = void Function(T value)
A callback to be called when the debounced or throttled callback is called.
DecoderBufferCallback = Future<Codec> Function(ImmutableBuffer buffer, {bool allowUpscaling, int? cacheHeight, int? cacheWidth})
Performs the decode process for use in ImageProvider.loadBuffer.
DelegatedTransitionBuilder = Widget? Function(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, bool allowSnapshotting, Widget? child)
Signature for a builder used to control a page's exit transition.
DensityModifier = EdgeInsets Function(EdgeInsets padding)
A function that modifies button padding based on density requirements.
DidRemovePageCallback = void Function(Page<Object?> page)
Signature for the Navigator.onDidRemovePage callback.
DismissDirectionCallback = void Function(DismissDirection direction)
Signature used by Dismissible to indicate that it has been dismissed in the given direction.
DismissUpdateCallback = void Function(DismissUpdateDetails details)
Signature used by Dismissible to indicate that the dismissible has been dragged.
DotBuilder = Widget Function(BuildContext context, int index, bool active)
Builder function type for creating custom dot widgets.
DragAnchorStrategy = Offset Function(Draggable<Object> draggable, BuildContext context, Offset position)
Signature for the strategy that determines the drag start point of a Draggable.
DragEndCallback = void Function(DraggableDetails details)
Signature for when the draggable is dropped.
DraggableCanceledCallback = void Function(Velocity velocity, Offset offset)
Signature for when a Draggable is dropped without being accepted by a DragTarget.
DragTargetAccept<T> = void Function(T data)
Signature for causing a DragTarget to accept the given data.
DragTargetAcceptWithDetails<T> = void Function(DragTargetDetails<T> details)
Signature for determining information about the acceptance by a DragTarget.
DragTargetBuilder<T> = Widget Function(BuildContext context, List<T?> candidateData, List rejectedData)
Signature for building children of a DragTarget.
DragTargetLeave<T> = void Function(T? data)
Signature for when a Draggable leaves a DragTarget.
DragTargetMove<T> = void Function(DragTargetDetails<T> details)
Signature for when a Draggable moves within a DragTarget.
DragTargetWillAccept<T> = bool Function(T? data)
Signature for determining whether the given data will be accepted by a DragTarget.
DragTargetWillAcceptWithDetails<T> = bool Function(DragTargetDetails<T> details)
Signature for determining whether the given data will be accepted by a DragTarget, based on provided information.
DragUpdateCallback = void Function(DragUpdateDetails details)
Signature for when a Draggable is dragged across the screen.
DrawerBuilder = Widget Function(BuildContext context, Size extraSize, Size size, EdgeInsets padding, int stackIndex)
Builder function signature for drawer content.
DurationInputKey = FormKey<Duration>
Form key type for duration input fields with Duration values.
DurationPickerKey = FormKey<Duration>
Form key type for duration picker fields with Duration values.
EditableTextContextMenuBuilder = Widget Function(BuildContext context, EditableTextState editableTextState)
Signature for a widget builder that builds a context menu for the given EditableTextState.
ElementCreatedCallback = void Function(Object element)
The signature of the function that gets called when the HtmlElementView DOM element is created.
ElementVisitor = void Function(Element element)
Signature for the callback to BuildContext.visitChildElements.
ErrorWidgetBuilder = Widget Function(BuildContext context, Object error, StackTrace? stackTrace)
A builder function for error widgets in command palettes.
ExitWidgetSelectionButtonBuilder = Widget Function(BuildContext context, {required GlobalKey<State<StatefulWidget>> key, required VoidCallback onPressed, required String semanticsLabel})
Signature for the builder callback used by WidgetInspector.exitWidgetSelectionButtonBuilder.
ExpansibleBuilder = Widget Function(BuildContext context, Widget header, Widget body, Animation<double> animation)
The type of the callback that uses the header and body of an Expansible widget to build the widget.
ExpansibleComponentBuilder = Widget Function(BuildContext context, Animation<double> animation)
The type of the callback that returns the header or body of an Expansible.
FocusOnKeyCallback = KeyEventResult Function(FocusNode node, RawKeyEvent event)
Signature of a callback used by Focus.onKey and FocusScope.onKey to receive key events.
FocusOnKeyEventCallback = KeyEventResult Function(FocusNode node, KeyEvent event)
Signature of a callback used by Focus.onKeyEvent and FocusScope.onKeyEvent to receive key events.
FormattedInputPopupBuilder<T> = Widget Function(BuildContext context, ComponentController<T?> controller)
A function type for building custom popup content for formatted object inputs.
FormFieldBuilder<T> = Widget Function(FormFieldState<T> field)
Signature for building the widget representing the form field.
FormFieldErrorBuilder = Widget Function(BuildContext context, String errorText)
Signature for a callback that builds an error widget.
FormFieldSetter<T> = void Function(T? newValue)
Signature for being notified when a form field changes value.
FormFieldValidator<T> = String? Function(T? value)
Signature for validating a form field.
FormMapValues = Map<FormKey, dynamic>
A map of form field keys to their values.
FormPendingWidgetBuilder = Widget Function(BuildContext context, Map<FormKey, Future<ValidationResult?>> errors, Widget? child)
Builder function type for displaying pending form validations.
FormSubmitCallback = void Function(BuildContext context, FormMapValues values)
Callback function for form submission.
FutureOrWidgetBuilder<T> = Widget Function(BuildContext context, AsyncSnapshot<T> snapshot)
A builder function for widgets based on FutureOr async snapshots.
FuturePredicate<T> = FutureOr<bool> Function(T? value)
A function type that evaluates a condition on a value and returns a boolean result.
FutureVoidCallback = Future<void> Function()
Callback for async refresh operations.
FutureWidgetBuilderCallback<T> = Widget Function(BuildContext context, T value)
A callback to be called when the future is completed with a value.
FutureWidgetBuilderEmptyCallback = Widget Function(BuildContext context)
A callback to be called when the future is completed with no data.
FutureWidgetBuilderErrorCallback = Widget Function(BuildContext context, Object error, StackTrace stackTrace)
A callback to be called when the future is completed with an error.
FutureWidgetBuilderLoadingCallback = Widget Function(BuildContext context)
A callback to be called when the future is still loading.
GenerateAppTitle = String Function(BuildContext context)
The signature of WidgetsApp.onGenerateTitle.
GestureDragCancelCallback = void Function()
Signature for when the pointer that previously triggered a GestureDragDownCallback did not complete.
GestureDragDownCallback = void Function(DragDownDetails details)
Signature for when a pointer has contacted the screen and might begin to move.
GestureDragEndCallback = void Function(DragEndDetails details)
Signature for when a pointer that was previously in contact with the screen and moving is no longer in contact with the screen.
GestureDragStartCallback = void Function(DragStartDetails details)
Signature for when a pointer has contacted the screen and has begun to move.
GestureDragUpdateCallback = void Function(DragUpdateDetails details)
Signature for when a pointer that is in contact with the screen and moving has moved again.
GestureForcePressEndCallback = void Function(ForcePressDetails details)
Signature for when the pointer that previously triggered a ForcePressGestureRecognizer.onStart callback is no longer in contact with the screen.
GestureForcePressPeakCallback = void Function(ForcePressDetails details)
Signature used by ForcePressGestureRecognizer for when a pointer that has pressed with at least ForcePressGestureRecognizer.peakPressure.
GestureForcePressStartCallback = void Function(ForcePressDetails details)
Signature used by a ForcePressGestureRecognizer for when a pointer has pressed with at least ForcePressGestureRecognizer.startPressure.
GestureForcePressUpdateCallback = void Function(ForcePressDetails details)
Signature used by ForcePressGestureRecognizer during the frames after the triggering of a ForcePressGestureRecognizer.onStart callback.
GestureLongPressCallback = void Function()
Callback signature for LongPressGestureRecognizer.onLongPress.
GestureLongPressEndCallback = void Function(LongPressEndDetails details)
Callback signature for LongPressGestureRecognizer.onLongPressEnd.
GestureLongPressMoveUpdateCallback = void Function(LongPressMoveUpdateDetails details)
Callback signature for LongPressGestureRecognizer.onLongPressMoveUpdate.
GestureLongPressStartCallback = void Function(LongPressStartDetails details)
Callback signature for LongPressGestureRecognizer.onLongPressStart.
GestureLongPressUpCallback = void Function()
Callback signature for LongPressGestureRecognizer.onLongPressUp.
GestureRecognizerFactoryConstructor<T extends GestureRecognizer> = T Function()
Signature for closures that implement GestureRecognizerFactory.constructor.
GestureRecognizerFactoryInitializer<T extends GestureRecognizer> = void Function(T instance)
Signature for closures that implement GestureRecognizerFactory.initializer.
GestureScaleEndCallback = void Function(ScaleEndDetails details)
Signature for when the pointers are no longer in contact with the screen.
GestureScaleStartCallback = void Function(ScaleStartDetails details)
Signature for when the pointers in contact with the screen have established a focal point and initial scale of 1.0.
GestureScaleUpdateCallback = void Function(ScaleUpdateDetails details)
Signature for when the pointers in contact with the screen have indicated a new focal point and/or scale.
GestureTapCallback = void Function()
Signature for when a tap has occurred.
GestureTapCancelCallback = void Function()
Signature for when the pointer that previously triggered a GestureTapDownCallback will not end up causing a tap.
GestureTapDownCallback = void Function(TapDownDetails details)
Signature for when a pointer that might cause a tap has contacted the screen.
GestureTapUpCallback = void Function(TapUpDetails details)
Signature for when a pointer that will trigger a tap has stopped contacting the screen.
HeroFlightShuttleBuilder = Widget Function(BuildContext flightContext, Animation<double> animation, HeroFlightDirection flightDirection, BuildContext fromHeroContext, BuildContext toHeroContext)
A function that lets Heroes self supply a Widget that is shown during the hero's flight from one route to another instead of default (which is to show the destination route's instance of the Hero).
HeroPlaceholderBuilder = Widget Function(BuildContext context, Size heroSize, Widget child)
Signature for a function that builds a Hero placeholder widget given a child and a Size.
HttpClientProvider = HttpClient Function()
Signature for a method that returns an HttpClient.
ImageChunkListener = void Function(ImageChunkEvent event)
Signature for listening to ImageChunkEvent events.
ImageDecoderCallback = Future<Codec> Function(ImmutableBuffer buffer, {TargetImageSizeCallback? getTargetSize})
Performs the decode process for use in ImageProvider.loadImage.
ImageErrorListener = void Function(Object exception, StackTrace? stackTrace)
Signature for reporting errors when resolving images.
ImageErrorWidgetBuilder = Widget Function(BuildContext context, Object error, StackTrace? stackTrace)
Signature used by Image.errorBuilder to create a replacement widget to render instead of the image.
ImageFrameBuilder = Widget Function(BuildContext context, Widget child, int? frame, bool wasSynchronouslyLoaded)
Signature used by Image.frameBuilder to control the widget that will be used when an Image is built.
ImageListener = void Function(ImageInfo image, bool synchronousCall)
Signature for callbacks reporting that an image is available.
ImageLoadingBuilder = Widget Function(BuildContext context, Widget child, ImageChunkEvent? loadingProgress)
Signature used by Image.loadingBuilder to build a representation of the image's loading progress.
IndexedWidgetBuilder = Widget Function(BuildContext context, int index)
Signature for a function that creates a widget for a given index, e.g., in a list.
InitialRouteListFactory = List<Route> Function(String initialRoute)
The signature of WidgetsApp.onGenerateInitialRoutes.
InlineSpanVisitor = bool Function(InlineSpan span)
Called on each span as InlineSpan.visitChildren walks the InlineSpan tree.
InputKey = FormKey<String>
Form key type for text input fields with string values.
InputOTPKey = FormKey<List<int?>>
Form key type for OTP input fields with lists of nullable integers.
InspectorSelectionChangedCallback = void Function()
Signature for the selection change callback used by WidgetInspectorService.selectionChangedCallback.
InteractiveViewerWidgetBuilder = Widget Function(BuildContext context, Quad viewport)
A signature for widget builders that take a Quad of the current viewport.
IntrinsicComputer = double Function(RenderBox child, double extent)
Function that computes intrinsic dimensions for a render box.
ItemPickerBuilder<T> = Widget Function(BuildContext context, T item)
A builder function that creates a widget for an item.
KeyboardShortcutDisplayBuilder = Widget Function(BuildContext context, LogicalKeyboardKey key)
Builder function type for creating custom keyboard key displays.
LayoutWidgetBuilder = Widget Function(BuildContext context, BoxConstraints constraints)
The signature of the LayoutBuilder builder function.
ListChangeListener<T> = void Function(ListChangeDetails<T> details)
A callback that receives a ListChangeDetails object.
LocaleListResolutionCallback = Locale? Function(List<Locale>? locales, Iterable<Locale> supportedLocales)
The signature of WidgetsApp.localeListResolutionCallback.
LocaleResolutionCallback = Locale? Function(Locale? locale, Iterable<Locale> supportedLocales)
The signature of WidgetsApp.localeResolutionCallback.
MagnifierBuilder = Widget? Function(BuildContext context, MagnifierController controller, ValueNotifier<MagnifierInfo> magnifierInfo)
Signature for a builder that builds a Widget with a MagnifierController.
MapChangeListener<K, V> = void Function(MapChangeDetails<K, V> details)
A callback that receives a MapChangeDetails object.
The signature for a function that generates unique menu item IDs for serialization of a PlatformMenuItem.
ModelWidgetBuilder<T> = Widget Function(BuildContext context, ModelProperty<T> model, Widget? child)
A callback that takes the model and returns a widget.
MoveExitWidgetSelectionButtonBuilder = Widget Function(BuildContext context, {required VoidCallback onPressed, required String semanticsLabel, bool usesDefaultAlignment})
Signature for the builder callback used by WidgetInspector.moveExitWidgetSelectionButtonBuilder.
MultipleAnswerKey<T> = FormKey<Iterable<T>>
Form key type for multiple answer fields with iterable values.
MultipleChoiceKey<T> = FormKey<T>
Form key type for multiple choice fields with single selected values.
MultiSelectKey<T> = FormKey<Iterable<T>>
Form key type for multi-select fields with iterable values.
Builder function for navigation widgets with selection state.
A callback that given a BuildContext finds a NavigatorState.
NestedScrollViewHeaderSliversBuilder = List<Widget> Function(BuildContext context, bool innerBoxIsScrolled)
Signature used by NestedScrollView for building its header.
NeverWidgetBuilder = Widget Function([dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic])
Function signature for a widget builder that accepts any number of parameters.
NotificationListenerCallback<T extends Notification> = bool Function(T notification)
Signature for Notification listeners.
NullableIndexedWidgetBuilder = Widget? Function(BuildContext context, int index)
Signature for a function that creates a widget for a given index, e.g., in a list, but may return null.
NumberInputKey = FormKey<num>
Form key type for number input fields with numeric values.
NumberTickerBuilder = Widget Function(BuildContext context, num number, Widget? child)
A callback that builds a widget based on an animated number value.
NumberTickerFormatted = String Function(num number)
A callback that formats a number into a string representation.
ObjectInputCancelButton = OutlineButton
Type definition for the cancel button in an object input form field.
ObjectInputSaveButton = PrimaryButton
Type definition for the save button in an object input form field.
OnContextedCallback<T extends Intent> = Object? Function(T intent, [BuildContext? context])
Callback type for context actions with optional context parameter.
OnContextInvokeCallback<T extends Intent> = Object? Function(T intent, [BuildContext? context])
Callback signature for context actions.
OnInvokeCallback<T extends Intent> = Object? Function(T intent)
The signature of a callback accepted by CallbackAction.onInvoke.
OnKeyEventCallback = KeyEventResult Function(KeyEvent event)
Signature of a callback used by FocusManager.addEarlyKeyEventHandler and FocusManager.addLateKeyEventHandler.
OptionalDataWidgetBuilder<T> = Widget Function(BuildContext context, T? data, Widget? child)
A widget builder that receives the data (that may be null) from the ancestor
OptionalWidgetBuilder = Widget? Function(BuildContext context)
Builder function that optionally returns a widget.
OrientationWidgetBuilder = Widget Function(BuildContext context, Orientation orientation)
Signature for a function that builds a widget given an Orientation.
OTPCodepointList = List<int?>
A list of nullable codepoints representing OTP input values.
OverlayChildLayoutBuilder = Widget Function(BuildContext context, OverlayChildLayoutInfo info)
The signature of the widget builder callback used in OverlayPortal.overlayChildLayoutBuilder.
PageRouteFactory = PageRoute<T> Function<T>(RouteSettings settings, WidgetBuilder builder)
The signature of WidgetsApp.pageRouteBuilder.
PaintImageCallback = void Function(ImageSizeInfo info)
Called when the framework is about to paint an Image to a Canvas with an ImageSizeInfo that contains the decoded size of the image as well as its output size.
PhoneInputKey = FormKey<PhoneNumber>
Form key type for phone input fields with PhoneNumber values.
PlatformViewSurfaceFactory = Widget Function(BuildContext context, PlatformViewController controller)
A factory for a surface presenting a platform view as part of the widget hierarchy.
PointerCancelEventListener = void Function(PointerCancelEvent event)
Signature for listening to PointerCancelEvent events.
PointerDownEventListener = void Function(PointerDownEvent event)
Signature for listening to PointerDownEvent events.
PointerMoveEventListener = void Function(PointerMoveEvent event)
Signature for listening to PointerMoveEvent events.
PointerUpEventListener = void Function(PointerUpEvent event)
Signature for listening to PointerUpEvent events.
PopInvokedCallback = void Function(bool didPop)
A callback type for informing that a navigation pop has been invoked, whether or not it was handled successfully.
PopInvokedWithResultCallback<T> = void Function(bool didPop, T? result)
A callback type for informing that a navigation pop has been invoked, whether or not it was handled successfully.
PopoverFutureVoidCallback<T> = Future<T> Function(T value)
Callback type for popover futures with value transformation.
PopPageCallback = bool Function(Route route, dynamic result)
Signature for the Navigator.onPopPage callback.
PopResultCallback<T> = void Function(T? result)
A signature for a function that is passed the result of a Route.
Predicate<T> = bool Function(T value)
A function that tests a value of type T and returns a boolean.
PreviewLabelBuilder = Widget Function(BuildContext context, Color color)
A function that builds a preview label widget for the eye dropper.
PropertyLerp<T> = T? Function(T? a, T? b, double t)
A function type that interpolates between two values of type T.
RadioBuilder = Widget Function(BuildContext context, ToggleableStateMixin<StatefulWidget> state)
Signature for RawRadio.builder.
RadioCardKey = FormKey<int>
Form key type for radio card fields with integer index values.
RadioGroupKey = FormKey<int>
Form key type for radio group fields with integer index values.
RawMenuAnchorChildBuilder = Widget Function(BuildContext context, MenuController controller, Widget? child)
Signature for the builder function used by RawMenuAnchor.builder to build the widget that the RawMenuAnchor surrounds.
RawMenuAnchorCloseRequestedCallback = void Function(VoidCallback hideOverlay)
Signature for the callback used by RawMenuAnchor.onCloseRequested to intercept requests to close a menu.
RawMenuAnchorOpenRequestedCallback = void Function(Offset? position, VoidCallback showOverlay)
Signature for the callback used by RawMenuAnchor.onOpenRequested to intercept requests to open a menu.
RawMenuAnchorOverlayBuilder = Widget Function(BuildContext context, RawMenuOverlayInfo info)
Signature for the builder function used by RawMenuAnchor.overlayBuilder to build a menu's overlay.
RebuildDirtyWidgetCallback = void Function(Element e, bool builtOnce)
Signature for debugOnRebuildDirtyWidget implementations.
RefreshIndicatorBuilder = Widget Function(BuildContext context, RefreshTriggerStage stage)
Builder function for custom refresh indicators.
RegisterServiceExtensionCallback = void Function({required ServiceExtensionCallback callback, required String name})
Signature for a method that registers the service extension callback with the given name.
RegisterViewFactory = void Function(String, Object (int viewId), {bool isVisible})
Function signature for ui_web.platformViewRegistry.registerViewFactory.
RenderConstrainedLayoutBuilder<LayoutInfoType, ChildType extends RenderObject> = RenderAbstractLayoutBuilderMixin<LayoutInfoType, ChildType>
Generic mixin for RenderObjects created by an AbstractLayoutBuilder with the the same LayoutInfoType.
ReorderCallback = void Function(int oldIndex, int newIndex)
A callback used by ReorderableList to report that a list item has moved to a new position in the list.
ReorderDragBoundaryProvider = DragBoundaryDelegate<Rect>? Function(BuildContext context)
Used to provide drag boundaries during drag-and-drop reordering.
ReorderItemProxyDecorator = Widget Function(Widget child, int index, Animation<double> animation)
Signature for the builder callback used to decorate the dragging item in ReorderableList and SliverReorderableList.
ReplacementInfo = (int, String)
Record type for replacement information: (start index, new text).
RestorableRouteBuilder<T> = Route<T> Function(BuildContext context, Object? arguments)
Creates a Route that is to be added to a Navigator.
RouteCompletionCallback<T> = void Function(T result)
A callback to handle the result of a completed Route.
RouteFactory = Route? Function(RouteSettings settings)
Creates a route for the given route settings.
RouteListFactory = List<Route> Function(NavigatorState navigator, String initialRoute)
Creates a series of one or more routes.
RoutePageBuilder = Widget Function(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation)
Signature for the function that builds a route's primary contents. Used in PageRouteBuilder and showGeneralDialog.
RoutePredicate = bool Function(Route route)
Signature for the Navigator.popUntil predicate argument.
RoutePresentationCallback = String Function(NavigatorState navigator, Object? arguments)
A callback that given some arguments and a navigator adds a new restorable route to that navigator and returns the opaque ID of that new route.
RouteTransitionsBuilder = Widget Function(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child)
Signature for the function that builds a route's transitions. Used in PageRouteBuilder and showGeneralDialog.
ScrollableBuilder = Widget Function(BuildContext context, Offset offset, Size viewportSize, Widget? child)
Builder function for creating scrollable content with viewport information.
ScrollableWidgetBuilder = Widget Function(BuildContext context, ScrollController scrollController)
The signature of a method that provides a BuildContext and ScrollController for building a widget that may overflow the draggable Axis of the containing DraggableScrollableSheet.
ScrollControllerCallback = void Function(ScrollPosition position)
Signature for when a ScrollController has added or removed a ScrollPosition.
ScrollIncrementCalculator = double Function(ScrollIncrementDetails details)
A typedef for a function that can calculate the offset for a type of scroll increment given a ScrollIncrementDetails.
ScrollNotificationCallback = void Function(ScrollNotification notification)
A ScrollNotification listener for ScrollNotificationObserver.
ScrollNotificationPredicate = bool Function(ScrollNotification notification)
A predicate for ScrollNotification, used to customize widgets that listen to notifications from their children.
SearchPredicate<T> = double Function(T value, String query)
A function that scores how well a value matches a search query.
SelectableDayPredicate = bool Function(DateTime day)
Signature for predicating dates for enabled date selections.
SelectableRegionContextMenuBuilder = Widget Function(BuildContext context, SelectableRegionState selectableRegionState)
Signature for a widget builder that builds a context menu for the given SelectableRegionState.
SelectionChangedCallback = void Function(TextSelection selection, SelectionChangedCause? cause)
Signature for the callback that reports when the user changes the selection (including the cursor location).
SelectItemsBuilder<T> = FutureOr<SelectItemDelegate> Function(BuildContext context, String? searchQuery)
Builder function type for creating select item delegates.
SelectItemWidgetBuilder = Widget Function(BuildContext context, int index)
Builder function type for creating select item widgets.
SelectKey<T> = FormKey<T>
Form key type for select dropdown fields with typed values.
SelectPopupBuilder = Widget Function(BuildContext context)
Builder function for select popup content.
SelectValueBuilder<T> = Widget Function(BuildContext context, T value)
Builder function for rendering selected values.
SelectValueChanged<T> = bool Function(T value, bool selected)
Callback type for handling selection changes in select components.
SelectValueSelectionHandler<T> = T? Function(T? oldValue, Object? value, bool selected)
Handler for custom selection logic.
SelectValueSelectionPredicate<T> = bool Function(T? value, Object? test)
Predicate for testing value selection state.
SemanticIndexCallback = int? Function(Widget widget, int localIndex)
A callback which produces a semantic index given a widget and the local index.
SemanticsBuilderCallback = List<CustomPainterSemantics> Function(Size size)
Signature of the function returned by CustomPainter.semanticsBuilder.
SetChangeListener<T> = void Function(SetChangeDetails<T> details)
A set that can be listened to for changes and notifies listeners when the set changes.
ShaderCallback = Shader Function(Rect bounds)
Signature for a function that creates a Shader for a given Rect.
ShaderWarmUpImageCallback = bool Function(Image image)
The signature of debugCaptureShaderWarmUpImage.
ShaderWarmUpPictureCallback = bool Function(Picture picture)
The signature of debugCaptureShaderWarmUpPicture.
SharedAppDataInitCallback<T> = T Function()
The type of the SharedAppData.getValue init parameter.
SliderKey = FormKey<SliderValue>
Form key type for slider fields with SliderValue values.
SliverLayoutWidgetBuilder = Widget Function(BuildContext context, SliverConstraints constraints)
The signature of the SliverLayoutBuilder builder function.
SortableItemBuilder<T> = T Function(BuildContext context, int index)
Builder function that creates sortable list items.
SortableWidgetBuilder<T> = Widget Function(BuildContext context, int index, T item)
Builder function that creates widgets for sortable list items.
StarRatingKey = FormKey<double>
Form key type for star rating fields with double values.
StatefulWidgetBuilder = Widget Function(BuildContext context, StateSetter setState)
Signature for the builder callback used by StatefulBuilder.
StateSetter = void Function(VoidCallback fn)
The signature of State.setState functions.
StepSizeBuilder = Widget Function(BuildContext context, Widget child)
Function type for building size-appropriate step content.
SubFocusBuilder = Widget Function(BuildContext context, SubFocusState state)
Callback function type for building SubFocus widgets.
SubFocusScopeBuilder = Widget Function(BuildContext context, SubFocusScopeState state)
Callback function type for building SubFocusScope widgets.
SuggestionBuilder = FutureOr<Iterable<String>> Function(String query)
A callback that provides suggestions based on a query string.
SwitchKey = FormKey<bool>
Form key type for switch fields with boolean values.
TabBuilder = Widget Function(BuildContext context, List<Widget> children)
Builder function for creating tab layout.
TabChildBuilder = Widget Function(BuildContext context, TabContainerData data, Widget child)
Builder function for creating individual tab child widgets.
TableCellThemeBuilder = TableCellTheme Function(BuildContext context)
Function that builds a TableCellTheme based on context.
TableSizeSupplier = TableSize Function(int index)
Function that provides a TableSize for a given index.
TabPaneItemBuilder<T> = TabChild Function(BuildContext context, TabPaneData<T> item, int index)
Builder function for creating tab child widgets from tab pane data.
TapBehaviorButtonBuilder = Widget Function(BuildContext context, {required VoidCallback onPressed, required bool selectionOnTapEnabled, required String semanticsLabel})
Signature for the builder callback used by WidgetInspector.tapBehaviorButtonBuilder.
TapRegionCallback = void Function(PointerDownEvent event)
Signature for a callback called for a PointerDownEvent relative to a TapRegion.
TapRegionUpCallback = void Function(PointerUpEvent event)
Signature for a callback called for a PointerUpEvent relative to a TapRegion.
TextAreaKey = FormKey<String>
Form key type for text area fields with string values.
TextFieldKey = FormKey<String>
Form key type for text field inputs with string values.
TimeInputKey = FormKey<TimeOfDay>
Form key type for time input fields with TimeOfDay values.
TimePickerKey = FormKey<TimeOfDay>
Form key type for time picker fields with TimeOfDay values.
ToastBuilder = Widget Function(BuildContext context, ToastOverlay overlay)
Builder function for custom toast widgets.
ToggleKey = FormKey<bool>
Form key type for toggle fields with boolean values.
ToolbarBuilder = Widget Function(BuildContext context, Widget child)
The type for a Function that builds a toolbar's container with the given child.
TransformCallback = Matrix4 Function(double animationValue)
Signature for the callback to MatrixTransition.onTransform.
TransitionBuilder = Widget Function(BuildContext context, Widget? child)
A builder that builds a widget given a child.
TraversalRequestFocusCallback = void Function(FocusNode node, {double? alignment, ScrollPositionAlignmentPolicy? alignmentPolicy, Curve? curve, Duration? duration})
Signature for the callback that's called when a traversal policy requests focus.
TreeNodeSelectionChanged<T> = void Function(List<TreeNode<T>> selectedNodes, bool multiSelect, bool selected)
Callback invoked when tree node selection changes.
TreeNodeUnaryOperator<K> = TreeNode<K>? Function(TreeNode<K> node)
Function that transforms a tree node, optionally returning a new node.
TreeNodeUnaryOperatorWithParent<K> = TreeNode<K>? Function(TreeNode<K>? parent, TreeNode<K> node)
Function that transforms a tree node with parent context.
TreeSliverNodeBuilder = Widget Function(BuildContext context, TreeSliverNode<Object?> node, AnimationStyle animationStyle)
Signature for a function that creates a Widget to represent the given TreeSliverNode in the TreeSliver.
TreeSliverNodeCallback = void Function(TreeSliverNode<Object?> node)
Signature for a function that is called when a TreeSliverNode is toggled, changing its expanded state.
TreeSliverRowExtentBuilder = double Function(TreeSliverNode<Object?> node, SliverLayoutDimensions dimensions)
Signature for a function that returns an extent for the given TreeSliverNode in the TreeSliver.
TweenConstructor<T extends Object> = Tween<T> Function(T targetValue)
Signature for a Tween factory.
TweenVisitor<T extends Object> = Tween<T>? Function(Tween<T>? tween, T targetValue, TweenConstructor<T> constructor)
Signature for callbacks passed to ImplicitlyAnimatedWidgetState.forEachTween.
TwoDimensionalIndexedWidgetBuilder = Widget? Function(BuildContext context, ChildVicinity vicinity)
Signature for a function that creates a widget for a given ChildVicinity, e.g., in a TwoDimensionalScrollView, but may return null.
TwoDimensionalViewportBuilder = Widget Function(BuildContext context, ViewportOffset verticalPosition, ViewportOffset horizontalPosition)
Signature used by TwoDimensionalScrollable to build the viewport through which the scrollable content is displayed.
UnaryOperator<T> = T Function(T value)
A function that takes a value of type T and returns a value of type T.
ValidatedBuilder = Widget Function(BuildContext context, ValidationResult? error, Widget? child)
Builder function for validated widgets.
ValidatorBuilderFunction<T> = FutureOr<ValidationResult?> Function(T? value)
A function type for building custom validators.
ValueChanged<T> = void Function(T value)
Signature for callbacks that report that an underlying value has changed.
ValueChangeListener<T> = void Function(T value, T previous)
A callback that receives a value and the previous value.
ValueGetter<T> = T Function()
Signature for callbacks that are to report a value on demand.
ValueListenableTransformer<T> = T Function(T)
Signature for method used to transform values in Animation.fromValueListenable.
ValueSetter<T> = void Function(T value)
Signature for callbacks that report that a value has been set.
ValueWidgetBuilder<T> = Widget Function(BuildContext context, T value, Widget? child)
Builds a Widget when given a concrete value of a ValueListenable<T>.
ViewportBuilder = Widget Function(BuildContext context, ViewportOffset position)
Signature used by Scrollable to build the viewport through which the scrollable content is displayed.
VoidCallback = void Function()
Signature of callbacks that have no arguments and return no data.
WidgetBuilder = Widget Function(BuildContext context)
Signature for a function that creates a widget, e.g. StatelessWidget.build or State.build.
WidgetPropertyResolver<T> = T Function(Set<WidgetState> states)
Signature for the function that returns a value of type T based on a given set of states.
WidgetStateMap<T> = Map<WidgetStatesConstraint, T>
A Map used to resolve to a single value of type T based on the current set of Widget states.
WidgetTextWrapper = Widget Function(BuildContext context, Widget child)
Function signature for wrapping widgets with additional structure.
WillPopCallback = Future<bool> Function()
Signature for a callback that verifies that it's OK to call Navigator.pop.
WordInfo = (int, String)
Record type for word information: (start index, word string).
WrappedIconDataBuilder<T> = T Function(BuildContext context, ThemeData theme)
Builder function for creating icon theme data.
WrappedTextDataBuilder<T> = T Function(BuildContext context, ThemeData theme)
Function signature for building data from context and theme.
WrapperBuilder = Widget Function(BuildContext context, Widget child)
A function signature for building widgets that wrap child widgets.

Exceptions / Errors

FlutterError
Error class used to report Flutter-specific assertion failures and contract violations.
NetworkImageLoadException
The exception thrown when the HTTP request to load a network image fails.
TickerCanceled
Exception thrown by Ticker objects on the TickerFuture.orCancel future when the ticker is canceled.