StacWidget class
Base class for all STAC widgets This is a concrete implementation that can hold raw JSON data, used primarily by JSON converters for deserialization
- Inheritance
-
- Object
- StacElement
- StacWidget
- Implementers
- StacAlertDialog
- StacAppBar
- StacAspectRatio
- StacAutoComplete
- StacBackdropFilter
- StacBottomNavigationBar
- StacBottomNavigationView
- StacCard
- StacCarouselView
- StacCenter
- StacCheckBox
- StacChip
- StacCircleAvatar
- StacCircularProgressIndicator
- StacClipOval
- StacClipRRect
- StacColoredBox
- StacColumn
- StacConditional
- StacContainer
- StacCustomScrollView
- StacDefaultTabController
- StacDivider
- StacDrawer
- StacDropdownMenu
- StacDynamicView
- StacElevatedButton
- StacExpanded
- StacFilledButton
- StacFittedBox
- StacFlexible
- StacFloatingActionButton
- StacForm
- StacFractionallySizedBox
- StacGestureDetector
- StacGridView
- StacHero
- StacIcon
- StacIconButton
- StacImage
- StacInkWell
- StacLimitedBox
- StacListTile
- StacListView
- StacNetworkWidget
- StacOpacity
- StacOutlinedButton
- StacPadding
- StacPageView
- StacPlaceholder
- StacPositioned
- StacRadio
- StacRadioGroup
- StacRefreshIndicator
- StacRow
- StacSafeArea
- StacScaffold
- StacSingleChildScrollView
- StacSizedBox
- StacSlider
- StacSliverAppBar
- StacSpacer
- StacStack
- StacSwitch
- StacTab
- StacTabBar
- StacTabBarView
- StacTable
- StacTableCell
- StacText
- StacTextButton
- StacTextField
- StacTextFormField
- StacVerticalDivider
- StacVisibility
- StacWrap
- Annotations
-
- @JsonSerializable()
Constructors
-
StacWidget.new({Map<
String, dynamic> ? jsonData}) -
Creates a StacWidget that represents a widget.
const
-
StacWidget.fromJson(Map<
String, dynamic> json) -
Creates a new widget from a JSON map
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this widget to a JSON map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited