[go: nahoru, domu]

Skip to content

Commit

Permalink
Deprecate WindowPadding (flutter#39775)
Browse files Browse the repository at this point in the history
  • Loading branch information
goderbauer committed Feb 22, 2023
1 parent 137caa7 commit 00f2a38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/ui/platform_dispatcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,10 @@ class ViewPadding {
/// Deprecated. Will be removed in a future version of Flutter.
///
/// Use [ViewPadding] instead.
// TODO(goderbauer): deprecate this when framework has been migrated to ViewPadding.
@Deprecated(
'Use ViewPadding instead. '
'This feature was deprecated after v3.8.0-14.0.pre.',
)
typedef WindowPadding = ViewPadding;

/// Area of the display that may be obstructed by a hardware feature.
Expand Down
4 changes: 4 additions & 0 deletions lib/web_ui/lib/platform_dispatcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,10 @@ abstract class ViewPadding {
}
}

@Deprecated(
'Use ViewPadding instead. '
'This feature was deprecated after v3.8.0-14.0.pre.',
)
typedef WindowPadding = ViewPadding;

class DisplayFeature {
Expand Down

0 comments on commit 00f2a38

Please sign in to comment.