WidgetAssetImage constructor
const
WidgetAssetImage({
- Key? key,
- required String assetPath,
- Rect? cropRect,
- bool scaleDeviceRatio = true,
- OnSizeChanged? onSizeChanged,
Implementation
const WidgetAssetImage({
Key? key,
required this.assetPath,
this.cropRect,
this.scaleDeviceRatio = true,
this.onSizeChanged,
}) : super(key: key);