FlamePositioned constructor

FlamePositioned({
  1. required FlameWidget child,
  2. double? x,
  3. double? y,
  4. double? width,
  5. double? height,
  6. double xFunction()?,
  7. double yFunction()?,
  8. double? widthFunction()?,
  9. double? heightFunction()?,
})

Implementation

FlamePositioned({
  required FlameWidget child,
  this.x,
  this.y,
  this.width,
  this.height,
  this.xFunction,
  this.yFunction,
  this.widthFunction,
  this.heightFunction,
})  : isCentered = false,
      super(child) {
  calculatePadding();
}