ImageProvider.asset constructor Null safety

const ImageProvider.asset(
  1. String path,
  2. {String? package}
)

Implementation

const factory ImageProvider.asset(
  String path, {
  String? package,
}) = AssetImage;