Add link to hero animation page (#30059)

This commit is contained in:
Shi-Hao Hong
2019-03-28 18:14:55 -07:00
committed by GitHub
parent 19901f674b
commit cbe4c9e1d7

View File

@@ -60,7 +60,8 @@ Rect _globalBoundingBoxFor(BuildContext context) {
return MatrixUtils.transformRect(box.getTransformTo(null), Offset.zero & box.size);
}
/// A widget that marks its child as being a candidate for hero animations.
/// A widget that marks its child as being a candidate for
/// [hero animations](https://flutter.dev/docs/development/ui/animations/hero-animations).
///
/// When a [PageRoute] is pushed or popped with the [Navigator], the entire
/// screen's content is replaced. An old route disappears and a new route