appendRecord method

void appendRecord(
  1. BuildContext context,
  2. List<Widget> widgets,
  3. Post post, {
  4. double? fontSize,
})

Implementation

void appendRecord(BuildContext context, List<Widget> widgets, Post post,
    {double? fontSize}) {
  FacetLink facetLink = FacetLink(post.record, context, fontSize: fontSize);
  Widget text = Row(
    children: [
      Expanded(child: facetLink.withLink),
    ],
  );
  widgets.add(Detector.instance(context, text).thread(post.author, post.uri));
}