Unverified Commit 0e8b1877 authored by xster's avatar xster Committed by GitHub

Turn on Material page transition fade effect for Gallery (#15583)

parent 43284d70
......@@ -5,10 +5,13 @@
// Thanks for checking out Flutter!
// Like what you see? Tweet us @flutterio
import 'package:flutter/widgets.dart';
import 'package:flutter/material.dart';
import 'gallery/app.dart';
void main() {
// Overriding https://github.com/flutter/flutter/issues/13736 for better
// visual effect at the cost of performance.
MaterialPageRoute.debugEnableFadingRoutes = true; // ignore: deprecated_member_use
runApp(const GalleryApp());
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment