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