EasyImage constructor
const
EasyImage(
- dynamic image, {
- Key? key,
- ImageStyle style = const ImageStyle(),
- Widget? placeholder,
- Widget? errorWidget,
- VoidCallback? onTap,
- bool autoDetect = true,
构造函数(自动识别模式)
Implementation
const EasyImage(this.image,
{super.key,
this.style = const ImageStyle(),
this.placeholder,
this.errorWidget,
this.onTap,
this.autoDetect = true});