BindMultipleInherited constructor

const BindMultipleInherited({
  1. Key? key,
  2. required Init<List<UpdateBuilder>> initUpdateBuilders,
  3. TransitionBuilder? builder,
  4. Widget? child,
})

Binds multiple inherited widgets using the provided update builders.

Note that initUpdateBuilders is only called once when the widget is initialized. The initial update builders are then used to create and update the observable values.

It is recommended to avoid conditionally including update builders in the list.

Implementation

const BindMultipleInherited({
  Key? key,
  required this.initUpdateBuilders,
  this.builder,
  Widget? child,
}) : super(key: key, child: child);