generic_expandable_text 0.0.1
generic_expandable_text: ^0.0.1 copied to clipboard
This is a expandable text widget where, the package is able to detect if the provided text has overflow or not, By allowing the widget with max lines read more and read less functionality is enabled.
This package will create readmore and readless functionality with addition to being similar to normal text widget.
Features #
This package is able to create expadable text widgets.
Getting started #
You can use the package same as the default text widget provided by flutter
Usage #
GenericExpandableText(
'Hello dnbsh kdsajdksak djas dsjkak dsajkd sajkdsa dsjk dsajkdsd sakjd sa sdajd asdjksa dd sadjk asdjskad sadj asdkjas dsaj dsajk dsjakdsajkd sahdsa j sadkhasjkdsa dsjadjksa djksadjks adjks adjska ds \n hello',
hasReadMore: true,
maxLines: 1,
)
Additional information #
You can find more information about this package on https://github.com/RoshanKarki007/generic_expandable_text