TdChangeNotifierSelector<T extends Listenable, S> constructor

const TdChangeNotifierSelector<T extends Listenable, S>({
  1. Key? key,
  2. required S selector(
    1. BuildContext context,
    2. T model
    ),
  3. required T listenable,
  4. required ValueWidgetBuilder<S> builder,
  5. Widget? child,
})

Implementation

const TdChangeNotifierSelector({
  super.key,
  required this.selector,
  required this.listenable,
  required this.builder,
  this.child,
});