expandable_richtext 1.0.0 copy "expandable_richtext: ^1.0.0" to clipboard
expandable_richtext: ^1.0.0 copied to clipboard

A text widget which you can use to initially only show a defined number of lines of a probably long text. it also support clickable @‌mention,

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add expandable_richtext

With Flutter:

 $ flutter pub add expandable_richtext

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

dependencies:
  expandable_richtext: ^1.0.0

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:expandable_richtext/expandable_rich_text.dart';
import 'package:expandable_richtext/text_parser.dart';
import 'package:expandable_richtext/text_segment.dart';
21
likes
0
pub points
87%
popularity

Publisher

verified publisherdevcrew.io

A text widget which you can use to initially only show a defined number of lines of a probably long text. it also support clickable @‌mention,

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on expandable_richtext