PainterControllerItemCustomWidget extension

on

Methods

addCustomWidget(Widget widget, {String? layerTitle}) → void

Available on PainterController, provided by the PainterControllerItemCustomWidget extension

Adds an image to the painter as a new item, using the provided Uint8List. The image is inserted at the top of the items list, and an action is logged.