ContentConfig constructor

const ContentConfig({
  1. Widget? widgetTitle,
  2. String? title,
  3. int? maxLineTitle,
  4. TextStyle? styleTitle,
  5. TextAlign? textAlignTitle,
  6. TextOverflow? textOverFlowTitle,
  7. EdgeInsets? marginTitle,
  8. String? pathImage,
  9. double? widthImage,
  10. double? heightImage,
  11. BoxFit? foregroundImageFit,
  12. Widget? centerWidget,
  13. void onCenterItemPress()?,
  14. Widget? widgetDescription,
  15. String? description,
  16. int? maxLineTextDescription,
  17. TextStyle? styleDescription,
  18. TextAlign? textAlignDescription,
  19. TextOverflow? textOverFlowDescription,
  20. EdgeInsets? marginDescription,
  21. Color? backgroundColor,
  22. Color? colorBegin,
  23. Color? colorEnd,
  24. AlignmentGeometry? directionColorBegin,
  25. AlignmentGeometry? directionColorEnd,
  26. String? backgroundImage,
  27. BoxFit? backgroundImageFit,
  28. String? backgroundNetworkImage,
  29. double? backgroundFilterOpacity,
  30. Color? backgroundFilterColor,
  31. BlendMode? backgroundBlendMode,
  32. ScrollbarBehavior? verticalScrollbarBehavior,
})

Implementation

const ContentConfig({
  // ---------- Title ----------
  this.widgetTitle,
  this.title,
  this.maxLineTitle,
  this.styleTitle,
  this.textAlignTitle,
  this.textOverFlowTitle,
  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.textAlignDescription,
  this.textOverFlowDescription,
  this.marginDescription,

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

  // ---------- Background image ----------
  this.backgroundImage,
  this.backgroundImageFit,
  this.backgroundNetworkImage,
  this.backgroundFilterOpacity,
  this.backgroundFilterColor,
  this.backgroundBlendMode,
  this.verticalScrollbarBehavior,
});