textrich 0.0.2 copy "textrich: ^0.0.2" to clipboard
textrich: ^0.0.2 copied to clipboard

outdated

A composite rich text component.

TextRich #

A composite rich text component.

Getting Started #

Screenshot #

[drawing]

Code #

              TextRich(
                "TextRich example app",
                matchTexts: const ["exa"],
                matchStyles: const [TextStyle(color: Colors.red)],
              ),
              TextRich(
                "TextRich example app",
                matchTexts: const ["exa", "a"],
                matchStyles: const [TextStyle(color: Colors.red)],
              ),
              TextRich(
                "TextRich example app",
                matchTexts: const ["exa", "a"],
                matchStyles: const [TextStyle(color: Colors.red), TextStyle(color: Colors.blue)],
              ),
              TextRich(
                "TextRich example app",
                matchTexts: const ["exa", "a"],
                matchStyles: const [TextStyle(color: Colors.red,fontStyle: FontStyle.italic,fontSize: 30,decoration: TextDecoration.underline), TextStyle(color: Colors.blue)],
                onTap: (value){
                  print('Tap value :$value');
                },
                style: const TextStyle(color: Colors.black,fontSize: 16),
              ),
1
likes
0
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

A composite rich text component.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, plugin_platform_interface

More

Packages that depend on textrich

Packages that implement textrich