ButtonStyle constructor
const
ButtonStyle({
- Color foregroundColor = Color.white,
- Color backgroundColor = Color.blue,
- Color focusColor = Color.brightWhite,
- Color focusBackgroundColor = Color.brightBlue,
- Color disabledColor = Color.brightBlack,
- Color disabledBackgroundColor = Color.black,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 2, vertical: 0),
- bool bold = false,
Implementation
const ButtonStyle({
this.foregroundColor = Color.white,
this.backgroundColor = Color.blue,
this.focusColor = Color.brightWhite,
this.focusBackgroundColor = Color.brightBlue,
this.disabledColor = Color.brightBlack,
this.disabledBackgroundColor = Color.black,
this.padding = const EdgeInsets.symmetric(horizontal: 2, vertical: 0),
this.bold = false,
});