nikuElevated method

Niku nikuElevated({
  1. Key? key,
})

Switch to Niku() property as ElevatedButton

After this method is called, NikuFlatButton property can't be applied anymore

NikuButton("Button")
  .bg(Colors.blue)
  .px(18)
  .py(16)
  .rounded(8)
  .nikuElevated()
  .build() // Collect all style and render

Implementation

Niku nikuElevated({Key? key}) => Niku(this.elevated(key: key));