Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
d50615b0cd | |||
e0be5243b5 | |||
88bb28b10e | |||
413791508a |
29
LICENSE.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
BSD 3-Clause License
|
||||||
|
|
||||||
|
Copyright (c) 2024, Fabian Baldeau
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
* Neither the name of the copyright holder nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived from
|
||||||
|
this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||||
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||||
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||||
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@ -1,3 +1,10 @@
|
|||||||
# Ecosystem Simulation
|
# Ecosystem Simulation
|
||||||
|
|
||||||
A simple ecosystem simulation written in Flutter.
|
A simple ecosystem simulation fully written from scratch in Dart.
|
||||||
|
It uses the Flutter rendering engine with low level api calls.
|
||||||
|
|
||||||
|
Warning for Windows users: There seems to be a platform specific issue where the performance of the simulation is very slow, but only on Windows. This might be related to the fact, that Windows does not use the new Impeller Rendering engine (this would mean that Linux is also affected by this issue, I did not test Linux). Or it's caused by some bug from Flutter that only affects the Windows platform.
|
||||||
|
|
||||||
|
Supported and tested: macOS, iOS & Android.
|
||||||
|
|
||||||
|

|
||||||
|
6
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<background android:drawable="@mipmap/ic_launcher_background"/>
|
||||||
|
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||||
|
<monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
|
||||||
|
</adaptive-icon>
|
BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file → Executable file
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 5.8 KiB |
BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png
Executable file
After Width: | Height: | Size: 936 B |
BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Executable file
After Width: | Height: | Size: 5.0 KiB |
BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png
Executable file
After Width: | Height: | Size: 5.0 KiB |
BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file → Executable file
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 3.5 KiB |
BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
Executable file
After Width: | Height: | Size: 542 B |
BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Executable file
After Width: | Height: | Size: 3.1 KiB |
BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png
Executable file
After Width: | Height: | Size: 3.1 KiB |
BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file → Executable file
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 8.3 KiB |
BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png
Executable file
After Width: | Height: | Size: 1.4 KiB |
BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Executable file
After Width: | Height: | Size: 7.1 KiB |
BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png
Executable file
After Width: | Height: | Size: 7.1 KiB |
BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file → Executable file
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 14 KiB |
BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png
Executable file
After Width: | Height: | Size: 2.6 KiB |
BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
Executable file
After Width: | Height: | Size: 12 KiB |
BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png
Executable file
After Width: | Height: | Size: 12 KiB |
BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file → Executable file
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 20 KiB |
BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png
Executable file
After Width: | Height: | Size: 4.2 KiB |
BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
Executable file
After Width: | Height: | Size: 17 KiB |
BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png
Executable file
After Width: | Height: | Size: 17 KiB |
BIN
assets/app.gif
Normal file
After Width: | Height: | Size: 7.1 MiB |
86
assets/ecosim_icon.svg
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="500mm"
|
||||||
|
height="500mm"
|
||||||
|
viewBox="0 0 500 500"
|
||||||
|
version="1.1"
|
||||||
|
id="svg5"
|
||||||
|
sodipodi:docname="ecosim_icon.svg"
|
||||||
|
inkscape:version="1.2.2 (b0a84865, 2022-12-01)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview869"
|
||||||
|
pagecolor="#000000"
|
||||||
|
bordercolor="#000000"
|
||||||
|
borderopacity="0.25"
|
||||||
|
inkscape:showpageshadow="2"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="0.12488333"
|
||||||
|
inkscape:cx="-8.0074736"
|
||||||
|
inkscape:cy="972.90805"
|
||||||
|
inkscape:window-width="1431"
|
||||||
|
inkscape:window-height="745"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="43"
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:current-layer="svg5" />
|
||||||
|
<defs
|
||||||
|
id="defs2" />
|
||||||
|
<rect
|
||||||
|
style="fill:#000000;stroke:#000000;stroke-width:1.5875"
|
||||||
|
id="rect1238"
|
||||||
|
width="1000"
|
||||||
|
height="917.37286"
|
||||||
|
x="-250"
|
||||||
|
y="-208.68643" />
|
||||||
|
<g
|
||||||
|
id="layer1">
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;stroke:#ffffff;stroke-width:1.5875"
|
||||||
|
d="M 112.76815,257.14339 194.94751,369.22345 324.00272,191.46393 Z"
|
||||||
|
id="path398" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;stroke:#ffffff;stroke-width:1.5875"
|
||||||
|
d="m 259.13115,395.74563 -108.78554,86.4933 182.66342,122.01544 z"
|
||||||
|
id="path398-6" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;stroke:#ffffff;stroke-width:1.5875"
|
||||||
|
d="M 7.3266461,175.69199 -101.45889,262.18529 81.204526,384.20073 Z"
|
||||||
|
id="path398-6-5" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;stroke:#ffffff;stroke-width:1.5875"
|
||||||
|
d="m 41.584936,395.74563 -108.78554,86.4933 182.663424,122.01544 z"
|
||||||
|
id="path398-6-9" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;stroke:#ffffff;stroke-width:1.5875"
|
||||||
|
d="M 273.37513,-174.77902 164.58959,-88.28572 347.25301,33.72972 Z"
|
||||||
|
id="path398-6-54" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;stroke:#ffffff;stroke-width:1.5875"
|
||||||
|
d="m 314.9029,418.97973 138.70859,8.67835 -53.84985,-212.9645 z"
|
||||||
|
id="path398-8" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;stroke:#ffffff;stroke-width:1.5875"
|
||||||
|
d="M 482.6953,409.9184 607.63072,349.03715 455.72688,190.35851 Z"
|
||||||
|
id="path398-8-5" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;stroke:#ffffff;stroke-width:1.5875"
|
||||||
|
d="M 55.395654,50.275584 65.987406,188.8512 269.456,106.06096 Z"
|
||||||
|
id="path398-3" />
|
||||||
|
<circle
|
||||||
|
style="fill:#00ff00;stroke:#00ff00;stroke-width:1.5875"
|
||||||
|
id="path632"
|
||||||
|
cx="400.89645"
|
||||||
|
cy="119.61171"
|
||||||
|
r="44.285099" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 133 KiB |
@ -4,14 +4,11 @@ PODS:
|
|||||||
- Flutter
|
- Flutter
|
||||||
- rust_lib_ecosim (0.0.1):
|
- rust_lib_ecosim (0.0.1):
|
||||||
- Flutter
|
- Flutter
|
||||||
- url_launcher_ios (0.0.1):
|
|
||||||
- Flutter
|
|
||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- Flutter (from `Flutter`)
|
- Flutter (from `Flutter`)
|
||||||
- integration_test (from `.symlinks/plugins/integration_test/ios`)
|
- integration_test (from `.symlinks/plugins/integration_test/ios`)
|
||||||
- rust_lib_ecosim (from `.symlinks/plugins/rust_lib_ecosim/ios`)
|
- rust_lib_ecosim (from `.symlinks/plugins/rust_lib_ecosim/ios`)
|
||||||
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
|
|
||||||
|
|
||||||
EXTERNAL SOURCES:
|
EXTERNAL SOURCES:
|
||||||
Flutter:
|
Flutter:
|
||||||
@ -20,14 +17,11 @@ EXTERNAL SOURCES:
|
|||||||
:path: ".symlinks/plugins/integration_test/ios"
|
:path: ".symlinks/plugins/integration_test/ios"
|
||||||
rust_lib_ecosim:
|
rust_lib_ecosim:
|
||||||
:path: ".symlinks/plugins/rust_lib_ecosim/ios"
|
:path: ".symlinks/plugins/rust_lib_ecosim/ios"
|
||||||
url_launcher_ios:
|
|
||||||
:path: ".symlinks/plugins/url_launcher_ios/ios"
|
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
|
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
|
||||||
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
|
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
|
||||||
rust_lib_ecosim: 6b07e4c7e148a236de802525682c23f78fbc4f79
|
rust_lib_ecosim: 6b07e4c7e148a236de802525682c23f78fbc4f79
|
||||||
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
|
|
||||||
|
|
||||||
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
|
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
|
||||||
|
|
||||||
|
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-20@2x.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-20@2x~ipad.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-20@3x.png
Executable file
After Width: | Height: | Size: 2.5 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-20~ipad.png
Executable file
After Width: | Height: | Size: 859 B |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-29.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-29@2x.png
Executable file
After Width: | Height: | Size: 2.3 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-29@2x~ipad.png
Executable file
After Width: | Height: | Size: 2.3 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-29@3x.png
Executable file
After Width: | Height: | Size: 3.6 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-29~ipad.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-40@2x.png
Executable file
After Width: | Height: | Size: 3.2 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-40@2x~ipad.png
Executable file
After Width: | Height: | Size: 3.2 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-40@3x.png
Executable file
After Width: | Height: | Size: 4.9 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-40~ipad.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-60@2x~car.png
Executable file
After Width: | Height: | Size: 4.9 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-60@3x~car.png
Executable file
After Width: | Height: | Size: 8.0 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5@2x~ipad.png
Executable file
After Width: | Height: | Size: 7.3 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon@2x.png
Executable file
After Width: | Height: | Size: 4.9 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon@2x~ipad.png
Executable file
After Width: | Height: | Size: 6.5 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon@3x.png
Executable file
After Width: | Height: | Size: 8.0 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon~ios-marketing.png
Executable file
After Width: | Height: | Size: 65 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon~ipad.png
Executable file
After Width: | Height: | Size: 3.0 KiB |
174
ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
Normal file → Executable file
@ -1,122 +1,134 @@
|
|||||||
{
|
{
|
||||||
"images" : [
|
"images": [
|
||||||
{
|
{
|
||||||
"size" : "20x20",
|
"filename": "AppIcon@2x.png",
|
||||||
"idiom" : "iphone",
|
"idiom": "iphone",
|
||||||
"filename" : "Icon-App-20x20@2x.png",
|
"scale": "2x",
|
||||||
"scale" : "2x"
|
"size": "60x60"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "20x20",
|
"filename": "AppIcon@3x.png",
|
||||||
"idiom" : "iphone",
|
"idiom": "iphone",
|
||||||
"filename" : "Icon-App-20x20@3x.png",
|
"scale": "3x",
|
||||||
"scale" : "3x"
|
"size": "60x60"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "29x29",
|
"filename": "AppIcon~ipad.png",
|
||||||
"idiom" : "iphone",
|
"idiom": "ipad",
|
||||||
"filename" : "Icon-App-29x29@1x.png",
|
"scale": "1x",
|
||||||
"scale" : "1x"
|
"size": "76x76"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "29x29",
|
"filename": "AppIcon@2x~ipad.png",
|
||||||
"idiom" : "iphone",
|
"idiom": "ipad",
|
||||||
"filename" : "Icon-App-29x29@2x.png",
|
"scale": "2x",
|
||||||
"scale" : "2x"
|
"size": "76x76"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "29x29",
|
"filename": "AppIcon-83.5@2x~ipad.png",
|
||||||
"idiom" : "iphone",
|
"idiom": "ipad",
|
||||||
"filename" : "Icon-App-29x29@3x.png",
|
"scale": "2x",
|
||||||
"scale" : "3x"
|
"size": "83.5x83.5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "40x40",
|
"filename": "AppIcon-40@2x.png",
|
||||||
"idiom" : "iphone",
|
"idiom": "iphone",
|
||||||
"filename" : "Icon-App-40x40@2x.png",
|
"scale": "2x",
|
||||||
"scale" : "2x"
|
"size": "40x40"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "40x40",
|
"filename": "AppIcon-40@3x.png",
|
||||||
"idiom" : "iphone",
|
"idiom": "iphone",
|
||||||
"filename" : "Icon-App-40x40@3x.png",
|
"scale": "3x",
|
||||||
"scale" : "3x"
|
"size": "40x40"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "60x60",
|
"filename": "AppIcon-40~ipad.png",
|
||||||
"idiom" : "iphone",
|
"idiom": "ipad",
|
||||||
"filename" : "Icon-App-60x60@2x.png",
|
"scale": "1x",
|
||||||
"scale" : "2x"
|
"size": "40x40"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "60x60",
|
"filename": "AppIcon-40@2x~ipad.png",
|
||||||
"idiom" : "iphone",
|
"idiom": "ipad",
|
||||||
"filename" : "Icon-App-60x60@3x.png",
|
"scale": "2x",
|
||||||
"scale" : "3x"
|
"size": "40x40"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "20x20",
|
"filename": "AppIcon-20@2x.png",
|
||||||
"idiom" : "ipad",
|
"idiom": "iphone",
|
||||||
"filename" : "Icon-App-20x20@1x.png",
|
"scale": "2x",
|
||||||
"scale" : "1x"
|
"size": "20x20"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "20x20",
|
"filename": "AppIcon-20@3x.png",
|
||||||
"idiom" : "ipad",
|
"idiom": "iphone",
|
||||||
"filename" : "Icon-App-20x20@2x.png",
|
"scale": "3x",
|
||||||
"scale" : "2x"
|
"size": "20x20"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "29x29",
|
"filename": "AppIcon-20~ipad.png",
|
||||||
"idiom" : "ipad",
|
"idiom": "ipad",
|
||||||
"filename" : "Icon-App-29x29@1x.png",
|
"scale": "1x",
|
||||||
"scale" : "1x"
|
"size": "20x20"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "29x29",
|
"filename": "AppIcon-20@2x~ipad.png",
|
||||||
"idiom" : "ipad",
|
"idiom": "ipad",
|
||||||
"filename" : "Icon-App-29x29@2x.png",
|
"scale": "2x",
|
||||||
"scale" : "2x"
|
"size": "20x20"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "40x40",
|
"filename": "AppIcon-29.png",
|
||||||
"idiom" : "ipad",
|
"idiom": "iphone",
|
||||||
"filename" : "Icon-App-40x40@1x.png",
|
"scale": "1x",
|
||||||
"scale" : "1x"
|
"size": "29x29"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "40x40",
|
"filename": "AppIcon-29@2x.png",
|
||||||
"idiom" : "ipad",
|
"idiom": "iphone",
|
||||||
"filename" : "Icon-App-40x40@2x.png",
|
"scale": "2x",
|
||||||
"scale" : "2x"
|
"size": "29x29"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "76x76",
|
"filename": "AppIcon-29@3x.png",
|
||||||
"idiom" : "ipad",
|
"idiom": "iphone",
|
||||||
"filename" : "Icon-App-76x76@1x.png",
|
"scale": "3x",
|
||||||
"scale" : "1x"
|
"size": "29x29"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "76x76",
|
"filename": "AppIcon-29~ipad.png",
|
||||||
"idiom" : "ipad",
|
"idiom": "ipad",
|
||||||
"filename" : "Icon-App-76x76@2x.png",
|
"scale": "1x",
|
||||||
"scale" : "2x"
|
"size": "29x29"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "83.5x83.5",
|
"filename": "AppIcon-29@2x~ipad.png",
|
||||||
"idiom" : "ipad",
|
"idiom": "ipad",
|
||||||
"filename" : "Icon-App-83.5x83.5@2x.png",
|
"scale": "2x",
|
||||||
"scale" : "2x"
|
"size": "29x29"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size" : "1024x1024",
|
"filename": "AppIcon-60@2x~car.png",
|
||||||
"idiom" : "ios-marketing",
|
"idiom": "car",
|
||||||
"filename" : "Icon-App-1024x1024@1x.png",
|
"scale": "2x",
|
||||||
"scale" : "1x"
|
"size": "60x60"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "AppIcon-60@3x~car.png",
|
||||||
|
"idiom": "car",
|
||||||
|
"scale": "3x",
|
||||||
|
"size": "60x60"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "AppIcon~ios-marketing.png",
|
||||||
|
"idiom": "ios-marketing",
|
||||||
|
"scale": "1x",
|
||||||
|
"size": "1024x1024"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"info" : {
|
"info": {
|
||||||
"version" : 1,
|
"author": "iconkitchen",
|
||||||
"author" : "xcode"
|
"version": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 450 B |
Before Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 704 B |
Before Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 586 B |
Before Width: | Height: | Size: 862 B |
Before Width: | Height: | Size: 862 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 762 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.4 KiB |
@ -18,7 +18,7 @@ class SimulationApp extends StatelessWidget {
|
|||||||
card: Colors.black,
|
card: Colors.black,
|
||||||
cardForeground: Colors.white,
|
cardForeground: Colors.white,
|
||||||
popover: Colors.grey,
|
popover: Colors.grey,
|
||||||
popoverForeground: Colors.grey,
|
popoverForeground: Color.fromARGB(255, 101, 54, 54),
|
||||||
primary: Colors.white,
|
primary: Colors.white,
|
||||||
primaryForeground: Colors.black,
|
primaryForeground: Colors.black,
|
||||||
secondary: Colors.yellow,
|
secondary: Colors.yellow,
|
||||||
|
@ -59,40 +59,41 @@ class MainScreen extends StatelessWidget {
|
|||||||
ShadButton(
|
ShadButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
showShadDialog(
|
showShadDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
final formKey = GlobalKey<ShadFormState>();
|
final formKey = GlobalKey<ShadFormState>();
|
||||||
return ShadDialog(
|
return ShadDialog(
|
||||||
title: const Text('Set Benchmark Boid Count'),
|
title: const Text('Set Benchmark Boid Count'),
|
||||||
content: Column(
|
content: Column(
|
||||||
children: [
|
children: [
|
||||||
ShadForm(
|
ShadForm(
|
||||||
key: formKey,
|
key: formKey,
|
||||||
child: ShadInputFormField(
|
child: ShadInputFormField(
|
||||||
label: const Text('Boid Count'),
|
label: const Text('Boid Count'),
|
||||||
id: 'benchmark_boid_count',
|
id: 'benchmark_boid_count',
|
||||||
initialValue: '500',
|
initialValue: '500',
|
||||||
),
|
|
||||||
),
|
),
|
||||||
ShadButton(
|
),
|
||||||
text: const Text('Start Benchmark'),
|
ShadButton(
|
||||||
onPressed: () {
|
text: const Text('Start Benchmark'),
|
||||||
Navigator.push(
|
onPressed: () {
|
||||||
context,
|
Navigator.push(
|
||||||
MaterialPageRoute(
|
context,
|
||||||
builder: (context) =>
|
MaterialPageRoute(
|
||||||
BenchmarkSimulationScreen(
|
builder: (context) =>
|
||||||
boids: int.parse(formKey.currentState!
|
BenchmarkSimulationScreen(
|
||||||
.value['benchmark_boid_count']),
|
boids: int.parse(formKey.currentState!
|
||||||
),
|
.value['benchmark_boid_count']),
|
||||||
),
|
),
|
||||||
);
|
),
|
||||||
},
|
);
|
||||||
)
|
},
|
||||||
],
|
)
|
||||||
),
|
],
|
||||||
);
|
),
|
||||||
});
|
);
|
||||||
|
},
|
||||||
|
);
|
||||||
},
|
},
|
||||||
text: const Text("Benchmark"),
|
text: const Text("Benchmark"),
|
||||||
),
|
),
|
||||||
|
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/100.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/102.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/1024-mac.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/1024.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/108.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/114.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/120.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/128-mac.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/144.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/152.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/16-mac.png
Normal file
After Width: | Height: | Size: 384 B |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/167.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/172.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/180.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/196.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/20.png
Normal file
After Width: | Height: | Size: 400 B |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/216.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/234.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/256-mac.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/258.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/29.png
Normal file
After Width: | Height: | Size: 552 B |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/32-mac.png
Normal file
After Width: | Height: | Size: 1002 B |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/40.png
Normal file
After Width: | Height: | Size: 782 B |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/48.png
Normal file
After Width: | Height: | Size: 884 B |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/50.png
Normal file
After Width: | Height: | Size: 914 B |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/512-mac.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/55.png
Normal file
After Width: | Height: | Size: 1022 B |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/57.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/58.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/60.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/64-mac.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/66.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/72.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
macos/Runner/Assets.xcassets/AppIcon.appiconset/76.png
Normal file
After Width: | Height: | Size: 1.3 KiB |