DiagramWidgetScene constructor
const
DiagramWidgetScene({
- required DiagramScenePainter renderer,
- required ShapeWidgetRegistry registry,
- required DiagramController store,
- required Listenable repaint,
- required bool readOnly,
- required ValueChanged<
int> onPointerOwned, - Listenable? structure,
- required ValueChanged<
int> onPointerReleased, - required ValueChanged<
bool> onFocusChanged, - bool blocksWidgetPointer(
- DiagramPoint world
- bool onBackgroundStart()?,
- void onBackgroundUpdate()?,
- void onBackgroundEnd()?,
- ValueChanged<
int> ? onBackgroundCancel, - void onBackgroundTap()?,
- VoidCallback? onReturnToCanvas,
- Key? key,
Implementation
const DiagramWidgetScene({
required this.renderer,
required this.registry,
required this.store,
required this.repaint,
required this.readOnly,
required this.onPointerOwned,
this.structure,
required this.onPointerReleased,
required this.onFocusChanged,
this.blocksWidgetPointer,
this.onBackgroundStart,
this.onBackgroundUpdate,
this.onBackgroundEnd,
this.onBackgroundCancel,
this.onBackgroundTap,
this.onReturnToCanvas,
super.key,
});