Slide constructor

Slide({
  1. Widget? widgetTitle,
  2. String? title,
  3. int? maxLineTitle,
  4. TextStyle? styleTitle,
  5. EdgeInsets? marginTitle,
  6. String? pathImage,
  7. double? widthImage,
  8. double? heightImage,
  9. BoxFit? foregroundImageFit,
  10. Widget? centerWidget,
  11. Function? onCenterItemPress,
  12. Widget? widgetDescription,
  13. String? description,
  14. int? maxLineTextDescription,
  15. TextStyle? styleDescription,
  16. EdgeInsets? marginDescription,
  17. Color? backgroundColor,
  18. Color? colorBegin,
  19. Color? colorEnd,
  20. AlignmentGeometry? directionColorBegin,
  21. AlignmentGeometry? directionColorEnd,
  22. String? backgroundImage,
  23. BoxFit? backgroundImageFit,
  24. double? backgroundOpacity,
  25. Color? backgroundOpacityColor,
  26. BlendMode? backgroundBlendMode,
})

Implementation

Slide({
  // Title
  this.widgetTitle,
  this.title,
  this.maxLineTitle,
  this.styleTitle,
  this.marginTitle,

  // Image
  this.pathImage,
  this.widthImage,
  this.heightImage,
  this.foregroundImageFit,

  // Center widget
  this.centerWidget,
  this.onCenterItemPress,

  // Description
  this.widgetDescription,
  this.description,
  this.maxLineTextDescription,
  this.styleDescription,
  this.marginDescription,

  // Background color
  this.backgroundColor,
  this.colorBegin,
  this.colorEnd,
  this.directionColorBegin,
  this.directionColorEnd,

  // background image
  this.backgroundImage,
  this.backgroundImageFit,
  this.backgroundOpacity,
  this.backgroundOpacityColor,
  this.backgroundBlendMode,
});