CustomConfirmPrompt typedef

CustomConfirmPrompt = String Function(String prompt, bool? defaultValue)

Implementation

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