diff --git a/examples/todo_list/.gitignore b/examples/simples_design_system/.gitignore
similarity index 100%
rename from examples/todo_list/.gitignore
rename to examples/simples_design_system/.gitignore
diff --git a/examples/simples_design_system/.metadata b/examples/simples_design_system/.metadata
new file mode 100644
index 000000000..0edb585db
--- /dev/null
+++ b/examples/simples_design_system/.metadata
@@ -0,0 +1,45 @@
+# This file tracks properties of this Flutter project.
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
+#
+# This file should be version controlled and should not be manually edited.
+
+version:
+ revision: "8495dee1fd4aacbe9de707e7581203232f591b2f"
+ channel: "stable"
+
+project_type: app
+
+# Tracks metadata for the flutter migrate command
+migration:
+ platforms:
+ - platform: root
+ create_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ base_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ - platform: android
+ create_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ base_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ - platform: ios
+ create_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ base_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ - platform: linux
+ create_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ base_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ - platform: macos
+ create_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ base_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ - platform: web
+ create_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ base_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ - platform: windows
+ create_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+ base_revision: 8495dee1fd4aacbe9de707e7581203232f591b2f
+
+ # User provided section
+
+ # List of Local paths (relative to this file) that should be
+ # ignored by the migrate tool.
+ #
+ # Files that are not part of the templates will be ignored by default.
+ unmanaged_files:
+ - 'lib/main.dart'
+ - 'ios/Runner.xcodeproj/project.pbxproj'
diff --git a/examples/simples_design_system/README.md b/examples/simples_design_system/README.md
new file mode 100644
index 000000000..a3f15c6b4
--- /dev/null
+++ b/examples/simples_design_system/README.md
@@ -0,0 +1,16 @@
+# simples_design_system
+
+A new Flutter project.
+
+## Getting Started
+
+This project is a starting point for a Flutter application.
+
+A few resources to get you started if this is your first Flutter project:
+
+- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
+- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
+
+For help getting started with Flutter development, view the
+[online documentation](https://docs.flutter.dev/), which offers tutorials,
+samples, guidance on mobile development, and a full API reference.
diff --git a/examples/simples_design_system/analysis_options.yaml b/examples/simples_design_system/analysis_options.yaml
new file mode 100644
index 000000000..0d2902135
--- /dev/null
+++ b/examples/simples_design_system/analysis_options.yaml
@@ -0,0 +1,28 @@
+# This file configures the analyzer, which statically analyzes Dart code to
+# check for errors, warnings, and lints.
+#
+# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
+# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
+# invoked from the command line by running `flutter analyze`.
+
+# The following line activates a set of recommended lints for Flutter apps,
+# packages, and plugins designed to encourage good coding practices.
+include: package:flutter_lints/flutter.yaml
+
+linter:
+ # The lint rules applied to this project can be customized in the
+ # section below to disable rules from the `package:flutter_lints/flutter.yaml`
+ # included above or to enable additional rules. A list of all available lints
+ # and their documentation is published at https://dart.dev/lints.
+ #
+ # Instead of disabling a lint rule for the entire project in the
+ # section below, it can also be suppressed for a single line of code
+ # or a specific dart file by using the `// ignore: name_of_lint` and
+ # `// ignore_for_file: name_of_lint` syntax on the line or in the file
+ # producing the lint.
+ rules:
+ # avoid_print: false # Uncomment to disable the `avoid_print` rule
+ # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
+
+# Additional information about this file can be found at
+# https://dart.dev/guides/language/analysis-options
diff --git a/examples/todo_list/android/.gitignore b/examples/simples_design_system/android/.gitignore
similarity index 69%
rename from examples/todo_list/android/.gitignore
rename to examples/simples_design_system/android/.gitignore
index 6f568019d..55afd919c 100644
--- a/examples/todo_list/android/.gitignore
+++ b/examples/simples_design_system/android/.gitignore
@@ -7,7 +7,7 @@ gradle-wrapper.jar
GeneratedPluginRegistrant.java
# Remember to never publicly share your keystore.
-# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
+# See https://flutter.dev/to/reference-keystore
key.properties
**/*.keystore
**/*.jks
diff --git a/examples/todo_list/android/app/build.gradle b/examples/simples_design_system/android/app/build.gradle
similarity index 55%
rename from examples/todo_list/android/app/build.gradle
rename to examples/simples_design_system/android/app/build.gradle
index a440ccc8b..d80e5d81a 100644
--- a/examples/todo_list/android/app/build.gradle
+++ b/examples/simples_design_system/android/app/build.gradle
@@ -5,26 +5,8 @@ plugins {
id "dev.flutter.flutter-gradle-plugin"
}
-def localProperties = new Properties()
-def localPropertiesFile = rootProject.file("local.properties")
-if (localPropertiesFile.exists()) {
- localPropertiesFile.withReader("UTF-8") { reader ->
- localProperties.load(reader)
- }
-}
-
-def flutterVersionCode = localProperties.getProperty("flutter.versionCode")
-if (flutterVersionCode == null) {
- flutterVersionCode = "1"
-}
-
-def flutterVersionName = localProperties.getProperty("flutter.versionName")
-if (flutterVersionName == null) {
- flutterVersionName = "1.0"
-}
-
android {
- namespace = "com.example.todo_list"
+ namespace = "com.example.simples_design_system"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
@@ -33,15 +15,19 @@ android {
targetCompatibility = JavaVersion.VERSION_1_8
}
+ kotlinOptions {
+ jvmTarget = JavaVersion.VERSION_1_8
+ }
+
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
- applicationId = "com.example.todo_list"
+ applicationId = "com.example.simples_design_system"
// You can update the following values to match your application needs.
- // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
+ // For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
- versionCode = flutterVersionCode.toInteger()
- versionName = flutterVersionName
+ versionCode = flutter.versionCode
+ versionName = flutter.versionName
}
buildTypes {
diff --git a/examples/todo_list/android/app/src/debug/AndroidManifest.xml b/examples/simples_design_system/android/app/src/debug/AndroidManifest.xml
similarity index 100%
rename from examples/todo_list/android/app/src/debug/AndroidManifest.xml
rename to examples/simples_design_system/android/app/src/debug/AndroidManifest.xml
diff --git a/examples/simples_design_system/android/app/src/main/AndroidManifest.xml b/examples/simples_design_system/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 000000000..9899520a6
--- /dev/null
+++ b/examples/simples_design_system/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/todo_list/android/app/src/main/kotlin/com/example/todo_list/MainActivity.kt b/examples/simples_design_system/android/app/src/main/kotlin/com/example/simples_design_system/MainActivity.kt
similarity index 68%
rename from examples/todo_list/android/app/src/main/kotlin/com/example/todo_list/MainActivity.kt
rename to examples/simples_design_system/android/app/src/main/kotlin/com/example/simples_design_system/MainActivity.kt
index 63dbf588e..08ec86287 100644
--- a/examples/todo_list/android/app/src/main/kotlin/com/example/todo_list/MainActivity.kt
+++ b/examples/simples_design_system/android/app/src/main/kotlin/com/example/simples_design_system/MainActivity.kt
@@ -1,4 +1,4 @@
-package com.example.todo_list
+package com.example.simples_design_system
import io.flutter.embedding.android.FlutterActivity
diff --git a/examples/todo_list/android/app/src/main/res/drawable-v21/launch_background.xml b/examples/simples_design_system/android/app/src/main/res/drawable-v21/launch_background.xml
similarity index 100%
rename from examples/todo_list/android/app/src/main/res/drawable-v21/launch_background.xml
rename to examples/simples_design_system/android/app/src/main/res/drawable-v21/launch_background.xml
diff --git a/examples/todo_list/android/app/src/main/res/drawable/launch_background.xml b/examples/simples_design_system/android/app/src/main/res/drawable/launch_background.xml
similarity index 100%
rename from examples/todo_list/android/app/src/main/res/drawable/launch_background.xml
rename to examples/simples_design_system/android/app/src/main/res/drawable/launch_background.xml
diff --git a/examples/todo_list/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/examples/simples_design_system/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
similarity index 100%
rename from examples/todo_list/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
rename to examples/simples_design_system/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
diff --git a/examples/todo_list/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/examples/simples_design_system/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
similarity index 100%
rename from examples/todo_list/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
rename to examples/simples_design_system/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
diff --git a/examples/todo_list/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/examples/simples_design_system/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
similarity index 100%
rename from examples/todo_list/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to examples/simples_design_system/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
diff --git a/examples/todo_list/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/examples/simples_design_system/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
similarity index 100%
rename from examples/todo_list/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
rename to examples/simples_design_system/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
diff --git a/examples/todo_list/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/examples/simples_design_system/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
similarity index 100%
rename from examples/todo_list/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
rename to examples/simples_design_system/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
diff --git a/examples/todo_list/android/app/src/main/res/values-night/styles.xml b/examples/simples_design_system/android/app/src/main/res/values-night/styles.xml
similarity index 100%
rename from examples/todo_list/android/app/src/main/res/values-night/styles.xml
rename to examples/simples_design_system/android/app/src/main/res/values-night/styles.xml
diff --git a/examples/todo_list/android/app/src/main/res/values/styles.xml b/examples/simples_design_system/android/app/src/main/res/values/styles.xml
similarity index 100%
rename from examples/todo_list/android/app/src/main/res/values/styles.xml
rename to examples/simples_design_system/android/app/src/main/res/values/styles.xml
diff --git a/examples/todo_list/android/app/src/profile/AndroidManifest.xml b/examples/simples_design_system/android/app/src/profile/AndroidManifest.xml
similarity index 100%
rename from examples/todo_list/android/app/src/profile/AndroidManifest.xml
rename to examples/simples_design_system/android/app/src/profile/AndroidManifest.xml
diff --git a/examples/todo_list/android/build.gradle b/examples/simples_design_system/android/build.gradle
similarity index 100%
rename from examples/todo_list/android/build.gradle
rename to examples/simples_design_system/android/build.gradle
diff --git a/examples/simples_design_system/android/gradle.properties b/examples/simples_design_system/android/gradle.properties
new file mode 100644
index 000000000..259717082
--- /dev/null
+++ b/examples/simples_design_system/android/gradle.properties
@@ -0,0 +1,3 @@
+org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
+android.useAndroidX=true
+android.enableJetifier=true
diff --git a/examples/todo_list/android/gradle/wrapper/gradle-wrapper.properties b/examples/simples_design_system/android/gradle/wrapper/gradle-wrapper.properties
similarity index 92%
rename from examples/todo_list/android/gradle/wrapper/gradle-wrapper.properties
rename to examples/simples_design_system/android/gradle/wrapper/gradle-wrapper.properties
index e1ca574ef..7bb2df6ba 100644
--- a/examples/todo_list/android/gradle/wrapper/gradle-wrapper.properties
+++ b/examples/simples_design_system/android/gradle/wrapper/gradle-wrapper.properties
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
diff --git a/examples/todo_list/android/settings.gradle b/examples/simples_design_system/android/settings.gradle
similarity index 82%
rename from examples/todo_list/android/settings.gradle
rename to examples/simples_design_system/android/settings.gradle
index 536165d35..b9e43bd37 100644
--- a/examples/todo_list/android/settings.gradle
+++ b/examples/simples_design_system/android/settings.gradle
@@ -18,8 +18,8 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
- id "com.android.application" version "7.3.0" apply false
- id "org.jetbrains.kotlin.android" version "1.7.10" apply false
+ id "com.android.application" version "8.1.0" apply false
+ id "org.jetbrains.kotlin.android" version "1.8.22" apply false
}
include ":app"
diff --git a/examples/todo_list/ios/.gitignore b/examples/simples_design_system/ios/.gitignore
similarity index 100%
rename from examples/todo_list/ios/.gitignore
rename to examples/simples_design_system/ios/.gitignore
diff --git a/examples/todo_list/ios/Flutter/AppFrameworkInfo.plist b/examples/simples_design_system/ios/Flutter/AppFrameworkInfo.plist
similarity index 100%
rename from examples/todo_list/ios/Flutter/AppFrameworkInfo.plist
rename to examples/simples_design_system/ios/Flutter/AppFrameworkInfo.plist
diff --git a/examples/simples_design_system/ios/Flutter/Debug.xcconfig b/examples/simples_design_system/ios/Flutter/Debug.xcconfig
new file mode 100644
index 000000000..592ceee85
--- /dev/null
+++ b/examples/simples_design_system/ios/Flutter/Debug.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/examples/simples_design_system/ios/Flutter/Release.xcconfig b/examples/simples_design_system/ios/Flutter/Release.xcconfig
new file mode 100644
index 000000000..592ceee85
--- /dev/null
+++ b/examples/simples_design_system/ios/Flutter/Release.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/examples/todo_list/ios/Runner.xcodeproj/project.pbxproj b/examples/simples_design_system/ios/Runner.xcodeproj/project.pbxproj
similarity index 75%
rename from examples/todo_list/ios/Runner.xcodeproj/project.pbxproj
rename to examples/simples_design_system/ios/Runner.xcodeproj/project.pbxproj
index 4a6741f25..60e0e1d52 100644
--- a/examples/todo_list/ios/Runner.xcodeproj/project.pbxproj
+++ b/examples/simples_design_system/ios/Runner.xcodeproj/project.pbxproj
@@ -14,8 +14,6 @@
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
- 982E21132CAAB5E563FB99BF /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DFD22CAC7AD55DA251796E16 /* Pods_RunnerTests.framework */; };
- E4C4E943E7BB1C00CD7FB970 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 053DC476AC7E76A0A853A4AD /* Pods_Runner.framework */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -42,18 +40,14 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
- 053DC476AC7E76A0A853A4AD /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; };
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
- 4BCC359D1BE50A6D6C5493FB /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
- 8A3D68C358CF755222C26818 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; };
- 909FCF0DAC3CBA650985554C /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -61,26 +55,13 @@
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 9D3E5AB68C13D6E18DE87254 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
- A4D006BB00C1CC069C070ABA /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
- DFD22CAC7AD55DA251796E16 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- F67212FCE4CFF48EDA4AAB3F /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
- 2E13608AC1290FDD85AADE98 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 982E21132CAAB5E563FB99BF /* Pods_RunnerTests.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
97C146EB1CF9000F007C117D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- E4C4E943E7BB1C00CD7FB970 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -113,8 +94,6 @@
97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */,
331C8082294A63A400263BE5 /* RunnerTests */,
- E88F5560352CE6D50C0B592A /* Pods */,
- E3CFA93703A73E8E793F5C43 /* Frameworks */,
);
sourceTree = "";
};
@@ -142,29 +121,6 @@
path = Runner;
sourceTree = "";
};
- E3CFA93703A73E8E793F5C43 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 053DC476AC7E76A0A853A4AD /* Pods_Runner.framework */,
- DFD22CAC7AD55DA251796E16 /* Pods_RunnerTests.framework */,
- );
- name = Frameworks;
- sourceTree = "";
- };
- E88F5560352CE6D50C0B592A /* Pods */ = {
- isa = PBXGroup;
- children = (
- 909FCF0DAC3CBA650985554C /* Pods-Runner.debug.xcconfig */,
- 9D3E5AB68C13D6E18DE87254 /* Pods-Runner.release.xcconfig */,
- A4D006BB00C1CC069C070ABA /* Pods-Runner.profile.xcconfig */,
- 8A3D68C358CF755222C26818 /* Pods-RunnerTests.debug.xcconfig */,
- 4BCC359D1BE50A6D6C5493FB /* Pods-RunnerTests.release.xcconfig */,
- F67212FCE4CFF48EDA4AAB3F /* Pods-RunnerTests.profile.xcconfig */,
- );
- name = Pods;
- path = Pods;
- sourceTree = "";
- };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@@ -172,10 +128,8 @@
isa = PBXNativeTarget;
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
buildPhases = (
- ADDFDC98387A77AA5CE21D85 /* [CP] Check Pods Manifest.lock */,
331C807D294A63A400263BE5 /* Sources */,
331C807F294A63A400263BE5 /* Resources */,
- 2E13608AC1290FDD85AADE98 /* Frameworks */,
);
buildRules = (
);
@@ -191,14 +145,12 @@
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
- F9C5D83C442E4F118F04DAF8 /* [CP] Check Pods Manifest.lock */,
9740EEB61CF901F6004384FC /* Run Script */,
97C146EA1CF9000F007C117D /* Sources */,
97C146EB1CF9000F007C117D /* Frameworks */,
97C146EC1CF9000F007C117D /* Resources */,
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
- E30C1427E84A95A33D9D408B /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
@@ -301,67 +253,6 @@
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
};
- ADDFDC98387A77AA5CE21D85 /* [CP] Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
- "${PODS_ROOT}/Manifest.lock",
- );
- name = "[CP] Check Pods Manifest.lock";
- outputFileListPaths = (
- );
- outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
- showEnvVarsInLog = 0;
- };
- E30C1427E84A95A33D9D408B /* [CP] Embed Pods Frameworks */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
- );
- name = "[CP] Embed Pods Frameworks";
- outputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
- };
- F9C5D83C442E4F118F04DAF8 /* [CP] Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
- "${PODS_ROOT}/Manifest.lock",
- );
- name = "[CP] Check Pods Manifest.lock";
- outputFileListPaths = (
- );
- outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
- showEnvVarsInLog = 0;
- };
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@@ -471,14 +362,13 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- DEVELOPMENT_TEAM = 62NRBAKMQ3;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = com.example.todoList;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.simplesDesignSystem;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -488,14 +378,13 @@
};
331C8088294A63A400263BE5 /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 8A3D68C358CF755222C26818 /* Pods-RunnerTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = com.example.todoList.RunnerTests;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.simplesDesignSystem.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -506,14 +395,13 @@
};
331C8089294A63A400263BE5 /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 4BCC359D1BE50A6D6C5493FB /* Pods-RunnerTests.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = com.example.todoList.RunnerTests;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.simplesDesignSystem.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@@ -522,14 +410,13 @@
};
331C808A294A63A400263BE5 /* Profile */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = F67212FCE4CFF48EDA4AAB3F /* Pods-RunnerTests.profile.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = com.example.todoList.RunnerTests;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.simplesDesignSystem.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@@ -654,14 +541,13 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- DEVELOPMENT_TEAM = 62NRBAKMQ3;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = com.example.todoList;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.simplesDesignSystem;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -677,14 +563,13 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- DEVELOPMENT_TEAM = 62NRBAKMQ3;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = com.example.todoList;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.simplesDesignSystem;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
diff --git a/examples/todo_list/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/examples/simples_design_system/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from examples/todo_list/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
rename to examples/simples_design_system/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
diff --git a/examples/todo_list/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/examples/simples_design_system/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from examples/todo_list/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to examples/simples_design_system/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/examples/todo_list/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/examples/simples_design_system/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
similarity index 100%
rename from examples/todo_list/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to examples/simples_design_system/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
diff --git a/examples/todo_list/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/simples_design_system/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
similarity index 100%
rename from examples/todo_list/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
rename to examples/simples_design_system/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
diff --git a/examples/todo_list/ios/Runner.xcworkspace/contents.xcworkspacedata b/examples/simples_design_system/ios/Runner.xcworkspace/contents.xcworkspacedata
similarity index 67%
rename from examples/todo_list/ios/Runner.xcworkspace/contents.xcworkspacedata
rename to examples/simples_design_system/ios/Runner.xcworkspace/contents.xcworkspacedata
index 21a3cc14c..1d526a16e 100644
--- a/examples/todo_list/ios/Runner.xcworkspace/contents.xcworkspacedata
+++ b/examples/simples_design_system/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -4,7 +4,4 @@
-
-
diff --git a/examples/todo_list/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/examples/simples_design_system/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from examples/todo_list/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to examples/simples_design_system/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/examples/todo_list/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/examples/simples_design_system/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
similarity index 100%
rename from examples/todo_list/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to examples/simples_design_system/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
diff --git a/examples/todo_list/ios/Runner/AppDelegate.swift b/examples/simples_design_system/ios/Runner/AppDelegate.swift
similarity index 95%
rename from examples/todo_list/ios/Runner/AppDelegate.swift
rename to examples/simples_design_system/ios/Runner/AppDelegate.swift
index 9074fee92..626664468 100644
--- a/examples/todo_list/ios/Runner/AppDelegate.swift
+++ b/examples/simples_design_system/ios/Runner/AppDelegate.swift
@@ -1,7 +1,7 @@
import Flutter
import UIKit
-@UIApplicationMain
+@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/examples/simples_design_system/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/examples/simples_design_system/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
diff --git a/examples/todo_list/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/examples/simples_design_system/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
similarity index 100%
rename from examples/todo_list/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
rename to examples/simples_design_system/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
diff --git a/examples/todo_list/ios/Runner/Base.lproj/LaunchScreen.storyboard b/examples/simples_design_system/ios/Runner/Base.lproj/LaunchScreen.storyboard
similarity index 100%
rename from examples/todo_list/ios/Runner/Base.lproj/LaunchScreen.storyboard
rename to examples/simples_design_system/ios/Runner/Base.lproj/LaunchScreen.storyboard
diff --git a/examples/todo_list/ios/Runner/Base.lproj/Main.storyboard b/examples/simples_design_system/ios/Runner/Base.lproj/Main.storyboard
similarity index 100%
rename from examples/todo_list/ios/Runner/Base.lproj/Main.storyboard
rename to examples/simples_design_system/ios/Runner/Base.lproj/Main.storyboard
diff --git a/examples/simples_design_system/ios/Runner/Info.plist b/examples/simples_design_system/ios/Runner/Info.plist
new file mode 100644
index 000000000..33b724aa3
--- /dev/null
+++ b/examples/simples_design_system/ios/Runner/Info.plist
@@ -0,0 +1,49 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleDisplayName
+ Simples Design System
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ simples_design_system
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ LSRequiresIPhoneOS
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIMainStoryboardFile
+ Main
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ CADisableMinimumFrameDurationOnPhone
+
+ UIApplicationSupportsIndirectInputEvents
+
+
+
diff --git a/examples/todo_list/ios/Runner/Runner-Bridging-Header.h b/examples/simples_design_system/ios/Runner/Runner-Bridging-Header.h
similarity index 100%
rename from examples/todo_list/ios/Runner/Runner-Bridging-Header.h
rename to examples/simples_design_system/ios/Runner/Runner-Bridging-Header.h
diff --git a/examples/todo_list/ios/RunnerTests/RunnerTests.swift b/examples/simples_design_system/ios/RunnerTests/RunnerTests.swift
similarity index 100%
rename from examples/todo_list/ios/RunnerTests/RunnerTests.swift
rename to examples/simples_design_system/ios/RunnerTests/RunnerTests.swift
diff --git a/examples/simples_design_system/lib/accordion/accordion.dart b/examples/simples_design_system/lib/accordion/accordion.dart
new file mode 100644
index 000000000..7cd3f2aa4
--- /dev/null
+++ b/examples/simples_design_system/lib/accordion/accordion.dart
@@ -0,0 +1,145 @@
+import 'package:flutter/material.dart';
+import 'package:mix/mix.dart';
+
+import 'accordion.spec.dart';
+
+part 'accordion.style.dart';
+
+typedef AccordionStyle = SpecStyle;
+
+class _BaseAccordion extends StatefulWidget {
+ const _BaseAccordion({
+ super.key,
+ required this.header,
+ required this.content,
+ this.onChanged,
+ this.expanded = true,
+ // ignore: unused_element
+ this.variants = const [],
+ this.duration = const Duration(milliseconds: 200),
+ this.curve = Curves.easeInOut,
+ required this.style,
+ });
+
+ final Widget header;
+ final Widget content;
+ final AccordionStyle style;
+ final bool expanded;
+ final List variants;
+ final Duration duration;
+ final Curve curve;
+ final void Function(bool)? onChanged;
+
+ @override
+ State<_BaseAccordion> createState() => _BaseAccordionState();
+}
+
+class _BaseAccordionState extends State<_BaseAccordion>
+ with TickerProviderStateMixin {
+ late MixWidgetStateController _controller;
+
+ @override
+ void initState() {
+ super.initState();
+ _controller = MixWidgetStateController()..selected = widget.expanded;
+ }
+
+ void _handleTap() {
+ _controller.selected = !_controller.selected;
+ widget.onChanged?.call(widget.expanded);
+ }
+
+ @override
+ void dispose() {
+ _controller.dispose();
+ super.dispose();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ final config = SpecConfiguration(context, AccordionSpecUtility.self);
+ return SpecBuilder(
+ style: widget.style.makeStyle(config),
+ builder: (context) {
+ final spec = AccordionSpec.of(context);
+
+ return spec.container(
+ direction: Axis.vertical,
+ children: [
+ Pressable(
+ onPress: _handleTap,
+ controller: _controller,
+ child: SizedBox(
+ width: double.infinity,
+ child: spec.headerContainer(
+ child: SpecBuilder(
+ style: Style(),
+ builder: (context) {
+ return DefaultTextStyle(
+ style: const TextStyle(
+ color: Colors.black,
+ fontSize: 14,
+ fontWeight: FontWeight.w500,
+ ),
+ child: widget.header,
+ );
+ },
+ ),
+ ),
+ ),
+ ),
+ AnimatedAlign(
+ alignment: Alignment.topCenter,
+ heightFactor: widget.expanded ? 1 : 0,
+ duration: widget.duration,
+ curve: widget.curve,
+ child: SizedBox(
+ width: double.infinity,
+ child: spec.contentContainer(
+ child: DefaultTextStyle(
+ style: const TextStyle(color: Colors.black),
+ child: widget.content,
+ ),
+ ),
+ ),
+ ),
+ ],
+ );
+ },
+ );
+ }
+}
+
+class SimpleAccordion extends _BaseAccordion {
+ const SimpleAccordion._({
+ super.key,
+ required super.style,
+ required super.content,
+ required super.header,
+ super.onChanged,
+ super.expanded,
+ super.duration,
+ super.curve,
+ });
+
+ factory SimpleAccordion({
+ Key? key,
+ required Widget header,
+ required Widget content,
+ bool expanded = true,
+ void Function(bool)? onChanged,
+ Duration duration = const Duration(milliseconds: 200),
+ Curve curve = Curves.easeInOut,
+ }) {
+ return SimpleAccordion._(
+ key: key,
+ header: header,
+ content: content,
+ style: SimpleAccordionStyle(),
+ expanded: expanded,
+ onChanged: onChanged,
+ duration: duration,
+ curve: curve,
+ );
+ }
+}
diff --git a/examples/simples_design_system/lib/accordion/accordion.spec.dart b/examples/simples_design_system/lib/accordion/accordion.spec.dart
new file mode 100644
index 000000000..1c0d44b5d
--- /dev/null
+++ b/examples/simples_design_system/lib/accordion/accordion.spec.dart
@@ -0,0 +1,26 @@
+import 'package:flutter/material.dart';
+import 'package:mix/mix.dart';
+import 'package:mix_annotations/mix_annotations.dart';
+
+part 'accordion.spec.g.dart';
+
+@MixableSpec()
+base class AccordionSpec extends Spec with _$AccordionSpec {
+ final FlexBoxSpec container;
+ final BoxSpec contentContainer;
+ final BoxSpec headerContainer;
+
+ /// {@macro accordion_spec_of}
+ static const of = _$AccordionSpec.of;
+
+ static const from = _$AccordionSpec.from;
+
+ const AccordionSpec({
+ FlexBoxSpec? container,
+ BoxSpec? contentContainer,
+ BoxSpec? headerContainer,
+ super.animated,
+ }) : container = container ?? const FlexBoxSpec(),
+ contentContainer = contentContainer ?? const BoxSpec(),
+ headerContainer = headerContainer ?? const BoxSpec();
+}
diff --git a/examples/simples_design_system/lib/accordion/accordion.spec.g.dart b/examples/simples_design_system/lib/accordion/accordion.spec.g.dart
new file mode 100644
index 000000000..8a6148436
--- /dev/null
+++ b/examples/simples_design_system/lib/accordion/accordion.spec.g.dart
@@ -0,0 +1,235 @@
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+part of 'accordion.spec.dart';
+
+// **************************************************************************
+// MixGenerator
+// **************************************************************************
+
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+/// A mixin that provides spec functionality for [AccordionSpec].
+mixin _$AccordionSpec on Spec {
+ static AccordionSpec from(MixData mix) {
+ return mix.attributeOf()?.resolve(mix) ??
+ const AccordionSpec();
+ }
+
+ /// {@template accordion_spec_of}
+ /// Retrieves the [AccordionSpec] from the nearest [Mix] ancestor in the widget tree.
+ ///
+ /// This method uses [Mix.of] to obtain the [Mix] instance associated with the
+ /// given [BuildContext], and then retrieves the [AccordionSpec] from that [Mix].
+ /// If no ancestor [Mix] is found, this method returns an empty [AccordionSpec].
+ ///
+ /// Example:
+ ///
+ /// ```dart
+ /// final accordionSpec = AccordionSpec.of(context);
+ /// ```
+ /// {@endtemplate}
+ static AccordionSpec of(BuildContext context) {
+ return _$AccordionSpec.from(Mix.of(context));
+ }
+
+ /// Creates a copy of this [AccordionSpec] but with the given fields
+ /// replaced with the new values.
+ @override
+ AccordionSpec copyWith({
+ FlexBoxSpec? container,
+ BoxSpec? contentContainer,
+ BoxSpec? headerContainer,
+ AnimatedData? animated,
+ }) {
+ return AccordionSpec(
+ container: container ?? _$this.container,
+ contentContainer: contentContainer ?? _$this.contentContainer,
+ headerContainer: headerContainer ?? _$this.headerContainer,
+ animated: animated ?? _$this.animated,
+ );
+ }
+
+ /// Linearly interpolates between this [AccordionSpec] and another [AccordionSpec] based on the given parameter [t].
+ ///
+ /// The parameter [t] represents the interpolation factor, typically ranging from 0.0 to 1.0.
+ /// When [t] is 0.0, the current [AccordionSpec] is returned. When [t] is 1.0, the [other] [AccordionSpec] is returned.
+ /// For values of [t] between 0.0 and 1.0, an interpolated [AccordionSpec] is returned.
+ ///
+ /// If [other] is null, this method returns the current [AccordionSpec] instance.
+ ///
+ /// The interpolation is performed on each property of the [AccordionSpec] using the appropriate
+ /// interpolation method:
+ /// - [FlexBoxSpec.lerp] for [container].
+ /// - [BoxSpec.lerp] for [contentContainer] and [headerContainer].
+ /// For [animated], the interpolation is performed using a step function.
+ /// If [t] is less than 0.5, the value from the current [AccordionSpec] is used. Otherwise, the value
+ /// from the [other] [AccordionSpec] is used.
+ ///
+ /// This method is typically used in animations to smoothly transition between
+ /// different [AccordionSpec] configurations.
+ @override
+ AccordionSpec lerp(AccordionSpec? other, double t) {
+ if (other == null) return _$this;
+
+ return AccordionSpec(
+ container: _$this.container.lerp(other.container, t),
+ contentContainer: _$this.contentContainer.lerp(other.contentContainer, t),
+ headerContainer: _$this.headerContainer.lerp(other.headerContainer, t),
+ animated: t < 0.5 ? _$this.animated : other.animated,
+ );
+ }
+
+ /// The list of properties that constitute the state of this [AccordionSpec].
+ ///
+ /// This property is used by the [==] operator and the [hashCode] getter to
+ /// compare two [AccordionSpec] instances for equality.
+ @override
+ List