console 2.0.0

Console #

A Console Library for Epicness

Usage #

This library does not work in browsers (for a hopefully obvious reason).

import "package:console/console.dart";

void main() {
  // Initialize the Console. Throws an exception if advanced terminal features are not supported.
  // Use the library.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  console: ^2.0.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:console/console.dart';
Awaiting analysis to complete.