comment_tree 0.2.0
comment_tree: ^0.2.0 copied to clipboard

Render comment tree like facebook comment - reply.

comment_tree #

Pub Package
Star on GitHub style: effective dart MIT License

A new Flutter package.

Getting Started #

CommentTreeWidget<Comment, Comment>(
      ...
      treeThemeData: TreeThemeData(
        lineColor: Colors.green[500],
        lineWidth: 3
      ),
      avatarRoot: (context, data) => PreferredSize(...),
      avatarChild: (context, data) => PreferredSize(...),
      contentChild: (context, data) {
          return ...;
      },
      contentRoot: (context, data) {
         return ...;
      })

Design #

Demo #

28
likes
110
pub points
76%
popularity

Publisher

dangngocduc.dev

Render comment tree like facebook comment - reply.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, provider

More

Packages that depend on comment_tree