StreamUploadProgressIndicator constructor

const StreamUploadProgressIndicator({
  1. Key? key,
  2. required int uploaded,
  3. required int total,
  4. Color progressIndicatorColor = const Color(0xffb2b2b2),
  5. EdgeInsetsGeometry padding = const EdgeInsets.only(top: 5, bottom: 5, right: 11, left: 5),
  6. bool showBackground = true,
  7. TextStyle? textStyle,
})

Shows the upload progress of an attachment.

Implementation

const StreamUploadProgressIndicator({
  super.key,
  required this.uploaded,
  required this.total,
  this.progressIndicatorColor = const Color(0xffb2b2b2),
  this.padding = const EdgeInsets.only(
    top: 5,
    bottom: 5,
    right: 11,
    left: 5,
  ),
  this.showBackground = true,
  this.textStyle,
});