String inputWithValidation({ String prompt = 'input', required String? Function(String) validator, Object? defaultValue, });