CustomUploadWidget constructor

const CustomUploadWidget({
  1. Key? key,
  2. required Animation<double> animation,
  3. String title = '',
  4. String buttonText = 'Ok',
  5. VoidCallback? onButtonPressed,
  6. bool showButton = true,
  7. Color color = orangePrincipal,
  8. Color textColor = orangePrincipal,
  9. Color titleColor = Colors.black,
  10. Color? buttonBorderColor,
})

Implementation

const CustomUploadWidget({
  super.key,
  required Animation<double> animation,
  this.title = '',
  this.buttonText = 'Ok',
  this.onButtonPressed,
  this.showButton = true,
  this.color = orangePrincipal,
  this.textColor = orangePrincipal,
  this.titleColor = Colors.black,
  this.buttonBorderColor,
}) : super(listenable: animation);