fg method
Apply color to foreground (ie. Text color)
Equivalent to
TextButton(
foregroundColor: MaterialStateProperty.resolveWith<T>((states) {
return input;
})
)
Implementation
NikuButton fg(Color base) {
this._foregroundColor.updateAll(base);
return this;
}