WidgetAssetImage constructor

const WidgetAssetImage(
  1. String name, {
  2. Key? key,
  3. double? width,
  4. double? height,
  5. Color? color,
  6. BoxFit? fit,
  7. String? package,
  8. BorderRadius? borderRadius,
})

Implementation

const WidgetAssetImage(String name,
    {super.key,
    this.width,
    this.height,
    this.color,
    this.fit,
    this.package,
    this.borderRadius})
    : _name = name;