DocMessageViewStyle constructor

const DocMessageViewStyle({
  1. Decoration decoration = const BoxDecoration(borderRadius: BorderRadius.only(topLeft: Radius.circular(10), topRight: Radius.circular(10)), color: Color(0xffD0D8EB)),
  2. TextMessageViewStyle fileTextStyle = const TextMessageViewStyle(textStyle: TextStyle(fontWeight: FontWeight.w300, color: Colors.black, fontSize: 12), highlightColor: Colors.orange, timeTextStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff455E93), fontSize: 11)),
  3. TextStyle sizeTextStyle = const TextStyle(fontWeight: FontWeight.w300, color: Colors.black, fontSize: 7),
  4. DownloadUploadViewStyle downloadUploadViewStyle = const DownloadUploadViewStyle(decoration: BoxDecoration(border: Border.fromBorderSide(BorderSide(color: Color(0xffAFB8D0), width: 1.0)), borderRadius: BorderRadius.all(Radius.circular(3))), progressIndicatorThemeData: ProgressIndicatorThemeData(color: Color(0xff7285B5), linearTrackColor: Colors.transparent), iconStyle: IconStyle(iconColor: Color(0xff7285B5))),
})

Implementation

const DocMessageViewStyle({
  this.decoration = const BoxDecoration(
      borderRadius: BorderRadius.only(
          topLeft: Radius.circular(10), topRight: Radius.circular(10)),
      color: Color(0xffD0D8EB)),
  this.fileTextStyle = const TextMessageViewStyle(
      textStyle: TextStyle(
          fontWeight: FontWeight.w300, color: Colors.black, fontSize: 12),
      highlightColor: Colors.orange,
      timeTextStyle: TextStyle(
          fontWeight: FontWeight.normal,
          color: Color(0xff455E93),
          fontSize: 11)),
  this.sizeTextStyle = const TextStyle(
      fontWeight: FontWeight.w300, color: Colors.black, fontSize: 7),
  this.downloadUploadViewStyle = const DownloadUploadViewStyle(
      decoration: BoxDecoration(
        border: Border.fromBorderSide(
            BorderSide(color: Color(0xffAFB8D0), width: 1.0)),
        borderRadius: BorderRadius.all(Radius.circular(3)),
      ),
      progressIndicatorThemeData: ProgressIndicatorThemeData(
          color: Color(0xff7285B5), linearTrackColor: Colors.transparent),
      iconStyle: IconStyle(iconColor: Color(0xff7285B5))),
});