onChange property

dynamic Function(dynamic)? onChange
final

Nullable function, invoked when navigating between picker items whether it's date picker or simple item picker it will return a value DateTime or int(index)

Implementation

final Function(dynamic)? onChange;