Skip to content

Commit 4405f77

Browse files
authored
[rfw] Migrate deprecated doc references (#6744)
Part of flutter/flutter#148218 Part of flutter/flutter#148361 Fixes flutter/flutter#148220
1 parent 8b7b00b commit 4405f77

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

packages/rfw/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.28
2+
3+
* Updates documentation to WidgetStateProperty and ButtonBar.
4+
15
## 1.0.27
26
* Adds support for `DecorationImage.filterQuality`.
37

packages/rfw/lib/src/flutter/material_widgets.dart

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import 'runtime.dart';
2222
///
2323
/// * [AboutListTile]
2424
/// * [AppBar]
25-
/// * [ButtonBar]
25+
/// * `ButtonBar`
2626
/// * [Card]
2727
/// * [CircularProgressIndicator]
2828
/// * [Divider]
@@ -56,11 +56,11 @@ import 'runtime.dart';
5656
/// Some features have changed in the underlying Flutter's material library and are
5757
/// therefore no longer supported, including:
5858
///
59-
/// * The [ButtonBar] widget in the Flutter's material library is planned to be
60-
/// deprecated in favor of the [OverflowBar] widget. The [ButtonBar] widget in
59+
/// * The `ButtonBar` widget in the Flutter's material library is planned to be
60+
/// deprecated in favor of the [OverflowBar] widget. The `ButtonBar` widget in
6161
/// `rfw` package uses the [OverflowBar] widget internally for backward compatibility.
62-
/// The [ButtonBar] widget in `rfw` package is not deprecated and will continue to
63-
/// be supported. As a result, the following [ButtonBar] parameters are no longer
62+
/// The `ButtonBar` widget in `rfw` package is not deprecated and will continue to
63+
/// be supported. As a result, the following `ButtonBar` parameters are no longer
6464
/// supported:
6565
///
6666
/// * `buttonMinWidth`
@@ -77,7 +77,7 @@ import 'runtime.dart';
7777
/// * Theming in general is not currently supported.
7878
///
7979
/// * Properties whose values are [Animation]s or based on
80-
/// [MaterialStateProperty] are not supported.
80+
/// [WidgetStateProperty] are not supported.
8181
///
8282
/// * Features related to focus or configuring mouse support are not
8383
/// implemented.
@@ -94,7 +94,7 @@ import 'runtime.dart';
9494
///
9595
/// In general, the trend will all of these unsupported features is that this
9696
/// library doesn't support features that can't be trivially expressed using the
97-
/// JSON-like structures of RFW. For example, [MaterialStateProperty] is
97+
/// JSON-like structures of RFW. For example, [WidgetStateProperty] is
9898
/// designed to be used with code to select the values, which doesn't work well
9999
/// in the RFW structure.
100100
LocalWidgetLibrary createMaterialWidgets() => LocalWidgetLibrary(_materialWidgetsDefinitions);
@@ -142,12 +142,12 @@ Map<String, LocalWidgetBuilder> get _materialWidgetsDefinitions => <String, Loca
142142
);
143143
},
144144

145-
// The [ButtonBar] widget in Flutter's material library is planned to be deprecated
146-
// in favor of the [OverflowBar] widget. This [ButtonBar] implementation uses the
147-
// [OverflowBar] widget internally for backward compatibility. The [ButtonBar]
145+
// The `ButtonBar` widget in Flutter's material library is planned to be deprecated
146+
// in favor of the [OverflowBar] widget. This `ButtonBar` implementation uses the
147+
// [OverflowBar] widget internally for backward compatibility. The `ButtonBar`
148148
// widget in `rfw` package is not deprecated and will continue to be supported.
149149
//
150-
// The [ButtonBar] widget in Flutter's material library has changed over time.
150+
// The `ButtonBar` widget in Flutter's material library has changed over time.
151151
// The following parameters are no longer supported:
152152
// - `buttonMinWidth`
153153
// - `buttonHeight`

packages/rfw/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: rfw
22
description: "Remote Flutter widgets: a library for rendering declarative widget description files at runtime."
33
repository: https://github.com/flutter/packages/tree/main/packages/rfw
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+rfw%22
5-
version: 1.0.27
5+
version: 1.0.28
66

77
environment:
88
sdk: ^3.2.0

0 commit comments

Comments
 (0)