see_more 0.0.5 copy "see_more: ^0.0.5" to clipboard
see_more: ^0.0.5 copied to clipboard

A flutter package for view more text.

An interactive text widget that supports collapsible and expandable content.

Features #

There are number of properties that you can modify.

  • text
  • textStyle
  • animationDuration
  • seeMoreText
  • seeMoreStyle
  • seeLessText
  • seeLessStyle
  • trimLength

Dart Code Usage #

SeeMoreWidget(
              "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
              textStyle: TextStyle(
                fontSize: 16,
                color: Colors.black,
                fontWeight: FontWeight.w400,
              ),
              animationDuration: Duration(milliseconds: 200),
              seeMoreText: "See More",
              seeMoreStyle: TextStyle(
                fontSize: 14,
                fontWeight: FontWeight.w600,
                color: Colors.black,
              ),
              seeLessText: "See Less",
              seeLessStyle: TextStyle(
                fontSize: 14,
                fontWeight: FontWeight.w600,
                color: Colors.black,
              ),
              trimLength: 240,
            ),

video

6
likes
120
pub points
68%
popularity

Publisher

unverified uploader

A flutter package for view more text.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on see_more