topCenter method

Niku topCenter()

Apply widget to top center

Equivalent to:

Align(
  alignment: Alignment.topCenter
)

Implementation

Niku topCenter() {
  _widget = Align(
    alignment: Alignment.topCenter,
    child: _widget,
  );

  return this;
}