Fluttershy constructor

Fluttershy({
  1. Camera? camera,
  2. void setup()?,
  3. void event(
    1. Event event
    )?,
  4. void update(
    1. double deltaTime
    )?,
  5. void render(
    1. Canvas canvas
    )?,
  6. void destroy()?,
  7. Key? key,
})

Implementation

Fluttershy({
  Camera? camera,
  void Function()? setup,
  void Function(Event event)? event,
  void Function(double deltaTime)? update,
  void Function(Canvas canvas)? render,
  void Function()? destroy,
  Key? key,
})  : _fluttershy = _Fluttershy(
        camera ??
            Camera(
              size: Vector2(double.infinity, 5.0),
            ),
        setup,
        event,
        update,
        render,
        destroy,
      ),
      super(key: key);