slot method

Widget slot(
  1. Widget builder(
    1. BuildContext context,
    2. T value
    )
)

Create a basic Slot widget from this signal.

Implementation

Widget slot(Widget Function(BuildContext context, T value) builder) {
  return Slot<T>(connect: this, to: builder);
}