ButtonStatus constructor
const
ButtonStatus({
- double width = 100,
- double height = 36,
- String state = '',
- AnimatedButtonStatus status = AnimatedButtonStatus.button,
- String text = 'Download',
- TextStyle textStyle = const TextStyle(fontSize: 16.0, color: Colors.white),
- Color buttonColor = Colors.blue,
- BorderRadius? borderRadius,
- BorderSide? borderSide,
- Gradient? gradient,
- List<
BoxShadow> ? shadows, - bool isTapScale = true,
Implementation
const ButtonStatus({
this.width = 100,
this.height = 36,
this.state = '',
this.status = AnimatedButtonStatus.button,
this.text = 'Download',
this.textStyle = const TextStyle(fontSize: 16.0, color: Colors.white),
this.buttonColor = Colors.blue,
this.borderRadius,
this.borderSide,
this.gradient,
this.shadows,
this.isTapScale=true,
});