build method

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

Apply styles and build as TextButton

Equivalent to

TextButton()

Example usage:

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

Implementation

Widget build({Key? key}) => this.textButton(key: key);