forked from alexvasl/drifter_app
Added images
This commit is contained in:
parent
3c80a24300
commit
9f6c36336f
BIN
assets/images/logo/drifter_logo.png
Normal file
BIN
assets/images/logo/drifter_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
4
assets/images/logo/drifter_logo.svg
Normal file
4
assets/images/logo/drifter_logo.svg
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<rect width="512" height="512" fill="#4F46F1"/>
|
||||||
|
<path d="M243.356 420.572C174.71 420.572 118.857 365.069 118.857 296.853C118.857 239.72 165.628 193.242 223.123 193.242C271.684 193.242 311.201 232.511 311.201 280.768C311.201 293.555 300.757 303.933 287.89 303.933C275.022 303.933 264.579 293.555 264.579 280.768C264.579 258.048 245.986 239.572 223.123 239.572C191.345 239.572 165.479 265.275 165.479 296.853C165.479 339.532 200.408 374.242 243.356 374.242C300.254 374.242 346.54 328.246 346.54 271.706C346.54 197.838 286.062 137.758 211.747 137.758C198.879 137.758 188.436 127.38 188.436 114.593C188.436 101.807 198.861 91.4287 211.728 91.4287C311.76 91.4287 393.143 172.301 393.143 271.706C393.143 353.783 325.952 420.572 243.338 420.572H243.356Z" fill="#FFCC11"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 872 B |
BIN
assets/images/logo/drifter_logo_circle.png
Normal file
BIN
assets/images/logo/drifter_logo_circle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
11
assets/images/logo/drifter_logo_circle.svg
Normal file
11
assets/images/logo/drifter_logo_circle.svg
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0_90_3904)">
|
||||||
|
<circle cx="256" cy="256" r="256" fill="#4F46F1"/>
|
||||||
|
<path d="M244.66 403.6C183.093 403.6 133 353.821 133 292.64C133 241.399 174.948 199.714 226.513 199.714C270.066 199.714 305.508 234.933 305.508 278.213C305.508 289.682 296.141 298.989 284.601 298.989C273.06 298.989 263.694 289.682 263.694 278.213C263.694 257.836 247.018 241.266 226.513 241.266C198.012 241.266 174.814 264.319 174.814 292.64C174.814 330.918 206.141 362.048 244.66 362.048C295.69 362.048 337.203 320.796 337.203 270.086C337.203 203.836 282.962 149.952 216.31 149.952C204.77 149.952 195.403 140.644 195.403 129.176C195.403 117.707 204.753 108.4 216.293 108.4C306.01 108.4 379 180.933 379 270.086C379 343.699 318.738 403.6 244.643 403.6H244.66Z" fill="#FFCC11"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0_90_3904">
|
||||||
|
<rect width="512" height="512" rx="100" fill="white"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 988 B |
BIN
assets/images/logo/drifter_vector.png
Normal file
BIN
assets/images/logo/drifter_vector.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.7 KiB |
@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
|
|||||||
// import 'package:drifter/widgets/home_screen/home_screen_widget.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/message_screen/message_screen_widget.dart';
|
||||||
import 'package:drifter/widgets/profile_screen/profile_screen.dart';
|
import 'package:drifter/widgets/profile_screen/profile_screen.dart';
|
||||||
|
import 'package:flutter_svg/svg.dart';
|
||||||
|
|
||||||
class MainScreenWidget extends StatefulWidget {
|
class MainScreenWidget extends StatefulWidget {
|
||||||
const MainScreenWidget({super.key});
|
const MainScreenWidget({super.key});
|
||||||
@ -24,7 +25,17 @@ class _MainScreenWidgetState extends State<MainScreenWidget> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
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,
|
centerTitle: true,
|
||||||
),
|
),
|
||||||
body: IndexedStack(
|
body: IndexedStack(
|
||||||
|
66
pubspec.lock
66
pubspec.lock
@ -9,6 +9,14 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.12.29"
|
version: "1.12.29"
|
||||||
|
args:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: args
|
||||||
|
sha256: c372bb384f273f0c2a8aaaa226dad84dc27c8519a691b888725dec59518ad53a
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "2.4.1"
|
||||||
async:
|
async:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -174,6 +182,14 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.0"
|
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:
|
flutter_test:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description: flutter
|
description: flutter
|
||||||
@ -256,6 +272,22 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.8.2"
|
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:
|
plugin_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -333,6 +365,30 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.3.1"
|
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:
|
vector_math:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -341,6 +397,14 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.4"
|
version: "2.1.4"
|
||||||
|
xml:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: xml
|
||||||
|
sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "6.2.2"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=2.19.6 <3.0.0"
|
dart: ">=2.19.6 <3.0.0"
|
||||||
flutter: ">=2.0.0"
|
flutter: ">=3.7.0-0"
|
||||||
|
@ -33,6 +33,7 @@ dependencies:
|
|||||||
dart_nostr: ^1.5.0
|
dart_nostr: ^1.5.0
|
||||||
# nostr_tools: ^1.0.7
|
# nostr_tools: ^1.0.7
|
||||||
flutter_secure_storage: ^8.0.0
|
flutter_secure_storage: ^8.0.0
|
||||||
|
flutter_svg: ^2.0.5
|
||||||
|
|
||||||
# The following adds the Cupertino Icons font to your application.
|
# The following adds the Cupertino Icons font to your application.
|
||||||
# Use with the CupertinoIcons class for iOS style icons.
|
# Use with the CupertinoIcons class for iOS style icons.
|
||||||
@ -61,8 +62,8 @@ flutter:
|
|||||||
uses-material-design: true
|
uses-material-design: true
|
||||||
|
|
||||||
# To add assets to your application, add an assets section, like this:
|
# To add assets to your application, add an assets section, like this:
|
||||||
# assets:
|
assets:
|
||||||
# - images/a_dot_burr.jpeg
|
- assets/images/logo/
|
||||||
# - images/a_dot_ham.jpeg
|
# - images/a_dot_ham.jpeg
|
||||||
|
|
||||||
# An image asset can refer to one or more resolution-specific "variants", see
|
# An image asset can refer to one or more resolution-specific "variants", see
|
||||||
|
Loading…
Reference in New Issue
Block a user