diff --git a/lib/Constants.dart b/lib/Constants.dart new file mode 100644 index 0000000..e7c2520 --- /dev/null +++ b/lib/Constants.dart @@ -0,0 +1,5 @@ +import 'package:flutter/material.dart'; + +class Constants { + static const Color TITLEBAR_COLOR = Color.fromARGB(255, 0, 72, 127); +} diff --git a/lib/HomePage.dart b/lib/HomePage.dart index 8b05f15..e131315 100644 --- a/lib/HomePage.dart +++ b/lib/HomePage.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:vorpal/Constants.dart'; class HomePage extends StatefulWidget { HomePage({super.key}); @@ -13,7 +14,10 @@ class HomeState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar(title: Text("Vorpal")), + appBar: AppBar( + title: Text("Vorpal"), + backgroundColor: Constants.TITLEBAR_COLOR, + ), ); } }