Remove trailing comma from assert (#12064)
This commit is contained in:
parent
fa0bcce708
commit
b91e8f97ef
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user