ExpendableTextView constructor
const
ExpendableTextView({
- Key? key,
- TextViewController? controller,
- int? flex,
- bool? activated,
- bool? enabled,
- bool? visibility,
- double? dimensionRatio,
- double? width,
- double? widthMax,
- double? widthMin,
- double? height,
- double? heightMax,
- double? heightMin,
- double? margin,
- double? marginHorizontal,
- double? marginVertical,
- double? marginTop,
- double? marginBottom,
- double? marginStart,
- double? marginEnd,
- double? padding,
- double? paddingHorizontal,
- double? paddingVertical,
- double? paddingTop,
- double? paddingBottom,
- double? paddingStart,
- double? paddingEnd,
- double? borderSize,
- double? borderHorizontal,
- double? borderVertical,
- double? borderTop,
- double? borderBottom,
- double? borderStart,
- double? borderEnd,
- double? borderRadius,
- double? borderRadiusBL,
- double? borderRadiusBR,
- double? borderRadiusTL,
- double? borderRadiusTR,
- double? shadow,
- double? shadowBlurRadius,
- double? shadowSpreadRadius,
- double? shadowHorizontal,
- double? shadowVertical,
- double? shadowStart,
- double? shadowEnd,
- double? shadowTop,
- double? shadowBottom,
- Color? background,
- Color? foreground,
- Color? borderColor,
- Color? shadowColor,
- Alignment? gravity,
- Alignment? transformGravity,
- BlendMode? backgroundBlendMode,
- BlendMode? foregroundBlendMode,
- DecorationImage? backgroundImage,
- DecorationImage? foregroundImage,
- Gradient? backgroundGradient,
- Gradient? foregroundGradient,
- Gradient? borderGradient,
- Matrix4? transform,
- BlurStyle? shadowBlurStyle,
- Clip? clipBehavior,
- ViewShadowType? shadowType,
- ViewShape? shape,
- OnViewClickListener? onClick,
- OnViewNotifyListener<
TextViewController> ? onClickHandle, - OnViewClickListener? onDoubleClick,
- OnViewNotifyListener<
TextViewController> ? onDoubleClickHandle, - OnViewClickListener? onLongClick,
- OnViewNotifyListener<
TextViewController> ? onLongClickHandle, - int? maxCharacters,
- int? maxLines,
- double? letterSpacing,
- double? lineSpacingExtra,
- double? wordSpacing,
- String? ellipsizeText = " ...more ",
- bool? ellipsizeVisibility,
- double? ellipsizeLetterSpace,
- Color? ellipsizeTextColor,
- double? ellipsizeTextSize,
- FontStyle? ellipsizeTextStyle,
- FontWeight? ellipsizeTextWeight = FontWeight.bold,
- String? fontFamily,
- FontStyle? fontStyle,
- FontWeight? fontWeight,
- String? text,
- TextAlign? textAlign,
- Color? textColor,
- TextDecoration? textDecoration,
- Color? textDecorationColor,
- TextDecorationStyle? textDecorationStyle,
- double? textDecorationThickness,
- TextDirection? textDirection,
- TextLeadingDistribution? textLeadingDistribution,
- TextOverflow? textOverflow,
- double? textSize,
- List<
TextSpan> ? textSpans, - TextStyle? textStyle,
- double? expendedCharacterSpace,
- String? expendedText = " ...less ",
- Color? expendedTextColor,
- double? expendedTextSize,
- FontStyle? expendedTextStyle,
- FontWeight? expendedTextWeight,
- bool expendedTextVisible = true,
Implementation
const ExpendableTextView({
Key? key,
super.controller,
super.flex,
super.activated,
super.enabled,
super.visibility,
super.dimensionRatio,
super.width,
super.widthMax,
super.widthMin,
super.height,
super.heightMax,
super.heightMin,
super.margin,
super.marginHorizontal,
super.marginVertical,
super.marginTop,
super.marginBottom,
super.marginStart,
super.marginEnd,
super.padding,
super.paddingHorizontal,
super.paddingVertical,
super.paddingTop,
super.paddingBottom,
super.paddingStart,
super.paddingEnd,
super.borderSize,
super.borderHorizontal,
super.borderVertical,
super.borderTop,
super.borderBottom,
super.borderStart,
super.borderEnd,
super.borderRadius,
super.borderRadiusBL,
super.borderRadiusBR,
super.borderRadiusTL,
super.borderRadiusTR,
super.shadow,
super.shadowBlurRadius,
super.shadowSpreadRadius,
super.shadowHorizontal,
super.shadowVertical,
super.shadowStart,
super.shadowEnd,
super.shadowTop,
super.shadowBottom,
super.background,
super.foreground,
super.borderColor,
super.shadowColor,
super.gravity,
super.transformGravity,
super.backgroundBlendMode,
super.foregroundBlendMode,
super.backgroundImage,
super.foregroundImage,
super.backgroundGradient,
super.foregroundGradient,
super.borderGradient,
super.transform,
super.shadowBlurStyle,
super.clipBehavior,
super.shadowType,
super.shape,
super.onClick,
super.onClickHandle,
super.onDoubleClick,
super.onDoubleClickHandle,
super.onLongClick,
super.onLongClickHandle,
super.maxCharacters,
super.maxLines,
super.letterSpacing,
super.lineSpacingExtra,
super.wordSpacing,
super.ellipsizeText = " ...more ",
super.ellipsizeVisibility,
super.ellipsizeLetterSpace,
super.ellipsizeTextColor,
super.ellipsizeTextSize,
super.ellipsizeTextStyle,
super.ellipsizeTextWeight = FontWeight.bold,
super.fontFamily,
super.fontStyle,
super.fontWeight,
super.text,
super.textAlign,
super.textColor,
super.textDecoration,
super.textDecorationColor,
super.textDecorationStyle,
super.textDecorationThickness,
super.textDirection,
super.textLeadingDistribution,
super.textOverflow,
super.textSize,
super.textSpans,
super.textStyle,
this.expendedCharacterSpace,
this.expendedText = " ...less ",
this.expendedTextColor,
this.expendedTextSize,
this.expendedTextStyle,
this.expendedTextWeight,
this.expendedTextVisible = true,
}) : super(key: key);