center method

NikuWrap center()

How the children within a run should be placed in the main axis.

Using WrapAlignment.center

Equivalent to

Wrap(
  alignment: WrapAlignment.center
)

Implementation

NikuWrap center() {
  _alignment = WrapAlignment.center;

  return this;
}