Deprecate BindingBase.window (#120998)

Deprecate BindingBase.window
This commit is contained in:
Michael Goderbauer
2023-03-21 14:08:23 -07:00
committed by GitHub
parent 2392be7656
commit a9073f787c
4 changed files with 43 additions and 29 deletions

View File

@@ -147,8 +147,6 @@ class FakeViewPadding implements ViewPadding {
///
/// * [TestFlutterView], which wraps a [FlutterView] for testing and
/// mocking purposes.
/// * [TestWindow], which wraps a [SingletonFlutterWindow] for
/// testing and mocking purposes.
class TestPlatformDispatcher implements PlatformDispatcher {
/// Constructs a [TestPlatformDispatcher] that defers all behavior to the given
/// [PlatformDispatcher] unless explicitly overridden for test purposes.

View File

@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(goderbauer): Delete these tests when the deprecated window property is removed.
// ignore_for_file: deprecated_member_use
import 'dart:ui' as ui show window;
import 'dart:ui';