|
|
|
// Copyright (c) 2021, Very Good Ventures
|
|
|
|
// https://verygood.ventures
|
|
|
|
//
|
|
|
|
// Use of this source code is governed by an MIT-style
|
|
|
|
// license that can be found in the LICENSE file or at
|
|
|
|
// https://opensource.org/licenses/MIT.
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_localizations/flutter_localizations.dart';
|
|
|
|
import 'package:pinball/l10n/l10n.dart';
|
|
|
|
import 'package:pinball/landing/landing.dart';
|
|
|
|
|
|
|
|
class App extends StatelessWidget {
|
|
|
|
const App({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return MaterialApp(
|
|
|
|
title: 'I/O Pinball',
|
|
|
|
theme: ThemeData(
|
|
|
|
appBarTheme: const AppBarTheme(color: Color(0xFF13B9FF)),
|
|
|
|
colorScheme: ColorScheme.fromSwatch(
|
|
|
|
accentColor: const Color(0xFF13B9FF),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
localizationsDelegates: const [
|
|
|
|
AppLocalizations.delegate,
|
|
|
|
GlobalMaterialLocalizations.delegate,
|
|
|
|
],
|
|
|
|
supportedLocales: AppLocalizations.supportedLocales,
|
|
|
|
home: const LandingPage(),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|