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