rf_expand_collapse_text 0.0.1 copy "rf_expand_collapse_text: ^0.0.1" to clipboard
rf_expand_collapse_text: ^0.0.1 copied to clipboard

the text widget which can be expanded or folded

rf_expand_collapse_text #

可展开收起的text

使用 #

Container(
  padding: EdgeInsets.only(
      left: kScale(7),
      right: kScale(7),
      top: kScale(8),
      bottom: kScale(8)),
  width: double.infinity,
  child: ExpandCollapseText(
    text: messageStr,
    textStyle: messageTextStyle,
    expandStr: '展开',
    collapseStr: '收起',
    expandOrCollapseStyle: expandCollapseTextStyle,
    isResponeAllText: true,
    onChangeExpandStatus: (bool isExpanding) {
      print(isExpanding);
    },
  ),
),
1
likes
130
points
24
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

the text widget which can be expanded or folded

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on rf_expand_collapse_text