Commit b91e8f97 authored by Alexander Aprelev's avatar Alexander Aprelev Committed by GitHub

Remove trailing comma from assert (#12064)

parent fa0bcce7
...@@ -116,7 +116,7 @@ class CupertinoNavigationBar extends StatelessWidget implements PreferredSizeWid ...@@ -116,7 +116,7 @@ class CupertinoNavigationBar extends StatelessWidget implements PreferredSizeWid
Widget build(BuildContext context) { Widget build(BuildContext context) {
assert( assert(
!largeTitle || middle is Text, !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) { if (!largeTitle) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment