File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,12 @@ enum BlendModeC {
163
163
///
164
164
/// This corresponds to the "Source plus Destination" Porter-Duff operator.
165
165
///
166
+ /// This is the right blend mode for cross-fading between two images. Consider
167
+ /// two images A and B, and an interpolation time variable _t_ (from 0.0 to
168
+ /// 1.0). To cross fade between them, A should be drawn with opacity 1.0 - _t_
169
+ /// into a new layer using [BlendMode.srcOver] , and B should be drawn on top
170
+ /// of it, at opacity _t_, into the same layer, using [BlendMode.plus] .
171
+ ///
166
172
/// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/blend_mode_plus.png)
167
173
plus,
168
174
@@ -380,7 +386,7 @@ enum BlendModeC {
380
386
/// [srcOver] . Regions that are entirely transparent in the source image take
381
387
/// their saturation from the destination.
382
388
///
383
- /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/blend_mode_hue .png)
389
+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/blend_mode_saturation .png)
384
390
///
385
391
/// See also:
386
392
///
You can’t perform that action at this time.
0 commit comments