SvgCache constructor Null safety

const SvgCache(
  1. String? iconUrl,
  2. {double? width,
  3. double? height,
  4. dynamic color,
  5. bool displayAssetWhileWaiting = true}
)

Implementation

const SvgCache(
  final String? iconUrl, {
  final double? width,
  final double? height,
  this.color,
  final bool displayAssetWhileWaiting = true,
}) : super(
        iconUrl,
        width: width,
        height: height,
        displayAssetWhileWaiting: displayAssetWhileWaiting,
      );