Codegen an entrypoint for flutter web applications (#33956)

This commit is contained in:
Jonah Williams
2019-06-06 21:05:55 -07:00
committed by GitHub
parent 4e5cf5efb0
commit c91b657116
11 changed files with 322 additions and 233 deletions

View File

@@ -1,16 +0,0 @@
// Copyright 2019 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.
// Thanks for checking out Flutter!
// Like what you see? Tweet us @FlutterDev
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
import 'gallery/app.dart';
Future<void> main() async {
await ui.webOnlyInitializePlatform(); // ignore: undefined_function
runApp(const GalleryApp());
}