VBannerProperties constructor
VBannerProperties({
- double borderRadius = 0.0,
- double boxShadowSpreadRadius = 0.0,
- double boxShadowBlurRadius = 0.0,
- Offset boxShadowOffset = const Offset(0, 0),
- EdgeInsets margin = const EdgeInsets.all(0),
- EdgeInsets contentPadding = const EdgeInsets.fromLTRB(10, 15, 0, 0),
- EdgeInsets iconPadding = const EdgeInsets.fromLTRB(0, 15, 0, 0),
- EdgeInsets bannerPadding = const EdgeInsets.fromLTRB(24, 0, 24, 15),
- TextStyle? titleTextStyle,
- TextStyle? descriptionTextStyle,
- 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);