EufemiaFlex class
A supercharged Flex widget with Eufemia-specific properties like padding and children spacing.
- Inheritance
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- EufemiaFlex
- Implementers
Constructors
-
EufemiaFlex({Key key, @required Axis direction, MainAxisAlignment mainAxisAlignment: MainAxisAlignment.start, MainAxisSize mainAxisSize: MainAxisSize.max, CrossAxisAlignment crossAxisAlignment: CrossAxisAlignment.center, TextDirection textDirection, VerticalDirection verticalDirection: VerticalDirection.down, TextBaseline textBaseline, EufemiaInsets padding, EufemiaSpace spaceBetween, List<
Widget> children: const <Widget>[]}) -
const
Properties
-
children
→ List<
Widget> -
The widgets below this widget in the tree. [...]
final
- crossAxisAlignment → CrossAxisAlignment
-
How this widget's childrene should be distributed along the cross axis.
final
- direction → Axis
-
The two cardinal directions in two dimensions. The axis is always relative to the current coordinate space.
This means, for example, that a horizontal axis might actually be diagonally from top right to bottom left,
due to some local Transform applied to the scene.
final
- hashCode → int
-
The hash code for this object. [...]
@nonVirtual, read-only, inherited
- key → Key
-
Controls how one widget replaces another widget in the tree. [...]
final, inherited
- mainAxisAlignment → MainAxisAlignment
-
How the children should be placed along the main axis in a flex layout. [...]
final
- mainAxisSize → MainAxisSize
-
How much space this widget should request along its main axis.
final
- padding → EufemiaInsets
-
An immutable set of offsets in each of the four cardinal directions. [...]
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- spaceBetween → EufemiaSpace
-
The EufemiaSpace to inset between each child of this widget.
final
- textBaseline → TextBaseline
-
A horizontal line used for aligning text.
final
- textDirection → TextDirection
-
Which direction this widget's subtree of Text widgets should be laid out
in.
final
- verticalDirection → VerticalDirection
-
Which direction along the vertical this widget's children should be laid
out in.
final
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 -
Returns 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