arco_iris 0.0.2 arco_iris: ^0.0.2 copied to clipboard
A simple printer with style.
example/arco_iris_example.dart
import 'package:arco_iris/arco_iris.dart';
import 'package:arco_iris/src/properties.dart';
void main() {
arcoIris.red.withBackground.black.text('red text on black background');
arcoIris.black.withBackground.purple.text('black text on purple background');
// Styles
arcoIris.addStyle(
'myStyle',
[BackgroundProperty.black, ForegroundProperty.green],
);
arcoIris.withStyle('myStyle').text('My custom style');
}