Add some doc about the page route's T type (#11627)
This commit is contained in:
parent
0c158d549e
commit
946a28580c
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user