WidgetAssetImage constructor

const WidgetAssetImage({
  1. Key? key,
  2. required String assetPath,
  3. Rect? cropRect,
  4. bool scaleDeviceRatio = true,
  5. OnSizeChanged? onSizeChanged,
})

Implementation

const WidgetAssetImage({
  Key? key,
  required this.assetPath,
  this.cropRect,
  this.scaleDeviceRatio = true,
  this.onSizeChanged,
}) : super(key: key);