DecorationImage constructor

const DecorationImage({
  1. required ImageProvider image,
  2. BoxFit fit = BoxFit.cover,
  3. Alignment alignment = Alignment.center,
  4. double? dpi,
})

Implementation

const DecorationImage({
  required this.image,
  this.fit = BoxFit.cover,
  this.alignment = Alignment.center,
  this.dpi,
});