hStack method

Widget hStack(
  1. {Key key,
  2. MainAxisAlignment alignment,
  3. CrossAxisAlignment crossAlignment,
  4. MainAxisSize axisSize}
)

Extension for using HStack directly with list of widgets

Implementation

Widget hStack(
        {Key key,
        MainAxisAlignment alignment,
        CrossAxisAlignment crossAlignment,
        MainAxisSize axisSize}) =>
    HStack(
      this,
      key: key,
      alignment: alignment,
      axisSize: axisSize,
      crossAlignment: crossAlignment,
    );