build method
Apply styles and build RaisedButton as Widget
Equivalent to
Container(
child: RaisedButton()
)
Example usage:
build(context) {
return (
NikuRaisedButton(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());