1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-16 10:20:55 +01:00
git-touch-android-ios-app/lib/main.dart
Rongjian Zhang dd456132f4 Add
2018-07-05 22:08:19 +08:00

27 lines
595 B
Dart

import 'package:flutter/material.dart';
import 'android/main.dart';
import 'ios/main.dart';
class App extends StatelessWidget {
final isIos = false;
@override
build(context) {
return MaterialApp(
title: 'GitFlux',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: isIos
? IosHomePage(title: 'GitFlux')
: AndroidHomePage(title: 'GitFlux'),
routes: {
// '/notification': (context) => IosNotificationTab(),
// '/profile': (context) => IosProfileTab(),
},
);
}
}
void main() => runApp(App());