Unverified Commit 7cc853f1 authored by Filip Hracek's avatar Filip Hracek Committed by GitHub

Link to FadeTransition from performance tip (#86379)

When suggesting more performant alternatives to rebuilding `Opacity`, `FadeTransition` is as valid as `AnimatedOpacity`, and it's less obvious ("opacity" versus "fade").
parent c4c5e0d7
...@@ -197,7 +197,7 @@ class Directionality extends InheritedWidget { ...@@ -197,7 +197,7 @@ class Directionality extends InheritedWidget {
/// ///
/// Animating an [Opacity] widget directly causes the widget (and possibly its /// Animating an [Opacity] widget directly causes the widget (and possibly its
/// subtree) to rebuild each frame, which is not very efficient. Consider using /// subtree) to rebuild each frame, which is not very efficient. Consider using
/// an [AnimatedOpacity] instead. /// an [AnimatedOpacity] or a [FadeTransition] instead.
/// ///
/// ## Transparent image /// ## Transparent image
/// ///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment