print_buffer 0.1.1 copy "print_buffer: ^0.1.1" to clipboard
print_buffer: ^0.1.1 copied to clipboard

Buffers the output of 'print' function and the writes to 'stdout', returns that as a string, optionally preprocesses each call.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add print_buffer

With Flutter:

 $ flutter pub add print_buffer

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  print_buffer: ^0.1.1

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

Import it

Now in your Dart code, you can use:

import 'package:print_buffer/print_buffer.dart';
1
likes
160
points
20
downloads

Publisher

verified publisherainkin.com

Weekly Downloads

Buffers the output of 'print' function and the writes to 'stdout', returns that as a string, optionally preprocesses each call.

Repository (GitHub)

Documentation

API reference

License

MIT-0 (license)

Dependencies

clock

More

Packages that depend on print_buffer