TextView<T extends TextViewController> constructor
const
TextView<T extends TextViewController> ({
- Key? key,
- T? controller,
- OnViewActivator? onActivator,
- OnViewChangeListener? onChange,
- OnViewErrorListener? onError,
- OnViewHoverListener? onHover,
- OnViewValidListener? onValid,
- OnViewValidatorListener? onValidator,
- ViewClickEffect? clickEffect,
- OnViewClickListener? onClick,
- OnViewClickListener? onDoubleClick,
- OnViewClickListener? onLongClick,
- OnViewToggleListener? onToggleClick,
- OnViewNotifyListener<
T> ? onClickHandler, - OnViewNotifyListener<
T> ? onDoubleClickHandler, - OnViewNotifyListener<
T> ? onLongClickHandler, - bool? absorbMode,
- bool? activated,
- Color? background,
- ValueState<
Color> ? backgroundState, - BlendMode? backgroundBlendMode,
- Gradient? backgroundGradient,
- ValueState<
Gradient> ? backgroundGradientState, - DecorationImage? backgroundImage,
- ValueState<
DecorationImage> ? backgroundImageState, - Clip? clipBehavior,
- double? dimensionRatio,
- double? elevation,
- bool? enabled,
- bool? expandable,
- Color? foreground,
- BlendMode? foregroundBlendMode,
- Gradient? foregroundGradient,
- DecorationImage? foregroundImage,
- int? flex,
- Alignment? gravity,
- double? height,
- ValueState<
double> ? heightState, - double? heightMax,
- double? heightMin,
- Color hoverColor = Colors.transparent,
- Axis? orientation,
- ViewPosition? position,
- ViewPositionType? positionType,
- Color pressedColor = Colors.transparent,
- Color rippleColor = Colors.transparent,
- bool? scrollable,
- ScrollController? scrollController,
- ViewScrollingType? scrollingType,
- ViewShape? shape,
- Matrix4? transform,
- Alignment? transformGravity,
- bool? visibility,
- double? width,
- ValueState<
double> ? widthState, - double? widthMax,
- double? widthMin,
- int? animation,
- Curve? animationType,
- ImageFilter? backdropFilter,
- BlendMode? backdropMode,
- Color? borderColor,
- ValueState<
Color> ? borderColorState, - double? borderSize,
- ValueState<
double> ? borderSizeState, - double? borderHorizontal,
- ValueState<
double> ? borderHorizontalState, - double? borderVertical,
- ValueState<
double> ? borderVerticalState, - double? borderTop,
- ValueState<
double> ? borderTopState, - double? borderBottom,
- ValueState<
double> ? borderBottomState, - double? borderStart,
- ValueState<
double> ? borderStartState, - double? borderEnd,
- ValueState<
double> ? borderEndState, - double? borderStrokeAlign,
- double? borderRadius,
- ValueState<
double> ? borderRadiusState, - double? borderRadiusBL,
- ValueState<
double> ? borderRadiusBLState, - double? borderRadiusBR,
- ValueState<
double> ? borderRadiusBRState, - double? borderRadiusTL,
- ValueState<
double> ? borderRadiusTLState, - double? borderRadiusTR,
- ValueState<
double> ? borderRadiusTRState, - bool indicatorVisible = false,
- double? margin,
- double? marginHorizontal,
- double? marginVertical,
- double? marginTop,
- double? marginBottom,
- double? marginStart,
- double? marginEnd,
- EdgeInsets? marginCustom,
- double? opacity,
- ValueState<
double> ? opacityState, - bool opacityAlwaysIncludeSemantics = false,
- double? padding,
- double? paddingHorizontal,
- double? paddingVertical,
- double? paddingTop,
- double? paddingBottom,
- double? paddingStart,
- double? paddingEnd,
- EdgeInsets? paddingCustom,
- double? shadow,
- double? shadowBlurRadius,
- BlurStyle? shadowBlurStyle,
- Color? shadowColor,
- ViewShadowType? shadowType,
- double? shadowSpreadRadius,
- double? shadowHorizontal,
- double? shadowVertical,
- double? shadowStart,
- double? shadowEnd,
- double? shadowTop,
- double? shadowBottom,
- String? ellipsis,
- double? letterSpacing,
- double lineSpacingExtra = 0,
- Locale? locale,
- int maxCharacters = 0,
- int? maxLines,
- Color? selectionColor,
- String? semanticsLabel,
- bool? softWrap,
- StrutStyle? strutStyle,
- double? wordSpacing,
- required String? text,
- ValueState<
String> ? textState, - TextAlign? textAlign,
- bool textAllCaps = false,
- Color? textColor,
- ValueState<
Color> ? textColorState, - TextDecoration? textDecoration,
- Color? textDecorationColor,
- TextDecorationStyle? textDecorationStyle,
- double? textDecorationThickness,
- TextDirection? textDirection,
- String? textFontFamily,
- FontStyle? textFontStyle,
- FontWeight? textFontWeight,
- ValueState<
FontWeight> ? textFontWeightState, - TextHeightBehavior? textHeightBehavior,
- TextLeadingDistribution? textLeadingDistribution,
- TextOverflow? textOverflow,
- double? textSize,
- ValueState<
double> ? textSizeState, - List<
TextSpan> textSpans = const [], - TextStyle? textStyle,
- ValueState<
TextStyle> ? textStyleState, - TextWidthBasis textWidthBasis = TextWidthBasis.parent,
- OnViewClickListener? onTextClick,
- FontStyle? prefixFontStyle,
- FontWeight? prefixFontWeight,
- ValueState<
FontWeight> ? prefixFontWeightState, - String? prefixText,
- ValueState<
String> ? prefixTextState, - bool prefixTextAllCaps = false,
- Color? prefixTextColor,
- ValueState<
Color> ? prefixTextColorState, - TextDecoration? prefixTextDecoration,
- Color? prefixTextDecorationColor,
- TextDecorationStyle? prefixTextDecorationStyle,
- double? prefixTextDecorationThickness,
- double? prefixTextLetterSpace,
- double? prefixTextSize,
- ValueState<
double> ? prefixTextSizeState, - TextStyle? prefixTextStyle,
- ValueState<
TextStyle> ? prefixTextStyleState, - bool prefixTextVisible = true,
- OnViewClickListener? onPrefixClick,
- String? suffixText,
- ValueState<
String> ? suffixTextState, - bool suffixTextAllCaps = false,
- Color? suffixTextColor,
- ValueState<
Color> ? suffixTextColorState, - TextDecoration? suffixTextDecoration,
- Color? suffixTextDecorationColor,
- TextDecorationStyle? suffixTextDecorationStyle,
- double? suffixTextDecorationThickness,
- double? suffixTextLetterSpace,
- double? suffixTextSize,
- ValueState<
double> ? suffixTextSizeState, - FontStyle? suffixFontStyle,
- FontWeight? suffixFontWeight,
- ValueState<
FontWeight> ? suffixFontWeightState, - bool suffixTextVisible = true,
- TextStyle? suffixTextStyle,
- ValueState<
TextStyle> ? suffixTextStyleState, - OnViewClickListener? onSuffixClick,
Implementation
const TextView({
/// ROOT PROPERTIES
super.key,
super.controller,
/// CALLBACK PROPERTIES
super.onActivator,
super.onChange,
super.onError,
super.onHover,
super.onValid,
super.onValidator,
/// CLICK PROPERTIES
super.clickEffect,
super.onClick,
super.onDoubleClick,
super.onLongClick,
super.onToggleClick,
super.onClickHandler,
super.onDoubleClickHandler,
super.onLongClickHandler,
///BASE PROPERTIES
super.absorbMode,
super.activated,
super.background,
super.backgroundState,
super.backgroundBlendMode,
super.backgroundGradient,
super.backgroundGradientState,
super.backgroundImage,
super.backgroundImageState,
super.clipBehavior,
super.dimensionRatio,
super.elevation,
super.enabled,
super.expandable,
super.foreground,
super.foregroundBlendMode,
super.foregroundGradient,
super.foregroundImage,
super.flex,
super.gravity,
super.height,
super.heightState,
super.heightMax,
super.heightMin,
super.hoverColor,
super.orientation,
super.position,
super.positionType,
super.pressedColor,
super.rippleColor,
super.scrollable,
super.scrollController,
super.scrollingType,
super.shape,
super.transform,
super.transformGravity,
super.visibility,
super.width,
super.widthState,
super.widthMax,
super.widthMin,
/// ANIMATION PROPERTIES
super.animation,
super.animationType,
/// BACKDROP PROPERTIES
super.backdropFilter,
super.backdropMode,
/// BORDER PROPERTIES
super.borderColor,
super.borderColorState,
super.borderSize,
super.borderSizeState,
super.borderHorizontal,
super.borderHorizontalState,
super.borderVertical,
super.borderVerticalState,
super.borderTop,
super.borderTopState,
super.borderBottom,
super.borderBottomState,
super.borderStart,
super.borderStartState,
super.borderEnd,
super.borderEndState,
super.borderStrokeAlign,
/// BORDER RADIUS PROPERTIES
super.borderRadius,
super.borderRadiusState,
super.borderRadiusBL,
super.borderRadiusBLState,
super.borderRadiusBR,
super.borderRadiusBRState,
super.borderRadiusTL,
super.borderRadiusTLState,
super.borderRadiusTR,
super.borderRadiusTRState,
/// INDICATOR PROPERTIES
super.indicatorVisible,
/// MARGIN PROPERTIES
super.margin,
super.marginHorizontal,
super.marginVertical,
super.marginTop,
super.marginBottom,
super.marginStart,
super.marginEnd,
super.marginCustom,
/// OPACITY PROPERTIES
super.opacity,
super.opacityState,
super.opacityAlwaysIncludeSemantics,
/// PADDING PROPERTIES
super.padding,
super.paddingHorizontal,
super.paddingVertical,
super.paddingTop,
super.paddingBottom,
super.paddingStart,
super.paddingEnd,
super.paddingCustom,
/// SHADOW PROPERTIES
super.shadow,
super.shadowBlurRadius,
super.shadowBlurStyle,
super.shadowColor,
super.shadowType,
super.shadowSpreadRadius,
super.shadowHorizontal,
super.shadowVertical,
super.shadowStart,
super.shadowEnd,
super.shadowTop,
super.shadowBottom,
/// CHILD PROPERTIES
this.ellipsis,
this.letterSpacing,
this.lineSpacingExtra = 0,
this.locale,
this.maxCharacters = 0,
this.maxLines,
this.selectionColor,
this.semanticsLabel,
this.softWrap,
this.strutStyle,
this.wordSpacing,
required this.text,
this.textState,
this.textAlign,
this.textAllCaps = false,
this.textColor,
this.textColorState,
this.textDecoration,
this.textDecorationColor,
this.textDecorationStyle,
this.textDecorationThickness,
this.textDirection,
this.textFontFamily,
this.textFontStyle,
this.textFontWeight,
this.textFontWeightState,
this.textHeightBehavior,
this.textLeadingDistribution,
this.textOverflow,
this.textSize,
this.textSizeState,
this.textSpans = const [],
this.textStyle,
this.textStyleState,
this.textWidthBasis = TextWidthBasis.parent,
this.onTextClick,
/// PREFIX
this.prefixFontStyle,
this.prefixFontWeight,
this.prefixFontWeightState,
this.prefixText,
this.prefixTextState,
this.prefixTextAllCaps = false,
this.prefixTextColor,
this.prefixTextColorState,
this.prefixTextDecoration,
this.prefixTextDecorationColor,
this.prefixTextDecorationStyle,
this.prefixTextDecorationThickness,
this.prefixTextLetterSpace,
this.prefixTextSize,
this.prefixTextSizeState,
this.prefixTextStyle,
this.prefixTextStyleState,
this.prefixTextVisible = true,
this.onPrefixClick,
/// SUFFIX
this.suffixText,
this.suffixTextState,
this.suffixTextAllCaps = false,
this.suffixTextColor,
this.suffixTextColorState,
this.suffixTextDecoration,
this.suffixTextDecorationColor,
this.suffixTextDecorationStyle,
this.suffixTextDecorationThickness,
this.suffixTextLetterSpace,
this.suffixTextSize,
this.suffixTextSizeState,
this.suffixFontStyle,
this.suffixFontWeight,
this.suffixFontWeightState,
this.suffixTextVisible = true,
this.suffixTextStyle,
this.suffixTextStyleState,
this.onSuffixClick,
});