diff --git a/lib/main.dart b/lib/main.dart index 7b88546..1220c0d 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:resume/pages/landing_page.dart'; void main() { runApp(const Resume()); @@ -12,9 +13,14 @@ class Resume extends StatelessWidget { return MaterialApp( title: 'Resume', theme: ThemeData( - colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), + colorScheme: ColorScheme.fromSeed( + seedColor: Colors.deepPurple, brightness: Brightness.dark), useMaterial3: true, ), + routes: { + '/': (context) => const LandingPage(), + }, + initialRoute: '/', ); } } diff --git a/lib/pages/landing_page.dart b/lib/pages/landing_page.dart new file mode 100644 index 0000000..d95c662 --- /dev/null +++ b/lib/pages/landing_page.dart @@ -0,0 +1,18 @@ +import 'package:flutter/material.dart'; + +class LandingPage extends StatelessWidget { + const LandingPage({super.key}); + static const String routeName = '/'; + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: const Text('Landing'), + actions: [ + TextButton(onPressed: () {}, child: const Text('Source Code')), + ], + ), + ); + } +}