AttachmentViewStyle constructor
const
AttachmentViewStyle({
- Color bgColor = const Color(0xff242A3F),
- ShapeBorder shapeBorder = const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(15))),
- IconStyle documentStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xff34B197)),
- IconStyle cameraStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xffEF5B5A)),
- IconStyle galleryStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xff3093DF)),
- IconStyle audioStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xffF37627)),
- IconStyle contactStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xff46BF69)),
- IconStyle locationStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xffB66AE6)),
- 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)});