expandable_text 2.3.0 copy "expandable_text: ^2.3.0" to clipboard
expandable_text: ^2.3.0 copied to clipboard

Widget that only shows the first lines of a text and adds a link to expand the full text.

2.3.0 #

  • New callback to handle link taps (onLinkTap)
  • Improved URL parsing
  • Fix unrecognized keywords starting on new line

2.2.0 #

  • Text with tappable and styled links (onUrlTap, urlStyle)
  • Text with tappable and styled @mentions (onMentionTap, mentionStyle)
  • Text with tappable and styled #hashtags (onHashtagTap, hashtagStyle)

2.1.0+1 #

  • Expand and collapse animation (animation, animationDuration, animationCurve)
  • Tap on the text to expand or collapse the text (expandOnTextTap, collapseOnTextTap)

2.0.0 #

Null safety support

1.3.2 #

Fix expand link line break when using prefixText

1.3.1 #

Fix expand link line break when using prefixText

1.3.0 #

  • New optional prefix (prefixText, prefixStyle, onPrefixTap)
  • New option to change the link style (linkStyle)

1.2.0 #

Optional expand text, to disable collapsing

1.1.0 #

New callback for expanded changed (onExpandedChanged)

1.0.0 #

New option whether the ellipsis is part of the link (linkEllipsis)

0.1.0 #

Initial release

251
likes
120
pub points
98%
popularity

Publisher

unverified uploader

Widget that only shows the first lines of a text and adds a link to expand the full text.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on expandable_text