AttachmentViewStyle constructor

const AttachmentViewStyle({
  1. Color bgColor = const Color(0xff242A3F),
  2. ShapeBorder shapeBorder = const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(15))),
  3. IconStyle documentStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xff34B197)),
  4. IconStyle cameraStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xffEF5B5A)),
  5. IconStyle galleryStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xff3093DF)),
  6. IconStyle audioStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xffF37627)),
  7. IconStyle contactStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xff46BF69)),
  8. IconStyle locationStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xffB66AE6)),
  9. TextStyle textStyle = const TextStyle(fontWeight: FontWeight.normal, color: Colors.white, fontSize: 9),
})

Implementation

const AttachmentViewStyle(
    {this.bgColor = const Color(0xff242A3F),
    this.shapeBorder = const RoundedRectangleBorder(
        borderRadius: BorderRadius.all(Radius.circular(15))),
    this.documentStyle = const IconStyle(
        iconColor: Colors.white, bgColor: Color(0xff34B197)), //Document
    this.cameraStyle = const IconStyle(
        iconColor: Colors.white, bgColor: Color(0xffEF5B5A)), //Camera
    this.galleryStyle = const IconStyle(
        iconColor: Colors.white, bgColor: Color(0xff3093DF)), //Gallery
    this.audioStyle = const IconStyle(
        iconColor: Colors.white, bgColor: Color(0xffF37627)), //Audio
    this.contactStyle = const IconStyle(
        iconColor: Colors.white, bgColor: Color(0xff46BF69)), //Contact
    this.locationStyle = const IconStyle(
        iconColor: Colors.white, bgColor: Color(0xffB66AE6)), //Location
    this.textStyle = const TextStyle(
        fontWeight: FontWeight.normal, color: Colors.white, fontSize: 9)});