ButtonStatus constructor

const ButtonStatus({
  1. double width = 100,
  2. double height = 36,
  3. String state = '',
  4. AnimatedButtonStatus status = AnimatedButtonStatus.button,
  5. String text = 'Download',
  6. TextStyle textStyle = const TextStyle(fontSize: 16.0, color: Colors.white),
  7. Color buttonColor = Colors.blue,
  8. BorderRadius? borderRadius,
  9. BorderSide? borderSide,
  10. Gradient? gradient,
  11. List<BoxShadow>? shadows,
  12. 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,
});