LogoSignals.dart
Copy Markdown
rodydavis/signals.dart 999999

SignalCustomPaint

A high-performance canvas painting widget that subscribes to signals and renders.

A high-performance canvas painting widget that subscribes to signals and renders directly on the GPU, completely bypassing the widget build and layout phases.

Use SignalCustomPaint in performance-critical rendering scenarios like real-time charts, complex visual animations, particle systems, or game loops.

Constructors#

View Constructors
SignalCustomPaint({super.key, required this.painter, super.child})

Creates a new SignalCustomPaint.

Properties#

View Properties
SignalCustomPainter painter

The painter to draw on the canvas.

Methods#

View Methods
RenderSignalCustomPaint createRenderObject(BuildContext context)
void updateRenderObject(BuildContext context, RenderSignalCustomPaint renderObject)