spancraft 1.0.0
spancraft: ^1.0.0 copied to clipboard
A powerful Flutter package for rendering richly formatted text with markdown-like syntax and interactive elements.
1.0.0 #
- Initial Release: First stable version of Spancraft
- Features:
- Markdown-like text formatting (bold and italic with customizable symbols)
- Auto-detection and styling of URLs and domain-based links
- Hashtag detection and styling
- Customizable
SmartTextStylefor each text element type - Tap callbacks for links (
onLinkTap) and hashtags (onHashtagTap) - Full text layout control (alignment, direction, overflow, max lines)
- Intelligent touch slop detection for tap vs. scroll differentiation
- Support for LTR and RTL text directions
- Architecture:
- Custom
RenderBoximplementation with efficient text parsing - Regular expression-based element detection
- Accurate position tracking for interactive elements
- Custom
- Documentation:
- Comprehensive dartdoc comments throughout the codebase
- Detailed README with usage examples
- Complete API reference