Selector0<T> constructor
Selector0<T> ({
- Key? key,
- required ValueWidgetBuilder<
T> builder, - required T selector(),
- ShouldRebuild<
T> ? shouldRebuild, - Widget? child,
Both builder
and selector
must not be null
.
Implementation
Selector0({
Key? key,
required this.builder,
required this.selector,
ShouldRebuild<T>? shouldRebuild,
Widget? child,
}) : _shouldRebuild = shouldRebuild,
super(key: key, child: child);