read_more_text_plus 1.0.1 copy "read_more_text_plus: ^1.0.1" to clipboard
read_more_text_plus: ^1.0.1 copied to clipboard

A Flutter package for displaying expandable text with "Read more" and "Read less" toggles.

read_more_text_plus #

A Flutter plugin that allows for expanding and collapsing text with the added capability to style and interact with specific patterns in the text URLs.

Usage: #

Add the package to your pubspec.yaml:

read_more_text_plus: ^1.0.1

Then, import it in your Dart code:

import 'package:read_more_text_plus/read_more_text_plus.dart';

Basic Example #

 ReadMoreTextWidget(
 message:"Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.It is fast, productive, and flexible, allowing developers to create high-performance apps with expressive and flexible designs.With Flutter, you can build apps for iOS, Android, Windows, Mac, Linux,and the web using the same codebase. It features a rich set of pre-designed widgets,hot reload for quick development cycles, and a strong community that contributes to a growing ecosystem of packages and plugins.",
    onChange: () {},
    charCount: 50,
   isReadMore: true,
);

Note: This feature is not available with the ReadMoreText.rich constructor, as TextSpan gives you total control over styling and adding interactions to parts of the text.

3
likes
130
points
17
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for displaying expandable text with "Read more" and "Read less" toggles.

License

unknown (license)

Dependencies

flutter

More

Packages that depend on read_more_text_plus