LAnimatedBox class



LAnimatedBox({Key key, Duration duration = const Duration(milliseconds: 150), Curve cureve = Curves.linear, 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 LBox that animates its parameters implicitly. The curve and duration arguments must not be null.


alignment LBoxAlignment
Align the child within the box on each LBreakPoint.
final, inherited
child Widget
The child contained by the LBox.
final, inherited
cureve Curve
decoration LBoxDecoration
The decoration to paint behind the child on each LBreakPoint
final, inherited
duration Duration
hashCode int
The hash code for this object.
@nonVirtual, read-only, inherited
height LBoxDimension
The height value of the box on each LBreakPoint
final, inherited
key Key
Controls how one widget replaces another widget in the tree.
final, inherited
margin LBoxEdgeInsets
The margin around the child at each breakpoint
final, inherited
padding LBoxEdgeInsets
The padding around the child at each breakpoint
final, inherited
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 LBreakPoint
final, inherited
visibility LBoxVisibility
The visiblity of the box on each LBreakPoint
final, inherited
width LBoxDimension
The width value of the box on each LBreakPoint
final, inherited


build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toDiagnosticsNode({String name, DiagnosticsTreeStyle style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
toString({DiagnosticLevel minLevel =}) String
A string representation of this object.
toStringDeep({String prefixLineOne = '', String prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
toStringShort() String
A short, textual description of this widget.


operator ==(Object other) bool
The equality operator.
@nonVirtual, inherited