ExpendableTextView class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- YMRView<
TextViewController> - TextView<
TextViewController> - ExpendableTextView
Constructors
-
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}) -
const
Properties
- activated → bool?
-
finalinherited
- animation → int?
-
finalinherited
- animationType → Curve?
-
finalinherited
- background → Color?
-
finalinherited
- backgroundBlendMode → BlendMode?
-
finalinherited
- backgroundGradient → Gradient?
-
finalinherited
- backgroundImage → DecorationImage?
-
finalinherited
- borderBottom → double?
-
finalinherited
- borderColor → Color?
-
finalinherited
- borderEnd → double?
-
finalinherited
- borderGradient → Gradient?
-
finalinherited
- borderHorizontal → double?
-
finalinherited
- borderRadius → double?
-
finalinherited
- borderRadiusBL → double?
-
finalinherited
- borderRadiusBR → double?
-
finalinherited
- borderRadiusTL → double?
-
finalinherited
- borderRadiusTR → double?
-
finalinherited
- borderSize → double?
-
finalinherited
- borderStart → double?
-
finalinherited
- borderTop → double?
-
finalinherited
- borderVertical → double?
-
finalinherited
- child → Widget?
-
finalinherited
- clipBehavior → Clip?
-
finalinherited
- controller → TextViewController?
-
finalinherited
- dimensionRatio → double?
-
finalinherited
- ellipsizeLetterSpace → double?
-
finalinherited
- ellipsizeText → String?
-
finalinherited
- ellipsizeTextColor → Color?
-
finalinherited
- ellipsizeTextSize → double?
-
finalinherited
- ellipsizeTextStyle → FontStyle?
-
finalinherited
- ellipsizeTextWeight → FontWeight?
-
finalinherited
- ellipsizeVisibility → bool?
-
finalinherited
- enabled → bool?
-
finalinherited
- expendedCharacterSpace → double?
-
final
- expendedText → String?
-
final
- expendedTextColor → Color?
-
final
- expendedTextSize → double?
-
final
- expendedTextStyle → FontStyle?
-
final
- expendedTextVisible → bool
-
final
- expendedTextWeight → FontWeight?
-
final
- flex → int?
-
finalinherited
- fontFamily → String?
-
finalinherited
- fontStyle → FontStyle?
-
finalinherited
- fontWeight → FontWeight?
-
finalinherited
- foreground → Color?
-
finalinherited
- foregroundBlendMode → BlendMode?
-
finalinherited
- foregroundGradient → Gradient?
-
finalinherited
- foregroundImage → DecorationImage?
-
finalinherited
- gravity → Alignment?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
finalinherited
- heightMax → double?
-
finalinherited
- heightMin → double?
-
finalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- letterSpacing → double?
-
finalinherited
- lineSpacingExtra → double?
-
finalinherited
- margin → double?
-
finalinherited
- marginBottom → double?
-
finalinherited
- marginEnd → double?
-
finalinherited
- marginHorizontal → double?
-
finalinherited
- marginStart → double?
-
finalinherited
- marginTop → double?
-
finalinherited
- marginVertical → double?
-
finalinherited
- maxCharacters → int?
-
finalinherited
- maxLines → int?
-
finalinherited
- onClick → OnViewClickListener?
-
finalinherited
-
onClickHandle
→ OnViewNotifyListener<
TextViewController> ? -
finalinherited
- onDoubleClick → OnViewClickListener?
-
finalinherited
-
onDoubleClickHandle
→ OnViewNotifyListener<
TextViewController> ? -
finalinherited
- onLongClick → OnViewClickListener?
-
finalinherited
-
onLongClickHandle
→ OnViewNotifyListener<
TextViewController> ? -
finalinherited
- padding → double?
-
finalinherited
- paddingBottom → double?
-
finalinherited
- paddingEnd → double?
-
finalinherited
- paddingHorizontal → double?
-
finalinherited
- paddingStart → double?
-
finalinherited
- paddingTop → double?
-
finalinherited
- paddingVertical → double?
-
finalinherited
- position → ViewPosition?
-
finalinherited
- positionType → ViewPositionType?
-
finalinherited
- properties → ViewProperties
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadow → double?
-
finalinherited
- shadowBlurRadius → double?
-
finalinherited
- shadowBlurStyle → BlurStyle?
-
finalinherited
- shadowBottom → double?
-
finalinherited
- shadowColor → Color?
-
finalinherited
- shadowEnd → double?
-
finalinherited
- shadowHorizontal → double?
-
finalinherited
- shadowSpreadRadius → double?
-
finalinherited
- shadowStart → double?
-
finalinherited
- shadowTop → double?
-
finalinherited
- shadowType → ViewShadowType?
-
finalinherited
- shadowVertical → double?
-
finalinherited
- shape → ViewShape?
-
finalinherited
- text → String?
-
finalinherited
- textAlign → TextAlign?
-
finalinherited
- textColor → Color?
-
finalinherited
- textDecoration → TextDecoration?
-
finalinherited
- textDecorationColor → Color?
-
finalinherited
- textDecorationStyle → TextDecorationStyle?
-
finalinherited
- textDecorationThickness → double?
-
finalinherited
- textDirection → TextDirection?
-
finalinherited
- textLeadingDistribution → TextLeadingDistribution?
-
finalinherited
- textOverflow → TextOverflow?
-
finalinherited
- textSize → double?
-
finalinherited
-
textSpans
→ List<
TextSpan> ? -
finalinherited
- textStyle → TextStyle?
-
finalinherited
- transform → Matrix4?
-
finalinherited
- transformGravity → Alignment?
-
finalinherited
- visibility → bool?
-
finalinherited
- width → double?
-
finalinherited
- widthMax → double?
-
finalinherited
- widthMin → double?
-
finalinherited
- wordSpacing → double?
-
finalinherited
Methods
-
attach(
BuildContext context, TextViewController controller) → Widget? -
inherited
-
attachController(
) → TextViewController -
inherited
-
build(
BuildContext context, TextViewController controller, Widget parent) → Widget -
inherited
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ExpendableTextView> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
initController(
TextViewController controller) → TextViewController -
inherited
-
initialization(
TextViewController controller) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispose(
) → void -
inherited
-
root(
BuildContext context, TextViewController controller, Widget parent) → Widget -
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited