defaultLoader property
ResourceLoader
defaultLoader
A resource loader that can load as many of the following URI schemes as are supported by the platform:
- file
- http
- https
- data
- package
For example, file:
URIs are not supported in the browser.
Relative URI references are accepted - they are resolved against
Uri.base before being loaded.
This loader is automatically used by the Resource
class
if no other loader is specified.
Implementation
static ResourceLoader get defaultLoader => const PackageLoader();