errorText method

void errorText(
  1. String errorText
)

Implementation

void errorText(String errorText) {
  // // Printing part
  print("\n");
  print(chalk.brightRed(errorText));

  // Docs
  print(
    chalk.yellow(
        "Check out the documentation by running the command: majestic_ui docs"),
  );
  print("\n");
}