jafri_flutter_unity_widget 0.1.6+9 jafri_flutter_unity_widget: ^0.1.6+9 copied to clipboard
Flutter Unity 3D widget for embedding Unity game scenes in flutter. This library now supports Unity as a Library.
import 'package:flutter/material.dart';
import 'screens/menu_screen.dart';
import 'screens/with_ark_screen.dart';
var MyApp = MaterialApp(
title: 'Named Routes Demo',
// Start the app with the "/" named route. In this case, the app starts
// on the FirstScreen widget.
initialRoute: '/',
routes: {
'/': (context) => MenuScreen(),
'/ar': (context) => WithARkitScreen(),
},
);
void main() => runApp(MyApp);