build method

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

Apply styles and build OutlineButton as Widget

Equivalent to

Container(
  child: OutlineButton()
)

Example usage:


build(context) {
  return (
    NikuOutlineButton(Text("Applied Style"))
      .px(40)
      .py(20)
      .bg(Colors.blue)
      .my(8)
      .build() // Colelct all style and build
  )
}

Implementation

Widget build({Key? key}) => Container(
    key: key,
    margin: EdgeInsets.only(
        top: this._mt, left: this._ml, bottom: this._mb, right: this._mr),
    child: this.base());