ContentConfig constructor
const
ContentConfig({
- Widget? widgetTitle,
- String? title,
- int? maxLineTitle,
- TextStyle? styleTitle,
- TextAlign? textAlignTitle,
- TextOverflow? textOverFlowTitle,
- EdgeInsets? marginTitle,
- String? pathImage,
- double? widthImage,
- double? heightImage,
- BoxFit? foregroundImageFit,
- Widget? centerWidget,
- void onCenterItemPress()?,
- Widget? widgetDescription,
- String? description,
- int? maxLineTextDescription,
- TextStyle? styleDescription,
- TextAlign? textAlignDescription,
- TextOverflow? textOverFlowDescription,
- EdgeInsets? marginDescription,
- Color? backgroundColor,
- Color? colorBegin,
- Color? colorEnd,
- AlignmentGeometry? directionColorBegin,
- AlignmentGeometry? directionColorEnd,
- String? backgroundImage,
- BoxFit? backgroundImageFit,
- String? backgroundNetworkImage,
- double? backgroundFilterOpacity,
- Color? backgroundFilterColor,
- BlendMode? backgroundBlendMode,
- 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,
});