ContentConfig class

Constructors

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})
const

Properties

backgroundBlendMode BlendMode?
Background blend mode
final
backgroundColor Color?
Background tab color (if set, will ignore gradient properties below)
final
backgroundFilterColor Color?
A color filter to apply to the image background before painting it
final
backgroundFilterOpacity double?
Opacity for backgroundFilterColor
final
backgroundImage String?
Set image for background (if set, will ignore all parameter at Background Color above)
final
backgroundImageFit BoxFit?
Background image fit
final
backgroundNetworkImage String?
Set image (from network) for background
final
centerWidget Widget?
Your custom's widget
final
colorBegin Color?
Gradient tab color begin
final
colorEnd Color?
Gradient tab color end
final
description String?
Change text description at bottom
final
directionColorBegin AlignmentGeometry?
Direction color begin
final
directionColorEnd AlignmentGeometry?
Direction color end
final
foregroundImageFit BoxFit?
Foreground image fit
final
hashCode int
The hash code for this object.
no setterinherited
heightImage double?
Height of image
final
marginDescription EdgeInsets?
Margin for text description
final
marginTitle EdgeInsets?
Margin for text title
final
maxLineTextDescription int?
Maximum line of text description
final
maxLineTitle int?
Change max number of lines title at top
final
onCenterItemPress → (void Function()?)
Fire when press center image/widge
final
pathImage String?
Path to your local image
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleDescription TextStyle?
Style for text description
final
styleTitle TextStyle?
Style for text title
final
textAlignDescription TextAlign?
TextAlign for text description
final
textAlignTitle TextAlign?
TextAlign for text title
final
textOverFlowDescription TextOverflow?
TextOverflow for text description
final
textOverFlowTitle TextOverflow?
TextOverflow for text title
final
title String?
Change text title at top
final
verticalScrollbarBehavior ScrollbarBehavior?
Allow to specify how the vertical scrollbar should behave (scroll enable when content length is greater than screen length)
final
widgetDescription Widget?
Set a custom widget as the description (ignore description if define both)
final
widgetTitle Widget?
Set a custom widget as the title (ignore title if define both)
final
widthImage double?
Width of image
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited