ManySignalsBuilder<R> constructor
const
ManySignalsBuilder<R> ({
- Key? key,
- required Set<
BaseSignal> signals, - required Widget builder(
- BuildContext context
- dynamic listener()?,
Creates a ManySignalsBuilder for a given set of signals.
Use this constructor when you need to listen to a specific subset of signals
from a node or when you are working with signals that are not part of a node.
If you need to listen to all signals in a node, use ManySignalsBuilder.all.
If you need to listen to all signals in a node and have access to the node's readable,
use ManySignalsBuilder.readable.
Implementation
const ManySignalsBuilder({
super.key,
required Set<BaseSignal> signals,
required Widget Function(BuildContext context) this.builder,
this.listener,
}) : _explicitSignals = signals,
node = null,
readableBuilder = null;