ManySignalsBuilder<R> constructor

const ManySignalsBuilder<R>({
  1. Key? key,
  2. required Set<BaseSignal> signals,
  3. required Widget builder(
    1. BuildContext context
    ),
  4. 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;