FunvasContainer constructor

const FunvasContainer({
  1. Key? key,
  2. bool paused = false,
  3. required Funvas funvas,
})

Creates a container that the provided funvas can draw in.

Size and position are provided by the container, i.e. they are provided by the widget tree above the widget.

If the funvas is changed for the same element in the element tree, the timer on the state will reset, restarting Funvas.u at 0 seconds.

Implementation

const FunvasContainer({
  Key? key,
  this.paused = false,
  required this.funvas,
}) : super(key: key);