Validates user input from the dev mode password dialog.
typedef DevModePasswordValidator = FutureOr<bool> Function(String password);