expandable_text 2.3.0 copy "expandable_text: ^2.3.0" to clipboard
expandable_text: ^2.3.0 copied to clipboard

Widget that only shows the first lines of a text and adds a link to expand the full text.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add expandable_text

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

dependencies:
  expandable_text: ^2.3.0

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:expandable_text/expandable_text.dart';
251
likes
120
pub points
98%
popularity

Publisher

unverified uploader

Widget that only shows the first lines of a text and adds a link to expand the full text.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on expandable_text