style method
Apply existing NikuRaisedButton's property to current style and build
Equivalent to
Container(
child: RaisedButton()
)
Example usage:
final style = NikuRaisedButton(null)
.px(40)
.py(20)
.bg(Colors.blue)
build(context) {
return (
NikuRaisedButton(Text("Applied Style"))
.style(style) // Will have style and built
)
}
Implementation
Widget style(NikuRaisedButton instance) => this.apply(instance).build();