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

This commit is contained in:
Martin
2018-10-25 12:32:57 -04:00
committed by Michael Goderbauer
parent 711eb99b06
commit 3b13761111

View File

@@ -143,7 +143,7 @@ class Directionality extends InheritedWidget {
/// This is more efficient than adding and removing the child widget from the
/// tree on demand.
///
/// ## Opacity animation
/// ## Performance considerations for opacity animation
///
/// Animating an [Opacity] widget directly causes the widget (and possibly its
/// subtree) to rebuild each frame, which is not very efficient. Consider using