stac_core library
Classes
- StacAction
- Base class for all Stac actions that can be performed on widgets.
- StacAlertDialog
-
A Stac model representing Flutter's
AlertDialog
widget. - StacAppBar
-
A Stac model representing Flutter's
AppBar
widget. - StacAspectRatio
-
A Stac model representing Flutter's
AspectRatio
widget. - StacAutoComplete
-
A Stac model representing Flutter's
Autocomplete
widget. - StacBackdropFilter
-
A Stac model representing Flutter's
BackdropFilter
widget. - 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.
-
A Stac model representing Flutter's
BottomNavigationBar
. -
A Stac model representing a Flutter
BottomNavigationBarItem
. - A Stac model representing a custom Bottom Navigation view container.
- 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.
- StacCard
-
A Stac model representing Flutter's
Card
widget. - StacCarouselView
-
A Stac model representing Flutter's
CarouselView
widget. - StacCenter
-
A Stac model representing Flutter's
Center
widget. - StacCheckBox
-
A Stac model representing Flutter's
Checkbox
widget. - StacChip
-
A Stac model representing Flutter's
Chip
widget. - StacCircleAvatar
-
A Stac model representing Flutter's
CircleAvatar
widget. - StacCircleBorder
-
A Stac model representing Flutter's
CircleBorder
. - StacCircularProgressIndicator
-
A Stac model representing Flutter's
CircularProgressIndicator
widget. - StacClipOval
-
A Stac model representing Flutter's
ClipOval
widget. - StacClipRRect
-
A Stac model representing Flutter's
ClipRRect
widget. - StacColoredBox
-
A Stac model representing Flutter's
ColoredBox
widget. - StacColors
- A collection of predefined colors for the Stac framework.
- StacColumn
-
A Stac model representing Flutter's
Column
widget. - StacConditional
- A Stac model representing a conditional widget.
- StacContainer
-
A Stac model representing Flutter's
Container
widget. - StacContinuousRectangleBorder
-
A Stac model representing Flutter's
ContinuousRectangleBorder
. - StacCupertinoIcons
- StacCustomScrollView
-
A Stac model representing Flutter's
CustomScrollView
. - StacDecorationImage
- An image to use as decoration in a box decoration.
- StacDefaultTabController
-
A Stac model representing Flutter's
DefaultTabController
widget. - StacDelayAction
- Simple delay action that waits for a number of milliseconds.
- StacDialogAction
- Core model for the "showDialog" action.
- StacDivider
-
A Stac model representing Flutter's
Divider
widget. - StacDrawer
-
A Stac model representing Flutter's
Drawer
widget. - StacDropdownMenu
-
A Stac model representing Flutter's
DropdownMenu
widget. - StacDropdownMenuEntry
-
Configuration for a single entry in a
DropdownMenu
. - StacDuration
- A Stac model representing Flutter's Duration class.
- StacDynamicView
- A Stac model for dynamically fetching data and rendering it using a template.
- StacEdgeInsets
- A Stac representation of edge insets for padding and margins.
- StacElement
- Base interface for all STAC elements that can be serialized to JSON
- StacElevatedButton
-
A Stac model representing Flutter's
ElevatedButton
widget. - StacExpanded
-
A Stac model representing Flutter's
Expanded
widget. - StacFilledButton
-
A Stac model representing Flutter's
FilledButton
widget. - StacFittedBox
- A Stac widget that scales and positions its child within itself.
- StacFlexible
-
A Stac model representing Flutter's
Flexible
widget. - StacFloatingActionButton
-
A Stac model representing Flutter's
FloatingActionButton
widget. - StacForm
- A Stac model representing a form scope used to coordinate input fields and actions.
- StacFormFieldValidator
- A Stac model representing a declarative form field validator.
- StacFormValidate
- A Stac action that validates form data and executes conditional actions.
- StacFractionallySizedBox
- A Stac widget that sizes its child to a fraction of the available space.
- StacGetFormValue
- A Stac action that retrieves the value of a specific form field.
- StacGradient
- A Stac representation of gradients for visual effects.
- StacGridView
-
A Stac model representing Flutter's
GridView
widget. - StacHero
-
A Stac model representing Flutter's
Hero
widget. - StacIcon
-
A Stac model representing Flutter's
Icon
widget. - StacIconButton
-
A Stac model representing Flutter's
IconButton
widget. - StacIcons
- String constants for icon names usable in Stac JSON. Generated from icon_utils.dart to avoid hardcoded strings.
- StacImage
- A Stac widget that displays an image.
- StacImageFilter
- A Stac model representing Flutter's ImageFilter.
- StacInkWell
-
A Stac model representing Flutter's
InkWell
widget. - 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.
- StacLimitedBox
-
A Stac model representing Flutter's
LimitedBox
widget. - StacModalBottomSheetAction
- Core model for the "showModalBottomSheet" action.
- StacMultiAction
- Executes multiple actions sequentially or concurrently.
- A Stac action that performs navigation operations.
- StacNetworkRequest
- A Stac action that performs HTTP network requests.
- StacNetworkResult
- A conditional result that maps HTTP status codes to actions.
- StacNetworkWidget
- A Stac model representing a network-driven widget.
- StacOffset
- A Stac representation of a 2D offset (displacement).
- StacOpacity
-
A Stac model representing Flutter's
Opacity
widget. - StacOutlinedButton
-
A Stac model representing Flutter's
OutlinedButton
widget. - StacPadding
- A Stac widget that adds padding around its child.
- StacPageView
-
A Stac model representing Flutter's
PageView
widget. - StacPlaceholder
-
A Stac model representing Flutter's
Placeholder
widget. - StacPositioned
- A Stac widget that controls where a child of a Stack is positioned.
- StacRadio
- A Stac model representing Flutter's Radio and CupertinoRadio widgets.
- StacRadioGroup
- A Stac model representing a radio group scope similar to Flutter's form scope.
- StacRect
- A Stac representation of rectangles for geometric operations.
- StacRectTween
-
A Stac model representing a rectangle tween used by
Hero
. - StacRefreshIndicator
-
A Stac model representing Flutter's
RefreshIndicator
widget. - StacRoundedRectangleBorder
-
A Stac model representing Flutter's
RoundedRectangleBorder
. - StacRow
- A Stac widget that displays its children in a horizontal array.
- StacSafeArea
-
A Stac model representing Flutter's
SafeArea
widget. - StacScaffold
- A Stac widget that implements the basic material design visual layout structure.
- StacSetValueAction
- A Stac action that sets or updates values in state.
- StacShadow
- A Stac representation of shadows for visual effects.
- StacShapeBorder
- Abstract base class for Stac shape borders.
- StacSingleChildScrollView
- A Stac model for a box in which a single widget can be scrolled.
- StacSize
- A Stac representation of a 2D size with width and height.
- StacSizedBox
-
A Stac model representing Flutter's
SizedBox
widget. - StacSlider
-
A Stac model representing Flutter's
Slider
widget. - StacSliverAppBar
-
A Stac model representing Flutter's
SliverAppBar
widget. - StacSnackBar
- Core model for the SnackBar action.
- StacSnackBarAction
- Action button configuration for a SnackBar.
- StacSpacer
-
A Stac model representing Flutter's
Spacer
widget. - StacStack
-
A Stac model representing Flutter's
Stack
widget. - StacSwitch
-
A Stac model representing Flutter's
Switch
andCupertinoSwitch
widgets. - StacSystemUIOverlayStyle
- A Stac representation of system UI overlay styling.
- StacTab
-
A Stac model representing Flutter's
Tab
widget. - StacTabBar
-
A Stac model representing Flutter's
TabBar
widget. - StacTabBarView
-
A Stac model representing Flutter's
TabBarView
widget. - StacTable
-
A Stac model representing Flutter's
Table
widget. - StacTableBorder
-
A Stac model describing the border to paint around a
Table
. - StacTableCell
-
A Stac model representing Flutter's
TableCell
widget. - StacTableColumnWidth
- Configuration describing a single column's width behavior.
- StacTableRow
-
A single row in a
Table
. - StacText
- A Stac widget for displaying text with customizable styling and layout.
- StacTextButton
-
A Stac model representing Flutter's
TextButton
widget. - StacTextField
-
A Stac model representing Flutter's
TextField
widget. - StacTextFormField
-
A Stac model representing Flutter's
TextFormField
widget. - StacTextSpan
- A Stac representation of an immutable span of text.
- StacTextStyle
- A Stac representation of text styling properties.
- StacVerticalDivider
-
A Stac model representing Flutter's
VerticalDivider
widget. - StacVisibility
-
A Stac model representing Flutter's
Visibility
widget. - StacVisualDensity
-
A Stac model representing Flutter's
VisualDensity
class. - StacWidget
- Base class for all STAC widgets This is a concrete implementation that can hold raw JSON data, used primarily by JSON converters for deserialization
- StacWrap
-
A Stac model representing Flutter's
Wrap
widget.
Enums
- ActionType
- Enumeration of all supported action types in the Stac framework.
- Method
- HTTP methods for StacNetworkRequest.
- Navigation styles supported by StacNavigateAction.
- 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.
-
Enum mirroring Flutter's
BottomNavigationBarLandscapeLayout
. -
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.
- StacDialogTraversalEdgeBehavior
- Dialog traversal behavior within focus traversal.
- 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.
- 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.
- StacTableCellVerticalAlignment
- Vertical alignment options for table cells.
- 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'sTextInputType
at a high level. - StacTextLeadingDistribution
- Text leading (line height) distribution options.
- StacTextOverflow
- Text overflow handling options when text doesn't fit.
- StacTextWidthBasis
- Text width calculation basis options.
- StacTileMode
- Tile modes that determine how gradients handle areas outside their defined bounds.
- 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.