Make Cupertino page transitions match native behaviours (#9138)
* Moved stuff around yet * Fix depedencies * Add more dartdoc comments to packages * Remove Cupertino dependency on material * Removed mountain_view package and added page transition test * Fix analyze warnings * Remove commented code * Partial solution. Still need to stop the animation on the previous page for modal * Some review notes * Move the cupertino back gesture controller’s lifecycle management back to its parent * Reviews * Add background color * Directional curves, full screen transition * Don’t perform the exit animation if the incoming page is a dialog * It works! * Test structures * Add a bunch of more tests and fix the gallery * One more comment * Review notes * final controller * Use that sweet sweet `is!` keyword * Play golf, because I’m bitter that there’s no nullable `as` or something in dart * Remove a space * Review notes * Remove the last deprecated test
This commit is contained in:
@@ -192,7 +192,8 @@ class DialogDemoState extends State<DialogDemo> {
|
||||
child: new Text('FULLSCREEN'),
|
||||
onPressed: () {
|
||||
Navigator.push(context, new MaterialPageRoute<DismissDialogAction>(
|
||||
builder: (BuildContext context) => new FullScreenDialogDemo()
|
||||
builder: (BuildContext context) => new FullScreenDialogDemo(),
|
||||
fullscreenDialog: true,
|
||||
));
|
||||
}
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user