DefaultAssetBundle constructor

const DefaultAssetBundle({
  1. Key? key,
  2. required AssetBundle bundle,
  3. required Widget child,
})

Creates a widget that determines the default asset bundle for its descendants.

Implementation

const DefaultAssetBundle({
  super.key,
  required this.bundle,
  required super.child,
});