mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
fix precedence issue (#31486)
This commit is contained in:
parent
661e0350fb
commit
364726aca1
|
@ -391,9 +391,9 @@ class GalleryOptionsPage extends StatelessWidget {
|
|||
List<Widget> _enabledDiagnosticItems() {
|
||||
// Boolean showFoo options with a value of null: don't display
|
||||
// the showFoo option at all.
|
||||
if (null == options.showOffscreenLayersCheckerboard
|
||||
?? options.showRasterCacheImagesCheckerboard
|
||||
?? options.showPerformanceOverlay)
|
||||
if (options.showOffscreenLayersCheckerboard == null &&
|
||||
options.showRasterCacheImagesCheckerboard == null &&
|
||||
options.showPerformanceOverlay == null)
|
||||
return const <Widget>[];
|
||||
|
||||
final List<Widget> items = <Widget>[
|
||||
|
|
Loading…
Reference in a new issue