SlideItemInfo constructor

SlideItemInfo({
  1. required String text,
  2. required List<Color> colors,
  3. int flex = 1,
  4. dynamic onTap()?,
  5. double? width,
  6. List<BoxShadow>? boxShadow,
  7. TextStyle textStyle = const TextStyle(fontSize: 14, color: Colors.white),
})

Implementation

SlideItemInfo({
  required this.text,
  required this.colors,
  this.flex = 1,
  this.onTap,
  this.width,
  this.boxShadow,
  this.textStyle = const TextStyle(
    fontSize: 14,
    color: Colors.white,
  ),
});