Layout class
Layout ~ LayoutConfig final class.
- Inheritance
- Mixed in types
Properties
- alignmentToCenter → Layout
-
@shortcut ~ align to center
no setterinherited
- alignmentToEnd → Layout
-
@shortcut ~ align to bottom right corner
no setterinherited
- alignmentToStart → Layout
-
@shortcut ~ align to top left corner
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- heightToInfinity → Layout
-
@shortcut ~ expand height to maximum
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeToInfinity → Layout
-
@shortcut ~ expand size to maximum
no setterinherited
- widthToInfinity → Layout
-
@shortcut ~ expand width to maximum
no setterinherited
Methods
-
alignment(
Alignment? alignment) → Layout -
@varies ~ set alignment
inherited
-
axis(
Axis? axis) → Layout -
@fixed ~ set axis
inherited
-
call(
) → LayoutOUT -
subclass should override this method to
define the associated ConfigOUT. of the
Call this method to get an instance of the
associated ConfigOUT data.
inherited
-
child(
Widget child) → Layout -
@fixed ~ set child
inherited
-
children(
List< Widget> ? children) → Layout -
@fixed ~ set children
inherited
-
constraints(
BoxConstraints? constraints) → Layout -
@varies ~ set box constraints
inherited
-
copy<
Type> (Layout t) → Layout -
inherited
-
copyLayout(
LayoutConfig< LayoutConfig< layout) → Layoutdynamic, LayoutConfigIN, LayoutConfigOUT> , LayoutConfigIN, LayoutConfigOUT> -
@config reference ~ copy umbra
inherited
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createNew(
) → Layout -
override
-
createState(
) → ConfigState< Layout, LayoutIN, LayoutOUT> -
Creates the mutable state for this widget at a given location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
height(
double height) → Layout -
@varies ~ set height
inherited
-
heightFactor(
double factor) → Layout -
@varies ~ set height scale factor
inherited
-
margin(
EdgeInsets? margin) → Layout -
@varies ~ set margin
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
padding(
EdgeInsets? padding) → Layout -
@varies ~ set padding
inherited
-
resolve<
Type> (dynamic data, Symbol tag) → Layout -
inherited
-
size(
double x, [double? y]) → Layout -
@varies ~ set size
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
-
update(
LayoutIN change(LayoutIN data)) → Layout -
inherited
-
width(
double width) → Layout -
@varies ~ set width
inherited
-
widthFactor(
double factor) → Layout -
@varies ~ set width scale factor
inherited
Operators
-
operator *(
double operand) → Layout -
inherited
-
operator +(
Layout operand) → Layout -
inherited
-
operator -(
Layout operand) → Layout -
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited