pathPattern property
Used to distinguish asset paths from URLs. Expected input: relative or absolute file paths (e.g. 'assets/custom.js').
Implementation
static final RegExp pathPattern =
RegExp('^[\\w ./=-]+\$', dotAll: true, unicode: true);
Used to distinguish asset paths from URLs. Expected input: relative or absolute file paths (e.g. 'assets/custom.js').
static final RegExp pathPattern =
RegExp('^[\\w ./=-]+\$', dotAll: true, unicode: true);