version property
Version pattern - matches semantic versioning format Format: major.minor.patch with optional pre-release and build metadata
Implementation
static final RegExp version = RegExp(
r'^([0-9])+(\.(([a-z]|[A-Z])|[0-9])(((([a-z]|[A-Z])|[0-9])|\-|\_))*)*$',
);