Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class ContactGroupsPage extends StatelessWidget {
CupertinoPageRoute<void>(
title: list.title,
builder: (context) => ContactListsPage(listId: list.id),
),
);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Replacing the comma with a semicolon here introduces a syntax error in the Dart code snippet. The CupertinoPageRoute constructor is being passed as an argument to the push method, so it should be followed by a comma (or nothing if it's the last argument), not a semicolon.

Suggested change
);
),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems correct. It's not the end of a statement so it can't be a semicolon (;).

),
);
}
Expand Down
Loading