text_highlight_rounded

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

text highlight rounded

Text Highlight Rounded #
Description #
A custom widget which provides rounded highlighted text, made with painter
Example #



HighlightTextRounded(
text: "one line only",
style: TextStyle(
fontSize: 20,
color: Colors.black,
),
copied to clipboard



HighlightTextRounded(
text: "and for this\nhighlightText is more\nthan one line\nwithall rounded corners",
textAlign: TextAlign.center,
bold: 7,
isAllCornerRound: true,
radius: 10,
markColor: Colors.red[100]!,
style: const TextStyle(
fontSize: 25,
fontWeight: FontWeight.bold,
color: Colors.purple,
),
),
copied to clipboard



HighlightTextRounded(
text: "and for this\nhighlightText is more\nthan one line\nwith basic rounded corner",
textAlign: TextAlign.right,
bold: 7,
radius: 10,
isAllCornerRound: false,
markColor: Colors.blue[100]!,
style: TextStyle(
fontSize: 25,
fontWeight: FontWeight.bold,
color: Colors.blueGrey[800],
),
),
copied to clipboard
Parameter #

String text
TextStyle style;
double? maxWidth;
double radius;
Color markColor;
TextAlign textAlign;
double bold;
bool isAllCornerRound;

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.