customNaturePattern top-level property
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-]*$');
A custom nature: lower-case letters, digits and hyphens, starting with a
letter (tom-framework, tom-flutter).
final RegExp customNaturePattern = RegExp(r'^[a-z][a-z0-9-]*$');