discontinuedPackage androssy_widgets has been discontinued.

ExpendableTextView constructor

const ExpendableTextView({
  1. Key? key,
  2. TextViewController? controller,
  3. int? flex,
  4. bool? activated,
  5. bool? enabled,
  6. bool? visibility,
  7. double? dimensionRatio,
  8. double? width,
  9. double? widthMax,
  10. double? widthMin,
  11. double? height,
  12. double? heightMax,
  13. double? heightMin,
  14. double? margin,
  15. double? marginHorizontal,
  16. double? marginVertical,
  17. double? marginTop,
  18. double? marginBottom,
  19. double? marginStart,
  20. double? marginEnd,
  21. double? padding,
  22. double? paddingHorizontal,
  23. double? paddingVertical,
  24. double? paddingTop,
  25. double? paddingBottom,
  26. double? paddingStart,
  27. double? paddingEnd,
  28. double? borderSize,
  29. double? borderHorizontal,
  30. double? borderVertical,
  31. double? borderTop,
  32. double? borderBottom,
  33. double? borderStart,
  34. double? borderEnd,
  35. double? borderRadius,
  36. double? borderRadiusBL,
  37. double? borderRadiusBR,
  38. double? borderRadiusTL,
  39. double? borderRadiusTR,
  40. double? shadow,
  41. double? shadowBlurRadius,
  42. double? shadowSpreadRadius,
  43. double? shadowHorizontal,
  44. double? shadowVertical,
  45. double? shadowStart,
  46. double? shadowEnd,
  47. double? shadowTop,
  48. double? shadowBottom,
  49. Color? background,
  50. Color? foreground,
  51. Color? borderColor,
  52. Color? shadowColor,
  53. Alignment? gravity,
  54. Alignment? transformGravity,
  55. BlendMode? backgroundBlendMode,
  56. BlendMode? foregroundBlendMode,
  57. DecorationImage? backgroundImage,
  58. DecorationImage? foregroundImage,
  59. Gradient? backgroundGradient,
  60. Gradient? foregroundGradient,
  61. Gradient? borderGradient,
  62. Matrix4? transform,
  63. BlurStyle? shadowBlurStyle,
  64. Clip? clipBehavior,
  65. ViewShadowType? shadowType,
  66. ViewShape? shape,
  67. OnViewClickListener? onClick,
  68. OnViewNotifyListener<TextViewController>? onClickHandle,
  69. OnViewClickListener? onDoubleClick,
  70. OnViewNotifyListener<TextViewController>? onDoubleClickHandle,
  71. OnViewClickListener? onLongClick,
  72. OnViewNotifyListener<TextViewController>? onLongClickHandle,
  73. int? maxCharacters,
  74. int? maxLines,
  75. double? letterSpacing,
  76. double? lineSpacingExtra,
  77. double? wordSpacing,
  78. String? ellipsizeText = " ...more ",
  79. bool? ellipsizeVisibility,
  80. double? ellipsizeLetterSpace,
  81. Color? ellipsizeTextColor,
  82. double? ellipsizeTextSize,
  83. FontStyle? ellipsizeTextStyle,
  84. FontWeight? ellipsizeTextWeight = FontWeight.bold,
  85. String? fontFamily,
  86. FontStyle? fontStyle,
  87. FontWeight? fontWeight,
  88. String? text,
  89. TextAlign? textAlign,
  90. Color? textColor,
  91. TextDecoration? textDecoration,
  92. Color? textDecorationColor,
  93. TextDecorationStyle? textDecorationStyle,
  94. double? textDecorationThickness,
  95. TextDirection? textDirection,
  96. TextLeadingDistribution? textLeadingDistribution,
  97. TextOverflow? textOverflow,
  98. double? textSize,
  99. List<TextSpan>? textSpans,
  100. TextStyle? textStyle,
  101. double? expendedCharacterSpace,
  102. String? expendedText = " ...less ",
  103. Color? expendedTextColor,
  104. double? expendedTextSize,
  105. FontStyle? expendedTextStyle,
  106. FontWeight? expendedTextWeight,
  107. 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);