advanced_rich_text

Creator: coderz1093

Last updated:

0 purchases

advanced_rich_text Image
advanced_rich_text Images

Languages

Categories

Add to Cart

Description:

advanced rich text

Flutter AdvancedRichText #
Intro #
Flutter AdvancedRichText is the simple way to create RichText with variety of text having different textstyles.

Features
Options
Usage
Output

Features #

You can create different text giving styles individually.
You can create rich text in easiest way.
You can use same style in the other text without writing any codes for that.

Options #
For AdvancedRichText: #



Option
Description
Type
Required




initialText
The text which you want to show at first
String
Yes


initialTextStyle
The textstyle which you want to show at first
TextStyle
No


secondaryTextStyle
The textstyle which you want to show in other text
TextStyle
No


textList
The different text which you want to show
TextSpanList
Yes



For TextSpanList: #



Option
Description
Type
Required




text
The text which you want to show along with
String
Yes


initialTextLike
True for having secondaryTextStyle same as initialTextStyle
Bool
No (default false)


textStyle
The textstyle which you want to show in other text
TextStyle
No


onTap
Function you want to be performed after click
Function
No



Usage #

AdvanceRichText(
initialText: "Haven't liked this package, yet? ",
secondaryTextStyle: TextStyle(
color: Colors.green,
fontWeight: FontWeight.w700,
),
textList: [
TextSpanList(
text: "Please, do Like.",
),
],
),

copied to clipboard

AdvanceRichText(
initialText: "I agree that ",
secondaryTextStyle: TextStyle(
color: Colors.green,
fontWeight: FontWeight.w700,
),
textList: [
TextSpanList(
text: "AdvancedRichText ",
textStyle: TextStyle(
color: Colors.green[600],
fontWeight: FontWeight.w700,
fontSize: 24)),
TextSpanList(text: "package ", initialTextLike: true),
TextSpanList(
text: "is the easiest way to create ",
textStyle: TextStyle(
color: Colors.blue[500], fontWeight: FontWeight.w500)),
TextSpanList(
text: "different styled texts.",
textStyle: TextStyle(
color: Colors.purple[200], fontWeight: FontWeight.w700)),
TextSpanList(
text: " Agreed?",
textStyle:
TextStyle(color: Colors.red, fontWeight: FontWeight.w900)),
],
),

copied to clipboard
Output #


Thanks #
If something is missing or you want to add some feature, feel free to open a ticket or contribute!
LICENSE: MIT

License

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

Files In This Product:

Customer Reviews

There are no reviews.