mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 22:38:42 +00:00
let add-to-app ios demo page transitions be animated (#603)
This commit is contained in:
@@ -147,7 +147,7 @@ class Contents extends StatelessWidget {
|
||||
if (showExit) ...[
|
||||
SizedBox(height: 16),
|
||||
RaisedButton(
|
||||
onPressed: () => SystemNavigator.pop(),
|
||||
onPressed: () => SystemNavigator.pop(animated: true),
|
||||
child: Text('Exit this screen'),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user