diff --git a/assets/images/queensCrown.png b/assets/images/queensCrown.png new file mode 100644 index 0000000..00b1208 Binary files /dev/null and b/assets/images/queensCrown.png differ diff --git a/lib/main.dart b/lib/main.dart index 7a781e4..6ca3c53 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -36,7 +36,21 @@ class QueensQuest extends StatelessWidget { ), home: Scaffold( appBar: AppBar( - title: const Text('Foo'), + title: Row( + mainAxisAlignment: MainAxisAlignment.start, + children: [ + Image.asset( + 'assets/images/queensCrown.png', + fit: BoxFit.contain, + height: 32, + ), + Container( + padding: const EdgeInsets.all(8.0), + child: const Text('Queens Quest'), + ), + ], + + ), ), body: const Center( child: QueenList(), diff --git a/pubspec.yaml b/pubspec.yaml index ae72c28..538d5d4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -63,8 +63,8 @@ flutter: uses-material-design: true # To add assets to your application, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg + assets: + - assets/images/queensCrown.png # - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see diff --git a/queensCrown.png b/queensCrown.png new file mode 100644 index 0000000..00b1208 Binary files /dev/null and b/queensCrown.png differ