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