Skip to content

Commit 433453f

Browse files
authored
Remove window reference from doc snippet (#123176)
Remove window reference from doc snippet
1 parent e760624 commit 433453f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/flutter/lib/src/foundation/diagnostics.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import 'object.dart';
4242
// late Map<Listenable, VoidCallback>? handles;
4343
// late DiagnosticsTreeStyle style;
4444
// late IconData icon;
45+
// late double devicePixelRatio;
4546

4647
/// The various priority levels used to filter which diagnostics are shown and
4748
/// omitted.
@@ -3218,7 +3219,7 @@ mixin Diagnosticable {
32183219
/// // without a space.
32193220
/// properties.add(DoubleProperty(
32203221
/// 'device pixel ratio',
3221-
/// ui.window.devicePixelRatio,
3222+
/// devicePixelRatio,
32223223
/// tooltip: 'physical pixels per logical pixel',
32233224
/// ));
32243225
///

0 commit comments

Comments
 (0)