assetBundle property

AssetBundle assetBundle

Returns the asset bundle from the closest widgets.DefaultAssetBundle ancestor.

context.assetBundle is equivalent to widgets.DefaultAssetBundle.of.

Implementation

AssetBundle get assetBundle {
  return widgets.DefaultAssetBundle.of(this);
}