main.dart 730 Bytes
Newer Older
1 2 3 4
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5 6 7
// Thanks for checking out Flutter!
// Like what you see? Tweet us @flutterio

8
import 'package:flutter/foundation.dart';
9
import 'package:flutter/material.dart';
10

11
import 'gallery/app.dart';
Hans Muller's avatar
Hans Muller committed
12

13
void main() {
14
  // Temporary debugging hook for https://github.com/flutter/flutter/issues/17888
15 16
  debugInstrumentationEnabled = true;

17 18 19
  // Overriding https://github.com/flutter/flutter/issues/13736 for better
  // visual effect at the cost of performance.
  MaterialPageRoute.debugEnableFadingRoutes = true; // ignore: deprecated_member_use
20
  runApp(const GalleryApp());
21
}