WireIcon.fromImage constructor

const WireIcon.fromImage({
  1. Key? key,
  2. required ImageProvider<Object>? image,
  3. Color? color,
  4. double? size,
  5. bool fill = false,
})

Implementation

const WireIcon.fromImage({
  Key? key,
  required this.image,
  this.color,
  this.size,
  this.fill = false,
})  : icon = null,
      super(key: key);