Skip to content

Commit

Permalink
hide view from public
Browse files Browse the repository at this point in the history
  • Loading branch information
goderbauer committed Dec 15, 2022
1 parent c3dc2e3 commit 2f6697a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions packages/flutter/lib/src/widgets/window.dart
@@ -0,0 +1,8 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/// Placeholder to be used in a future version of Flutter.
abstract class Window {
const Window._();
}
4 changes: 3 additions & 1 deletion packages/flutter/lib/widgets.dart
Expand Up @@ -148,9 +148,11 @@ export 'src/widgets/transitions.dart';
export 'src/widgets/tween_animation_builder.dart';
export 'src/widgets/unique_widget.dart';
export 'src/widgets/value_listenable_builder.dart';
export 'src/widgets/view.dart';
// TODO(goderbauer): Enable once clean-up in google3 is done.
// export 'src/widgets/view.dart';
export 'src/widgets/viewport.dart';
export 'src/widgets/visibility.dart';
export 'src/widgets/widget_inspector.dart';
export 'src/widgets/widget_span.dart';
export 'src/widgets/will_pop_scope.dart';
export 'src/widgets/window.dart';
1 change: 1 addition & 0 deletions packages/flutter/test/widgets/view_test.dart
Expand Up @@ -4,6 +4,7 @@

import 'dart:ui';

import 'package:flutter/src/widgets/view.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';

Expand Down

0 comments on commit 2f6697a

Please sign in to comment.