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

PlatformAndroidiOS
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
120
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

A composite rich text component.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, flutter

More

Packages that depend on textrich

Packages that implement textrich