SDUIScreen class

Descriptor of a screen, implemented as Scaffold

JSON Attribute

  • safe: if true, the content of the scafold will be enclosed in a SafeArea. Default=false
  • backgroundColor: Foreground color
  • floatingActionButton: Floading button - SDUIButton
  • appBar**: Application Bar - SDUIAppBar
Inheritance

Constructors

SDUIScreen()

Properties

action SDUIAction
getter/setter pairinherited
appBar SDUIAppBar?
getter/setter pair
backgroundColor String?
getter/setter pair
bottomNavigationBar SDUIBottomNavigationBar?
getter/setter pair
children List<SDUIWidget>
getter/setter pairinherited
floatingActionButton SDUIWidget?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safe bool?
getter/setter pair

Methods

attachPageController(PageController? controller) → void
inherited
attachScreen(SDUIWidget screen) → void
override
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