SliderItem constructor

const SliderItem({
  1. String? title,
  2. TextStyle? titleTextStyle,
  3. TextAlign? titleTextAlign,
  4. String? subtitle,
  5. TextStyle? subtitleTextStyle,
  6. TextAlign? subtitleTextAlign,
  7. required Widget widget,
})

Implementation

const SliderItem({
  this.title,
  this.titleTextStyle,
  this.titleTextAlign,
  this.subtitle,
  this.subtitleTextStyle,
  this.subtitleTextAlign,
  required this.widget,
});