RenderSettings constructor

const RenderSettings({
  1. double? width,
  2. double? height,
  3. double? rotationAngle,
  4. bool mirror = false,
  5. String? asset,
  6. bool? isInvisible,
})

Creates a new RenderSettings instance.

Implementation

const RenderSettings({
  this.width,
  this.height,
  this.rotationAngle,
  this.mirror = false,
  this.asset,
  bool? isInvisible,
}) : isInvisible = isInvisible ?? asset == null;