textwrap

Pub Package Test Status CodeCov

Text wrapping and filling. It's a pure port of textwrap from Python.

Usage

A simple usage example:

import 'package:textwrap/textwrap.dart';

void main() {
  print(fill('Text wrapping and filling.', width: 16));
  // Text wrapping
  // and filling.
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Libraries

textwrap
utils