mirror of
https://github.com/git-touch/git-touch
synced 2024-12-16 10:20:55 +01:00
27 lines
595 B
Dart
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());
|