bg method
Apply color to background
Equivalent to
TextButton(
backgroundColor: MaterialStateProperty.resolveWith<T>((states) {
return input;
})
)
Implementation
NikuButton bg(Color color) {
this._backgroundColor.updateAll(color);
return this;
}