icon_to_text_extension_codespark 0.0.1
icon_to_text_extension_codespark: ^0.0.1 copied to clipboard
Flutter extension to render any IconData (Material or Cupertino) as Text or TextSpan for inline icons in rich text and custom layouts.
Changelog #
All notable changes to this project will be documented in this file.
0.0.1 - 2025-05-30 #
Added #
- Initial release with IconData to
Text/TextSpanextension methods - Support for both Material and Cupertino icons
- Preserves original icon font family and package
- Optional
TextStylefor styling - Optional
prefixandpostfixsupport to wrap icon character in surrounding text iconToString()extension method to convert IconData to a raw string character- Example app showcasing usage of
toText,toTextSpan, and inline rendering - README with banner, badges, usage instructions, and preview image