LogoSignals.dart
Copy Markdown
rodydavis/signals.dart 999999

RenderSignalBox

The low-level RenderBox used by SignalPainterWidget to directly subscribe to a progress signal and paint.

The low-level RenderBox used by SignalPainterWidget to directly subscribe to a progress signal and paint.

Constructors#

View Constructors
RenderSignalBox({required core.ReadonlySignal progress, required void Function(Canvas canvas, Size size, double value) painter})

Creates a new RenderSignalBox drawing using _painter and driven by _progress signal.

Methods#

View Methods
progress(core.ReadonlySignal val)

Sets a new progress signal and resubscribes to updates.

painter(void Function(Canvas canvas, Size size, double value) val)

Sets a new custom painter delegate.

void performLayout()
void paint(PaintingContext context, Offset offset)
void detach()