jetLeafAssetLoader top-level property
The default asset bundler used by JetLeaf to load internal framework assets.
This is typically used to resolve HTML templates, static files, and other bundled resources that are shipped with JetLeaf itself.
It uses the Platform.script
or similar runtime metadata to locate
assets relative to the JetLeaf package.
Example:
final html = await jetLeafAssetLoader.loadAsString('errors/404.html');
Implementation
final AssetLoaderInterface jetLeafAssetLoader = AssetLoader.forJetLeaf();