Skip to content

Commit

Permalink
Refactor deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wallen committed Jan 3, 2023
1 parent b08531d commit d8425c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ui/platform_dispatcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ class ViewConfiguration {
const ViewConfiguration({
this.view,
@Deprecated('''
Renaming window to view as the class `FlutterWindow` has been deprecated.
Renaming window to view since `FlutterWindow` has been removed from dart::ui.
''')
this.window,
this.devicePixelRatio = 1.0,
Expand Down Expand Up @@ -1341,7 +1341,7 @@ class ViewConfiguration {
///
/// If null, then this configuration represents a top level view itself.
@Deprecated('''
Renaming window to view as the class `FlutterWindow` has been deprecated.
Renaming window to view since `FlutterWindow` has been removed from dart::ui.
''')
final FlutterView? window;
final FlutterView? view;
Expand Down

0 comments on commit d8425c2

Please sign in to comment.