onBackButtonPressed property Null safety
final
The callback function that will be called when the back button is pressed.
It must return a boolean future with true if this child will handle the request; otherwise, return a boolean future with false.
Implementation
final ValueGetter<Future<bool>> onBackButtonPressed;