BaseWebImage constructor

const BaseWebImage(
  1. String? imageUrl, {
  2. Key? key,
  3. Widget placeholder = const Center(child: CircularProgressIndicator()),
  4. Widget? errorWidget,
  5. double? width,
  6. double? height,
  7. BoxFit? fit,
})

Implementation

const BaseWebImage(this.imageUrl,
    {Key? key,
    this.placeholder = const Center(child: CircularProgressIndicator()),
    this.errorWidget,
    this.width,
    this.height,
    this.fit})
    : super(key: key);