TextView<T extends TextViewController> constructor
const
TextView<T extends TextViewController> ({
- Key? key,
- T? 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,
- ViewPosition? position,
- ViewPositionType? positionType,
- 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<
T> ? onClickHandle, - OnViewClickListener? onDoubleClick,
- OnViewNotifyListener<
T> ? onDoubleClickHandle, - OnViewClickListener? onLongClick,
- OnViewNotifyListener<
T> ? onLongClickHandle, - int? maxCharacters,
- int? maxLines,
- double? letterSpacing,
- double? lineSpacingExtra,
- double? wordSpacing,
- String? ellipsizeText,
- bool? ellipsizeVisibility,
- double? ellipsizeLetterSpace,
- Color? ellipsizeTextColor,
- double? ellipsizeTextSize,
- FontStyle? ellipsizeTextStyle,
- FontWeight? ellipsizeTextWeight,
- 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,
Implementation
const TextView({
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.position,
super.positionType,
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,
this.maxCharacters,
this.maxLines,
this.letterSpacing,
this.lineSpacingExtra,
this.wordSpacing,
this.ellipsizeText,
this.ellipsizeVisibility,
this.ellipsizeLetterSpace,
this.ellipsizeTextColor,
this.ellipsizeTextSize,
this.ellipsizeTextStyle,
this.ellipsizeTextWeight,
this.fontFamily,
this.fontStyle,
this.fontWeight,
this.text,
this.textAlign,
this.textColor,
this.textDecoration,
this.textDecorationColor,
this.textDecorationStyle,
this.textDecorationThickness,
this.textDirection,
this.textLeadingDistribution,
this.textOverflow,
this.textSize,
this.textSpans,
this.textStyle,
}) : super(key: key);