LBox class
- Inheritance
- Implementers
Constructors
- LBox({Key key, LBoxDimension height = const LBoxDimension(), LBoxDimension width = const LBoxDimension(), LBoxVisibility visibility = const LBoxVisibility(), LBoxEdgeInsets padding = const LBoxEdgeInsets(), LBoxEdgeInsets margin = const LBoxEdgeInsets(), LBoxAlignment alignment = const LBoxAlignment(), LBoxDecoration decoration = const LBoxDecoration(), bool useMediaQuery = true, @required Widget child})
-
Creates a widget that combines common painting, positioning, and sizing widgets
according to LBreakPoint
const
Properties
- alignment → LBoxAlignment
-
Align the child within the box on each LBreakPoint.
final
- child → Widget
-
The child contained by the LBox.
final
- decoration → LBoxDecoration
-
The decoration to paint behind the child on each LBreakPoint
final
- hashCode → int
-
The hash code for this object.
@nonVirtual, read-only, inherited
- height → LBoxDimension
-
The
height
value of the box on each LBreakPointfinal - key → Key
-
Controls how one widget replaces another widget in the tree.
final, inherited
- margin → LBoxEdgeInsets
-
The
margin
around thechild
at each breakpointfinal - padding → LBoxEdgeInsets
-
The
padding
around thechild
at each breakpointfinal - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- useMediaQuery → bool
-
when
true
LBox will use Screen width instead of Parent Width for determining active LBreakPointfinal - visibility → LBoxVisibility
-
The
visiblity
of the box on each LBreakPointfinal - width → LBoxDimension
-
The
width
value of the box on each LBreakPointfinal
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.@protected, inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String name, DiagnosticsTreeStyle style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
@nonVirtual, inherited