nikuElevatedIcon method

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

Switch to Niku() property as ElevatedButton.icon

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

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

Implementation

Niku nikuElevatedIcon({Key? key}) => Niku(this.elevatedIcon(key: key));