36 lines
715 B
Dart
36 lines
715 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
import 'dart:async';
|
||
|
|
||
|
import 'package:flutter/services.dart';
|
||
|
import 'package:flutter_unity_widget/flutter_unity_widget.dart';
|
||
|
|
||
|
void main() => runApp(MyApp());
|
||
|
|
||
|
class MyApp extends StatefulWidget {
|
||
|
@override
|
||
|
_MyAppState createState() => _MyAppState();
|
||
|
}
|
||
|
|
||
|
class _MyAppState extends State<MyApp> {
|
||
|
String _platformVersion = 'Unknown';
|
||
|
|
||
|
@override
|
||
|
void initState() {
|
||
|
super.initState();
|
||
|
}
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return MaterialApp(
|
||
|
home: Scaffold(
|
||
|
appBar: AppBar(
|
||
|
title: const Text('Unity example app'),
|
||
|
),
|
||
|
body: Center(
|
||
|
child: Text('Running on'),
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|