SDUIWidget class abstract
Abstraction for describing a Flutter Widget. This descriptor has:
- an action that contains information about the widget behavior
- a list of children widget descriptors
- Implementers
- SDUIAppBar
- SDUIAspectRatio
- SDUIBadge
- SDUIBottomNavigationBar
- SDUIBottomNavigationBarItem
- SDUIButton
- SDUICamera
- SDUICarouselSlider
- SDUICenter
- SDUIChart
- SDUIChip
- SDUICircleAvatar
- SDUIClipRRect
- SDUIColumn
- SDUIContainer
- SDUIDefaultTabController
- SDUIDialog
- SDUIDivider
- SDUIDropdownButton
- SDUIDropdownMenuItem
- SDUIDynamicWidget
- SDUIExpandablePanel
- SDUIExpanded
- SDUIFittedBox
- SDUIFlexible
- SDUIForm
- SDUIGridView
- SDUIIcon
- SDUIIconButton
- SDUIImage
- SDUIInput
- SDUIListItem
- SDUIListItemSwitch
- SDUIListView
- SDUIMoneyText
- SDUIMoneyWithKeyboard
- SDUIMoneyWithSlider
- SDUINoop
- SDUINull
- SDUIPage
- SDUIPageView
- SDUIPhotoView
- SDUIPinWidthKeyboard
- SDUIPositioned
- SDUIQrImage
- SDUIQrView
- SDUIRadio
- SDUIRadioGroup
- SDUIRow
- SDUIScreen
- SDUISearchableDropdown
- SDUISingleChildScrollView
- SDUISpacer
- SDUIStack
- SDUITab
- SDUITabBar
- SDUITabBarView
- SDUIText
- SDUITimeout
- SDUIWrap
Constructors
Properties
- action ↔ SDUIAction
-
getter/setter pair
-
children
↔ List<
SDUIWidget> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attachPageController(
PageController? controller) → void -
attachScreen(
SDUIWidget screen) → void -
child(
) → SDUIWidget? - Return the first child
-
childrenWidgets(
BuildContext context) → List< Widget> -
Return the list of children
Widget
-
fromJson(
Map< String, dynamic> ? json) → SDUIWidget - Load the attributes of the widget descriptor from
-
hasChildren(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAlignment(
String? alignment) → Alignment? -
toAxis(
String? direction) → Axis -
toBoxFit(
String? fit) → BoxFit? -
toClip(
String? clip) → Clip? -
toColor(
String? hexColor) → Color? -
toCrossAxisAlignment(
String? value) → CrossAxisAlignment -
toIcon(
String? code, {double? size, String? color}) → Widget? -
toIconData(
String? code) → IconData? -
toMainAxisAlignment(
String? value) → MainAxisAlignment -
toMainAxisSize(
String? value) → MainAxisSize -
toString(
) → String -
A string representation of this object.
inherited
-
toTextAlign(
String? alignment) → TextAlign? -
toWidget(
BuildContext context) → Widget - Return the associated Widget
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited