XuBox class

Constructors

XuBox({Widget child})

Properties

clr Color
@protected, read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
widget XuBox
read / write, inherited

Methods

alignment(AlignmentGeometry alignment) XuBox
Align the child within the XuBox. [...]
clip(Clip clip) XuBox
Defaults to Clip.none. Must be Clip.none if decoration is null. [...]
color(Color color) XuBox
inherited
constraints(BoxConstraints ct) XuBox
Immutable layout constraints for RenderBox layout.
create({Key key}) Widget
Creat a widget
decoration(XuBoxDecoration decoration) XuBox
The decoration to paint behind the child.
marginAll({double all = 8.0}) XuBox
Empty space to surround the decoration and child.
marginOnly({double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) XuBox
Empty space to surround the decoration and child.Creates insets with only the given values non-zero.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
paddingAll({double all = 8.0}) XuBox
Empty space to inscribe inside the decoration. The child, if any, is placed inside this padding.
paddingOnly({double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) XuBox
Empty space to inscribe inside the decoration. The child, if any, is placed inside this padding.
setupColor(XuBox child) → dynamic
@protected, inherited
size({double width, double height}) XuBox
The height and width values include the padding.
toString() String
A string representation of this object. [...]
inherited

Operators

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