LMFeedExpandableText class
Constructors
-
LMFeedExpandableText(String text, {Key? key, required String expandText, String? collapseText, bool expanded = false, ValueChanged<bool>? onExpandedChanged, VoidCallback? onLinkTap, Color? linkColor, bool linkEllipsis = true, TextStyle? linkStyle, String? prefixText, TextStyle? prefixStyle, VoidCallback? onPrefixTap, TextStyle? urlStyle, StringCallback? onUrlTap, TextStyle? hashtagStyle, StringCallback? onHashtagTap, TextStyle? mentionStyle, StringCallback? onMentionTap, bool expandOnTextTap = false, bool collapseOnTextTap = false, TextStyle? style, TextDirection? textDirection, TextAlign? textAlign, double? textScaleFactor, int maxLines = 3, bool animation = false, Duration? animationDuration, Curve? animationCurve, String? semanticsLabel, required dynamic onTagTap(String), VoidCallback? onTextTap})
-
const
Methods
-
copyWith({String? text, String? expandText, String? collapseText, bool? expanded, ValueChanged<bool>? onExpandedChanged, VoidCallback? onLinkTap, Color? linkColor, bool? linkEllipsis, TextStyle? linkStyle, String? prefixText, TextStyle? prefixStyle, VoidCallback? onPrefixTap, TextStyle? urlStyle, StringCallback? onUrlTap, TextStyle? hashtagStyle, StringCallback? onHashtagTap, TextStyle? mentionStyle, StringCallback? onMentionTap, bool? expandOnTextTap, bool? collapseOnTextTap, TextStyle? style, TextDirection? textDirection, TextAlign? textAlign, double? textScaleFactor, int? maxLines, bool? animation, Duration? animationDuration, Curve? animationCurve, String? semanticsLabel, dynamic onTagTap(String)?, VoidCallback? onTextTap})
→ LMFeedExpandableText
-
-
createElement()
→ StatefulElement
-
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState()
→ LMFeedExpandableTextState
-
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
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})
→ 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