bundle property Null safety

AssetBundle? bundle
final

The bundle from which the image will be obtained.

If the provided bundle is null, the bundle provided in the ImageConfiguration passed to the resolve call will be used instead. If that is also null, the rootBundle is used.

The image is obtained by calling AssetBundle.load on the given bundle using the key given by keyName.

Implementation

final AssetBundle? bundle;