foundation/foundation library

Classes

StacAlignmentGeometry
A Stac representation of Flutter's AlignmentGeometry class.
StacBeveledRectangleBorder
A Stac model representing Flutter's BeveledRectangleBorder.
StacBorder
A Stac representation of borders for UI elements.
StacBorderRadius
A Stac representation of border radius for rounded corners.
StacBorderSide
A Stac representation of a single border side.
StacBottomNavigationBarItem
A Stac model representing a Flutter BottomNavigationBarItem.
StacBoxConstraints
A Stac representation of box constraints for layout sizing.
StacBoxDecoration
A Stac representation of box decoration for styling containers.
StacBoxShadow
A Stac representation of box shadows for visual depth effects.
StacButtonStyle
A Stac model representing Flutter's ButtonStyle.
StacCircleBorder
A Stac model representing Flutter's CircleBorder.
StacColors
A collection of predefined colors for the Stac framework.
StacContinuousRectangleBorder
A Stac model representing Flutter's ContinuousRectangleBorder.
StacCustomTextStyle
A custom text style similar to Flutter's TextStyle.
StacDecorationImage
An image to use as decoration in a box decoration.
StacDropdownMenuEntry
Configuration for a single entry in a DropdownMenu.
StacDuration
A Stac model representing Flutter's Duration class.
StacEdgeInsets
A Stac representation of edge insets for padding and margins.
StacFormFieldValidator
A Stac model representing a declarative form field validator.
StacGradient
A Stac representation of gradients for visual effects.
StacImageFilter
A Stac model representing Flutter's ImageFilter.
StacInputBorder
A Stac model for Flutter input borders.
StacInputDecoration
Stac model that represents Flutter's InputDecoration.
StacInputDecorationTheme
A Stac representation of input decoration theme properties.
StacInputFormatter
A Stac model representing a text input formatter rule.
StacOffset
A Stac representation of a 2D offset (displacement).
StacRect
A Stac representation of rectangles for geometric operations.
StacRectTween
A Stac model representing a rectangle tween used by Hero.
StacRoundedRectangleBorder
A Stac model representing Flutter's RoundedRectangleBorder.
StacShadow
A Stac representation of shadows for visual effects.
StacShapeBorder
Abstract base class for Stac shape borders.
StacSize
A Stac representation of a 2D size with width and height.
StacSystemUIOverlayStyle
A Stac representation of system UI overlay styling.
StacTableBorder
A Stac model describing the border to paint around a Table.
StacTableColumnWidth
Configuration describing a single column's width behavior.
StacTextSpan
A Stac representation of an immutable span of text.
StacTextStyle
Base interface for text styles.
StacTheme
Base interface for text styles.
StacThemeTextStyle
A text style that references a style from ThemeData.textTheme.
StacThemeTextStyles
A collection of all available theme text styles.
StacVisualDensity
A Stac model representing Flutter's VisualDensity class.

Enums

