expandable_richtext 1.0.3 copy "expandable_richtext: ^1.0.3" to clipboard
expandable_richtext: ^1.0.3 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.3

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/expandable_richtext_controller.dart';
import 'package:expandable_richtext/expandable_richtext_state.dart';
import 'package:expandable_richtext/text_parser.dart';
import 'package:expandable_richtext/text_segment.dart';
12
likes
0
pub points
84%
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