diff --git a/packages/flutter/lib/src/cupertino/page.dart b/packages/flutter/lib/src/cupertino/page.dart index 86efab11d1..6e87f5db91 100644 --- a/packages/flutter/lib/src/cupertino/page.dart +++ b/packages/flutter/lib/src/cupertino/page.dart @@ -61,6 +61,10 @@ final DecorationTween _kGradientShadowTween = new DecorationTween( /// remains in memory. To free all the resources when this is not necessary, set /// [maintainState] to false. /// +/// The type `T` specifies the return type of the route which can be supplied as +/// the route is popped from the stack via [Navigator.pop] when an optional +/// `result` can be provided. +/// /// See also: /// /// * [MaterialPageRoute] for an adaptive [PageRoute] that uses a platform diff --git a/packages/flutter/lib/src/material/page.dart b/packages/flutter/lib/src/material/page.dart index 67b6cf9993..32a5df4538 100644 --- a/packages/flutter/lib/src/material/page.dart +++ b/packages/flutter/lib/src/material/page.dart @@ -55,6 +55,10 @@ class _MountainViewPageTransition extends StatelessWidget { /// Specify whether the incoming page is a fullscreen modal dialog. On iOS, those /// pages animate bottom->up rather than right->left. /// +/// The type `T` specifies the return type of the route which can be supplied as +/// the route is popped from the stack via [Navigator.pop] when an optional +/// `result` can be provided. +/// /// See also: /// /// * [CupertinoPageRoute], that this [PageRoute] delegates transition animations to for iOS.