SDUIAppBar class

Descriptor of an AppBar.

JSON Attributes

  • title: Title
  • elevation: Elevation
  • foregroundColor: Foreground color
  • backgroundColor: Backgroupnd color
  • automaticallyImplyLeading: Imply leading widget (default=true)
  • leading: action on LHS
  • actions: List of actions to add on RHS
  • bottom: Bottom widget
Inheritance

Constructors

SDUIAppBar()

Properties

action SDUIAction
getter/setter pairinherited
actions List<SDUIWidget>?
getter/setter pair
automaticallyImplyLeading bool?
getter/setter pair
backgroundColor String?
getter/setter pair
bottom SDUIWidget?
getter/setter pair
children List<SDUIWidget>
getter/setter pairinherited
elevation double?
getter/setter pair
foregroundColor String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairinherited
leading SDUIWidget?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
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