DecoratorRule.word constructor
DecoratorRule.word({})
Implementation
factory DecoratorRule.word({
required String word,
required TextStyle style,
Function(String)? onTap,
bool caseSensitive = false,
}) {
return DecoratorRule(
style: style,
regExp: CommonRegExp.word(
word,
caseSensitive: caseSensitive,
),
onTap: onTap,
);
}