VxInlineBlock constructor

VxInlineBlock({
  1. Key? key,
  2. TextDirection? textDirection,
  3. VerticalDirection verticalDirection = VerticalDirection.down,
  4. TextBaseline? textBaseline,
  5. List<Widget> children = const <Widget>[],
  6. Axis direction = Axis.horizontal,
  7. MainAxisSize mainAxisSize = MainAxisSize.max,
  8. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  9. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
})

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

// ignore: prefer_const_constructors_in_immutables
VxInlineBlock(
    {super.key,
    super.textDirection,
    super.verticalDirection,
    super.textBaseline,
    super.children,
    super.direction = Axis.horizontal,
    super.mainAxisSize = MainAxisSize.max,
    super.mainAxisAlignment = MainAxisAlignment.start,
    super.crossAxisAlignment = CrossAxisAlignment.start});