mirror of
https://github.com/git-touch/git-touch
synced 2024-12-16 10:20:55 +01:00
25 lines
600 B
Dart
25 lines
600 B
Dart
import 'package:flutter/material.dart';
|
|
import 'android/main.dart';
|
|
import 'ios/main.dart';
|
|
|
|
class App extends StatelessWidget {
|
|
final isIos = true;
|
|
|
|
@override
|
|
build(context) {
|
|
return new MaterialApp(
|
|
title: 'GitFlux',
|
|
theme: new ThemeData(
|
|
primarySwatch: Colors.blue,
|
|
),
|
|
home: isIos ? new IosHomePage(title: 'GitFlux') : new AndroidHomePage(title: 'GitFlux'),
|
|
routes: {
|
|
// '/notification': (context) => new IosNotificationTab(),
|
|
// '/profile': (context) => new IosProfileTab(),
|
|
},
|
|
);
|
|
}
|
|
}
|
|
|
|
void main() => runApp(new App());
|