VxBlock constructor

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

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
VxBlock(
    {super.key,
    super.mainAxisAlignment,
    super.textDirection,
    super.verticalDirection,
    super.textBaseline,
    super.children,
    super.direction = Axis.vertical,
    super.mainAxisSize = MainAxisSize.min,
    super.crossAxisAlignment = CrossAxisAlignment.stretch});