password method

Future<String> password(
  1. String message, {
  2. String? validate(
    1. String value
    )?,
})

Sugar for ask with obscure: true. The submitted value never appears on screen.

Implementation

Future<String> password(
  String message, {
  String? Function(String value)? validate,
}) =>
    ask(message, obscure: true, validate: validate);