FlatBanners constructor
const
FlatBanners({
- Key? key,
- String? subtitle,
- String? title,
- String? image,
- String? btnText,
- List<
Color> gradientColors = const [Colors.blueGrey, Colors.blueAccent], - double? imageHeight,
- double? imageWidth = 65,
- AlignmentGeometry startGradientAlignment = Alignment.topLeft,
- AlignmentGeometry endGradientAlignment = Alignment.bottomRight,
- Color? actionBtnBgColor = const Color(0xff5957AB),
- dynamic onPressed()?,
Implementation
const FlatBanners({
Key? key,
this.subtitle,
this.title,
this.image,
this.btnText,
this.gradientColors = const [
Colors.blueGrey,
Colors.blueAccent,
],
this.imageHeight,
this.imageWidth = 65,
this.startGradientAlignment = Alignment.topLeft,
this.endGradientAlignment = Alignment.bottomRight,
this.actionBtnBgColor = const Color(0xff5957AB),
this.onPressed,
}) : super(key: key);