Remove trailing comma from assert (#12064)

This commit is contained in:
Alexander Aprelev 2017-09-12 21:57:37 -07:00 committed by GitHub
parent fa0bcce708
commit b91e8f97ef

View File

@ -116,7 +116,7 @@ class CupertinoNavigationBar extends StatelessWidget implements PreferredSizeWid
Widget build(BuildContext context) {
assert(
!largeTitle || middle is Text,
"largeTitle mode is only possible when 'middle' is a Text widget",
"largeTitle mode is only possible when 'middle' is a Text widget"
);
if (!largeTitle) {