ActionType
Enumeration of all supported action types in the Stac framework.
StacAlignment
Fixed alignment options that do not adapt to text direction.
StacAlignmentDirectional
Directional alignment options that adapt to text direction.
StacAutovalidateMode
Mirrors Flutter's AutovalidateMode for form fields.
StacAxis
Axis direction options for layout widgets.
StacBlendMode
Blend modes for compositing colors and images.
StacBlurStyle
Blur style options for image filters and effects.
StacBorderStyle
Border style options for drawing borders.
StacBottomNavigationBarLandscapeLayout
Enum mirroring Flutter's BottomNavigationBarLandscapeLayout.
StacBottomNavigationBarType
Enum mirroring Flutter's BottomNavigationBarType.
StacBoxFit
How a box should be inscribed into another box.
StacBoxShape
Shape options for boxes and containers.
StacBrightness
Mirrors Flutter's Brightness.
StacCarouselViewType
Defines how a CarouselView lays out its children.
StacClip
Clipping options for widgets that may overflow their bounds.
StacCrossAxisAlignment
Cross-axis alignment options for flex layouts.
StacDismissDirection
Direction(s) in which a dismissible widget can be dismissed.
StacDragStartBehavior
Behavior options for when drag operations should start.
StacDropdownMenuCloseBehavior
Controls how a DropdownMenu responds to taps outside of it.
StacFilterQuality
Filter quality options for image scaling and rendering.
StacFlexFit
Flex fit options for flexible widgets.
StacFloatingActionButtonLocation
Floating action button positioning options.
StacFloatingActionButtonType
Enum representing the different types of floating action buttons.
StacFontStyle
Font style options for text styling.
StacFontWeight
Font weight options for text styling.
StacGradientType
Types of gradients supported by the Stac framework.
StacHitTestBehavior
How to behave during hit testing. Corresponds to Flutter's HitTestBehavior.
StacIconAlignment
Icon alignment options for buttons.
StacIconType
Icon design system types supported by Stac.
StacImageFilterType
Types of image filters supported by the Stac framework.
StacImageRepeat
How to paint any portions of a box not covered by an image.
StacImageType
Image source types supported by Stac.
StacInputBorderType
Type of input border to render.
StacInputFormatterType
Input formatter behavior types for text field validation.
StacListTileStyle
Defines the visual properties of a ListTile.
StacListTileTitleAlignment
Defines how the title and subtitle of a ListTile are vertically aligned.
StacMainAxisAlignment
Main-axis alignment options for flex layouts.
StacMainAxisSize
Main-axis sizing options for flex layouts.
StacMaterialTapTargetSize
Material tap target size options.
StacMaterialTextStyle
Material TextTheme style keys.
StacMaxLengthEnforcement
Mirrors Flutter's MaxLengthEnforcement for text input.
StacMouseCursor
Mouse cursor styles that can be applied to interactive elements.
StacOptionsViewOpenDirection
Indicates the direction in which the options view opens for Autocomplete.
StacOverflowBarAlignment
How children within an OverflowBar should be placed horizontally.
StacRadioType
Defines which platform style of radio to render.
StacRectType
Types of rectangle construction methods supported by StacRect.
StacRefreshIndicatorTriggerMode
Defines how the StacRefreshIndicator can be triggered, mirroring Flutter's RefreshIndicatorTriggerMode.
StacScrollPhysics
Defines the types of scroll physics that can be applied to scrollable widgets.
StacScrollViewKeyboardDismissBehavior
Defines how a scroll view in Stac should dismiss the keyboard.
StacShapeBorderType
Types of shape borders supported by the Stac framework.
StacSliderInteraction
Declarative enum mirroring Flutter's SliderInteraction.
StacSliderType
An enum to select which platform style of Slider to render.
StacSmartDashesType
Mirrors Flutter's SmartDashesType for text input.
StacSmartQuotesType
Mirrors Flutter's SmartQuotesType for text input.
StacSnackBarBehavior
Behavior of a SnackBar's position.
StacStackFit
Sizing options for Stack widget children.
StacStrokeCap
Stroke cap styles for line endings.
StacSwitchType
Defines which platform style of switch to render.
StacTabAlignment
Controls how tabs are aligned within a TabBar.
StacTabBarIndicatorSize
Defines how the tab indicator's size is computed.
StacTableColumnWidthType
Column width strategies supported by Table.
StacTextAlign
Text alignment options for text widgets.
StacTextBaseline
Text baseline options for vertical text alignment.
StacTextCapitalization
How to auto-capitalize user input. Mirrors Flutter's TextCapitalization.
StacTextDecorationStyle
Text decoration style options for underlines, overlines, etc.
StacTextDirection
Text direction options for text layout.
StacTextInputAction
IME action button to display/trigger on the soft keyboard. Mirrors Flutter's TextInputAction.
StacTextInputType
JSON-friendly keyboard type values for TextField. Mirrors Flutter's TextInputType at a high level.
StacTextLeadingDistribution
Text leading (line height) distribution options.
StacTextOverflow
Text overflow handling options when text doesn't fit.
StacTextStyleType
Discriminator for StacTextStyle variants.
StacTextWidthBasis
Text width calculation basis options.
StacTileMode
Tile modes that determine how gradients handle areas outside their defined bounds.
StacTraversalEdgeBehavior
Dialog traversal behavior within focus traversal.
StacVerticalDirection
Vertical direction options for layout widgets.
StacWrapAlignment
Alignment options for Wrap widget children.
StacWrapCrossAlignment
Cross-axis alignment options for Wrap widget runs.
WidgetType
Enumeration of all supported widget types in the Stac framework.

Constants

StacLinearGradient → const StacGradient Function({StacAlignment? begin, required List<StacColor>? colors, StacAlignment? end, List<double>? stops, StacTileMode? tileMode})
A linear gradient that transitions colors along a straight line.
StacRadialGradient → const StacGradient Function({StacAlignment? center, required List<StacColor>? colors, StacAlignment? focal, double? focalRadius, double? radius, List<double>? stops, StacTileMode? tileMode})
A radial gradient that transitions colors in a circular pattern from center outward.
StacSweepGradient → const StacGradient Function({StacAlignment? center, required List<StacColor>? colors, double? endAngle, double? startAngle, List<double>? stops, StacTileMode? tileMode})
A sweep gradient that transitions colors in a circular sweep around a center point.

Typedefs

StacColor = String
Type alias for Stac color representation as a hex string.