wx_text 3.1.0
wx_text: ^3.1.0 copied to clipboard
A powerful widget that builds upon the familiar Flutter Text widget, offering additional functionalities for a richer text display experience.
3.1.0 #
- Dependency: Upgraded to
animated_repeatable: ^1.2.0with support fordisableAnimations. - SDK Alignment: Updated environment SDK constraint to
sdk: '>=3.0.0 <4.0.0'and upgraded toflutter_lints: ^5.0.0. - New Filters: Added
WxTextFilter.mentionandWxTextFilter.hashtagfor social text parsing. - Bug Fix: Fixed
onExpandedcallback not being invoked inWxSpoilerText. - Stability: Refactored
WxSpoilerTextto maintain expanded state across parent widget rebuilds and properly disposeWxSpoilerController. - Low-Level Layout: Replaced
ConstrainedTextdummy newline stack with direct line-height measurement (TextPainter.preferredLineHeight) viaConstrainedBox. - Fidelity: Upgraded
OutlinedTextto preserveInlineSpan(highlights, email/URL/mention filters, custom spans) across stroke outline rendering. - Performance: Optimized
WxText.buildby removing nestedWxTextStylerwrapper layers and caching regex compilation inParsedText. - Documentation: Overhauled
README.mdwith complete code snippets for all features and typography presets. - Testing: Added comprehensive test suite covering all typography variants, filters, outlines, gradients, and spoiler interactions.
3.0.0 #
- Added supports for text outline and gradient
- Added supports for animated text
- Added style shortcuts
- Added constructor to create from another instance configuration
- Added option to debug min lines
- Refactor spoiler text, use maxLines instead of trimLines, renamed builder to wrapper
- Refactor parsed text, added base text, and added selectionColor
2.0.2 #
- Adjust sdk constraints
2.0.1 #
- Removed screenshots and example to reduces package size
2.0.0 #
- Changed parameter
highlightCaseSensitivewithfilterCaseSensitive - Implemented an advanced text parsing widget with pattern highlighting capabilities
- Added spoiler text
1.0.0 #
- Inherits all the functionalities of the standard Text widget.
- Defines the minimum number of lines the widget will always display.
- Allows users to select and highlight specific portions of the text.
- Provides access to a set of pre-defined text styles commonly used in user interfaces.