diff --git a/lib/assets/flag_icons/flag_denmark.svg b/lib/assets/flag_icons/flag_denmark.svg
new file mode 100644
index 0000000..7e95402
--- /dev/null
+++ b/lib/assets/flag_icons/flag_denmark.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/lib/assets/flag_icons/flag_finland.svg b/lib/assets/flag_icons/flag_finland.svg
new file mode 100644
index 0000000..74d7d23
--- /dev/null
+++ b/lib/assets/flag_icons/flag_finland.svg
@@ -0,0 +1,5 @@
+
+
\ No newline at end of file
diff --git a/lib/assets/flag_icons/flag_france.svg b/lib/assets/flag_icons/flag_france.svg
new file mode 100644
index 0000000..4865aad
--- /dev/null
+++ b/lib/assets/flag_icons/flag_france.svg
@@ -0,0 +1 @@
+
diff --git a/lib/assets/flag_icons/flag_germany.svg b/lib/assets/flag_icons/flag_germany.svg
new file mode 100644
index 0000000..bdb354f
--- /dev/null
+++ b/lib/assets/flag_icons/flag_germany.svg
@@ -0,0 +1,7 @@
+
+
diff --git a/lib/assets/flag_icons/flag_italy.svg b/lib/assets/flag_icons/flag_italy.svg
new file mode 100644
index 0000000..0855ee3
--- /dev/null
+++ b/lib/assets/flag_icons/flag_italy.svg
@@ -0,0 +1,6 @@
+
+
diff --git a/lib/assets/flag_icons/flag_netherlands.svg b/lib/assets/flag_icons/flag_netherlands.svg
new file mode 100644
index 0000000..e75ca06
--- /dev/null
+++ b/lib/assets/flag_icons/flag_netherlands.svg
@@ -0,0 +1,5 @@
+
\ No newline at end of file
diff --git a/lib/assets/flag_icons/flag_poland.svg b/lib/assets/flag_icons/flag_poland.svg
new file mode 100644
index 0000000..5556266
--- /dev/null
+++ b/lib/assets/flag_icons/flag_poland.svg
@@ -0,0 +1,5 @@
+
+
\ No newline at end of file
diff --git a/lib/assets/flag_icons/flag_portugal.svg b/lib/assets/flag_icons/flag_portugal.svg
new file mode 100644
index 0000000..5c19329
--- /dev/null
+++ b/lib/assets/flag_icons/flag_portugal.svg
@@ -0,0 +1,67 @@
+
+
\ No newline at end of file
diff --git a/lib/assets/flag_icons/flag_spain.svg b/lib/assets/flag_icons/flag_spain.svg
new file mode 100644
index 0000000..7460f55
--- /dev/null
+++ b/lib/assets/flag_icons/flag_spain.svg
@@ -0,0 +1,705 @@
+
+
\ No newline at end of file
diff --git a/lib/assets/flag_icons/flag_sweden.svg b/lib/assets/flag_icons/flag_sweden.svg
new file mode 100644
index 0000000..168a29a
--- /dev/null
+++ b/lib/assets/flag_icons/flag_sweden.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/lib/assets/flag_icons/flag_united_kingdom.svg b/lib/assets/flag_icons/flag_united_kingdom.svg
new file mode 100644
index 0000000..75b969d
--- /dev/null
+++ b/lib/assets/flag_icons/flag_united_kingdom.svg
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/lib/assets/languages.json b/lib/assets/languages.json
new file mode 100644
index 0000000..4d1857a
--- /dev/null
+++ b/lib/assets/languages.json
@@ -0,0 +1,68 @@
+[
+ {
+ "code": "en",
+ "name": "English",
+ "nativeName": "English",
+ "iconFile": "lib/assets/flag_icons/flag_united_kingdom.svg"
+ },
+ {
+ "code": "de",
+ "name": "German",
+ "nativeName": "Deutsch",
+ "iconFile": "lib/assets/flag_icons/flag_germany.svg"
+ },
+ {
+ "code": "fr",
+ "name": "French",
+ "nativeName": "Français",
+ "iconFile": "lib/assets/flag_icons/flag_france.svg"
+ },
+ {
+ "code": "es",
+ "name": "Spanish",
+ "nativeName": "Español",
+ "iconFile": "lib/assets/flag_icons/flag_spain.svg"
+ },
+ {
+ "code": "it",
+ "name": "Italian",
+ "nativeName": "Italiano",
+ "iconFile": "lib/assets/flag_icons/flag_italy.svg"
+ },
+ {
+ "code": "pt",
+ "name": "Portuguese",
+ "nativeName": "Português",
+ "iconFile": "lib/assets/flag_icons/flag_portugal.svg"
+ },
+ {
+ "code": "nl",
+ "name": "Dutch",
+ "nativeName": "Nederlands",
+ "iconFile": "lib/assets/flag_icons/flag_netherlands.svg"
+ },
+ {
+ "code": "sv",
+ "name": "Swedish",
+ "nativeName": "Svenska",
+ "iconFile": "lib/assets/flag_icons/flag_sweden.svg"
+ },
+ {
+ "code": "da",
+ "name": "Danish",
+ "nativeName": "Dansk",
+ "iconFile": "lib/assets/flag_icons/flag_denmark.svg"
+ },
+ {
+ "code": "fi",
+ "name": "Finnish",
+ "nativeName": "Suomi",
+ "iconFile": "lib/assets/flag_icons/flag_finland.svg"
+ },
+ {
+ "code": "pl",
+ "name": "Polish",
+ "nativeName": "Polski",
+ "iconFile": "lib/assets/flag_icons/flag_poland.svg"
+ }
+]
diff --git a/lib/main.dart b/lib/main.dart
index 42e2df6..99db943 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -28,7 +28,7 @@ class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
- title: 'Flutter Demo', // TODO change title
+ title: 'Cofounderella',
theme: Provider.of(context).themeData,
home: const AuthGate(),
);
diff --git a/pubspec.lock b/pubspec.lock
index e503c4e..b5b361a 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -9,6 +9,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.3.32"
+ args:
+ dependency: transitive
+ description:
+ name: args
+ sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.5.0"
async:
dependency: transitive
description:
@@ -150,6 +158,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.0.2"
+ flutter_svg:
+ dependency: "direct main"
+ description:
+ name: flutter_svg
+ sha256: "7b4ca6cf3304575fe9c8ec64813c8d02ee41d2afe60bcfe0678bcb5375d596a2"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.10+1"
flutter_test:
dependency: "direct dev"
description: flutter
@@ -160,6 +176,14 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
+ http:
+ dependency: transitive
+ description:
+ name: http
+ sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.1"
http_parser:
dependency: transitive
description:
@@ -240,6 +264,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.9.0"
+ 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: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27
+ url: "https://pub.dev"
+ source: hosted
+ version: "6.0.2"
plugin_platform_interface:
dependency: transitive
description:
@@ -317,6 +357,30 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.3.2"
+ vector_graphics:
+ dependency: transitive
+ description:
+ name: vector_graphics
+ sha256: "32c3c684e02f9bc0afb0ae0aa653337a2fe022e8ab064bcd7ffda27a74e288e3"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.11+1"
+ vector_graphics_codec:
+ dependency: transitive
+ description:
+ name: vector_graphics_codec
+ sha256: c86987475f162fadff579e7320c7ddda04cd2fdeffbe1129227a85d9ac9e03da
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.11+1"
+ vector_graphics_compiler:
+ dependency: transitive
+ description:
+ name: vector_graphics_compiler
+ sha256: "12faff3f73b1741a36ca7e31b292ddeb629af819ca9efe9953b70bd63fc8cd81"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.11+1"
vector_math:
dependency: transitive
description:
@@ -341,6 +405,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.5.1"
+ xml:
+ dependency: transitive
+ description:
+ name: xml
+ sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
+ url: "https://pub.dev"
+ source: hosted
+ version: "6.5.0"
sdks:
dart: ">=3.3.3 <4.0.0"
- flutter: ">=3.3.0"
+ flutter: ">=3.7.0-0"
diff --git a/pubspec.yaml b/pubspec.yaml
index 6e2efc1..e293535 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -39,6 +39,7 @@ dependencies:
firebase_auth: ^4.19.4
cloud_firestore: ^4.17.2
provider: ^6.1.2
+ flutter_svg: ^2.0.10+1
dev_dependencies:
flutter_test:
@@ -66,6 +67,9 @@ flutter:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
+ assets:
+ - lib/assets/languages.json
+ - lib/assets/flag_icons/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware