BannerListTile constructor
const
BannerListTile({
- Key? key,
- String? bannerText,
- double? bannerSize = 40.0,
- bool? showBanner = true,
- BannerPosition? bannerPosition = BannerPosition.topRight,
- Color? bannerTextColor,
- Color? bannerColor,
- Widget? bannerIcon,
- double? bannerIconRotation = 4,
- Text? title,
- Widget? subtitle,
- double? subtitleOpacity = 0.80,
- BorderRadius? borderRadius,
- Widget? imageContainer,
- double? imageContainerSize = 80.0,
- int? imageContainerShapeZigzagIndex,
- Widget? trailing,
- bool? centerTrailingbyImageboxsize = true,
- double? trailingBoxwidth,
- Color? backgroundColor = const Color(0xff003354),
- double? height,
- double? width,
- EdgeInsetsGeometry? margin,
- double? elevation,
- BorderSide? borderSide,
- dynamic onTap()?,
- dynamic onTapCancel()?,
- dynamic onHighlightChanged()?,
- dynamic onFocusChange()?,
- dynamic onTapDown()?,
- dynamic onLongPress()?,
- dynamic onHover()?,
- dynamic onDoubleTap()?,
Suitable for use in column or listview or anykind of vertical list. then it will automatically take a height by given child.
Otherwise height & width must be given or it will take all the available space it get.
Implementation
const BannerListTile({
Key? key,
this.bannerText,
this.bannerSize = 40.0,
this.showBanner = true,
this.bannerPosition = BannerPosition.topRight,
this.bannerTextColor,
this.bannerColor,
this.bannerIcon,
this.bannerIconRotation = 4,
this.title,
this.subtitle,
this.subtitleOpacity = 0.80,
this.borderRadius,
this.imageContainer,
this.imageContainerSize = 80.0,
this.imageContainerShapeZigzagIndex,
this.trailing,
this.centerTrailingbyImageboxsize = true,
this.trailingBoxwidth,
this.backgroundColor = const Color(0xff003354),
this.height,
this.width,
this.margin,
this.elevation,
this.borderSide,
this.onTap,
this.onTapCancel,
this.onHighlightChanged,
this.onFocusChange,
this.onTapDown,
this.onLongPress,
this.onHover,
this.onDoubleTap,
}) : super(key: key);