VBannerProperties constructor

VBannerProperties({
  1. double borderRadius = 0.0,
  2. double boxShadowSpreadRadius = 0.0,
  3. double boxShadowBlurRadius = 0.0,
  4. Offset boxShadowOffset = const Offset(0, 0),
  5. EdgeInsets margin = const EdgeInsets.all(0),
  6. EdgeInsets contentPadding = const EdgeInsets.fromLTRB(10, 15, 0, 0),
  7. EdgeInsets iconPadding = const EdgeInsets.fromLTRB(0, 15, 0, 0),
  8. EdgeInsets bannerPadding = const EdgeInsets.fromLTRB(24, 0, 24, 15),
  9. TextStyle? titleTextStyle,
  10. TextStyle? descriptionTextStyle,
  11. Color? boxShadowColor,
})

Implementation

VBannerProperties({
  this.borderRadius = 0.0,
  this.boxShadowSpreadRadius = 0.0,
  this.boxShadowBlurRadius = 0.0,
  this.boxShadowOffset = const Offset(0, 0),
  this.margin = const EdgeInsets.all(0),
  this.contentPadding = const EdgeInsets.fromLTRB(10, 15, 0, 0),
  this.iconPadding = const EdgeInsets.fromLTRB(0, 15, 0, 0),
  this.bannerPadding = const EdgeInsets.fromLTRB(24, 0, 24, 15),
  this.titleTextStyle,
  this.descriptionTextStyle,
  Color? boxShadowColor,
}) : boxShadowColor =
          boxShadowColor ?? VColors.defaultSubtle.withOpacity(0.3);