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