mirrored_repositories/pixabay_flutter_demo
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_showcase_app/constants/strings_const.dart';
import 'package:flutter_showcase_app/routes.dart';
import 'package:flutter_showcase_app/ui/splash/splash.dart';

Future main() async {
  SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
      .then((_) {
    runApp(MyApp());
  });
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.

  static int currentSelectedTab = 1;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: Strings.appName,
      routes: Routes.routes,
      theme: ThemeData(primarySwatch: Colors.green, fontFamily: 'Raleway'),
      home: SplashScreen(),
    );
  }
}
