0 purchases
console color
1. About
1.1. Introduction
1.1.1. Install Library
1.1.2. Import It
1.1.3. Use library
1.2. License
1.3. More Information
1. About #
The convenient enum of 256 colors for console. Console Color gives the color code for the console an easily recognizable name.
1.1. Introduction #
1.1.1. Install Library #
With Dart:
dart pub add console_color
copied to clipboard
With Flutter:
flutter pub add console_color
copied to clipboard
1.1.2. Import It #
import 'package:console_color/console_color.dart';
copied to clipboard
1.1.3. Use library #
import 'package:console_color/console_color.dart';
void main() {
final color = ConsoleColor.cyan;
print(color.name);
print(color.code);
for (final color in ConsoleColor.values) {
print('name=${color.name}');
print('code=${color.code}');
}
}
copied to clipboard
1.2. License #
Copyright (c) 2022, Kato Shinya. All rights reserved.
Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
copied to clipboard
1.3. More Information #
Console Color was designed and implemented by Kato Shinya.
Creator Profile
License
API Document
Release Note
Bug Report
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.