Slide constructor
Slide({
- Widget? widgetTitle,
- String? title,
- int? maxLineTitle,
- TextStyle? styleTitle,
- EdgeInsets? marginTitle,
- String? pathImage,
- double? widthImage,
- double? heightImage,
- BoxFit? foregroundImageFit,
- Widget? centerWidget,
- Function? onCenterItemPress,
- Widget? widgetDescription,
- String? description,
- int? maxLineTextDescription,
- TextStyle? styleDescription,
- EdgeInsets? marginDescription,
- Color? backgroundColor,
- Color? colorBegin,
- Color? colorEnd,
- AlignmentGeometry? directionColorBegin,
- AlignmentGeometry? directionColorEnd,
- String? backgroundImage,
- BoxFit? backgroundImageFit,
- double? backgroundOpacity,
- Color? backgroundOpacityColor,
- 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,
});