AssetBundleImageKey constructor Null safety
- {required AssetBundle bundle,
- required String name,
- required double scale}
Creates the key for an AssetImage or AssetBundleImageProvider.
The arguments must not be null.
Implementation
const AssetBundleImageKey({
required this.bundle,
required this.name,
required this.scale,
}) : assert(bundle != null),
assert(name != null),
assert(scale != null);