Last updated:
0 purchases
fold wrap
Description #
Fold Wrap can auto wrap, and also can fold excess rows or expand them. This Widget is suitable for scenarios similar to the history of the search page.
Folded
Expanded
How to Use #
Given List<Widget> and set which line needs to be collapsed, and can set space and runSpace like Wrap. And you should set the extentHeight for the **max height **of each row. Like that
FoldWrap(
children: <Widget>[...],
extentHeight: 30,
spacing: 10,
runSpacing: 10,
isFold: ture, // controller fold
foldLine: 2,
)
copied to clipboard
foldWidget can set the button at the end after folding.
FoldWrap(
foldWidget: Icon(..),
foldWidgetInEnd: true,
)
copied to clipboard
foldWidgetInEnd set that whether foldWidget is to be at the end of the line. Default is false.
The end #
If you have any questions or suggestions, you can ask them in the issue, and I will answer them as soon as possible.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.