FlatBanners constructor

const FlatBanners({
  1. Key? key,
  2. String? subtitle,
  3. String? title,
  4. String? image,
  5. String? btnText,
  6. List<Color> gradientColors = const [Colors.blueGrey, Colors.blueAccent],
  7. double? imageHeight,
  8. double? imageWidth = 65,
  9. AlignmentGeometry startGradientAlignment = Alignment.topLeft,
  10. AlignmentGeometry endGradientAlignment = Alignment.bottomRight,
  11. Color? actionBtnBgColor = const Color(0xff5957AB),
  12. 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);