FlameContainer constructor

FlameContainer({
  1. Color? color,
  2. EdgeInsets? padding,
  3. FlameWidget? child,
  4. double? width,
  5. double? height,
  6. void onUpdate(
    1. double delta
    )?,
})

Implementation

FlameContainer({
  this.color,
  this.padding,
  this.child,
  this.width,
  this.height,
  this.onUpdate,
}) : assert(padding == null || child != null);