A utility library that contains a set of most commonly used rules.
- Decimal Rules
- Number Rules
- Text Rules
Check out all the components in detail here
final text = 'Sony Xperia';
final pattern = 'Sony';
final rule = TextStartsWithRule(text, pattern, value: text);
final ruleResponse = rule.execute();
print(ruleResponse.isSuccess); // true
To learn more, move on to the example section or check out these dedicated examples in github.