File tree 1 file changed +6
-2
lines changed
packages/flutter/lib/src/material
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1450,11 +1450,15 @@ class _RenderListTile extends RenderBox {
1450
1450
final Size trailingSize = _layoutBox (trailing, iconConstraints);
1451
1451
assert (
1452
1452
tileWidth != leadingSize.width,
1453
- 'Leading widget consumes entire tile width. Please use a sized widget.'
1453
+ 'Leading widget consumes entire tile width. Please use a sized widget, '
1454
+ 'or consider replacing ListTile with a custom widget '
1455
+ '(see https://api.flutter.dev/flutter/material/ListTile-class.html#material.ListTile.4)'
1454
1456
);
1455
1457
assert (
1456
1458
tileWidth != trailingSize.width,
1457
- 'Trailing widget consumes entire tile width. Please use a sized widget.'
1459
+ 'Trailing widget consumes entire tile width. Please use a sized widget, '
1460
+ 'or consider replacing ListTile with a custom widget '
1461
+ '(see https://api.flutter.dev/flutter/material/ListTile-class.html#material.ListTile.4)'
1458
1462
);
1459
1463
1460
1464
final double titleStart = hasLeading
You can’t perform that action at this time.
0 commit comments