thread method

GestureDetector thread(
  1. ProfileViewBasic author,
  2. String uri
)

Implementation

GestureDetector thread(ProfileViewBasic author, String uri) {
  return GestureDetector(
    onTap: () => {
      Navigator.push(
        context,
        MaterialPageRoute(
            builder: (context) => Thread(
                  handle: author.handle,
                  uri: uri,
                )),
      )
    },
    child: widget,
  );
}