Commit 3b137611 authored by Martin's avatar Martin Committed by Michael Goderbauer

Update doc header in Opacity class to fix issue #23311 (#23475)

parent 711eb99b
...@@ -143,7 +143,7 @@ class Directionality extends InheritedWidget { ...@@ -143,7 +143,7 @@ class Directionality extends InheritedWidget {
/// This is more efficient than adding and removing the child widget from the /// This is more efficient than adding and removing the child widget from the
/// tree on demand. /// tree on demand.
/// ///
/// ## Opacity animation /// ## Performance considerations for opacity animation
/// ///
/// 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
......
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