view_more 0.0.2 copy "view_more: ^0.0.2" to clipboard
view_more: ^0.0.2 copied to clipboard

An interactive text container that supports collapsible and expandable content.

viewMore #

An interactive text container that supports collapsible and expandable content.

usage: #

add to your pubspec

view_more: ^0.0.1

and import:

import 'package:view_more/view_more.dart';
ViewMore(
  'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s.',
  trimLines: 2,
  colorClickableText: Colors.pink,
  trimMode: TrimMode.line,
  trimCollapsedText: 'View more',
  trimExpandedText: 'View less',
  moreStyle: TextStyle(fontSize: 14, fontWeight: FontWeight.bold),
);
8
likes
140
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

An interactive text container that supports collapsible and expandable content.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on view_more