selector property Null safety

T Function(BuildContext) selector
final

A function that obtains some InheritedWidget and map their content into a new object with only a limited number of properties.

The returned object must implement operator==.

Must not be null

Implementation

final T Function(BuildContext) selector;