UnDraw constructor

UnDraw({
  1. Key? key,
  2. required UnDrawIllustration illustration,
  3. required Color color,
  4. String? semanticLabel,
  5. AlignmentGeometry alignment = Alignment.center,
  6. BoxFit fit = BoxFit.contain,
  7. BlendMode colorBlendMode = BlendMode.srcIn,
  8. double? height,
  9. double? width,
  10. Widget? placeholder,
  11. Widget? errorWidget,
  12. EdgeInsets? padding,
  13. bool useMemCache = true,
})

Implementation

UnDraw({
  Key? key,
  required this.illustration,
  required this.color,
  this.semanticLabel,
  this.alignment = Alignment.center,
  this.fit = BoxFit.contain,
  this.colorBlendMode = BlendMode.srcIn,
  this.height,
  this.width,
  this.placeholder,
  this.errorWidget,
  this.padding,
  this.useMemCache = true,
}) : super(key: key);