truncated 0.0.2 copy "truncated: ^0.0.2" to clipboard
truncated: ^0.0.2 copied to clipboard

A Dart and Flutter widget to truncate long text and append ellipsis

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add truncated

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

dependencies:
  truncated: ^0.0.2

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

Import it

Now in your Dart code, you can use:

import 'package:truncated/truncated.dart';
2
likes
140
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart and Flutter widget to truncate long text and append ellipsis

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on truncated