flutter/dev/integration_tests/non_nullable/lib/main.dart
2022-12-20 14:15:39 -08:00

27 lines
605 B
Dart

// 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.
import 'package:flutter/material.dart';
String? unused; // ignore: unreachable_from_main
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const Center(child: Text('hello, world'))
);
}
}