SDUIContainer class

Descriptor of a Container.

JSON Attributes

  • alignment: Alignment of the child in the container
  • padding: Padding of the container
  • margin: Margin of the container
  • background: Background color code
  • border: Border size
  • borderRadius: Radius of the border
  • borderColor: Color of the border
  • backgroundImageUrl: Background Image
  • width: Width
  • height: Height
  • action: Container action on tap
Inheritance

Constructors

SDUIContainer()

Properties

action SDUIAction
getter/setter pairinherited
alignment String?
getter/setter pair
background String?
getter/setter pair
backgroundImageUrl String?
getter/setter pair
border double?
getter/setter pair
borderColor String?
getter/setter pair
borderRadius double?
getter/setter pair
children List<SDUIWidget>
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
getter/setter pair
id String?
getter/setter pairinherited
margin double?
getter/setter pair
padding double?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double?
getter/setter pair

Methods

attachPageController(PageController? controller) → void
inherited
attachScreen(SDUIWidget screen) → void
inherited
child() SDUIWidget?
Return the first child
inherited
childrenWidgets(BuildContext context) List<Widget>
Return the list of children Widget
inherited
fromJson(Map<String, dynamic>? json) SDUIWidget
Load the attributes of the widget descriptor from
override
hasChildren() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAlignment(String? alignment) Alignment?
inherited
toAxis(String? direction) Axis
inherited
toBoxFit(String? fit) BoxFit?
inherited
toClip(String? clip) Clip?
inherited
toColor(String? hexColor) Color?
inherited
toCrossAxisAlignment(String? value) CrossAxisAlignment
inherited
toIcon(String? code, {double? size, String? color}) Widget?
inherited
toIconData(String? code) IconData?
inherited
toMainAxisAlignment(String? value) MainAxisAlignment
inherited
toMainAxisSize(String? value) MainAxisSize
inherited
toString() String
A string representation of this object.
inherited
toTextAlign(String? alignment) TextAlign?
inherited
toWidget(BuildContext context) Widget
Return the associated Widget
override

Operators

operator ==(Object other) bool
The equality operator.
inherited