This repository has been archived on 2020-08-22. You can view files and clone it, but cannot push or open issues or pull requests.
flutter-unity-view-widget/example/lib/main.dart

17 lines
423 B
Dart

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);