build method

Stack build({
  1. Key? key,
})

Apply styles and build Stack as Widget

Example usage:

NikuStack([
  Text("0"),
  Text("1")
])
  .center()
  .append(Text("2"))
  .build()

Implementation

Stack build({Key? key}) => Stack(
      key: key,
      children: this._children,
      alignment: this._alignment,
      textDirection: this._textDirection,
      fit: this._fit,
      clipBehavior: this._clipBehavior,
    );