VxInlineBlock constructor
VxInlineBlock({
- Key? key,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- TextBaseline? textBaseline,
- List<
Widget> children = const <Widget>[],
Use Block to create a block-level element.
The direction, mainAxisAlignment,
crossAxisAlignment, and verticalDirection
arguments must not be null.
The textDirection
argument defaults to the ambient Directionality, if
any. If there is no ambient directionality, and a text direction is going
to be necessary to disambiguate start
or end
values for the
crossAxisAlignment, the textDirection
must not be null.
Implementation
VxInlineBlock({
Key? key,
TextDirection? textDirection,
VerticalDirection verticalDirection = VerticalDirection.down,
TextBaseline? textBaseline,
List<Widget> children = const <Widget>[],
}) : super(
children: children,
key: key,
direction: Axis.horizontal,
mainAxisAlignment: MainAxisAlignment.start,
mainAxisSize: MainAxisSize.max,
crossAxisAlignment: CrossAxisAlignment.start,
textDirection: textDirection,
verticalDirection: verticalDirection,
textBaseline: textBaseline,
);