ImageMessageViewStyle constructor

const ImageMessageViewStyle({
  1. TextMessageViewStyle captionTextViewStyle = const TextMessageViewStyle(),
  2. TextStyle timeTextStyle = const TextStyle(fontWeight: FontWeight.normal, color: Colors.white, fontSize: 11),
  3. BorderRadiusGeometry imageBorderRadius = const BorderRadius.all(Radius.circular(10)),
  4. DownloadUploadViewStyle downloadUploadViewStyle = const DownloadUploadViewStyle(decoration: BoxDecoration(border: Border.fromBorderSide(BorderSide(width: 1.0)), borderRadius: BorderRadius.all(Radius.circular(4)), color: Colors.black45), textStyle: TextStyle(fontWeight: FontWeight.w500, color: Colors.white, fontSize: 10), progressIndicatorThemeData: ProgressIndicatorThemeData(color: Colors.white, linearTrackColor: Colors.transparent), iconStyle: IconStyle(iconColor: Colors.white)),
})

Implementation

const ImageMessageViewStyle(
    {this.captionTextViewStyle = const TextMessageViewStyle(),
    this.timeTextStyle = const TextStyle(
        fontWeight: FontWeight.normal, color: Colors.white, fontSize: 11),
    this.imageBorderRadius = const BorderRadius.all(Radius.circular(10)),
    this.downloadUploadViewStyle = const DownloadUploadViewStyle(
        decoration: BoxDecoration(
          border: Border.fromBorderSide(BorderSide(width: 1.0)),
          borderRadius: BorderRadius.all(Radius.circular(4)),
          color: Colors.black45,
        ),
        textStyle: TextStyle(
            fontWeight: FontWeight.w500, color: Colors.white, fontSize: 10),
        progressIndicatorThemeData: ProgressIndicatorThemeData(
            color: Colors.white, linearTrackColor: Colors.transparent),
        iconStyle: IconStyle(iconColor: Colors.white))});