ImageLayer.file constructor

ImageLayer.file(
  1. String path, {
  2. double? opacity,
  3. num? x,
  4. num? y,
  5. double? scale,
})

Implementation

ImageLayer.file(
  this.path, {
  this.opacity,
  this.x,
  this.y,
  this.scale,
}) : type = FileType.file;