of static method
Uses the PainterControllerWidget
inherited widget to fetch the PainterController instance in this context.
This is used internally in the library to fetch the controller at different widgets.
Implementation
static PainterController of(BuildContext context) {
return PainterControllerWidget.of(context).controller;
}