From 6ff644d36693956e06fbc4cadc2bbee7cc61acae Mon Sep 17 00:00:00 2001 From: Emily Fortuna Date: Sun, 13 Feb 2022 22:07:01 -0800 Subject: [PATCH 1/3] added BidirectionalScrollViewPlugin --- lib/presentation/review_code.dart | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/presentation/review_code.dart b/lib/presentation/review_code.dart index b2dc360..ce974a6 100644 --- a/lib/presentation/review_code.dart +++ b/lib/presentation/review_code.dart @@ -18,7 +18,14 @@ class ReviewPage extends StatelessWidget { @override Widget build(BuildContext context) { - return Scaffold(appBar: AppBar(title: Text('Review Pull Request'))); + return Scaffold( + appBar: AppBar(title: Text('Review Pull Request')), + body: BidirectionalScrollViewPlugin( + child: Padding( + padding: const EdgeInsets.all(10.0), + child: styledCode(prDiff), + ), + )); } RichText styledCode(String prDiff) { From e098c20ba648d38ee19dfc4b448e000cff1cf935 Mon Sep 17 00:00:00 2001 From: Emily Fortuna Date: Sun, 13 Feb 2022 22:15:14 -0800 Subject: [PATCH 2/3] updated readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d4c7316..afd1f11 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,10 @@ Also known as "Dude, where's my pull request?" Instructions for running: - Make sure your computer is set up to run [Flutter code](https://flutter.io/) -- Check out repository... +- Check out repository. - Create a token.dart file in lib/full_version/github/. This file needs to contain a variable defining your [github access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/). The file should look something like this: const token = 'my personal Github token here'; - ...Profit?? +- Watch out for BidirectionalScrollViewPlugin From 35c50857f75fa4d8d4ca597610ea7ad88edfcace Mon Sep 17 00:00:00 2001 From: Emily Fortuna Date: Sun, 13 Feb 2022 22:18:50 -0800 Subject: [PATCH 3/3] hello --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index afd1f11..bd3f54a 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,4 @@ Instructions for running: const token = 'my personal Github token here'; - ...Profit?? -- Watch out for BidirectionalScrollViewPlugin +- Watch out for BidirectionalScrollViewPlugin hello world