color method
Implementation
OutlinedButton color(Color color) {
var newStyle = ButtonStyle(backgroundColor: MaterialStateProperty.all(color));
var merge = style?.merge(newStyle) ?? newStyle;
return copyWith(style: merge);
}
OutlinedButton color(Color color) {
var newStyle = ButtonStyle(backgroundColor: MaterialStateProperty.all(color));
var merge = style?.merge(newStyle) ?? newStyle;
return copyWith(style: merge);
}