Unverified Commit 433453f8 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Remove window reference from doc snippet (#123176)

Remove window reference from doc snippet
parent e760624f
...@@ -42,6 +42,7 @@ import 'object.dart'; ...@@ -42,6 +42,7 @@ import 'object.dart';
// late Map<Listenable, VoidCallback>? handles; // late Map<Listenable, VoidCallback>? handles;
// late DiagnosticsTreeStyle style; // late DiagnosticsTreeStyle style;
// late IconData icon; // late IconData icon;
// late double devicePixelRatio;
/// The various priority levels used to filter which diagnostics are shown and /// The various priority levels used to filter which diagnostics are shown and
/// omitted. /// omitted.
...@@ -3218,7 +3219,7 @@ mixin Diagnosticable { ...@@ -3218,7 +3219,7 @@ mixin Diagnosticable {
/// // without a space. /// // without a space.
/// properties.add(DoubleProperty( /// properties.add(DoubleProperty(
/// 'device pixel ratio', /// 'device pixel ratio',
/// ui.window.devicePixelRatio, /// devicePixelRatio,
/// tooltip: 'physical pixels per logical pixel', /// tooltip: 'physical pixels per logical pixel',
/// )); /// ));
/// ///
......
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