customNaturePattern top-level property

RegExp customNaturePattern
final

A custom nature: lower-case letters, digits and hyphens, starting with a letter (tom-framework, tom-flutter).

Implementation

final RegExp customNaturePattern = RegExp(r'^[a-z][a-z0-9-]*$');