icon_to_text_extension_codespark 0.0.1 copy "icon_to_text_extension_codespark: ^0.0.1" to clipboard
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 / TextSpan extension methods
  • Support for both Material and Cupertino icons
  • Preserves original icon font family and package
  • Optional TextStyle for styling
  • Optional prefix and postfix support 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
3
likes
0
points
45
downloads

Publisher

verified publisherksaikiran.tech

Weekly Downloads

Flutter extension to render any IconData (Material or Cupertino) as Text or TextSpan for inline icons in rich text and custom layouts.

Repository (GitHub)
View/report issues

Topics

#icondata #cupertino-icons #material-icons #inline-icons #flutter-extensions

License

unknown (license)

Dependencies

flutter

More

Packages that depend on icon_to_text_extension_codespark