Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 hello world

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Hello World' is disallowed in this codebase.

Click here if this comment is not useful

Please address this comment before merging this pull request.
(untitled_rule in Rule board)

9 changes: 8 additions & 1 deletion lib/presentation/review_code.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down