CustomAskPrompt typedef

CustomAskPrompt = String Function(String prompt, String? defaultValue, bool hidden)

Implementation

typedef CustomAskPrompt = String Function(
    String prompt,
    String? defaultValue,
    // this is a callback and this style is more readable
    // ignore: avoid_positional_boolean_parameters
    bool hidden);