build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Apply styles and build Stack as Widget

Example usage:

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

Implementation

@override
build(context) => internalBuild(
      Stack(
        key: key,
        children: _children,
        alignment: _alignment,
        textDirection: _textDirection,
        fit: _fit,
        clipBehavior: _clipBehavior,
      ),
    );