ICanvas constructor

const ICanvas({
  1. Key? key,
  2. required IPainter painter,
})

Creates an ICanvas widget.

Implementation

const ICanvas({super.key, required this.painter});