LMFeedExpandableText class

Inheritance

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

Properties

animation bool
final
animationCurve Curve?
final
animationDuration Duration?
final
collapseOnTextTap bool
final
collapseText String?
final
expanded bool
final
expandOnTextTap bool
final
expandText String
final
hashCode int
The hash code for this object.
no setterinherited
hashtagStyle TextStyle?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
linkColor Color?
final
linkEllipsis bool
final
linkStyle TextStyle?
final
maxLines int
final
mentionStyle TextStyle?
final
onExpandedChanged ValueChanged<bool>?
final
onHashtagTap StringCallback?
final
onLinkTap VoidCallback?
final
onMentionTap StringCallback?
final
onPrefixTap VoidCallback?
final
onTagTap → dynamic Function(String)
final
onTextTap VoidCallback?
final
onUrlTap StringCallback?
final
prefixStyle TextStyle?
final
prefixText String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticsLabel String?
final
style TextStyle?
final
text String
final
textAlign TextAlign?
final
textDirection TextDirection?
final
textScaleFactor double?
final
urlStyle TextStyle?
final

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

Operators

operator ==(Object other) bool
The equality operator.
inherited