Binds<S> constructor

Binds<S>({
  1. required List<Bind<S>> binds,
  2. required Widget child,
  3. Key? key,
})

Constructs a Binds widget with the provided bindings and child widget.

Implementation

Binds({
  required this.binds,
  required this.child,
  super.key,
}) : assert(binds.isNotEmpty, "binds should not be empty");