Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rfw] Migrate deprecated doc references #6744

Merged
merged 3 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/rfw/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.28

* Updates documentation to WidgetStateProperty and ButtonBar.

## 1.0.27
* Adds support for `DecorationImage.filterQuality`.

Expand Down
22 changes: 11 additions & 11 deletions packages/rfw/lib/src/flutter/material_widgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import 'runtime.dart';
///
/// * [AboutListTile]
/// * [AppBar]
/// * [ButtonBar]
/// * `ButtonBar`
/// * [Card]
/// * [CircularProgressIndicator]
/// * [Divider]
Expand Down Expand Up @@ -56,11 +56,11 @@ import 'runtime.dart';
/// Some features have changed in the underlying Flutter's material library and are
/// therefore no longer supported, including:
///
/// * The [ButtonBar] widget in the Flutter's material library is planned to be
/// deprecated in favor of the [OverflowBar] widget. The [ButtonBar] widget in
/// * The `ButtonBar` widget in the Flutter's material library is planned to be
/// deprecated in favor of the [OverflowBar] widget. The `ButtonBar` widget in
/// `rfw` package uses the [OverflowBar] widget internally for backward compatibility.
/// The [ButtonBar] widget in `rfw` package is not deprecated and will continue to
/// be supported. As a result, the following [ButtonBar] parameters are no longer
/// The `ButtonBar` widget in `rfw` package is not deprecated and will continue to
/// be supported. As a result, the following `ButtonBar` parameters are no longer
/// supported:
///
/// * `buttonMinWidth`
Expand All @@ -77,7 +77,7 @@ import 'runtime.dart';
/// * Theming in general is not currently supported.
///
/// * Properties whose values are [Animation]s or based on
/// [MaterialStateProperty] are not supported.
/// [WidgetStateProperty] are not supported.
///
/// * Features related to focus or configuring mouse support are not
/// implemented.
Expand All @@ -94,7 +94,7 @@ import 'runtime.dart';
///
/// In general, the trend will all of these unsupported features is that this
/// library doesn't support features that can't be trivially expressed using the
/// JSON-like structures of RFW. For example, [MaterialStateProperty] is
/// JSON-like structures of RFW. For example, [WidgetStateProperty] is
/// designed to be used with code to select the values, which doesn't work well
/// in the RFW structure.
LocalWidgetLibrary createMaterialWidgets() => LocalWidgetLibrary(_materialWidgetsDefinitions);
Expand Down Expand Up @@ -142,12 +142,12 @@ Map<String, LocalWidgetBuilder> get _materialWidgetsDefinitions => <String, Loca
);
},

// The [ButtonBar] widget in Flutter's material library is planned to be deprecated
// in favor of the [OverflowBar] widget. This [ButtonBar] implementation uses the
// [OverflowBar] widget internally for backward compatibility. The [ButtonBar]
// The `ButtonBar` widget in Flutter's material library is planned to be deprecated
// in favor of the [OverflowBar] widget. This `ButtonBar` implementation uses the
// [OverflowBar] widget internally for backward compatibility. The `ButtonBar`
// widget in `rfw` package is not deprecated and will continue to be supported.
//
// The [ButtonBar] widget in Flutter's material library has changed over time.
// The `ButtonBar` widget in Flutter's material library has changed over time.
// The following parameters are no longer supported:
// - `buttonMinWidth`
// - `buttonHeight`
Expand Down
2 changes: 1 addition & 1 deletion packages/rfw/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: rfw
description: "Remote Flutter widgets: a library for rendering declarative widget description files at runtime."
repository: https://github.com/flutter/packages/tree/main/packages/rfw
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+rfw%22
version: 1.0.27
version: 1.0.28

environment:
sdk: ^3.2.0
Expand Down