mirror of
https://github.com/flutter/packages.git
synced 2025-06-27 21:28:33 +08:00
[flutter_image][ci] ignore deprecation warning, migrate master references to main. (#2199)
This commit is contained in:
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -21,9 +21,9 @@
|
|||||||
If you need help, consider asking for advice on the #hackers-new channel on [Discord].
|
If you need help, consider asking for advice on the #hackers-new channel on [Discord].
|
||||||
|
|
||||||
<!-- Links -->
|
<!-- Links -->
|
||||||
[Contributor Guide]: https://github.com/flutter/packages/blob/master/CONTRIBUTING.md
|
[Contributor Guide]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md
|
||||||
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
|
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
|
||||||
[relevant style guides]: https://github.com/flutter/packages/blob/master/CONTRIBUTING.md#style
|
[relevant style guides]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md#style
|
||||||
[CLA]: https://cla.developers.google.com/
|
[CLA]: https://cla.developers.google.com/
|
||||||
[flutter/tests]: https://github.com/flutter/tests
|
[flutter/tests]: https://github.com/flutter/tests
|
||||||
[breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
|
[breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Contributing to Flutter Packages
|
# Contributing to Flutter Packages
|
||||||
|
|
||||||
[](https://cirrus-ci.com/github/flutter/packages/master)
|
[](https://cirrus-ci.com/github/flutter/packages/main)
|
||||||
|
|
||||||
_See also: [Flutter's code of conduct](https://github.com/flutter/flutter/blob/master/CODE_OF_CONDUCT.md)_
|
_See also: [Flutter's code of conduct](https://github.com/flutter/flutter/blob/master/CODE_OF_CONDUCT.md)_
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Flutter Packages
|
# Flutter Packages
|
||||||
|
|
||||||
[](https://cirrus-ci.com/github/flutter/packages/master)
|
[](https://cirrus-ci.com/github/flutter/packages/main)
|
||||||
[](https://github.com/flutter/packages/actions/workflows/release.yml)
|
[](https://github.com/flutter/packages/actions/workflows/release.yml)
|
||||||
|
|
||||||
This repo is a companion repo to the main [flutter repo](
|
This repo is a companion repo to the main [flutter repo](
|
||||||
@ -25,7 +25,7 @@ is ready you can [publish](https://flutter.io/developing-packages/#publish)
|
|||||||
to the [pub repository](https://pub.dartlang.org/).
|
to the [pub repository](https://pub.dartlang.org/).
|
||||||
|
|
||||||
If you wish to contribute a change to any of the existing packages in this repo,
|
If you wish to contribute a change to any of the existing packages in this repo,
|
||||||
please review our [contribution guide](https://github.com/flutter/packages/blob/master/CONTRIBUTING.md),
|
please review our [contribution guide](https://github.com/flutter/packages/blob/main/CONTRIBUTING.md),
|
||||||
and send a [pull request](https://github.com/flutter/packages/pulls).
|
and send a [pull request](https://github.com/flutter/packages/pulls).
|
||||||
|
|
||||||
## Packages
|
## Packages
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
## 2.0.5
|
||||||
|
|
||||||
|
* Updates README to reference the correct github URL.
|
||||||
|
|
||||||
## 2.0.4
|
## 2.0.4
|
||||||
|
|
||||||
* Update example with the latest changes from `google_sign_in`, so it builds again on Android. [#89301](https://github.com/flutter/flutter/issues/89301).
|
* Update example with the latest changes from `google_sign_in`, so it builds again on Android. [#89301](https://github.com/flutter/flutter/issues/89301).
|
||||||
|
@ -28,7 +28,7 @@ final response = await peopleApi.people.connections.list(
|
|||||||
|
|
||||||
This package contains a modified version of Flutter's Google Sign In example app that uses `package:googleapis`' API clients, instead of raw http requests.
|
This package contains a modified version of Flutter's Google Sign In example app that uses `package:googleapis`' API clients, instead of raw http requests.
|
||||||
|
|
||||||
See it [here](https://github.com/flutter/packages/blob/master/packages/extension_google_sign_in_as_googleapis_auth/example/lib/main.dart).
|
See it [here](https://github.com/flutter/packages/blob/main/packages/extension_google_sign_in_as_googleapis_auth/example/lib/main.dart).
|
||||||
|
|
||||||
The original code (and its license) can be seen [here](https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in/example/lib/main.dart).
|
The original code (and its license) can be seen [here](https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in/example/lib/main.dart).
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ name: extension_google_sign_in_as_googleapis_auth
|
|||||||
description: A bridge package between google_sign_in and googleapis_auth, to create Authenticated Clients from google_sign_in user credentials.
|
description: A bridge package between google_sign_in and googleapis_auth, to create Authenticated Clients from google_sign_in user credentials.
|
||||||
repository: https://github.com/flutter/packages/tree/main/packages/extension_google_sign_in_as_googleapis_auth
|
repository: https://github.com/flutter/packages/tree/main/packages/extension_google_sign_in_as_googleapis_auth
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+extension_google_sign_in_as_googleapis_auth%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+extension_google_sign_in_as_googleapis_auth%22
|
||||||
version: 2.0.4
|
version: 2.0.5
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
## 4.1.3
|
||||||
|
|
||||||
|
* Suppresses deprecation warnings.
|
||||||
|
|
||||||
## 4.1.2
|
## 4.1.2
|
||||||
|
|
||||||
* Migrates from `ui.hash*` to `Object.hash*`.
|
* Migrates from `ui.hash*` to `Object.hash*`.
|
||||||
|
@ -96,6 +96,9 @@ class NetworkImageWithRetry extends ImageProvider<NetworkImageWithRetry> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
// TODO(cyanglaz): migrate to use the new APIs
|
||||||
|
// https://github.com/flutter/flutter/issues/105336
|
||||||
|
// ignore: deprecated_member_use
|
||||||
ImageStreamCompleter load(NetworkImageWithRetry key, DecoderCallback decode) {
|
ImageStreamCompleter load(NetworkImageWithRetry key, DecoderCallback decode) {
|
||||||
return OneFrameImageStreamCompleter(_loadWithRetry(key, decode),
|
return OneFrameImageStreamCompleter(_loadWithRetry(key, decode),
|
||||||
informationCollector: () sync* {
|
informationCollector: () sync* {
|
||||||
@ -124,7 +127,11 @@ class NetworkImageWithRetry extends ImageProvider<NetworkImageWithRetry> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<ImageInfo> _loadWithRetry(
|
Future<ImageInfo> _loadWithRetry(
|
||||||
NetworkImageWithRetry key, DecoderCallback decode) async {
|
// TODO(cyanglaz): migrate to use the new APIs
|
||||||
|
// https://github.com/flutter/flutter/issues/105336
|
||||||
|
// ignore: deprecated_member_use
|
||||||
|
NetworkImageWithRetry key,
|
||||||
|
DecoderCallback decode) async {
|
||||||
assert(key == this);
|
assert(key == this);
|
||||||
|
|
||||||
final Stopwatch stopwatch = Stopwatch()..start();
|
final Stopwatch stopwatch = Stopwatch()..start();
|
||||||
|
@ -3,7 +3,7 @@ description: >
|
|||||||
Image utilities for Flutter: improved network providers, effects, etc.
|
Image utilities for Flutter: improved network providers, effects, etc.
|
||||||
repository: https://github.com/flutter/packages/tree/main/packages/flutter_image
|
repository: https://github.com/flutter/packages/tree/main/packages/flutter_image
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_image%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_image%22
|
||||||
version: 4.1.2
|
version: 4.1.3
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
@ -142,6 +142,9 @@ void assertThatImageLoadingFails(
|
|||||||
) {
|
) {
|
||||||
final ImageStreamCompleter completer = subject.load(
|
final ImageStreamCompleter completer = subject.load(
|
||||||
subject,
|
subject,
|
||||||
|
// TODO(cyanglaz): migrate to use the new APIs
|
||||||
|
// https://github.com/flutter/flutter/issues/105336
|
||||||
|
// ignore: deprecated_member_use
|
||||||
PaintingBinding.instance.instantiateImageCodec,
|
PaintingBinding.instance.instantiateImageCodec,
|
||||||
);
|
);
|
||||||
completer.addListener(ImageStreamListener(
|
completer.addListener(ImageStreamListener(
|
||||||
@ -159,6 +162,9 @@ void assertThatImageLoadingSucceeds(
|
|||||||
) {
|
) {
|
||||||
final ImageStreamCompleter completer = subject.load(
|
final ImageStreamCompleter completer = subject.load(
|
||||||
subject,
|
subject,
|
||||||
|
// TODO(cyanglaz): migrate to use the new APIs
|
||||||
|
// https://github.com/flutter/flutter/issues/105336
|
||||||
|
// ignore: deprecated_member_use
|
||||||
PaintingBinding.instance.instantiateImageCodec,
|
PaintingBinding.instance.instantiateImageCodec,
|
||||||
);
|
);
|
||||||
completer.addListener(ImageStreamListener(
|
completer.addListener(ImageStreamListener(
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
## NEXT
|
## 0.9.3+2
|
||||||
|
|
||||||
* (Temporarily) helps tests introduced in prior version to pass in `stable`.
|
* (Temporarily) helps tests introduced in prior version to pass in `stable`.
|
||||||
(This will be removed when `master` rolls to `stable`)
|
(This will be removed when `master` rolls to `stable`)
|
||||||
|
* Updates README to reference the correct github URL.
|
||||||
|
|
||||||
## 0.9.3+1
|
## 0.9.3+1
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ The result is that Flutter widget's `onTap` (and other) handlers won't fire as e
|
|||||||
|
|
||||||
|The problem...|
|
|The problem...|
|
||||||
|:-:|
|
|:-:|
|
||||||
||
|
||
|
||||||
|_In the dashed areas, mouse events won't work as expected. The `HtmlElementView` will consume them before Flutter sees them._|
|
|_In the dashed areas, mouse events won't work as expected. The `HtmlElementView` will consume them before Flutter sees them._|
|
||||||
|
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ This gives an opportunity to the Flutter framework to handle the click, as expec
|
|||||||
|
|
||||||
|The solution...|
|
|The solution...|
|
||||||
|:-:|
|
|:-:|
|
||||||
||
|
||
|
||||||
|_Each `PointerInterceptor` (green) renders between Flutter widgets and the underlying `HtmlElementView`. Mouse events now can't reach the background HtmlElementView, and work as expected._|
|
|_Each `PointerInterceptor` (green) renders between Flutter widgets and the underlying `HtmlElementView`. Mouse events now can't reach the background HtmlElementView, and work as expected._|
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
@ -2,7 +2,7 @@ name: pointer_interceptor
|
|||||||
description: A widget to prevent clicks from being swallowed by underlying HtmlElementViews on the web.
|
description: A widget to prevent clicks from being swallowed by underlying HtmlElementViews on the web.
|
||||||
repository: https://github.com/flutter/packages/tree/main/packages/pointer_interceptor
|
repository: https://github.com/flutter/packages/tree/main/packages/pointer_interceptor
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+pointer_interceptor%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+pointer_interceptor%22
|
||||||
version: 0.9.3+1
|
version: 0.9.3+2
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
## 1.0.5
|
||||||
|
|
||||||
|
* Fixes URL in document.
|
||||||
|
|
||||||
## 1.0.4
|
## 1.0.4
|
||||||
|
|
||||||
* Migrates from `ui.hash*` to `Object.hash*`.
|
* Migrates from `ui.hash*` to `Object.hash*`.
|
||||||
|
@ -11,7 +11,7 @@ import 'package:path/path.dart' as path;
|
|||||||
import 'package:path_provider/path_provider.dart';
|
import 'package:path_provider/path_provider.dart';
|
||||||
import 'package:rfw/rfw.dart';
|
import 'package:rfw/rfw.dart';
|
||||||
|
|
||||||
const String urlPrefix = 'https://raw.githubusercontent.com/flutter/packages/master/packages/rfw/example/remote/remote_widget_libraries';
|
const String urlPrefix = 'https://raw.githubusercontent.com/flutter/packages/main/packages/rfw/example/remote/remote_widget_libraries';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
runApp(const MaterialApp(home: Example()));
|
runApp(const MaterialApp(home: Example()));
|
||||||
|
@ -14,7 +14,7 @@ import 'package:path_provider/path_provider.dart';
|
|||||||
import 'package:rfw/rfw.dart';
|
import 'package:rfw/rfw.dart';
|
||||||
import 'package:wasm/wasm.dart';
|
import 'package:wasm/wasm.dart';
|
||||||
|
|
||||||
const String urlPrefix = 'https://raw.githubusercontent.com/flutter/packages/master/packages/rfw/example/wasm/logic';
|
const String urlPrefix = 'https://raw.githubusercontent.com/flutter/packages/main/packages/rfw/example/wasm/logic';
|
||||||
|
|
||||||
const String interfaceUrl = '$urlPrefix/calculator.rfw';
|
const String interfaceUrl = '$urlPrefix/calculator.rfw';
|
||||||
const String logicUrl = '$urlPrefix/calculator.wasm';
|
const String logicUrl = '$urlPrefix/calculator.wasm';
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
/// There are many ways to use a package such as this one. In general, the
|
/// There are many ways to use a package such as this one. In general, the
|
||||||
/// approach looks something like this:
|
/// approach looks something like this:
|
||||||
///
|
///
|
||||||
/// 
|
/// 
|
||||||
///
|
///
|
||||||
/// The network aspects of this design are out of scope for this package. Remote
|
/// The network aspects of this design are out of scope for this package. Remote
|
||||||
/// widget libraries and data should be cached locally, to avoid network issues
|
/// widget libraries and data should be cached locally, to avoid network issues
|
||||||
@ -19,7 +19,7 @@
|
|||||||
/// (e.g. [https://pub.dev/packages/hetu_script](hetu_script)) to run
|
/// (e.g. [https://pub.dev/packages/hetu_script](hetu_script)) to run
|
||||||
/// remotely-fetched logic locally:
|
/// remotely-fetched logic locally:
|
||||||
///
|
///
|
||||||
/// 
|
/// 
|
||||||
///
|
///
|
||||||
///
|
///
|
||||||
/// ## Using the [RemoteWidget] widget
|
/// ## Using the [RemoteWidget] widget
|
||||||
|
@ -2,7 +2,7 @@ name: rfw
|
|||||||
description: "Remote Flutter widgets: a library for rendering declarative widget description files at runtime."
|
description: "Remote Flutter widgets: a library for rendering declarative widget description files at runtime."
|
||||||
repository: https://github.com/flutter/packages/tree/main/packages/rfw
|
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
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+rfw%22
|
||||||
version: 1.0.4
|
version: 1.0.5
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.13.0 <3.0.0"
|
sdk: ">=2.13.0 <3.0.0"
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
## 1.0.5
|
||||||
|
|
||||||
|
* Updates README to reference correct URL.
|
||||||
|
|
||||||
## 1.0.4
|
## 1.0.4
|
||||||
* Update README to link to API docs.
|
|
||||||
|
* Updates README to link to API docs.
|
||||||
|
|
||||||
## 1.0.3
|
## 1.0.3
|
||||||
* Source moved to flutter/packages.
|
* Source moved to flutter/packages.
|
||||||
|
@ -25,4 +25,4 @@ For issues, file directly in the [main Flutter repo](https://github.com/flutter/
|
|||||||
For a list of all icons, see
|
For a list of all icons, see
|
||||||
[`CupertinoIcons` class documentation constants](https://api.flutter.dev/flutter/cupertino/CupertinoIcons-class.html#constants).
|
[`CupertinoIcons` class documentation constants](https://api.flutter.dev/flutter/cupertino/CupertinoIcons-class.html#constants).
|
||||||
|
|
||||||
For versions 0.1.3 and below, see this [glyph map](https://raw.githubusercontent.com/flutter/packages/master/third_party/packages/cupertino_icons/map.png).
|
For versions 0.1.3 and below, see this [glyph map](https://raw.githubusercontent.com/flutter/packages/main/third_party/packages/cupertino_icons/map.png).
|
||||||
|
@ -3,7 +3,7 @@ name: cupertino_icons
|
|||||||
description: Default icons asset for Cupertino widgets based on Apple styled icons
|
description: Default icons asset for Cupertino widgets based on Apple styled icons
|
||||||
repository: https://github.com/flutter/packages/tree/main/third_party/packages/cupertino_icons
|
repository: https://github.com/flutter/packages/tree/main/third_party/packages/cupertino_icons
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+cupertino_icons%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+cupertino_icons%22
|
||||||
version: 1.0.4
|
version: 1.0.5
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
Reference in New Issue
Block a user