diff --git a/assets/images/logo/drifter_logo.png b/assets/images/logo/drifter_logo.png
new file mode 100644
index 0000000..c19d896
Binary files /dev/null and b/assets/images/logo/drifter_logo.png differ
diff --git a/assets/images/logo/drifter_logo.svg b/assets/images/logo/drifter_logo.svg
new file mode 100644
index 0000000..a8aac09
--- /dev/null
+++ b/assets/images/logo/drifter_logo.svg
@@ -0,0 +1,4 @@
+
diff --git a/assets/images/logo/drifter_logo_circle.png b/assets/images/logo/drifter_logo_circle.png
new file mode 100644
index 0000000..dfe4d1d
Binary files /dev/null and b/assets/images/logo/drifter_logo_circle.png differ
diff --git a/assets/images/logo/drifter_logo_circle.svg b/assets/images/logo/drifter_logo_circle.svg
new file mode 100644
index 0000000..6663c3c
--- /dev/null
+++ b/assets/images/logo/drifter_logo_circle.svg
@@ -0,0 +1,11 @@
+
diff --git a/assets/images/logo/drifter_vector.png b/assets/images/logo/drifter_vector.png
new file mode 100644
index 0000000..14ee6b2
Binary files /dev/null and b/assets/images/logo/drifter_vector.png differ
diff --git a/lib/widgets/main_screen/main_screen_widget.dart b/lib/widgets/main_screen/main_screen_widget.dart
index 6aae8f9..97fd6fc 100644
--- a/lib/widgets/main_screen/main_screen_widget.dart
+++ b/lib/widgets/main_screen/main_screen_widget.dart
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
// import 'package:drifter/widgets/home_screen/home_screen_widget.dart';
import 'package:drifter/widgets/message_screen/message_screen_widget.dart';
import 'package:drifter/widgets/profile_screen/profile_screen.dart';
+import 'package:flutter_svg/svg.dart';
class MainScreenWidget extends StatefulWidget {
const MainScreenWidget({super.key});
@@ -24,7 +25,17 @@ class _MainScreenWidgetState extends State {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
- title: Text('Drifter'),
+ title: Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ SvgPicture.asset(
+ 'assets/images/logo/drifter_logo_circle.svg',
+ height: 40,
+ ),
+ SizedBox(width: 10),
+ Text('Drifter')
+ ],
+ ),
centerTitle: true,
),
body: IndexedStack(
diff --git a/pubspec.lock b/pubspec.lock
index 76edd5d..dea5788 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -9,6 +9,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.12.29"
+ args:
+ dependency: transitive
+ description:
+ name: args
+ sha256: c372bb384f273f0c2a8aaaa226dad84dc27c8519a691b888725dec59518ad53a
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.4.1"
async:
dependency: transitive
description:
@@ -174,6 +182,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.0"
+ flutter_svg:
+ dependency: "direct main"
+ description:
+ name: flutter_svg
+ sha256: f991fdb1533c3caeee0cdc14b04f50f0c3916f0dbcbc05237ccbe4e3c6b93f3f
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.5"
flutter_test:
dependency: "direct dev"
description: flutter
@@ -256,6 +272,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.8.2"
+ path_parsing:
+ dependency: transitive
+ description:
+ name: path_parsing
+ sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.1"
+ petitparser:
+ dependency: transitive
+ description:
+ name: petitparser
+ sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4"
+ url: "https://pub.dev"
+ source: hosted
+ version: "5.1.0"
plugin_platform_interface:
dependency: transitive
description:
@@ -333,6 +365,30 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.3.1"
+ vector_graphics:
+ dependency: transitive
+ description:
+ name: vector_graphics
+ sha256: ea8d3fc7b2e0f35de38a7465063ecfcf03d8217f7962aa2a6717132cb5d43a79
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.5"
+ vector_graphics_codec:
+ dependency: transitive
+ description:
+ name: vector_graphics_codec
+ sha256: a5eaa5d19e123ad4f61c3718ca1ed921c4e6254238d9145f82aa214955d9aced
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.5"
+ vector_graphics_compiler:
+ dependency: transitive
+ description:
+ name: vector_graphics_compiler
+ sha256: "15edc42f7eaa478ce854eaf1fbb9062a899c0e4e56e775dd73b7f4709c97c4ca"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.5"
vector_math:
dependency: transitive
description:
@@ -341,6 +397,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
+ xml:
+ dependency: transitive
+ description:
+ name: xml
+ sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5"
+ url: "https://pub.dev"
+ source: hosted
+ version: "6.2.2"
sdks:
dart: ">=2.19.6 <3.0.0"
- flutter: ">=2.0.0"
+ flutter: ">=3.7.0-0"
diff --git a/pubspec.yaml b/pubspec.yaml
index 2989945..4c4d2ab 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -33,6 +33,7 @@ dependencies:
dart_nostr: ^1.5.0
# nostr_tools: ^1.0.7
flutter_secure_storage: ^8.0.0
+ flutter_svg: ^2.0.5
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
@@ -61,8 +62,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/logo/
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see