Skip to content

A Flutter plugin than allow expand and collapse text dynamically

License

Notifications You must be signed in to change notification settings

mhdarshad/readmore

 
 

Repository files navigation

readmore

A Flutter plugin than allow expand and collapse text.

usage:

add to your pubspec

readmore: ^1.0.0

and import:

import 'package:readmore/readmore.dart';
ReadMoreText(
  'Flutter is Google’s mobile UI open source framework to build high-quality native (super fast) interfaces for iOS and Android apps with the unified codebase.',
  trimLines: 2,
  colorClickableText: Colors.pink,
  trimMode: TrimMode.Line,
  trimCollapsedText: 'Show more',
  trimExpandedText: 'Show less',
  moreStyle: TextStyle(fontSize: 14, fontWeight: FontWeight.bold),
);

About

A Flutter plugin than allow expand and collapse text dynamically

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%