[flutter_tools] initial support for enable experiment, run, apk, ios, macos (#54617)
This commit is contained in:
26
dev/integration_tests/non_nullable/lib/main.dart
Normal file
26
dev/integration_tests/non_nullable/lib/main.dart
Normal file
@@ -0,0 +1,26 @@
|
||||
// Copyright 2014 The Flutter Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart=2.9
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
String? unused;
|
||||
|
||||
void main() {
|
||||
runApp(MyApp());
|
||||
}
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: 'Flutter Demo',
|
||||
theme: ThemeData(
|
||||
primarySwatch: Colors.blue,
|
||||
visualDensity: VisualDensity.adaptivePlatformDensity,
|
||||
),
|
||||
home: const Center(child: Text('hello, world'))
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user