mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Further remove web-only considerations that are no longer necessary (#158143)
... to mention because without HTML they work the same as the native renderer! Yay! Post-submit follow-up cleanups to https://github.com/flutter/flutter/pull/158035#pullrequestreview-2414359559 (https://github.com/flutter/flutter/issues/157547).
This commit is contained in:
parent
33f7137aeb
commit
08ff061d13
@ -1411,10 +1411,6 @@ class ResizeImage extends ImageProvider<ResizeImageKey> {
|
||||
///
|
||||
/// The image will be cached regardless of cache headers from the server.
|
||||
///
|
||||
/// When a network image is used on the Web platform, the `getTargetSize`
|
||||
/// parameter of the [ImageDecoderCallback] is only supported when the
|
||||
/// application is running with the CanvasKit renderer.
|
||||
///
|
||||
/// See also:
|
||||
///
|
||||
/// * [Image.network] for a shorthand of an [Image] widget backed by [NetworkImage].
|
||||
|
||||
@ -306,12 +306,6 @@ typedef ImageErrorWidgetBuilder = Widget Function(
|
||||
/// using the `cacheWidth` and `cacheHeight` parameters, a 100-fold reduction in
|
||||
/// memory usage.
|
||||
///
|
||||
/// ### Web considerations
|
||||
///
|
||||
/// In the case where a network image is used on the Web platform, the
|
||||
/// `cacheWidth` and `cacheHeight` parameters are only supported when the
|
||||
/// application is running with the CanvasKit renderer.
|
||||
///
|
||||
/// ## Custom image providers
|
||||
///
|
||||
/// {@tool dartpad}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user