blob: bfbdb860c76d8a575aea1e521be5d6eae8b9b932 [file] [log] [blame]
import 'dart:io' show Platform;
import 'package:flutter/material.dart';
// ignore_for_file: public_member_api_docs
void startApp() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: Text('Platform: ${Platform.operatingSystem}\n'),
),
),
);
}
}