diff --git a/novelforge-project/agent-workspace/flutter_linux_3.19.6-stable.tar.xz b/novelforge-project/agent-workspace/flutter_linux_3.19.6-stable.tar.xz
new file mode 100644
index 0000000000000000000000000000000000000000..60dbc5e2255113cb669131d8d5b335aead44e5bb
--- /dev/null
+++ b/novelforge-project/agent-workspace/flutter_linux_3.19.6-stable.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ec6613df8fc058009c7d5aaaf865772168bceee0d513eda302e8926c77021aa0
+size 128
diff --git a/novelforge-project/agent-workspace/flutter_linux_3.24.0-stable.tar.xz b/novelforge-project/agent-workspace/flutter_linux_3.24.0-stable.tar.xz
new file mode 100644
index 0000000000000000000000000000000000000000..4bed4574e77efc14c2ce341bd422803499a8bb07
--- /dev/null
+++ b/novelforge-project/agent-workspace/flutter_linux_3.24.0-stable.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5ed06b26e462e8edff27af0a1d2a1ca507e748c8ec7ced01ab689600332856f8
+size 128
diff --git a/novelforge-project/flutter/examples/api/README.md b/novelforge-project/flutter/examples/api/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..73770a426f4c11e11419ab4d76b03943225ba327
--- /dev/null
+++ b/novelforge-project/flutter/examples/api/README.md
@@ -0,0 +1,154 @@
+# API Example Code
+
+This directory contains the API sample code that is referenced from the API
+documentation in the framework.
+
+The examples can be run individually by just specifying the path to the example
+on the command line (or in the run configuration of an IDE).
+
+For example (no pun intended!), to run the first example from the `Curve2D`
+class in Chrome, you would run it like so from the [api](.) directory:
+
+```
+% flutter run -d chrome lib/animation/curves/curve2_d.0.dart
+```
+
+All of these same examples are available on the API docs site. For instance, the
+example above is available on [this page](
+https://api.flutter.dev/flutter/animation/Curve2D-class.html#animation.Curve2D.1).
+Most of the samples are available as interactive examples in
+[Dartpad](https://dartpad.dev), but some (the ones marked with `{@tool sample}`
+in the framework source code), just don't make sense on the web, and so are
+available as standalone examples that can be run here. For instance, setting the
+system overlay style doesn't make sense on the web (it only changes the
+notification area background color on Android), so you can run the example for
+that on an Android device like so:
+
+```
+% flutter run -d MyAndroidDevice lib/services/system_chrome/system_chrome.set_system_u_i_overlay_style.1.dart
+```
+
+## Naming
+
+> `lib/library/file/class_name.n.dart`
+>
+> `lib/library/file/class_name.member_name.n.dart`
+
+The naming scheme for the files is similar to the hierarchy under
+[packages/flutter/lib/src](../../packages/flutter/lib/src), except that the
+files are represented as directories (without the `.dart` suffix), and each
+sample in the file is a separate file in that directory. So, for the example
+above, where the examples are from the
+[packages/flutter/lib/src/animation/curves.dart](../../packages/flutter/lib/src/animation/curves.dart)
+file, the `Curve2D` class, the first sample (hence the index "0") for that
+symbol resides in the file named
+[lib/animation/curves/curve2_d.0.dart](lib/animation/curves/curve2_d.0.dart).
+
+Symbol names are converted from "CamelCase" to "snake_case". Dots are left
+between symbol names, so the first example for symbol
+`InputDecoration.prefixIconConstraints` would be converted to
+`input_decoration.prefix_icon_constraints.0.dart`.
+
+If the same example is linked to from multiple symbols, the source will be in
+the canonical location for one of the symbols, and the link in the API docs
+block for the other symbols will point to the first symbol's example location.
+
+## Authoring
+
+> For more detailed information about authoring examples, see
+> [the snippets package](https://pub.dev/packages/snippets).
+
+When authoring examples, first place a block in the Dartdoc documentation for
+the symbol you would like to attach it to. Here's what it might look like if you
+wanted to add a new example to the `Curve2D` class:
+
+```dart
+/// {@tool dartpad}
+/// Write a description of the example here. This description will appear in the
+/// API web documentation to introduce the example.
+///
+/// ** See code in examples/api/lib/animation/curves/curve2_d.0.dart **
+/// {@end-tool}
+```
+
+The "See code in" line needs to be formatted exactly as above, with no wrapping
+or newlines, one space after the "`**`" at the beginning, and one space before
+the "`**`" at the end, and the words "See code in" at the beginning of the line.
+This is what the snippets tool use when finding the example source code that you
+are creating.
+
+Use `{@tool dartpad}` for Dartpad examples, and use `{@tool sample}` for
+examples that shouldn't be run/shown in Dartpad.
+
+Once that comment block is inserted in the source code, create a new file at the
+appropriate path under [`examples/api`](.). See the
+[sample_templates](./lib/sample_templates/) directory for examples of different
+types of samples with some best practices applied.
+
+The filename should match the location of the source file it is linked from, and
+is named for the symbol it is attached to, in lower_snake_case, with an index
+relating to their order within the doc comment. So, for the `Curve2D` example
+above, since it's in the `animation` library, in a file called `curves.dart`,
+and it's the first example, it should have the name
+`examples/api/lib/animation/curves/curve2_d.0.dart`.
+
+You should also add tests for your sample code under
+[`examples/api/test`](./test), that matches their location under [lib](./lib),
+ending in `_test.dart`. See the section on [writing tests](#writing-tests) for
+more information on what kinds of tests to write.
+
+The entire example should be in a single file, so that Dartpad can load it.
+
+Only packages that can be loaded by Dartpad may be imported. If you use one that
+hasn't been used in an example before, you may have to add it to the
+[pubspec.yaml](pubspec.yaml) in the api directory.
+
+## Snippets
+
+There is another type of example that can also be authored, using `{@tool
+snippet}`. Snippet examples are just written inline in the source, like so:
+
+```dart
+/// {@tool dartpad}
+/// Write a description of the example here. This description will appear in the
+/// API web documentation to introduce the example.
+///
+/// ```dart
+/// // Sample code goes here, e.g.:
+/// const Widget emptyBox = SizedBox();
+/// ```
+/// {@end-tool}
+```
+
+The source for these snippets isn't stored under the [`examples/api`](.)
+directory, or available in Dartpad in the API docs, since they're not intended
+to be runnable, they just show some incomplete snippet of example code. It must
+compile (in the context of the sample analyzer), but doesn't need to do
+anything. See [the snippets documentation](
+https://pub.dev/packages/snippets#snippet-tool) for more information about the
+context that the analyzer uses.
+
+## Writing Tests
+
+Examples are required to have tests. There is already a "smoke test" that simply
+builds and runs all the API examples, just to make sure that they start up
+without crashing. Functionality tests are required the examples, and generally
+just do what is normally done for writing tests. The one thing that makes it
+more challenging to do for examples is that they can't really be written for
+testability in any obvious way, since that would complicate the examples and
+make them harder to explain.
+
+As an example, in regular framework code, you might include a parameter for a
+`Platform` object that can be overridden by a test to supply a dummy platform,
+but in the example. This would be unnecessarily complex for the example. In all
+other ways, these are just normal tests. You don't need to re-test the
+functionality of the widget being used in the example, but you should test the
+functionality and integrity of the example itself.
+
+Tests go into a directory under [test](./test) that matches their location under
+[lib](./lib). They are named the same as the example they are testing, with
+`_test.dart` at the end, like other tests. For instance, a `LayoutBuilder`
+example that resides in [`lib/widgets/layout_builder/layout_builder.0.dart`](
+./lib/widgets/layout_builder/layout_builder.0.dart) would have its tests in a
+file named [`test/widgets/layout_builder/layout_builder.0_test.dart`](
+./test/widgets/layout_builder/layout_builder.0_test.dart)
diff --git a/novelforge-project/flutter/examples/api/analysis_options.yaml b/novelforge-project/flutter/examples/api/analysis_options.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..dec61f90edbccae7d10c2bad23f1e5532adaf441
--- /dev/null
+++ b/novelforge-project/flutter/examples/api/analysis_options.yaml
@@ -0,0 +1,10 @@
+# This file is also used by dev/bots/analyze_snippet_code.dart to analyze code snippets (`{@tool snippet}` sections).
+
+include: ../../analysis_options.yaml
+
+linter:
+ rules:
+ # Samples want to print things pretty often.
+ avoid_print: false
+ # Samples are sometimes incomplete and don't show usage of everything.
+ unreachable_from_main: false
diff --git a/novelforge-project/flutter/examples/api/pubspec.lock b/novelforge-project/flutter/examples/api/pubspec.lock
new file mode 100644
index 0000000000000000000000000000000000000000..9496976efe5ee259b30159e07f7584fd1560d572
--- /dev/null
+++ b/novelforge-project/flutter/examples/api/pubspec.lock
@@ -0,0 +1,531 @@
+# Generated by pub
+# See https://dart.dev/tools/pub/glossary#lockfile
+packages:
+ _fe_analyzer_shared:
+ dependency: "direct dev"
+ description:
+ name: _fe_analyzer_shared
+ sha256: "36a321c3d2cbe01cbcb3540a87b8843846e0206df3e691fa7b23e19e78de6d49"
+ url: "https://pub.dev"
+ source: hosted
+ version: "65.0.0"
+ analyzer:
+ dependency: "direct dev"
+ description:
+ name: analyzer
+ sha256: dfe03b90ec022450e22513b5e5ca1f01c0c01de9c3fba2f7fd233cb57a6b9a07
+ url: "https://pub.dev"
+ source: hosted
+ version: "6.3.0"
+ args:
+ dependency: "direct dev"
+ description:
+ name: args
+ sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.4.2"
+ async:
+ dependency: "direct dev"
+ description:
+ name: async
+ sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.11.0"
+ boolean_selector:
+ dependency: "direct dev"
+ description:
+ name: boolean_selector
+ sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.1"
+ characters:
+ dependency: "direct main"
+ description:
+ name: characters
+ sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.0"
+ clock:
+ dependency: "direct dev"
+ description:
+ name: clock
+ sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.1"
+ collection:
+ dependency: "direct main"
+ description:
+ name: collection
+ sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.18.0"
+ convert:
+ dependency: "direct dev"
+ description:
+ name: convert
+ sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.1.1"
+ coverage:
+ dependency: "direct dev"
+ description:
+ name: coverage
+ sha256: "8acabb8306b57a409bf4c83522065672ee13179297a6bb0cb9ead73948df7c76"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.7.2"
+ crypto:
+ dependency: "direct dev"
+ description:
+ name: crypto
+ sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.3"
+ cupertino_icons:
+ dependency: "direct main"
+ description:
+ name: cupertino_icons
+ sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.6"
+ fake_async:
+ dependency: "direct dev"
+ description:
+ name: fake_async
+ sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.1"
+ file:
+ dependency: "direct dev"
+ description:
+ name: file
+ sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "7.0.0"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_driver:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_goldens:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_localizations:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_web_plugins:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ frontend_server_client:
+ dependency: "direct dev"
+ description:
+ name: frontend_server_client
+ sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.2.0"
+ fuchsia_remote_debug_protocol:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ glob:
+ dependency: "direct dev"
+ description:
+ name: glob
+ sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.2"
+ http_multi_server:
+ dependency: "direct dev"
+ description:
+ name: http_multi_server
+ sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.2.1"
+ http_parser:
+ dependency: "direct dev"
+ description:
+ name: http_parser
+ sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "4.0.2"
+ integration_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ intl:
+ dependency: "direct dev"
+ description:
+ name: intl
+ sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.18.1"
+ io:
+ dependency: "direct dev"
+ description:
+ name: io
+ sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.4"
+ js:
+ dependency: "direct dev"
+ description:
+ name: js
+ sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.6.7"
+ leak_tracker:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker
+ sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
+ url: "https://pub.dev"
+ source: hosted
+ version: "10.0.0"
+ leak_tracker_flutter_testing:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker_flutter_testing
+ sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ leak_tracker_testing:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker_testing
+ sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ logging:
+ dependency: "direct dev"
+ description:
+ name: logging
+ sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.0"
+ matcher:
+ dependency: "direct dev"
+ description:
+ name: matcher
+ sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.12.16+1"
+ material_color_utilities:
+ dependency: "direct main"
+ description:
+ name: material_color_utilities
+ sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.8.0"
+ meta:
+ dependency: "direct main"
+ description:
+ name: meta
+ sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.11.0"
+ mime:
+ dependency: "direct dev"
+ description:
+ name: mime
+ sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.4"
+ node_preamble:
+ dependency: "direct dev"
+ description:
+ name: node_preamble
+ sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.2"
+ package_config:
+ dependency: "direct dev"
+ description:
+ name: package_config
+ sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.0"
+ path:
+ dependency: "direct dev"
+ description:
+ name: path
+ sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.9.0"
+ platform:
+ dependency: "direct dev"
+ description:
+ name: platform
+ sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.1.4"
+ pool:
+ dependency: "direct dev"
+ description:
+ name: pool
+ sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.5.1"
+ process:
+ dependency: "direct dev"
+ description:
+ name: process
+ sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32"
+ url: "https://pub.dev"
+ source: hosted
+ version: "5.0.2"
+ pub_semver:
+ dependency: "direct dev"
+ description:
+ name: pub_semver
+ sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.4"
+ shelf:
+ dependency: "direct dev"
+ description:
+ name: shelf
+ sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.4.1"
+ shelf_packages_handler:
+ dependency: "direct dev"
+ description:
+ name: shelf_packages_handler
+ sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.2"
+ shelf_static:
+ dependency: "direct dev"
+ description:
+ name: shelf_static
+ sha256: a41d3f53c4adf0f57480578c1d61d90342cd617de7fc8077b1304643c2d85c1e
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.2"
+ shelf_web_socket:
+ dependency: "direct dev"
+ description:
+ name: shelf_web_socket
+ sha256: "9ca081be41c60190ebcb4766b2486a7d50261db7bd0f5d9615f2d653637a84c1"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.4"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ source_map_stack_trace:
+ dependency: "direct dev"
+ description:
+ name: source_map_stack_trace
+ sha256: "84cf769ad83aa6bb61e0aa5a18e53aea683395f196a6f39c4c881fb90ed4f7ae"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.1"
+ source_maps:
+ dependency: "direct dev"
+ description:
+ name: source_maps
+ sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.10.12"
+ source_span:
+ dependency: "direct dev"
+ description:
+ name: source_span
+ sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.10.0"
+ stack_trace:
+ dependency: "direct dev"
+ description:
+ name: stack_trace
+ sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.11.1"
+ stream_channel:
+ dependency: "direct dev"
+ description:
+ name: stream_channel
+ sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.2"
+ string_scanner:
+ dependency: "direct dev"
+ description:
+ name: string_scanner
+ sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.0"
+ sync_http:
+ dependency: "direct dev"
+ description:
+ name: sync_http
+ sha256: "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.3.1"
+ term_glyph:
+ dependency: "direct dev"
+ description:
+ name: term_glyph
+ sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.1"
+ test:
+ dependency: "direct dev"
+ description:
+ name: test
+ sha256: a1f7595805820fcc05e5c52e3a231aedd0b72972cb333e8c738a8b1239448b6f
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.24.9"
+ test_api:
+ dependency: "direct dev"
+ description:
+ name: test_api
+ sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.6.1"
+ test_core:
+ dependency: "direct dev"
+ description:
+ name: test_core
+ sha256: a757b14fc47507060a162cc2530d9a4a2f92f5100a952c7443b5cad5ef5b106a
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.5.9"
+ typed_data:
+ dependency: "direct dev"
+ description:
+ name: typed_data
+ sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.2"
+ vector_math:
+ dependency: "direct main"
+ description:
+ name: vector_math
+ sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.4"
+ vm_service:
+ dependency: "direct dev"
+ description:
+ name: vm_service
+ sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
+ url: "https://pub.dev"
+ source: hosted
+ version: "13.0.0"
+ watcher:
+ dependency: "direct dev"
+ description:
+ name: watcher
+ sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.0"
+ web:
+ dependency: "direct dev"
+ description:
+ name: web
+ sha256: edc8a9573dd8c5a83a183dae1af2b6fd4131377404706ca4e5420474784906fa
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.4.0"
+ web_socket_channel:
+ dependency: "direct dev"
+ description:
+ name: web_socket_channel
+ sha256: "045ec2137c27bf1a32e6ffa0e734d532a6677bf9016a0d1a406c54e499ff945b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.4.1"
+ webdriver:
+ dependency: "direct dev"
+ description:
+ name: webdriver
+ sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.3"
+ webkit_inspection_protocol:
+ dependency: "direct dev"
+ description:
+ name: webkit_inspection_protocol
+ sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.1"
+ yaml:
+ dependency: "direct dev"
+ description:
+ name: yaml
+ sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.1.2"
+sdks:
+ dart: ">=3.2.0 <4.0.0"
+ flutter: ">=2.5.0-6.0.pre.30"
diff --git a/novelforge-project/flutter/examples/api/pubspec.yaml b/novelforge-project/flutter/examples/api/pubspec.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..17b0d3a01e83da3217aa4fab56c035197355d531
--- /dev/null
+++ b/novelforge-project/flutter/examples/api/pubspec.yaml
@@ -0,0 +1,96 @@
+# This file is also used by dev/bots/analyze_snippet_code.dart to analyze code snippets (`{@tool snippet}` sections).
+
+name: flutter_api_samples
+description: API code samples for the Flutter repo.
+publish_to: 'none'
+
+version: 1.0.0
+
+environment:
+ sdk: '>=3.2.0-0 <4.0.0'
+ flutter: ">=2.5.0-6.0.pre.30 <3.0.0"
+
+dependencies:
+ cupertino_icons: 1.0.6
+ flutter:
+ sdk: flutter
+
+ characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ material_color_utilities: 0.8.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ meta: 1.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vector_math: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+
+dev_dependencies:
+ integration_test:
+ sdk: flutter
+ flutter_driver:
+ sdk: flutter
+ flutter_goldens:
+ sdk: flutter
+ flutter_localizations:
+ sdk: flutter
+ flutter_test:
+ sdk: flutter
+ flutter_web_plugins:
+ sdk: flutter
+ test: 1.24.9
+
+ _fe_analyzer_shared: 65.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 6.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ args: 2.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ boolean_selector: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ clock: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ convert: 3.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ coverage: 1.7.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ crypto: 3.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ fake_async: 1.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ file: 7.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ frontend_server_client: 3.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ glob: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ http_multi_server: 3.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ http_parser: 4.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.18.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ io: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ js: 0.6.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker: 10.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker_flutter_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ logging: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.16+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ mime: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ node_preamble: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ package_config: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ path: 1.9.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ platform: 3.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ pool: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ process: 5.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ pub_semver: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 1.4.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_packages_handler: 3.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_static: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_map_stack_trace: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_maps: 0.10.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_span: 1.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ string_scanner: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ sync_http: 0.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.5.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ typed_data: 1.3.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service: 13.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ watcher: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web: 0.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 2.4.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ webdriver: 3.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ webkit_inspection_protocol: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ yaml: 3.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+
+flutter:
+ uses-material-design: true
+
+# PUBSPEC CHECKSUM: e00b
diff --git a/novelforge-project/flutter/examples/catalog/catalog.iml b/novelforge-project/flutter/examples/catalog/catalog.iml
new file mode 100644
index 0000000000000000000000000000000000000000..1d83ed3abc9085f991ca3f8f864f38df5577a8a6
--- /dev/null
+++ b/novelforge-project/flutter/examples/catalog/catalog.iml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/flutter_gallery/android.iml b/novelforge-project/flutter/examples/flutter_gallery/android.iml
new file mode 100644
index 0000000000000000000000000000000000000000..79f6223dbf740f805ef97f2b382f592944c1b899
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_gallery/android.iml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/flutter_gallery/flutter_gallery.iml b/novelforge-project/flutter/examples/flutter_gallery/flutter_gallery.iml
new file mode 100644
index 0000000000000000000000000000000000000000..71ade4c2bb561947180eea687a9e885b50433c75
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_gallery/flutter_gallery.iml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/flutter_view/README.md b/novelforge-project/flutter/examples/flutter_view/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..70146153945bb8f899022985b586a0c4060b4710
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/README.md
@@ -0,0 +1,18 @@
+# Example of embedding Flutter using FlutterView
+
+This project demonstrates how to embed Flutter within an iOS or Android
+application. On iOS, the iOS and Flutter components are built with Xcode. On
+Android, the Android and Flutter components are built with Android Studio or
+Gradle.
+
+You can read more about
+[accessing platform and third-party services in Flutter](https://flutter.dev/platform-services/).
+
+## iOS
+
+You can open `ios/Runner.xcworkspace` in Xcode and build the project as
+usual.
+
+## Android
+
+You can open `android/` in Android Studio and build the project as usual.
diff --git a/novelforge-project/flutter/examples/flutter_view/android/build.gradle b/novelforge-project/flutter/examples/flutter_view/android/build.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..2de20623576a82c3115eca8b1bdb56fd5b5051cb
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/android/build.gradle
@@ -0,0 +1,51 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file is auto generated.
+// To update all the build.gradle files in the Flutter repo,
+// See dev/tools/bin/generate_gradle_lockfiles.dart.
+
+buildscript {
+ ext.kotlin_version = '1.5.31'
+ repositories {
+ google()
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:7.2.0'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+
+ configurations.classpath {
+ resolutionStrategy.activateDependencyLocking()
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+rootProject.buildDir = '../build'
+
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ project.evaluationDependsOn(':app')
+ dependencyLocking {
+ ignoredDependencies.add('io.flutter:*')
+ lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
+ if (!project.hasProperty('local-engine-repo')) {
+ lockAllConfigurations()
+ }
+ }
+}
+
+tasks.register("clean", Delete) {
+ delete rootProject.buildDir
+}
diff --git a/novelforge-project/flutter/examples/flutter_view/android/buildscript-gradle.lockfile b/novelforge-project/flutter/examples/flutter_view/android/buildscript-gradle.lockfile
new file mode 100644
index 0000000000000000000000000000000000000000..efe13277310ee8fef3c9d7f6f8a2cbbe601d110f
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/android/buildscript-gradle.lockfile
@@ -0,0 +1,163 @@
+# This is a Gradle generated file for dependency locking.
+# Manual edits can break the build and are not advised.
+# This file is expected to be part of source control.
+androidx.databinding:databinding-common:7.2.0=classpath
+androidx.databinding:databinding-compiler-common:7.2.0=classpath
+com.android.databinding:baseLibrary:7.2.0=classpath
+com.android.tools.analytics-library:crash:30.2.0=classpath
+com.android.tools.analytics-library:protos:30.2.0=classpath
+com.android.tools.analytics-library:shared:30.2.0=classpath
+com.android.tools.analytics-library:tracker:30.2.0=classpath
+com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09=classpath
+com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09=classpath
+com.android.tools.build:aapt2-proto:7.2.0-7984345=classpath
+com.android.tools.build:aaptcompiler:7.2.0=classpath
+com.android.tools.build:apksig:7.2.0=classpath
+com.android.tools.build:apkzlib:7.2.0=classpath
+com.android.tools.build:builder-model:7.2.0=classpath
+com.android.tools.build:builder-test-api:7.2.0=classpath
+com.android.tools.build:builder:7.2.0=classpath
+com.android.tools.build:bundletool:1.8.2=classpath
+com.android.tools.build:gradle-api:7.2.0=classpath
+com.android.tools.build:gradle:7.2.0=classpath
+com.android.tools.build:manifest-merger:30.2.0=classpath
+com.android.tools.build:transform-api:2.0.0-deprecated-use-gradle-api=classpath
+com.android.tools.ddms:ddmlib:30.2.0=classpath
+com.android.tools.layoutlib:layoutlib-api:30.2.0=classpath
+com.android.tools.lint:lint-model:30.2.0=classpath
+com.android.tools.lint:lint-typedef-remover:30.2.0=classpath
+com.android.tools.utp:android-device-provider-ddmlib-proto:30.2.0=classpath
+com.android.tools.utp:android-device-provider-gradle-proto:30.2.0=classpath
+com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.2.0=classpath
+com.android.tools.utp:android-test-plugin-host-coverage-proto:30.2.0=classpath
+com.android.tools.utp:android-test-plugin-host-retention-proto:30.2.0=classpath
+com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.2.0=classpath
+com.android.tools:annotations:30.2.0=classpath
+com.android.tools:common:30.2.0=classpath
+com.android.tools:dvlib:30.2.0=classpath
+com.android.tools:repository:30.2.0=classpath
+com.android.tools:sdk-common:30.2.0=classpath
+com.android.tools:sdklib:30.2.0=classpath
+com.android:signflinger:7.2.0=classpath
+com.android:zipflinger:7.2.0=classpath
+com.fasterxml.jackson.core:jackson-annotations:2.11.1=classpath
+com.fasterxml.jackson.core:jackson-core:2.11.1=classpath
+com.fasterxml.jackson.core:jackson-databind:2.11.1=classpath
+com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.1=classpath
+com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.11.1=classpath
+com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1=classpath
+com.fasterxml.woodstox:woodstox-core:6.2.1=classpath
+com.github.gundy:semver4j:0.16.4=classpath
+com.google.android:annotations:4.1.1.4=classpath
+com.google.api.grpc:proto-google-common-protos:1.12.0=classpath
+com.google.auto.value:auto-value-annotations:1.6.2=classpath
+com.google.code.findbugs:jsr305:3.0.2=classpath
+com.google.code.gson:gson:2.8.6=classpath
+com.google.crypto.tink:tink:1.3.0-rc2=classpath
+com.google.dagger:dagger:2.28.3=classpath
+com.google.errorprone:error_prone_annotations:2.3.4=classpath
+com.google.flatbuffers:flatbuffers-java:1.12.0=classpath
+com.google.guava:failureaccess:1.0.1=classpath
+com.google.guava:guava:30.1-jre=classpath
+com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=classpath
+com.google.j2objc:j2objc-annotations:1.3=classpath
+com.google.jimfs:jimfs:1.1=classpath
+com.google.protobuf:protobuf-java-util:3.10.0=classpath
+com.google.protobuf:protobuf-java:3.10.0=classpath
+com.google.testing.platform:core-proto:0.0.8-alpha07=classpath
+com.googlecode.json-simple:json-simple:1.1=classpath
+com.googlecode.juniversalchardet:juniversalchardet:1.0.3=classpath
+com.squareup:javapoet:1.10.0=classpath
+com.squareup:javawriter:2.5.0=classpath
+com.sun.activation:javax.activation:1.2.0=classpath
+com.sun.istack:istack-commons-runtime:3.0.8=classpath
+com.sun.xml.fastinfoset:FastInfoset:1.2.16=classpath
+commons-codec:commons-codec:1.11=classpath
+commons-io:commons-io:2.4=classpath
+commons-logging:commons-logging:1.2=classpath
+de.undercouch:gradle-download-task:4.1.1=classpath
+io.grpc:grpc-api:1.21.1=classpath
+io.grpc:grpc-context:1.21.1=classpath
+io.grpc:grpc-core:1.21.1=classpath
+io.grpc:grpc-netty:1.21.1=classpath
+io.grpc:grpc-protobuf-lite:1.21.1=classpath
+io.grpc:grpc-protobuf:1.21.1=classpath
+io.grpc:grpc-stub:1.21.1=classpath
+io.netty:netty-buffer:4.1.34.Final=classpath
+io.netty:netty-codec-http2:4.1.34.Final=classpath
+io.netty:netty-codec-http:4.1.34.Final=classpath
+io.netty:netty-codec-socks:4.1.34.Final=classpath
+io.netty:netty-codec:4.1.34.Final=classpath
+io.netty:netty-common:4.1.34.Final=classpath
+io.netty:netty-handler-proxy:4.1.34.Final=classpath
+io.netty:netty-handler:4.1.34.Final=classpath
+io.netty:netty-resolver:4.1.34.Final=classpath
+io.netty:netty-transport:4.1.34.Final=classpath
+io.opencensus:opencensus-api:0.21.0=classpath
+io.opencensus:opencensus-contrib-grpc-metrics:0.21.0=classpath
+it.unimi.dsi:fastutil:8.4.0=classpath
+jakarta.activation:jakarta.activation-api:1.2.1=classpath
+jakarta.xml.bind:jakarta.xml.bind-api:2.3.2=classpath
+javax.inject:javax.inject:1=classpath
+net.java.dev.jna:jna-platform:5.6.0=classpath
+net.java.dev.jna:jna:5.6.0=classpath
+net.sf.jopt-simple:jopt-simple:4.9=classpath
+net.sf.kxml:kxml2:2.3.0=classpath
+org.apache.commons:commons-compress:1.20=classpath
+org.apache.httpcomponents:httpclient:4.5.9=classpath
+org.apache.httpcomponents:httpcore:4.4.11=classpath
+org.apache.httpcomponents:httpmime:4.5.6=classpath
+org.bitbucket.b_c:jose4j:0.7.0=classpath
+org.bouncycastle:bcpkix-jdk15on:1.56=classpath
+org.bouncycastle:bcprov-jdk15on:1.56=classpath
+org.checkerframework:checker-qual:3.5.0=classpath
+org.codehaus.mojo:animal-sniffer-annotations:1.17=classpath
+org.codehaus.woodstox:stax2-api:4.2.1=classpath
+org.glassfish.jaxb:jaxb-runtime:2.3.2=classpath
+org.glassfish.jaxb:txw2:2.3.2=classpath
+org.jdom:jdom2:2.0.6=classpath
+org.jetbrains.dokka:dokka-core:1.4.32=classpath
+org.jetbrains.intellij.deps:trove4j:1.0.20181211=classpath
+org.jetbrains.kotlin:kotlin-android-extensions:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-build-common:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-compiler-runner:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-daemon-client:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-daemon-embeddable:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-native-utils:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-project-model:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-reflect:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-scripting-common:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-scripting-jvm:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-stdlib:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-tooling-metadata:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-util-io:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-util-klib:1.5.31=classpath
+org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.0=classpath
+org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0=classpath
+org.jetbrains:annotations:13.0=classpath
+org.jetbrains:markdown-jvm:0.2.1=classpath
+org.jetbrains:markdown:0.2.1=classpath
+org.json:json:20180813=classpath
+org.jsoup:jsoup:1.13.1=classpath
+org.jvnet.staxex:stax-ex:1.8.1=classpath
+org.ow2.asm:asm-analysis:9.1=classpath
+org.ow2.asm:asm-commons:9.1=classpath
+org.ow2.asm:asm-tree:9.1=classpath
+org.ow2.asm:asm-util:9.1=classpath
+org.ow2.asm:asm:9.1=classpath
+org.slf4j:slf4j-api:1.7.30=classpath
+org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2=classpath
+xerces:xercesImpl:2.12.0=classpath
+xml-apis:xml-apis:1.4.01=classpath
+empty=
diff --git a/novelforge-project/flutter/examples/flutter_view/android/gradle.properties b/novelforge-project/flutter/examples/flutter_view/android/gradle.properties
new file mode 100644
index 0000000000000000000000000000000000000000..598d13fee446372f156ecc38527b54c7cdcc8e3b
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/android/gradle.properties
@@ -0,0 +1,3 @@
+org.gradle.jvmargs=-Xmx4G
+android.useAndroidX=true
+android.enableJetifier=true
diff --git a/novelforge-project/flutter/examples/flutter_view/android/project-app.lockfile b/novelforge-project/flutter/examples/flutter_view/android/project-app.lockfile
new file mode 100644
index 0000000000000000000000000000000000000000..607f89c82b3473c34b4fdedca4f5aeb69bd8d933
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/android/project-app.lockfile
@@ -0,0 +1,138 @@
+# This is a Gradle generated file for dependency locking.
+# Manual edits can break the build and are not advised.
+# This file is expected to be part of source control.
+androidx.activity:activity:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.annotation:annotation-experimental:1.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.annotation:annotation:1.2.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.appcompat:appcompat-resources:1.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.appcompat:appcompat:1.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.arch.core:core-common:2.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.arch.core:core-runtime:2.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.asynclayoutinflater:asynclayoutinflater:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.cardview:cardview:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.collection:collection:1.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.coordinatorlayout:coordinatorlayout:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.core:core:1.6.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.cursoradapter:cursoradapter:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.customview:customview:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.documentfile:documentfile:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.drawerlayout:drawerlayout:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.fragment:fragment:1.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.interpolator:interpolator:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.legacy:legacy-support-core-ui:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.legacy:legacy-support-core-utils:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-common-java8:2.2.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-common:2.2.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-livedata-core:2.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-livedata:2.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-runtime:2.2.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-viewmodel:2.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.loader:loader:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.localbroadcastmanager:localbroadcastmanager:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.print:print:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.recyclerview:recyclerview:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.savedstate:savedstate:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.slidingpanelayout:slidingpanelayout:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.swiperefreshlayout:swiperefreshlayout:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.tracing:tracing:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.transition:transition:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.vectordrawable:vectordrawable-animated:1.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.vectordrawable:vectordrawable:1.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.versionedparcelable:versionedparcelable:1.1.1=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.viewpager:viewpager:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.window:window-java:1.0.0-beta04=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.window:window:1.0.0-beta04=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+com.android.tools.analytics-library:protos:27.1.3=lintClassPath
+com.android.tools.analytics-library:shared:27.1.3=lintClassPath
+com.android.tools.analytics-library:tracker:27.1.3=lintClassPath
+com.android.tools.build:aapt2-proto:4.1.0-alpha01-6193524=lintClassPath
+com.android.tools.build:aapt2:4.1.3-6503028=_internal_aapt2_binary
+com.android.tools.build:apksig:4.1.3=lintClassPath
+com.android.tools.build:apkzlib:4.1.3=lintClassPath
+com.android.tools.build:builder-model:4.1.3=lintClassPath
+com.android.tools.build:builder-test-api:4.1.3=lintClassPath
+com.android.tools.build:builder:4.1.3=lintClassPath
+com.android.tools.build:gradle-api:4.1.3=lintClassPath
+com.android.tools.build:manifest-merger:27.1.3=lintClassPath
+com.android.tools.ddms:ddmlib:27.1.3=lintClassPath
+com.android.tools.external.com-intellij:intellij-core:27.1.3=lintClassPath
+com.android.tools.external.com-intellij:kotlin-compiler:27.1.3=lintClassPath
+com.android.tools.external.org-jetbrains:uast:27.1.3=lintClassPath
+com.android.tools.layoutlib:layoutlib-api:27.1.3=lintClassPath
+com.android.tools.lint:lint-api:27.1.3=lintClassPath
+com.android.tools.lint:lint-checks:27.1.3=lintClassPath
+com.android.tools.lint:lint-gradle-api:27.1.3=lintClassPath
+com.android.tools.lint:lint-gradle:27.1.3=lintClassPath
+com.android.tools.lint:lint-model:27.1.3=lintClassPath
+com.android.tools.lint:lint:27.1.3=lintClassPath
+com.android.tools:annotations:27.1.3=lintClassPath
+com.android.tools:common:27.1.3=lintClassPath
+com.android.tools:dvlib:27.1.3=lintClassPath
+com.android.tools:repository:27.1.3=lintClassPath
+com.android.tools:sdk-common:27.1.3=lintClassPath
+com.android.tools:sdklib:27.1.3=lintClassPath
+com.android:signflinger:4.1.3=lintClassPath
+com.android:zipflinger:4.1.3=lintClassPath
+com.google.android.material:material:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+com.google.code.findbugs:jsr305:3.0.2=lintClassPath
+com.google.code.gson:gson:2.8.5=lintClassPath
+com.google.errorprone:error_prone_annotations:2.3.2=lintClassPath
+com.google.guava:failureaccess:1.0.1=lintClassPath
+com.google.guava:guava:28.1-jre=lintClassPath
+com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=lintClassPath
+com.google.j2objc:j2objc-annotations:1.3=lintClassPath
+com.google.jimfs:jimfs:1.1=lintClassPath
+com.google.protobuf:protobuf-java:3.10.0=lintClassPath
+com.googlecode.json-simple:json-simple:1.1=lintClassPath
+com.squareup:javawriter:2.5.0=lintClassPath
+com.sun.activation:javax.activation:1.2.0=lintClassPath
+com.sun.istack:istack-commons-runtime:3.0.7=lintClassPath
+com.sun.xml.fastinfoset:FastInfoset:1.2.15=lintClassPath
+commons-codec:commons-codec:1.10=lintClassPath
+commons-logging:commons-logging:1.2=lintClassPath
+it.unimi.dsi:fastutil:7.2.0=lintClassPath
+javax.activation:javax.activation-api:1.2.0=lintClassPath
+javax.inject:javax.inject:1=lintClassPath
+javax.xml.bind:jaxb-api:2.3.1=lintClassPath
+net.sf.jopt-simple:jopt-simple:4.9=lintClassPath
+net.sf.kxml:kxml2:2.3.0=lintClassPath
+org.apache.commons:commons-compress:1.12=lintClassPath
+org.apache.httpcomponents:httpclient:4.5.6=lintClassPath
+org.apache.httpcomponents:httpcore:4.4.10=lintClassPath
+org.apache.httpcomponents:httpmime:4.5.6=lintClassPath
+org.bouncycastle:bcpkix-jdk15on:1.56=lintClassPath
+org.bouncycastle:bcprov-jdk15on:1.56=lintClassPath
+org.checkerframework:checker-qual:2.8.1=lintClassPath
+org.codehaus.groovy:groovy-all:2.4.15=lintClassPath
+org.codehaus.mojo:animal-sniffer-annotations:1.18=lintClassPath
+org.glassfish.jaxb:jaxb-runtime:2.3.1=lintClassPath
+org.glassfish.jaxb:txw2:2.3.1=lintClassPath
+org.jacoco:org.jacoco.agent:0.8.7=androidJacocoAnt
+org.jacoco:org.jacoco.ant:0.8.7=androidJacocoAnt
+org.jacoco:org.jacoco.core:0.8.7=androidJacocoAnt
+org.jacoco:org.jacoco.report:0.8.7=androidJacocoAnt
+org.jetbrains.kotlin:kotlin-reflect:1.3.72=lintClassPath
+org.jetbrains.kotlin:kotlin-stdlib-common:1.3.72=lintClassPath
+org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72=lintClassPath
+org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.30=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72=lintClassPath
+org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlin:kotlin-stdlib:1.3.72=lintClassPath
+org.jetbrains.kotlin:kotlin-stdlib:1.5.31=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.2=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.trove4j:trove4j:20160824=lintClassPath
+org.jetbrains:annotations:13.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,lintClassPath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jvnet.staxex:stax-ex:1.8=lintClassPath
+org.ow2.asm:asm-analysis:7.0=lintClassPath
+org.ow2.asm:asm-analysis:9.1=androidJacocoAnt
+org.ow2.asm:asm-commons:7.0=lintClassPath
+org.ow2.asm:asm-commons:9.1=androidJacocoAnt
+org.ow2.asm:asm-tree:7.0=lintClassPath
+org.ow2.asm:asm-tree:9.1=androidJacocoAnt
+org.ow2.asm:asm-util:7.0=lintClassPath
+org.ow2.asm:asm:7.0=lintClassPath
+org.ow2.asm:asm:9.1=androidJacocoAnt
+empty=androidApis,androidJdkImage,androidTestUtil,compile,coreLibraryDesugaring,debugAndroidTestAnnotationProcessorClasspath,debugAndroidTestRuntimeClasspath,debugAnnotationProcessorClasspath,debugReverseMetadataValues,debugUnitTestAnnotationProcessorClasspath,debugWearBundling,lintChecks,lintPublish,profileAnnotationProcessorClasspath,profileReverseMetadataValues,profileUnitTestAnnotationProcessorClasspath,profileWearBundling,releaseAnnotationProcessorClasspath,releaseReverseMetadataValues,releaseUnitTestAnnotationProcessorClasspath,releaseWearBundling,testCompile
diff --git a/novelforge-project/flutter/examples/flutter_view/android/settings.gradle b/novelforge-project/flutter/examples/flutter_view/android/settings.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..03ae72d135c01f849e6812b36575b62b14fee791
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/android/settings.gradle
@@ -0,0 +1,21 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file is auto generated.
+// To update all the settings.gradle files in the Flutter repo,
+// See dev/tools/bin/generate_gradle_lockfiles.dart.
+
+include ':app'
+
+enableFeaturePreview('ONE_LOCKFILE_PER_PROJECT')
+
+def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
+def properties = new Properties()
+
+assert localPropertiesFile.exists()
+localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
+
+def flutterSdkPath = properties.getProperty("flutter.sdk")
+assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
diff --git a/novelforge-project/flutter/examples/flutter_view/assets/flutter-mark-square-64.png b/novelforge-project/flutter/examples/flutter_view/assets/flutter-mark-square-64.png
new file mode 100644
index 0000000000000000000000000000000000000000..56f22d5bd8f4a90724fcd9aca3a0ec85932c4a48
Binary files /dev/null and b/novelforge-project/flutter/examples/flutter_view/assets/flutter-mark-square-64.png differ
diff --git a/novelforge-project/flutter/examples/flutter_view/flutter_view.iml b/novelforge-project/flutter/examples/flutter_view/flutter_view.iml
new file mode 100644
index 0000000000000000000000000000000000000000..1d83ed3abc9085f991ca3f8f864f38df5577a8a6
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/flutter_view.iml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/flutter_view/lib/main.dart b/novelforge-project/flutter/examples/flutter_view/lib/main.dart
new file mode 100644
index 0000000000000000000000000000000000000000..352908b6ab5015078c29282c28a67420862355c7
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/lib/main.dart
@@ -0,0 +1,92 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'dart:async';
+import 'package:flutter/material.dart';
+import 'package:flutter/services.dart';
+
+void main() {
+ runApp(const FlutterView());
+}
+
+class FlutterView extends StatelessWidget {
+ const FlutterView({super.key});
+
+ @override
+ Widget build(BuildContext context) {
+ return MaterialApp(
+ title: 'Flutter View',
+ theme: ThemeData(
+ primarySwatch: Colors.grey,
+ ),
+ home: const MyHomePage(),
+ );
+ }
+}
+
+class MyHomePage extends StatefulWidget {
+ const MyHomePage({super.key});
+
+ @override
+ State createState() => _MyHomePageState();
+}
+
+class _MyHomePageState extends State {
+ static const String _channel = 'increment';
+ static const String _pong = 'pong';
+ static const String _emptyMessage = '';
+ static const BasicMessageChannel platform =
+ BasicMessageChannel(_channel, StringCodec());
+
+ int _counter = 0;
+
+ @override
+ void initState() {
+ super.initState();
+ platform.setMessageHandler(_handlePlatformIncrement);
+ }
+
+ Future _handlePlatformIncrement(String? message) async {
+ setState(() {
+ _counter++;
+ });
+ return _emptyMessage;
+ }
+
+ void _sendFlutterIncrement() {
+ platform.send(_pong);
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ body: Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Expanded(
+ child: Center(
+ child: Text(
+ 'Platform button tapped $_counter time${ _counter == 1 ? '' : 's' }.',
+ style: const TextStyle(fontSize: 17.0),
+ ),
+ ),
+ ),
+ Container(
+ padding: const EdgeInsets.only(bottom: 15.0, left: 5.0),
+ child: Row(
+ children: [
+ Image.asset('assets/flutter-mark-square-64.png', scale: 1.5),
+ const Text('Flutter', style: TextStyle(fontSize: 30.0)),
+ ],
+ ),
+ ),
+ ],
+ ),
+ floatingActionButton: FloatingActionButton(
+ onPressed: _sendFlutterIncrement,
+ child: const Icon(Icons.add),
+ ),
+ );
+ }
+}
diff --git a/novelforge-project/flutter/examples/flutter_view/macos/Flutter/Flutter-Debug.xcconfig b/novelforge-project/flutter/examples/flutter_view/macos/Flutter/Flutter-Debug.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..c2efd0b608ba84712fb3e1d01122468a50c7fba1
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/macos/Flutter/Flutter-Debug.xcconfig
@@ -0,0 +1 @@
+#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/novelforge-project/flutter/examples/flutter_view/macos/Flutter/Flutter-Release.xcconfig b/novelforge-project/flutter/examples/flutter_view/macos/Flutter/Flutter-Release.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..c2efd0b608ba84712fb3e1d01122468a50c7fba1
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/macos/Flutter/Flutter-Release.xcconfig
@@ -0,0 +1 @@
+#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/novelforge-project/flutter/examples/flutter_view/macos/Main.storyboard b/novelforge-project/flutter/examples/flutter_view/macos/Main.storyboard
new file mode 100644
index 0000000000000000000000000000000000000000..f0fa705ca0e99faf4520c0099bcae94c0ef45a4e
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/macos/Main.storyboard
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/flutter_view/macos/Runner/AppDelegate.swift b/novelforge-project/flutter/examples/flutter_view/macos/Runner/AppDelegate.swift
new file mode 100644
index 0000000000000000000000000000000000000000..d080d41951d3506a861ceadcf4354bbbb609a562
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/macos/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import Cocoa
+import FlutterMacOS
+
+@NSApplicationMain
+class AppDelegate: FlutterAppDelegate {
+ override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ return true
+ }
+}
diff --git a/novelforge-project/flutter/examples/flutter_view/macos/Runner/DebugProfile.entitlements b/novelforge-project/flutter/examples/flutter_view/macos/Runner/DebugProfile.entitlements
new file mode 100644
index 0000000000000000000000000000000000000000..dddb8a30c851e7ef5b16a9108934bd1217b6b43f
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/macos/Runner/DebugProfile.entitlements
@@ -0,0 +1,12 @@
+
+
+
+
+ com.apple.security.app-sandbox
+
+ com.apple.security.cs.allow-jit
+
+ com.apple.security.network.server
+
+
+
diff --git a/novelforge-project/flutter/examples/flutter_view/pubspec.lock b/novelforge-project/flutter/examples/flutter_view/pubspec.lock
new file mode 100644
index 0000000000000000000000000000000000000000..36bc7e99c2379e280e9449f9a2375c5cc29f144d
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/pubspec.lock
@@ -0,0 +1,55 @@
+# Generated by pub
+# See https://dart.dev/tools/pub/glossary#lockfile
+packages:
+ characters:
+ dependency: "direct main"
+ description:
+ name: characters
+ sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.0"
+ collection:
+ dependency: "direct main"
+ description:
+ name: collection
+ sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.18.0"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ material_color_utilities:
+ dependency: "direct main"
+ description:
+ name: material_color_utilities
+ sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.8.0"
+ meta:
+ dependency: "direct main"
+ description:
+ name: meta
+ sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.11.0"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ vector_math:
+ dependency: "direct main"
+ description:
+ name: vector_math
+ sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.4"
+sdks:
+ dart: ">=3.2.0-0 <4.0.0"
diff --git a/novelforge-project/flutter/examples/flutter_view/pubspec.yaml b/novelforge-project/flutter/examples/flutter_view/pubspec.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..7cccec050e458da0a2c1235e973498c3d27e0539
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/pubspec.yaml
@@ -0,0 +1,22 @@
+name: flutter_view
+description: A new flutter project.
+
+environment:
+ sdk: '>=3.2.0-0 <4.0.0'
+
+dependencies:
+ flutter:
+ sdk: flutter
+
+ characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ material_color_utilities: 0.8.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ meta: 1.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vector_math: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+
+flutter:
+ uses-material-design: true
+ assets:
+ - assets/flutter-mark-square-64.png
+
+# PUBSPEC CHECKSUM: 4694
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/CMakeLists.txt b/novelforge-project/flutter/examples/flutter_view/windows/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0485fb94f23a800a32cc4b7652c9413cafa0a78d
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/CMakeLists.txt
@@ -0,0 +1,105 @@
+# Copyright 2014 The Flutter Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Project-level configuration.
+cmake_minimum_required(VERSION 3.14)
+project(flutter_view LANGUAGES CXX)
+
+# The name of the executable created for the application. Change this to change
+# the on-disk name of your application.
+set(BINARY_NAME "flutter_view")
+
+# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
+# versions of CMake.
+cmake_policy(VERSION 3.14...3.25)
+
+# Define build configuration option.
+get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
+if(IS_MULTICONFIG)
+ set(CMAKE_CONFIGURATION_TYPES "Debug;Profile;Release"
+ CACHE STRING "" FORCE)
+else()
+ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
+ set(CMAKE_BUILD_TYPE "Debug" CACHE
+ STRING "Flutter build mode" FORCE)
+ set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
+ "Debug" "Profile" "Release")
+ endif()
+endif()
+# Define settings for the Profile build mode.
+set(CMAKE_EXE_LINKER_FLAGS_PROFILE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}")
+set(CMAKE_SHARED_LINKER_FLAGS_PROFILE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE}")
+set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}")
+set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}")
+
+# Use Unicode for all projects.
+add_definitions(-DUNICODE -D_UNICODE)
+
+# Compilation settings that should be applied to most targets.
+#
+# Be cautious about adding new options here, as plugins use this function by
+# default. In most cases, you should add new options to specific targets instead
+# of modifying this function.
+function(APPLY_STANDARD_SETTINGS TARGET)
+ target_compile_features(${TARGET} PUBLIC cxx_std_17)
+ target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100")
+ target_compile_options(${TARGET} PRIVATE /EHsc)
+ target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0")
+ target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>")
+endfunction()
+
+# Flutter library and tool build rules.
+set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter")
+add_subdirectory(${FLUTTER_MANAGED_DIR})
+
+# Application build; see runner/CMakeLists.txt.
+add_subdirectory("runner")
+
+# Generated plugin build rules, which manage building the plugins and adding
+# them to the application.
+include(flutter/generated_plugins.cmake)
+
+
+# === Installation ===
+# Support files are copied into place next to the executable, so that it can
+# run in place. This is done instead of making a separate bundle (as on Linux)
+# so that building and running from within Visual Studio will work.
+set(BUILD_BUNDLE_DIR "$")
+# Make the "install" step default, as it's required to run.
+set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1)
+if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+ set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
+endif()
+
+set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data")
+set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}")
+
+install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}"
+ COMPONENT Runtime)
+
+install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
+ COMPONENT Runtime)
+
+install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+
+if(PLUGIN_BUNDLED_LIBRARIES)
+ install(FILES "${PLUGIN_BUNDLED_LIBRARIES}"
+ DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+endif()
+
+# Fully re-copy the assets directory on each build to avoid having stale files
+# from a previous install.
+set(FLUTTER_ASSET_DIR_NAME "flutter_assets")
+install(CODE "
+ file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\")
+ " COMPONENT Runtime)
+install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}"
+ DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime)
+
+# Install the AOT library on non-Debug builds only.
+install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
+ CONFIGURATIONS Profile;Release
+ COMPONENT Runtime)
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/flutter/CMakeLists.txt b/novelforge-project/flutter/examples/flutter_view/windows/flutter/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8f7abf1ebea9a6acf8801c930ba7fe241bebbee
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/flutter/CMakeLists.txt
@@ -0,0 +1,113 @@
+# Copyright 2014 The Flutter Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This file controls Flutter-level build steps. It should not be edited.
+cmake_minimum_required(VERSION 3.14)
+
+set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")
+
+# Configuration provided via flutter tool.
+include(${EPHEMERAL_DIR}/generated_config.cmake)
+
+# TODO: Move the rest of this into files in ephemeral. See
+# https://github.com/flutter/flutter/issues/57146.
+set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper")
+
+# Set fallback configurations for older versions of the flutter tool.
+if (NOT DEFINED FLUTTER_TARGET_PLATFORM)
+ set(FLUTTER_TARGET_PLATFORM "windows-x64")
+endif()
+
+# === Flutter Library ===
+set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll")
+
+# Published to parent scope for install step.
+set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE)
+set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE)
+set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE)
+set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE)
+
+list(APPEND FLUTTER_LIBRARY_HEADERS
+ "flutter_export.h"
+ "flutter_windows.h"
+ "flutter_messenger.h"
+ "flutter_plugin_registrar.h"
+ "flutter_texture_registrar.h"
+)
+list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/")
+add_library(flutter INTERFACE)
+target_include_directories(flutter INTERFACE
+ "${EPHEMERAL_DIR}"
+)
+target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib")
+add_dependencies(flutter flutter_assemble)
+
+# === Wrapper ===
+list(APPEND CPP_WRAPPER_SOURCES_CORE
+ "core_implementations.cc"
+ "standard_codec.cc"
+)
+list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/")
+list(APPEND CPP_WRAPPER_SOURCES_PLUGIN
+ "plugin_registrar.cc"
+)
+list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/")
+list(APPEND CPP_WRAPPER_SOURCES_APP
+ "flutter_engine.cc"
+ "flutter_view_controller.cc"
+)
+list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/")
+
+# Wrapper sources needed for a plugin.
+add_library(flutter_wrapper_plugin STATIC
+ ${CPP_WRAPPER_SOURCES_CORE}
+ ${CPP_WRAPPER_SOURCES_PLUGIN}
+)
+apply_standard_settings(flutter_wrapper_plugin)
+set_target_properties(flutter_wrapper_plugin PROPERTIES
+ POSITION_INDEPENDENT_CODE ON)
+set_target_properties(flutter_wrapper_plugin PROPERTIES
+ CXX_VISIBILITY_PRESET hidden)
+target_link_libraries(flutter_wrapper_plugin PUBLIC flutter)
+target_include_directories(flutter_wrapper_plugin PUBLIC
+ "${WRAPPER_ROOT}/include"
+)
+add_dependencies(flutter_wrapper_plugin flutter_assemble)
+
+# Wrapper sources needed for the runner.
+add_library(flutter_wrapper_app STATIC
+ ${CPP_WRAPPER_SOURCES_CORE}
+ ${CPP_WRAPPER_SOURCES_APP}
+)
+apply_standard_settings(flutter_wrapper_app)
+target_link_libraries(flutter_wrapper_app PUBLIC flutter)
+target_include_directories(flutter_wrapper_app PUBLIC
+ "${WRAPPER_ROOT}/include"
+)
+add_dependencies(flutter_wrapper_app flutter_assemble)
+
+# === Flutter tool backend ===
+# _phony_ is a non-existent file to force this command to run every time,
+# since currently there's no way to get a full input/output list from the
+# flutter tool.
+set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_")
+set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE)
+add_custom_command(
+ OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS}
+ ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN}
+ ${CPP_WRAPPER_SOURCES_APP}
+ ${PHONY_OUTPUT}
+ COMMAND ${CMAKE_COMMAND} -E env
+ ${FLUTTER_TOOL_ENVIRONMENT}
+ "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat"
+ ${FLUTTER_TARGET_PLATFORM} $
+ VERBATIM
+)
+add_custom_target(flutter_assemble DEPENDS
+ "${FLUTTER_LIBRARY}"
+ ${FLUTTER_LIBRARY_HEADERS}
+ ${CPP_WRAPPER_SOURCES_CORE}
+ ${CPP_WRAPPER_SOURCES_PLUGIN}
+ ${CPP_WRAPPER_SOURCES_APP}
+)
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/CMakeLists.txt b/novelforge-project/flutter/examples/flutter_view/windows/runner/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e851e112e09f327d5ff51fe4001fd4d4a414c5a0
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/CMakeLists.txt
@@ -0,0 +1,43 @@
+# Copyright 2014 The Flutter Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+cmake_minimum_required(VERSION 3.14)
+project(runner LANGUAGES CXX)
+
+# Define the application target. To change its name, change BINARY_NAME in the
+# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer
+# work.
+#
+# Any new source files that you add to the application should be added here.
+add_executable(${BINARY_NAME} WIN32
+ "flutter_window.cpp"
+ "main.cpp"
+ "utils.cpp"
+ "win32_window.cpp"
+ "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
+ "Runner.rc"
+ "runner.exe.manifest"
+)
+
+# Apply the standard set of build settings. This can be removed for applications
+# that need different build settings.
+apply_standard_settings(${BINARY_NAME})
+
+# Add preprocessor definitions for the build version.
+target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"")
+target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}")
+target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}")
+target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}")
+target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}")
+
+# Disable Windows macros that collide with C++ standard library functions.
+target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX")
+
+# Add dependency libraries and include directories. Add any application-specific
+# dependencies here.
+target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app)
+target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")
+
+# Run the Flutter tool portions of the build. This must not be removed.
+add_dependencies(${BINARY_NAME} flutter_assemble)
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/Runner.rc b/novelforge-project/flutter/examples/flutter_view/windows/runner/Runner.rc
new file mode 100644
index 0000000000000000000000000000000000000000..8f54589f4ea30c58e1c0af7945544d828fbd2d8f
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/Runner.rc
@@ -0,0 +1,121 @@
+// Microsoft Visual C++ generated resource script.
+//
+#pragma code_page(65001)
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#include "winres.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (United States) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "resource.h\0"
+END
+
+2 TEXTINCLUDE
+BEGIN
+ "#include ""winres.h""\r\n"
+ "\0"
+END
+
+3 TEXTINCLUDE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+// IDI_APP_ICON ICON "resources\\app_icon.ico"
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD)
+#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD
+#else
+#define VERSION_AS_NUMBER 1,0,0,0
+#endif
+
+#if defined(FLUTTER_VERSION)
+#define VERSION_AS_STRING FLUTTER_VERSION
+#else
+#define VERSION_AS_STRING "1.0.0"
+#endif
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION VERSION_AS_NUMBER
+ PRODUCTVERSION VERSION_AS_NUMBER
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+#ifdef _DEBUG
+ FILEFLAGS VS_FF_DEBUG
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_APP
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904e4"
+ BEGIN
+ VALUE "CompanyName", "io.flutter.examples" "\0"
+ VALUE "FileDescription", "flutter_view" "\0"
+ VALUE "FileVersion", VERSION_AS_STRING "\0"
+ VALUE "InternalName", "flutter_view" "\0"
+ VALUE "LegalCopyright", "Copyright (C) 2022 io.flutter.examples. All rights reserved." "\0"
+ VALUE "OriginalFilename", "flutter_view.exe" "\0"
+ VALUE "ProductName", "flutter_view" "\0"
+ VALUE "ProductVersion", VERSION_AS_STRING "\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1252
+ END
+END
+
+#endif // English (United States) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/flutter_window.cpp b/novelforge-project/flutter/examples/flutter_view/windows/runner/flutter_window.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..252aa267868b66dcc0805718bf85d561f027feb6
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/flutter_window.cpp
@@ -0,0 +1,75 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "flutter_window.h"
+
+#include
+
+#include "flutter/generated_plugin_registrant.h"
+
+FlutterWindow::FlutterWindow(const flutter::DartProject& project)
+ : project_(project) {}
+
+FlutterWindow::~FlutterWindow() {}
+
+bool FlutterWindow::OnCreate() {
+ if (!Win32Window::OnCreate()) {
+ return false;
+ }
+
+ RECT frame = GetClientArea();
+
+ // The size here must match the window dimensions to avoid unnecessary surface
+ // creation / destruction in the startup path.
+ flutter_controller_ = std::make_unique(
+ frame.right - frame.left, frame.bottom - frame.top, project_);
+ // Ensure that basic setup of the controller was successful.
+ if (!flutter_controller_->engine() || !flutter_controller_->view()) {
+ return false;
+ }
+ RegisterPlugins(flutter_controller_->engine());
+ SetChildContent(flutter_controller_->view()->GetNativeWindow());
+
+ flutter_controller_->engine()->SetNextFrameCallback([&]() {
+ this->Show();
+ });
+
+ // Flutter can complete the first frame before the "show window" callback is
+ // registered. The following call ensures a frame is pending to ensure the
+ // window is shown. It is a no-op if the first frame hasn't completed yet.
+ flutter_controller_->ForceRedraw();
+
+ return true;
+}
+
+void FlutterWindow::OnDestroy() {
+ if (flutter_controller_) {
+ flutter_controller_ = nullptr;
+ }
+
+ Win32Window::OnDestroy();
+}
+
+LRESULT
+FlutterWindow::MessageHandler(HWND hwnd, UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept {
+ // Give Flutter, including plugins, an opportunity to handle window messages.
+ if (flutter_controller_) {
+ std::optional result =
+ flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam,
+ lparam);
+ if (result) {
+ return *result;
+ }
+ }
+
+ switch (message) {
+ case WM_FONTCHANGE:
+ flutter_controller_->engine()->ReloadSystemFonts();
+ break;
+ }
+
+ return Win32Window::MessageHandler(hwnd, message, wparam, lparam);
+}
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/flutter_window.h b/novelforge-project/flutter/examples/flutter_view/windows/runner/flutter_window.h
new file mode 100644
index 0000000000000000000000000000000000000000..bbc5836c018a235235e8094ab411d98e1c5443fa
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/flutter_window.h
@@ -0,0 +1,37 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef RUNNER_FLUTTER_WINDOW_H_
+#define RUNNER_FLUTTER_WINDOW_H_
+
+#include
+#include
+
+#include
+
+#include "win32_window.h"
+
+// A window that does nothing but host a Flutter view.
+class FlutterWindow : public Win32Window {
+ public:
+ // Creates a new FlutterWindow hosting a Flutter view running |project|.
+ explicit FlutterWindow(const flutter::DartProject& project);
+ virtual ~FlutterWindow();
+
+ protected:
+ // Win32Window:
+ bool OnCreate() override;
+ void OnDestroy() override;
+ LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam,
+ LPARAM const lparam) noexcept override;
+
+ private:
+ // The project to run.
+ flutter::DartProject project_;
+
+ // The Flutter instance hosted by this window.
+ std::unique_ptr flutter_controller_;
+};
+
+#endif // RUNNER_FLUTTER_WINDOW_H_
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/main.cpp b/novelforge-project/flutter/examples/flutter_view/windows/runner/main.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..6e195d383840ce523fcff2266795d542028fa2e7
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/main.cpp
@@ -0,0 +1,47 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include
+#include
+#include
+
+#include "flutter_window.h"
+#include "utils.h"
+
+int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
+ _In_ wchar_t *command_line, _In_ int show_command) {
+ // Attach to console when present (e.g., 'flutter run') or create a
+ // new console when running with a debugger.
+ if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) {
+ CreateAndAttachConsole();
+ }
+
+ // Initialize COM, so that it is available for use in the library and/or
+ // plugins.
+ ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
+
+ flutter::DartProject project(L"data");
+
+ std::vector command_line_arguments =
+ GetCommandLineArguments();
+
+ project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
+
+ FlutterWindow window(project);
+ Win32Window::Point origin(10, 10);
+ Win32Window::Size size(1280, 720);
+ if (!window.Create(L"flutter_view", origin, size)) {
+ return EXIT_FAILURE;
+ }
+ window.SetQuitOnClose(true);
+
+ ::MSG msg;
+ while (::GetMessage(&msg, nullptr, 0, 0)) {
+ ::TranslateMessage(&msg);
+ ::DispatchMessage(&msg);
+ }
+
+ ::CoUninitialize();
+ return EXIT_SUCCESS;
+}
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/resource.h b/novelforge-project/flutter/examples/flutter_view/windows/runner/resource.h
new file mode 100644
index 0000000000000000000000000000000000000000..c245ff19cb5805345a3d3265122298cb01b9d71f
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/resource.h
@@ -0,0 +1,20 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by Runner.rc
+//
+#define IDI_APP_ICON 101
+
+// Next default values for new objects
+//
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NEXT_RESOURCE_VALUE 102
+#define _APS_NEXT_COMMAND_VALUE 40001
+#define _APS_NEXT_CONTROL_VALUE 1001
+#define _APS_NEXT_SYMED_VALUE 101
+#endif
+#endif
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/runner.exe.manifest b/novelforge-project/flutter/examples/flutter_view/windows/runner/runner.exe.manifest
new file mode 100644
index 0000000000000000000000000000000000000000..a42ea7687cb67e55af955dc8874a072e087ce3ed
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/runner.exe.manifest
@@ -0,0 +1,20 @@
+
+
+
+
+ PerMonitorV2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/utils.cpp b/novelforge-project/flutter/examples/flutter_view/windows/runner/utils.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..b849ce2c32702dc4b1f35161e794e7dcc5a81ef8
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/utils.cpp
@@ -0,0 +1,68 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "utils.h"
+
+#include
+#include
+#include
+#include
+
+#include
+
+void CreateAndAttachConsole() {
+ if (::AllocConsole()) {
+ FILE *unused;
+ if (freopen_s(&unused, "CONOUT$", "w", stdout)) {
+ _dup2(_fileno(stdout), 1);
+ }
+ if (freopen_s(&unused, "CONOUT$", "w", stderr)) {
+ _dup2(_fileno(stdout), 2);
+ }
+ std::ios::sync_with_stdio();
+ FlutterDesktopResyncOutputStreams();
+ }
+}
+
+std::vector GetCommandLineArguments() {
+ // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use.
+ int argc;
+ wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc);
+ if (argv == nullptr) {
+ return std::vector();
+ }
+
+ std::vector command_line_arguments;
+
+ // Skip the first argument as it's the binary name.
+ for (int i = 1; i < argc; i++) {
+ command_line_arguments.push_back(Utf8FromUtf16(argv[i]));
+ }
+
+ ::LocalFree(argv);
+
+ return command_line_arguments;
+}
+
+std::string Utf8FromUtf16(const wchar_t* utf16_string) {
+ if (utf16_string == nullptr) {
+ return std::string();
+ }
+ int target_length = ::WideCharToMultiByte(
+ CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
+ -1, nullptr, 0, nullptr, nullptr)
+ -1; // remove the trailing null character
+ std::string utf8_string;
+ if (target_length <= 0 || target_length > utf8_string.max_size()) {
+ return utf8_string;
+ }
+ utf8_string.resize(target_length);
+ int converted_length = ::WideCharToMultiByte(
+ CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
+ -1, utf8_string.data(), target_length, nullptr, nullptr);
+ if (converted_length == 0) {
+ return std::string();
+ }
+ return utf8_string;
+}
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/utils.h b/novelforge-project/flutter/examples/flutter_view/windows/runner/utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..54414c989ba716f78f3640e5407dd8ac74284aef
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/utils.h
@@ -0,0 +1,23 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef RUNNER_UTILS_H_
+#define RUNNER_UTILS_H_
+
+#include
+#include
+
+// Creates a console for the process, and redirects stdout and stderr to
+// it for both the runner and the Flutter library.
+void CreateAndAttachConsole();
+
+// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string
+// encoded in UTF-8. Returns an empty std::string on failure.
+std::string Utf8FromUtf16(const wchar_t* utf16_string);
+
+// Gets the command line arguments passed in as a std::vector,
+// encoded in UTF-8. Returns an empty std::vector on failure.
+std::vector GetCommandLineArguments();
+
+#endif // RUNNER_UTILS_H_
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/win32_window.cpp b/novelforge-project/flutter/examples/flutter_view/windows/runner/win32_window.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..6ea62936747bca5e3df314827c738047381b266e
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/win32_window.cpp
@@ -0,0 +1,253 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "win32_window.h"
+
+#include
+
+#include "resource.h"
+
+namespace {
+
+constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW";
+
+// The number of Win32Window objects that currently exist.
+static int g_active_window_count = 0;
+
+using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd);
+
+// Scale helper to convert logical scaler values to physical using passed in
+// scale factor
+int Scale(int source, double scale_factor) {
+ return static_cast(source * scale_factor);
+}
+
+// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module.
+// This API is only needed for PerMonitor V1 awareness mode.
+void EnableFullDpiSupportIfAvailable(HWND hwnd) {
+ HMODULE user32_module = LoadLibraryA("User32.dll");
+ if (!user32_module) {
+ return;
+ }
+ auto enable_non_client_dpi_scaling =
+ reinterpret_cast(
+ GetProcAddress(user32_module, "EnableNonClientDpiScaling"));
+ if (enable_non_client_dpi_scaling != nullptr) {
+ enable_non_client_dpi_scaling(hwnd);
+ }
+ FreeLibrary(user32_module);
+}
+
+} // namespace
+
+// Manages the Win32Window's window class registration.
+class WindowClassRegistrar {
+ public:
+ ~WindowClassRegistrar() = default;
+
+ // Returns the singleton registrar instance.
+ static WindowClassRegistrar* GetInstance() {
+ if (!instance_) {
+ instance_ = new WindowClassRegistrar();
+ }
+ return instance_;
+ }
+
+ // Returns the name of the window class, registering the class if it hasn't
+ // previously been registered.
+ const wchar_t* GetWindowClass();
+
+ // Unregisters the window class. Should only be called if there are no
+ // instances of the window.
+ void UnregisterWindowClass();
+
+ private:
+ WindowClassRegistrar() = default;
+
+ static WindowClassRegistrar* instance_;
+
+ bool class_registered_ = false;
+};
+
+WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr;
+
+const wchar_t* WindowClassRegistrar::GetWindowClass() {
+ if (!class_registered_) {
+ WNDCLASS window_class{};
+ window_class.hCursor = LoadCursor(nullptr, IDC_ARROW);
+ window_class.lpszClassName = kWindowClassName;
+ window_class.style = CS_HREDRAW | CS_VREDRAW;
+ window_class.cbClsExtra = 0;
+ window_class.cbWndExtra = 0;
+ window_class.hInstance = GetModuleHandle(nullptr);
+ window_class.hIcon =
+ LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON));
+ window_class.hbrBackground = 0;
+ window_class.lpszMenuName = nullptr;
+ window_class.lpfnWndProc = Win32Window::WndProc;
+ RegisterClass(&window_class);
+ class_registered_ = true;
+ }
+ return kWindowClassName;
+}
+
+void WindowClassRegistrar::UnregisterWindowClass() {
+ UnregisterClass(kWindowClassName, nullptr);
+ class_registered_ = false;
+}
+
+Win32Window::Win32Window() {
+ ++g_active_window_count;
+}
+
+Win32Window::~Win32Window() {
+ --g_active_window_count;
+ Destroy();
+}
+
+bool Win32Window::Create(const std::wstring& title,
+ const Point& origin,
+ const Size& size) {
+ Destroy();
+
+ const wchar_t* window_class =
+ WindowClassRegistrar::GetInstance()->GetWindowClass();
+
+ const POINT target_point = {static_cast(origin.x),
+ static_cast(origin.y)};
+ HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST);
+ UINT dpi = FlutterDesktopGetDpiForMonitor(monitor);
+ double scale_factor = dpi / 96.0;
+
+ HWND window = CreateWindow(
+ window_class, title.c_str(), WS_OVERLAPPEDWINDOW,
+ Scale(origin.x, scale_factor), Scale(origin.y, scale_factor),
+ Scale(size.width, scale_factor), Scale(size.height, scale_factor),
+ nullptr, nullptr, GetModuleHandle(nullptr), this);
+
+ if (!window) {
+ return false;
+ }
+
+ return OnCreate();
+}
+
+bool Win32Window::Show() {
+ return ShowWindow(window_handle_, SW_SHOWNORMAL);
+}
+
+// static
+LRESULT CALLBACK Win32Window::WndProc(HWND const window,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept {
+ if (message == WM_NCCREATE) {
+ auto window_struct = reinterpret_cast(lparam);
+ SetWindowLongPtr(window, GWLP_USERDATA,
+ reinterpret_cast(window_struct->lpCreateParams));
+
+ auto that = static_cast(window_struct->lpCreateParams);
+ EnableFullDpiSupportIfAvailable(window);
+ that->window_handle_ = window;
+ } else if (Win32Window* that = GetThisFromHandle(window)) {
+ return that->MessageHandler(window, message, wparam, lparam);
+ }
+
+ return DefWindowProc(window, message, wparam, lparam);
+}
+
+LRESULT
+Win32Window::MessageHandler(HWND hwnd,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept {
+ switch (message) {
+ case WM_DESTROY:
+ window_handle_ = nullptr;
+ Destroy();
+ if (quit_on_close_) {
+ PostQuitMessage(0);
+ }
+ return 0;
+
+ case WM_DPICHANGED: {
+ auto newRectSize = reinterpret_cast(lparam);
+ LONG newWidth = newRectSize->right - newRectSize->left;
+ LONG newHeight = newRectSize->bottom - newRectSize->top;
+
+ SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth,
+ newHeight, SWP_NOZORDER | SWP_NOACTIVATE);
+
+ return 0;
+ }
+ case WM_SIZE: {
+ RECT rect = GetClientArea();
+ if (child_content_ != nullptr) {
+ // Size and position the child window.
+ MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left,
+ rect.bottom - rect.top, TRUE);
+ }
+ return 0;
+ }
+
+ case WM_ACTIVATE:
+ if (child_content_ != nullptr) {
+ SetFocus(child_content_);
+ }
+ return 0;
+ }
+
+ return DefWindowProc(window_handle_, message, wparam, lparam);
+}
+
+void Win32Window::Destroy() {
+ OnDestroy();
+
+ if (window_handle_) {
+ DestroyWindow(window_handle_);
+ window_handle_ = nullptr;
+ }
+ if (g_active_window_count == 0) {
+ WindowClassRegistrar::GetInstance()->UnregisterWindowClass();
+ }
+}
+
+Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept {
+ return reinterpret_cast(
+ GetWindowLongPtr(window, GWLP_USERDATA));
+}
+
+void Win32Window::SetChildContent(HWND content) {
+ child_content_ = content;
+ SetParent(content, window_handle_);
+ RECT frame = GetClientArea();
+
+ MoveWindow(content, frame.left, frame.top, frame.right - frame.left,
+ frame.bottom - frame.top, true);
+
+ SetFocus(child_content_);
+}
+
+RECT Win32Window::GetClientArea() {
+ RECT frame;
+ GetClientRect(window_handle_, &frame);
+ return frame;
+}
+
+HWND Win32Window::GetHandle() {
+ return window_handle_;
+}
+
+void Win32Window::SetQuitOnClose(bool quit_on_close) {
+ quit_on_close_ = quit_on_close;
+}
+
+bool Win32Window::OnCreate() {
+ // No-op; provided for subclasses.
+ return true;
+}
+
+void Win32Window::OnDestroy() {
+ // No-op; provided for subclasses.
+}
diff --git a/novelforge-project/flutter/examples/flutter_view/windows/runner/win32_window.h b/novelforge-project/flutter/examples/flutter_view/windows/runner/win32_window.h
new file mode 100644
index 0000000000000000000000000000000000000000..758b4d6bdd51fae1f4bb9deb567f3a8c9685caf9
--- /dev/null
+++ b/novelforge-project/flutter/examples/flutter_view/windows/runner/win32_window.h
@@ -0,0 +1,103 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef RUNNER_WIN32_WINDOW_H_
+#define RUNNER_WIN32_WINDOW_H_
+
+#include
+
+#include
+#include
+#include
+
+// A class abstraction for a high DPI-aware Win32 Window. Intended to be
+// inherited from by classes that wish to specialize with custom
+// rendering and input handling
+class Win32Window {
+ public:
+ struct Point {
+ unsigned int x;
+ unsigned int y;
+ Point(unsigned int x, unsigned int y) : x(x), y(y) {}
+ };
+
+ struct Size {
+ unsigned int width;
+ unsigned int height;
+ Size(unsigned int width, unsigned int height)
+ : width(width), height(height) {}
+ };
+
+ Win32Window();
+ virtual ~Win32Window();
+
+ // Creates a win32 window with |title| that is positioned and sized using
+ // |origin| and |size|. New windows are created on the default monitor. Window
+ // sizes are specified to the OS in physical pixels, hence to ensure a
+ // consistent size this function will scale the inputted width and height as
+ // as appropriate for the default monitor. The window is invisible until
+ // |Show| is called. Returns true if the window was created successfully.
+ bool Create(const std::wstring& title, const Point& origin, const Size& size);
+
+ // Show the current window. Returns true if the window was successfully shown.
+ bool Show();
+
+ // Release OS resources associated with window.
+ void Destroy();
+
+ // Inserts |content| into the window tree.
+ void SetChildContent(HWND content);
+
+ // Returns the backing Window handle to enable clients to set icon and other
+ // window properties. Returns nullptr if the window has been destroyed.
+ HWND GetHandle();
+
+ // If true, closing this window will quit the application.
+ void SetQuitOnClose(bool quit_on_close);
+
+ // Return a RECT representing the bounds of the current client area.
+ RECT GetClientArea();
+
+ protected:
+ // Processes and route salient window messages for mouse handling,
+ // size change and DPI. Delegates handling of these to member overloads that
+ // inheriting classes can handle.
+ virtual LRESULT MessageHandler(HWND window,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept;
+
+ // Called when CreateAndShow is called, allowing subclass window-related
+ // setup. Subclasses should return false if setup fails.
+ virtual bool OnCreate();
+
+ // Called when Destroy is called.
+ virtual void OnDestroy();
+
+ private:
+ friend class WindowClassRegistrar;
+
+ // OS callback called by message pump. Handles the WM_NCCREATE message which
+ // is passed when the non-client area is being created and enables automatic
+ // non-client DPI scaling so that the non-client area automatically
+ // responds to changes in DPI. All other messages are handled by
+ // MessageHandler.
+ static LRESULT CALLBACK WndProc(HWND const window,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept;
+
+ // Retrieves a class instance pointer for |window|
+ static Win32Window* GetThisFromHandle(HWND const window) noexcept;
+
+ bool quit_on_close_ = false;
+
+ // window handle for top level window.
+ HWND window_handle_ = nullptr;
+
+ // window handle for hosted content.
+ HWND child_content_ = nullptr;
+};
+
+#endif // RUNNER_WIN32_WINDOW_H_
diff --git a/novelforge-project/flutter/examples/hello_world/README.md b/novelforge-project/flutter/examples/hello_world/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..0a9132c3761313fbc2080a6b4567e678927a21d5
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/README.md
@@ -0,0 +1,8 @@
+## To run the Hello World demo:
+```
+flutter run
+```
+## To run the Hello World demo showing Arabic:
+```
+flutter run lib/arabic.dart
+```
diff --git a/novelforge-project/flutter/examples/hello_world/android.iml b/novelforge-project/flutter/examples/hello_world/android.iml
new file mode 100644
index 0000000000000000000000000000000000000000..79f6223dbf740f805ef97f2b382f592944c1b899
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/android.iml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/android/app/build.gradle b/novelforge-project/flutter/examples/hello_world/android/app/build.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..67db8d3fbe0e981edf84a3525de642eed1409a00
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/android/app/build.gradle
@@ -0,0 +1,56 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+plugins {
+ id "com.android.application"
+ 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 "io.flutter.examples.hello_world"
+ compileSdk flutter.compileSdkVersion
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+
+ defaultConfig {
+ applicationId "io.flutter.examples.hello_world"
+ minSdkVersion flutter.minSdkVersion
+ targetSdkVersion flutter.targetSdkVersion
+ versionCode flutterVersionCode.toInteger()
+ versionName flutterVersionName
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig signingConfigs.debug
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
diff --git a/novelforge-project/flutter/examples/hello_world/android/app/build.gradle.kts b/novelforge-project/flutter/examples/hello_world/android/app/build.gradle.kts
new file mode 100644
index 0000000000000000000000000000000000000000..175e23095a74a0c621321352595f471669dcc9a0
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/android/app/build.gradle.kts
@@ -0,0 +1,38 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+plugins {
+ id("com.android.application")
+ id("dev.flutter.flutter-gradle-plugin")
+}
+
+android {
+ namespace = "io.flutter.examples.hello_world"
+ compileSdk = flutter.compileSdkVersion
+
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+ }
+
+ defaultConfig {
+ applicationId = "io.flutter.examples.hello_world"
+ minSdk = flutter.minSdkVersion
+ targetSdk = flutter.targetSdkVersion
+ versionCode = flutter.versionCode
+ versionName = flutter.versionName
+ }
+
+ buildTypes {
+ named("release") {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig = signingConfigs.getByName("debug")
+ }
+ }
+}
+
+flutter {
+ source = "../.."
+}
diff --git a/novelforge-project/flutter/examples/hello_world/android/app/src/main/AndroidManifest.xml b/novelforge-project/flutter/examples/hello_world/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000000000000000000000000000000000000..2b5da75800b971d5a987c0fa719b010b0e26a349
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..db77bb4b7b0906d62b1847e87f15cdcacf6a4f29
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..17987b79bb8a35cc66c3c1fd44f5a5526c1b78be
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..09d4391482be68e9e4a07fab769b5de337d16eb1
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..d5f1c8d34e7a88e3f88bea192c3a370d44689c3c
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..4d6372eebdb28e45604e46eeda8dd24651419bc0
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/android/gradle/wrapper/gradle-wrapper.properties b/novelforge-project/flutter/examples/hello_world/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000000000000000000000000000000000000..ec915a81eb454eecf81a2f25441611dcbdd17968
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
diff --git a/novelforge-project/flutter/examples/hello_world/hello_world.iml b/novelforge-project/flutter/examples/hello_world/hello_world.iml
new file mode 100644
index 0000000000000000000000000000000000000000..71ade4c2bb561947180eea687a9e885b50433c75
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/hello_world.iml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Flutter/AppFrameworkInfo.plist b/novelforge-project/flutter/examples/hello_world/ios/Flutter/AppFrameworkInfo.plist
new file mode 100644
index 0000000000000000000000000000000000000000..8c6e56146e23c84aa60ea78f20bc3a7b3d8ef259
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Flutter/AppFrameworkInfo.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ App
+ CFBundleIdentifier
+ io.flutter.flutter.app
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ App
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ MinimumOSVersion
+ 12.0
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Flutter/Debug.xcconfig b/novelforge-project/flutter/examples/hello_world/ios/Flutter/Debug.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..592ceee85b89bd111b779db6116b130509ab6d4b
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Flutter/Debug.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Flutter/Release.xcconfig b/novelforge-project/flutter/examples/hello_world/ios/Flutter/Release.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..592ceee85b89bd111b779db6116b130509ab6d4b
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Flutter/Release.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/project.pbxproj b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 0000000000000000000000000000000000000000..1d7e9347cca14cbf3990bdee92c3ea0c390b9acf
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,474 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 54;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 74E793081ED576700031D088 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 74E793071ED576700031D088 /* GeneratedPluginRegistrant.m */; };
+ 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
+ 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
+ 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 */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 74E793061ED576700031D088 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
+ 74E793071ED576700031D088 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
+ 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; 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; };
+ 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
+ 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 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 = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ CF3B75C9A7D2FA2A4C99F110 /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 74E793061ED576700031D088 /* GeneratedPluginRegistrant.h */,
+ 74E793071ED576700031D088 /* GeneratedPluginRegistrant.m */,
+ 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
+ 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 97C146F11CF9000F007C117D /* Supporting Files */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+ 97C146F11CF9000F007C117D /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146F21CF9000F007C117D /* main.m */,
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+ CF3B75C9A7D2FA2A4C99F110 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 97C146E61CF9000F007C117D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 1510;
+ ORGANIZATIONNAME = "The Flutter Authors";
+ TargetAttributes = {
+ 97C146ED1CF9000F007C117D = {
+ CreatedOnToolsVersion = 7.3.1;
+ };
+ };
+ };
+ buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 97C146E51CF9000F007C117D;
+ productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 97C146ED1CF9000F007C117D /* Runner */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 97C146EC1CF9000F007C117D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
+ );
+ name = "Thin Binary";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
+ };
+ 9740EEB61CF901F6004384FC /* Run Script */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Run Script";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
+ 97C146F31CF9000F007C117D /* main.m in Sources */,
+ 74E793081ED576700031D088 /* GeneratedPluginRegistrant.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C146FB1CF9000F007C117D /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C147001CF9000F007C117D /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 2436755321828D23008C705F /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_BITCODE = NO;
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Profile;
+ };
+ 2436755421828D23008C705F /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = "io.flutter.examples.hello-world";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_BITCODE = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_BITCODE = NO;
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = "io.flutter.examples.hello-world";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = "io.flutter.examples.hello-world";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147031CF9000F007C117D /* Debug */,
+ 97C147041CF9000F007C117D /* Release */,
+ 2436755321828D23008C705F /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147061CF9000F007C117D /* Debug */,
+ 97C147071CF9000F007C117D /* Release */,
+ 2436755421828D23008C705F /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 97C146E61CF9000F007C117D /* Project object */;
+}
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000000000000000000000000000000000000..919434a6254f0e9651f402737811be6634a03e9c
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000000000000000000000000000000000000..18d981003d68d0546c4804ac2ff47dd97c6e7921
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 0000000000000000000000000000000000000000..e67b2808af02f9ec16f2d72b7961aefdf844afa5
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner.xcworkspace/contents.xcworkspacedata b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000000000000000000000000000000000000..1d526a16ed0f1cd0c2409d848bf489b93fefa3b2
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000000000000000000000000000000000000..18d981003d68d0546c4804ac2ff47dd97c6e7921
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/AppDelegate.h b/novelforge-project/flutter/examples/hello_world/ios/Runner/AppDelegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..a78a945cd2ef8f832f90683ed5b29c97fcd8600b
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner/AppDelegate.h
@@ -0,0 +1,10 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import
+#import
+
+@interface AppDelegate : FlutterAppDelegate
+
+@end
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/AppDelegate.m b/novelforge-project/flutter/examples/hello_world/ios/Runner/AppDelegate.m
new file mode 100644
index 0000000000000000000000000000000000000000..d41031a4633bb2d011925162cb0038f3986be28a
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner/AppDelegate.m
@@ -0,0 +1,15 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "AppDelegate.h"
+#import "GeneratedPluginRegistrant.h"
+
+@implementation AppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+ [GeneratedPluginRegistrant registerWithRegistry:self];
+ // Override point for customization after application launch.
+ return [super application:application didFinishLaunchingWithOptions:launchOptions];
+}
+@end
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000000000000000000000000000000000000..d22f10b2ab630561596b343e0bd6eb2a0fe90df4
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,116 @@
+{
+ "images" : [
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-83.5x83.5@2x.png",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file mode 100644
index 0000000000000000000000000000000000000000..28c6bf03016f6c994b70f38d1b7346e5831b531f
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..2ccbfd967d9697cd4b83225558af2911e9571c9b
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file mode 100644
index 0000000000000000000000000000000000000000..f091b6b0bca859a3f474b03065bef75ba58a9e4c
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file mode 100644
index 0000000000000000000000000000000000000000..4cde12118dda48d71e01fcb589a74d069c5d7cb5
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..d0ef06e7edb86cdfe0d15b4b0d98334a86163658
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file mode 100644
index 0000000000000000000000000000000000000000..dcdc2306c28505ebc0b6c3a359c4d252bf626b9f
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file mode 100644
index 0000000000000000000000000000000000000000..2ccbfd967d9697cd4b83225558af2911e9571c9b
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..c8f9ed8f5cee1c98386d13b17e89f719e83555b2
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file mode 100644
index 0000000000000000000000000000000000000000..a6d6b8609df07bf62e5100a53a01510388bd2b22
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..a6d6b8609df07bf62e5100a53a01510388bd2b22
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file mode 100644
index 0000000000000000000000000000000000000000..75b2d164a5a98e212cca15ea7bf2ab5de5108680
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file mode 100644
index 0000000000000000000000000000000000000000..c4df70d39da7941ef3f6dcb7f06a192d8dcb308d
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..6a84f41e14e27f4b11f16f9ee39279ac98f8d5ac
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..d0e1f58536026aebc4f1f70e481f6993c9ff088d
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Base.lproj/LaunchScreen.storyboard b/novelforge-project/flutter/examples/hello_world/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 0000000000000000000000000000000000000000..ebf48f6039745ccdb57ad6237321024eb6cdf9af
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Base.lproj/Main.storyboard b/novelforge-project/flutter/examples/hello_world/ios/Runner/Base.lproj/Main.storyboard
new file mode 100644
index 0000000000000000000000000000000000000000..f3c28516fb38e64d88cfcf5fb1791175df078f2f
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/Info.plist b/novelforge-project/flutter/examples/hello_world/ios/Runner/Info.plist
new file mode 100644
index 0000000000000000000000000000000000000000..b33e2ca14b2f5cb0f7c889cf072efef3169f5dc4
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner/Info.plist
@@ -0,0 +1,47 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ hello_world
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1
+ LSRequiresIPhoneOS
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIMainStoryboardFile
+ Main
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ CADisableMinimumFrameDurationOnPhone
+
+ UIApplicationSupportsIndirectInputEvents
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/ios/Runner/main.m b/novelforge-project/flutter/examples/hello_world/ios/Runner/main.m
new file mode 100644
index 0000000000000000000000000000000000000000..9cd53369d8288bc6aec533297fa946be46df4dcb
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/ios/Runner/main.m
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import
+#import
+#import "AppDelegate.h"
+
+int main(int argc, char * argv[]) {
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
+ }
+}
diff --git a/novelforge-project/flutter/examples/hello_world/linux/flutter/CMakeLists.txt b/novelforge-project/flutter/examples/hello_world/linux/flutter/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5bd01648a96d50136b2a97c8bb9aa5b711f6c39
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/linux/flutter/CMakeLists.txt
@@ -0,0 +1,88 @@
+# This file controls Flutter-level build steps. It should not be edited.
+cmake_minimum_required(VERSION 3.10)
+
+set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")
+
+# Configuration provided via flutter tool.
+include(${EPHEMERAL_DIR}/generated_config.cmake)
+
+# TODO: Move the rest of this into files in ephemeral. See
+# https://github.com/flutter/flutter/issues/57146.
+
+# Serves the same purpose as list(TRANSFORM ... PREPEND ...),
+# which isn't available in 3.10.
+function(list_prepend LIST_NAME PREFIX)
+ set(NEW_LIST "")
+ foreach(element ${${LIST_NAME}})
+ list(APPEND NEW_LIST "${PREFIX}${element}")
+ endforeach(element)
+ set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE)
+endfunction()
+
+# === Flutter Library ===
+# System-level dependencies.
+find_package(PkgConfig REQUIRED)
+pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
+pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0)
+pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0)
+
+set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so")
+
+# Published to parent scope for install step.
+set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE)
+set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE)
+set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE)
+set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE)
+
+list(APPEND FLUTTER_LIBRARY_HEADERS
+ "fl_basic_message_channel.h"
+ "fl_binary_codec.h"
+ "fl_binary_messenger.h"
+ "fl_dart_project.h"
+ "fl_engine.h"
+ "fl_json_message_codec.h"
+ "fl_json_method_codec.h"
+ "fl_message_codec.h"
+ "fl_method_call.h"
+ "fl_method_channel.h"
+ "fl_method_codec.h"
+ "fl_method_response.h"
+ "fl_plugin_registrar.h"
+ "fl_plugin_registry.h"
+ "fl_standard_message_codec.h"
+ "fl_standard_method_codec.h"
+ "fl_string_codec.h"
+ "fl_value.h"
+ "fl_view.h"
+ "flutter_linux.h"
+)
+list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/")
+add_library(flutter INTERFACE)
+target_include_directories(flutter INTERFACE
+ "${EPHEMERAL_DIR}"
+)
+target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}")
+target_link_libraries(flutter INTERFACE
+ PkgConfig::GTK
+ PkgConfig::GLIB
+ PkgConfig::GIO
+)
+add_dependencies(flutter flutter_assemble)
+
+# === Flutter tool backend ===
+# _phony_ is a non-existent file to force this command to run every time,
+# since currently there's no way to get a full input/output list from the
+# flutter tool.
+add_custom_command(
+ OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS}
+ ${CMAKE_CURRENT_BINARY_DIR}/_phony_
+ COMMAND ${CMAKE_COMMAND} -E env
+ ${FLUTTER_TOOL_ENVIRONMENT}
+ "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh"
+ ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE}
+ VERBATIM
+)
+add_custom_target(flutter_assemble DEPENDS
+ "${FLUTTER_LIBRARY}"
+ ${FLUTTER_LIBRARY_HEADERS}
+)
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Flutter/Flutter-Debug.xcconfig b/novelforge-project/flutter/examples/hello_world/macos/Flutter/Flutter-Debug.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..c2efd0b608ba84712fb3e1d01122468a50c7fba1
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Flutter/Flutter-Debug.xcconfig
@@ -0,0 +1 @@
+#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Flutter/Flutter-Release.xcconfig b/novelforge-project/flutter/examples/hello_world/macos/Flutter/Flutter-Release.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..c2efd0b608ba84712fb3e1d01122468a50c7fba1
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Flutter/Flutter-Release.xcconfig
@@ -0,0 +1 @@
+#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner.xcodeproj/project.pbxproj b/novelforge-project/flutter/examples/hello_world/macos/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 0000000000000000000000000000000000000000..1764d05be7d2024fed35818c44e9a4cfb8fa73e5
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,573 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 54;
+ objects = {
+
+/* Begin PBXAggregateTarget section */
+ 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */;
+ buildPhases = (
+ 33CC111E2044C6BF0003C045 /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = "Flutter Assemble";
+ productName = FLX;
+ };
+/* End PBXAggregateTarget section */
+
+/* Begin PBXBuildFile section */
+ 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; };
+ 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; };
+ 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
+ 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
+ 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 33CC10E52044A3C60003C045 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 33CC111A2044C6BA0003C045;
+ remoteInfo = FLX;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 33CC110E2044A8840003C045 /* Bundle Framework */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Bundle Framework";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; };
+ 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; };
+ 33CC10ED2044A3C60003C045 /* hello_world.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "hello_world.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; };
+ 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; };
+ 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; };
+ 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; };
+ 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; };
+ 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; };
+ 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; };
+ 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; };
+ 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; };
+ 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 33CC10EA2044A3C60003C045 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 33BA886A226E78AF003329D5 /* Configs */ = {
+ isa = PBXGroup;
+ children = (
+ 33E5194F232828860026EE4D /* AppInfo.xcconfig */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 333000ED22D3DE5D00554162 /* Warnings.xcconfig */,
+ );
+ path = Configs;
+ sourceTree = "";
+ };
+ 33CC10E42044A3C60003C045 = {
+ isa = PBXGroup;
+ children = (
+ 33FAB671232836740065AC1E /* Runner */,
+ 33CEB47122A05771004F2AC0 /* Flutter */,
+ 33CC10EE2044A3C60003C045 /* Products */,
+ D73912EC22F37F3D000D13A0 /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ 33CC10EE2044A3C60003C045 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 33CC10ED2044A3C60003C045 /* hello_world.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 33CC11242044D66E0003C045 /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 33CC10F22044A3C60003C045 /* Assets.xcassets */,
+ 33CC10F42044A3C60003C045 /* MainMenu.xib */,
+ 33CC10F72044A3C60003C045 /* Info.plist */,
+ );
+ name = Resources;
+ path = ..;
+ sourceTree = "";
+ };
+ 33CEB47122A05771004F2AC0 /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */,
+ 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */,
+ 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */,
+ 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */,
+ );
+ path = Flutter;
+ sourceTree = "";
+ };
+ 33FAB671232836740065AC1E /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 33CC10F02044A3C60003C045 /* AppDelegate.swift */,
+ 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */,
+ 33E51913231747F40026EE4D /* DebugProfile.entitlements */,
+ 33E51914231749380026EE4D /* Release.entitlements */,
+ 33CC11242044D66E0003C045 /* Resources */,
+ 33BA886A226E78AF003329D5 /* Configs */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+ D73912EC22F37F3D000D13A0 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 33CC10EC2044A3C60003C045 /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 33CC10E92044A3C60003C045 /* Sources */,
+ 33CC10EA2044A3C60003C045 /* Frameworks */,
+ 33CC10EB2044A3C60003C045 /* Resources */,
+ 33CC110E2044A8840003C045 /* Bundle Framework */,
+ 3399D490228B24CF009A79C7 /* ShellScript */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 33CC11202044C79F0003C045 /* PBXTargetDependency */,
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 33CC10ED2044A3C60003C045 /* hello_world.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 33CC10E52044A3C60003C045 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastSwiftUpdateCheck = 0920;
+ LastUpgradeCheck = 1510;
+ ORGANIZATIONNAME = "";
+ TargetAttributes = {
+ 33CC10EC2044A3C60003C045 = {
+ CreatedOnToolsVersion = 9.2;
+ LastSwiftMigration = 1100;
+ ProvisioningStyle = Automatic;
+ SystemCapabilities = {
+ com.apple.Sandbox = {
+ enabled = 1;
+ };
+ };
+ };
+ 33CC111A2044C6BA0003C045 = {
+ CreatedOnToolsVersion = 9.2;
+ ProvisioningStyle = Manual;
+ };
+ };
+ };
+ buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 33CC10E42044A3C60003C045;
+ productRefGroup = 33CC10EE2044A3C60003C045 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 33CC10EC2044A3C60003C045 /* Runner */,
+ 33CC111A2044C6BA0003C045 /* Flutter Assemble */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 33CC10EB2044A3C60003C045 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */,
+ 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3399D490228B24CF009A79C7 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n";
+ };
+ 33CC111E2044C6BF0003C045 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ Flutter/ephemeral/FlutterInputs.xcfilelist,
+ );
+ inputPaths = (
+ Flutter/ephemeral/tripwire,
+ );
+ outputFileListPaths = (
+ Flutter/ephemeral/FlutterOutputs.xcfilelist,
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 33CC10E92044A3C60003C045 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */,
+ 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */,
+ 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 33CC11202044C79F0003C045 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */;
+ targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 33CC10F42044A3C60003C045 /* MainMenu.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 33CC10F52044A3C60003C045 /* Base */,
+ );
+ name = MainMenu.xib;
+ path = Runner;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 338D0CE9231458BD00FA5F75 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CODE_SIGN_IDENTITY = "-";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.14;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = macosx;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ };
+ name = Profile;
+ };
+ 338D0CEA231458BD00FA5F75 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Profile;
+ };
+ 338D0CEB231458BD00FA5F75 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Manual;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Profile;
+ };
+ 33CC10F92044A3C60003C045 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CODE_SIGN_IDENTITY = "-";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.14;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ };
+ name = Debug;
+ };
+ 33CC10FA2044A3C60003C045 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CODE_SIGN_IDENTITY = "-";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.14;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = macosx;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ };
+ name = Release;
+ };
+ 33CC10FC2044A3C60003C045 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Debug;
+ };
+ 33CC10FD2044A3C60003C045 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Release;
+ };
+ 33CC111C2044C6BA0003C045 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Manual;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 33CC111D2044C6BA0003C045 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 33CC10F92044A3C60003C045 /* Debug */,
+ 33CC10FA2044A3C60003C045 /* Release */,
+ 338D0CE9231458BD00FA5F75 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 33CC10FC2044A3C60003C045 /* Debug */,
+ 33CC10FD2044A3C60003C045 /* Release */,
+ 338D0CEA231458BD00FA5F75 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 33CC111C2044C6BA0003C045 /* Debug */,
+ 33CC111D2044C6BA0003C045 /* Release */,
+ 338D0CEB231458BD00FA5F75 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 33CC10E52044A3C60003C045 /* Project object */;
+}
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/novelforge-project/flutter/examples/hello_world/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000000000000000000000000000000000000..18d981003d68d0546c4804ac2ff47dd97c6e7921
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/novelforge-project/flutter/examples/hello_world/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 0000000000000000000000000000000000000000..aa9d3f928d03d24415ec2fcb39aa571d10a5fab2
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner.xcworkspace/contents.xcworkspacedata b/novelforge-project/flutter/examples/hello_world/macos/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000000000000000000000000000000000000..1d526a16ed0f1cd0c2409d848bf489b93fefa3b2
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/novelforge-project/flutter/examples/hello_world/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000000000000000000000000000000000000..18d981003d68d0546c4804ac2ff47dd97c6e7921
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/AppDelegate.swift b/novelforge-project/flutter/examples/hello_world/macos/Runner/AppDelegate.swift
new file mode 100644
index 0000000000000000000000000000000000000000..d080d41951d3506a861ceadcf4354bbbb609a562
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import Cocoa
+import FlutterMacOS
+
+@NSApplicationMain
+class AppDelegate: FlutterAppDelegate {
+ override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ return true
+ }
+}
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000000000000000000000000000000000000..a2ec33f19f110ebff51a23342d7bc29ec9a1aaa6
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,68 @@
+{
+ "images" : [
+ {
+ "size" : "16x16",
+ "idiom" : "mac",
+ "filename" : "app_icon_16.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "16x16",
+ "idiom" : "mac",
+ "filename" : "app_icon_32.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "32x32",
+ "idiom" : "mac",
+ "filename" : "app_icon_32.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "32x32",
+ "idiom" : "mac",
+ "filename" : "app_icon_64.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "128x128",
+ "idiom" : "mac",
+ "filename" : "app_icon_128.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "128x128",
+ "idiom" : "mac",
+ "filename" : "app_icon_256.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "256x256",
+ "idiom" : "mac",
+ "filename" : "app_icon_256.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "256x256",
+ "idiom" : "mac",
+ "filename" : "app_icon_512.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "512x512",
+ "idiom" : "mac",
+ "filename" : "app_icon_512.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "512x512",
+ "idiom" : "mac",
+ "filename" : "app_icon_1024.png",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
new file mode 100644
index 0000000000000000000000000000000000000000..3c4935a7ca84f0976aca34b7f2895d65fb94d1ea
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
new file mode 100644
index 0000000000000000000000000000000000000000..ed4cc16421680a50164ba74381b4b35ceaa0ccfc
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
new file mode 100644
index 0000000000000000000000000000000000000000..483be61389733f2e5331c08db8ca245268610ccb
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
new file mode 100644
index 0000000000000000000000000000000000000000..bcbf36df2f2aaaa0a63c7dabc94e600184229d0d
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
new file mode 100644
index 0000000000000000000000000000000000000000..9c0a652864769b250ed58097f2f6270b393f751f
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
new file mode 100644
index 0000000000000000000000000000000000000000..e71a726136a47ed24125c7efc79d68a4a01961b4
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
new file mode 100644
index 0000000000000000000000000000000000000000..8a31fe2dd3f91d79cab6e0390356bb3c1a355f94
Binary files /dev/null and b/novelforge-project/flutter/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png differ
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Base.lproj/MainMenu.xib b/novelforge-project/flutter/examples/hello_world/macos/Runner/Base.lproj/MainMenu.xib
new file mode 100644
index 0000000000000000000000000000000000000000..537341abf994b3b9c5fd0a42fa6ffe6b5ed01aae
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/Base.lproj/MainMenu.xib
@@ -0,0 +1,339 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/AppInfo.xcconfig b/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/AppInfo.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..22942fcb6ca50fcb159fae08a97a95ed1270dbc6
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/AppInfo.xcconfig
@@ -0,0 +1,14 @@
+// Application-level settings for the Runner target.
+//
+// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
+// future. If not, the values below would default to using the project name when this becomes a
+// 'flutter create' template.
+
+// The application's name. By default this is also the title of the Flutter window.
+PRODUCT_NAME = hello_world
+
+// The application's bundle identifier
+PRODUCT_BUNDLE_IDENTIFIER = io.flutter.examples.helloWorld
+
+// The copyright displayed in application information
+PRODUCT_COPYRIGHT = Copyright © 2021 io.flutter.examples. All rights reserved.
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/Debug.xcconfig b/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/Debug.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..36b0fd9464f45b33f482e64bea579787e142affa
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/Debug.xcconfig
@@ -0,0 +1,2 @@
+#include "../../Flutter/Flutter-Debug.xcconfig"
+#include "Warnings.xcconfig"
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/Release.xcconfig b/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/Release.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..dff4f49561c816f70eaea557d889d31cf63447ac
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/Release.xcconfig
@@ -0,0 +1,2 @@
+#include "../../Flutter/Flutter-Release.xcconfig"
+#include "Warnings.xcconfig"
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/Warnings.xcconfig b/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/Warnings.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..42bcbf4780b187e80025b7917058bcb882012aa1
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/Configs/Warnings.xcconfig
@@ -0,0 +1,13 @@
+WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings
+GCC_WARN_UNDECLARED_SELECTOR = YES
+CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
+CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
+CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
+CLANG_WARN_PRAGMA_PACK = YES
+CLANG_WARN_STRICT_PROTOTYPES = YES
+CLANG_WARN_COMMA = YES
+GCC_WARN_STRICT_SELECTOR_MATCH = YES
+CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
+CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
+GCC_WARN_SHADOW = YES
+CLANG_WARN_UNREACHABLE_CODE = YES
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/DebugProfile.entitlements b/novelforge-project/flutter/examples/hello_world/macos/Runner/DebugProfile.entitlements
new file mode 100644
index 0000000000000000000000000000000000000000..4eac53fe0f732d083dcfc39d225bff6950c13601
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/DebugProfile.entitlements
@@ -0,0 +1,10 @@
+
+
+
+
+ com.apple.security.cs.allow-jit
+
+ com.apple.security.network.server
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Info.plist b/novelforge-project/flutter/examples/hello_world/macos/Runner/Info.plist
new file mode 100644
index 0000000000000000000000000000000000000000..4789daa6a443eefa7f3f729164a18351e06e9800
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/Info.plist
@@ -0,0 +1,32 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIconFile
+
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ LSMinimumSystemVersion
+ $(MACOSX_DEPLOYMENT_TARGET)
+ NSHumanReadableCopyright
+ $(PRODUCT_COPYRIGHT)
+ NSMainNibFile
+ MainMenu
+ NSPrincipalClass
+ NSApplication
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/MainFlutterWindow.swift b/novelforge-project/flutter/examples/hello_world/macos/Runner/MainFlutterWindow.swift
new file mode 100644
index 0000000000000000000000000000000000000000..a6a6b9af83072d4765fb492f05ebc05671f9924e
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/MainFlutterWindow.swift
@@ -0,0 +1,19 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import Cocoa
+import FlutterMacOS
+
+class MainFlutterWindow: NSWindow {
+ override func awakeFromNib() {
+ let flutterViewController = FlutterViewController()
+ let windowFrame = self.frame
+ self.contentViewController = flutterViewController
+ self.setFrame(windowFrame, display: true)
+
+ RegisterGeneratedPlugins(registry: flutterViewController)
+
+ super.awakeFromNib()
+ }
+}
diff --git a/novelforge-project/flutter/examples/hello_world/macos/Runner/Release.entitlements b/novelforge-project/flutter/examples/hello_world/macos/Runner/Release.entitlements
new file mode 100644
index 0000000000000000000000000000000000000000..852fa1a4728ae4789e3bca55dd07caef3b41f2a5
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/macos/Runner/Release.entitlements
@@ -0,0 +1,8 @@
+
+
+
+
+ com.apple.security.app-sandbox
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/pubspec.lock b/novelforge-project/flutter/examples/hello_world/pubspec.lock
new file mode 100644
index 0000000000000000000000000000000000000000..ad1b0b9a0996e1d4cf90d2df5ba990b0823723d3
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/pubspec.lock
@@ -0,0 +1,494 @@
+# Generated by pub
+# See https://dart.dev/tools/pub/glossary#lockfile
+packages:
+ _fe_analyzer_shared:
+ dependency: "direct dev"
+ description:
+ name: _fe_analyzer_shared
+ sha256: "36a321c3d2cbe01cbcb3540a87b8843846e0206df3e691fa7b23e19e78de6d49"
+ url: "https://pub.dev"
+ source: hosted
+ version: "65.0.0"
+ analyzer:
+ dependency: "direct dev"
+ description:
+ name: analyzer
+ sha256: dfe03b90ec022450e22513b5e5ca1f01c0c01de9c3fba2f7fd233cb57a6b9a07
+ url: "https://pub.dev"
+ source: hosted
+ version: "6.3.0"
+ args:
+ dependency: "direct dev"
+ description:
+ name: args
+ sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.4.2"
+ async:
+ dependency: "direct dev"
+ description:
+ name: async
+ sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.11.0"
+ boolean_selector:
+ dependency: "direct dev"
+ description:
+ name: boolean_selector
+ sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.1"
+ characters:
+ dependency: "direct main"
+ description:
+ name: characters
+ sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.0"
+ clock:
+ dependency: "direct dev"
+ description:
+ name: clock
+ sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.1"
+ collection:
+ dependency: "direct main"
+ description:
+ name: collection
+ sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.18.0"
+ convert:
+ dependency: "direct dev"
+ description:
+ name: convert
+ sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.1.1"
+ coverage:
+ dependency: "direct dev"
+ description:
+ name: coverage
+ sha256: "8acabb8306b57a409bf4c83522065672ee13179297a6bb0cb9ead73948df7c76"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.7.2"
+ crypto:
+ dependency: "direct dev"
+ description:
+ name: crypto
+ sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.3"
+ fake_async:
+ dependency: "direct dev"
+ description:
+ name: fake_async
+ sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.1"
+ file:
+ dependency: "direct dev"
+ description:
+ name: file
+ sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "7.0.0"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_driver:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ frontend_server_client:
+ dependency: "direct dev"
+ description:
+ name: frontend_server_client
+ sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.2.0"
+ fuchsia_remote_debug_protocol:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ glob:
+ dependency: "direct dev"
+ description:
+ name: glob
+ sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.2"
+ http_multi_server:
+ dependency: "direct dev"
+ description:
+ name: http_multi_server
+ sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.2.1"
+ http_parser:
+ dependency: "direct dev"
+ description:
+ name: http_parser
+ sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "4.0.2"
+ io:
+ dependency: "direct dev"
+ description:
+ name: io
+ sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.4"
+ js:
+ dependency: "direct dev"
+ description:
+ name: js
+ sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.6.7"
+ leak_tracker:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker
+ sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
+ url: "https://pub.dev"
+ source: hosted
+ version: "10.0.0"
+ leak_tracker_flutter_testing:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker_flutter_testing
+ sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ leak_tracker_testing:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker_testing
+ sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ logging:
+ dependency: "direct dev"
+ description:
+ name: logging
+ sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.0"
+ matcher:
+ dependency: "direct dev"
+ description:
+ name: matcher
+ sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.12.16+1"
+ material_color_utilities:
+ dependency: "direct main"
+ description:
+ name: material_color_utilities
+ sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.8.0"
+ meta:
+ dependency: "direct main"
+ description:
+ name: meta
+ sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.11.0"
+ mime:
+ dependency: "direct dev"
+ description:
+ name: mime
+ sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.4"
+ node_preamble:
+ dependency: "direct dev"
+ description:
+ name: node_preamble
+ sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.2"
+ package_config:
+ dependency: "direct dev"
+ description:
+ name: package_config
+ sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.0"
+ path:
+ dependency: "direct dev"
+ description:
+ name: path
+ sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.9.0"
+ platform:
+ dependency: transitive
+ description:
+ name: platform
+ sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.1.4"
+ pool:
+ dependency: "direct dev"
+ description:
+ name: pool
+ sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.5.1"
+ process:
+ dependency: transitive
+ description:
+ name: process
+ sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32"
+ url: "https://pub.dev"
+ source: hosted
+ version: "5.0.2"
+ pub_semver:
+ dependency: "direct dev"
+ description:
+ name: pub_semver
+ sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.4"
+ shelf:
+ dependency: "direct dev"
+ description:
+ name: shelf
+ sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.4.1"
+ shelf_packages_handler:
+ dependency: "direct dev"
+ description:
+ name: shelf_packages_handler
+ sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.2"
+ shelf_static:
+ dependency: "direct dev"
+ description:
+ name: shelf_static
+ sha256: a41d3f53c4adf0f57480578c1d61d90342cd617de7fc8077b1304643c2d85c1e
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.2"
+ shelf_web_socket:
+ dependency: "direct dev"
+ description:
+ name: shelf_web_socket
+ sha256: "9ca081be41c60190ebcb4766b2486a7d50261db7bd0f5d9615f2d653637a84c1"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.4"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ source_map_stack_trace:
+ dependency: "direct dev"
+ description:
+ name: source_map_stack_trace
+ sha256: "84cf769ad83aa6bb61e0aa5a18e53aea683395f196a6f39c4c881fb90ed4f7ae"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.1"
+ source_maps:
+ dependency: "direct dev"
+ description:
+ name: source_maps
+ sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.10.12"
+ source_span:
+ dependency: "direct dev"
+ description:
+ name: source_span
+ sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.10.0"
+ stack_trace:
+ dependency: "direct dev"
+ description:
+ name: stack_trace
+ sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.11.1"
+ stream_channel:
+ dependency: "direct dev"
+ description:
+ name: stream_channel
+ sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.2"
+ string_scanner:
+ dependency: "direct dev"
+ description:
+ name: string_scanner
+ sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.0"
+ sync_http:
+ dependency: "direct dev"
+ description:
+ name: sync_http
+ sha256: "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.3.1"
+ term_glyph:
+ dependency: "direct dev"
+ description:
+ name: term_glyph
+ sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.1"
+ test:
+ dependency: "direct dev"
+ description:
+ name: test
+ sha256: a1f7595805820fcc05e5c52e3a231aedd0b72972cb333e8c738a8b1239448b6f
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.24.9"
+ test_api:
+ dependency: "direct dev"
+ description:
+ name: test_api
+ sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.6.1"
+ test_core:
+ dependency: "direct dev"
+ description:
+ name: test_core
+ sha256: a757b14fc47507060a162cc2530d9a4a2f92f5100a952c7443b5cad5ef5b106a
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.5.9"
+ typed_data:
+ dependency: "direct dev"
+ description:
+ name: typed_data
+ sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.2"
+ vector_math:
+ dependency: "direct main"
+ description:
+ name: vector_math
+ sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.4"
+ vm_service:
+ dependency: "direct dev"
+ description:
+ name: vm_service
+ sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
+ url: "https://pub.dev"
+ source: hosted
+ version: "13.0.0"
+ watcher:
+ dependency: "direct dev"
+ description:
+ name: watcher
+ sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.0"
+ web:
+ dependency: "direct dev"
+ description:
+ name: web
+ sha256: edc8a9573dd8c5a83a183dae1af2b6fd4131377404706ca4e5420474784906fa
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.4.0"
+ web_socket_channel:
+ dependency: "direct dev"
+ description:
+ name: web_socket_channel
+ sha256: "045ec2137c27bf1a32e6ffa0e734d532a6677bf9016a0d1a406c54e499ff945b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.4.1"
+ webdriver:
+ dependency: "direct dev"
+ description:
+ name: webdriver
+ sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.3"
+ webkit_inspection_protocol:
+ dependency: "direct dev"
+ description:
+ name: webkit_inspection_protocol
+ sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.1"
+ yaml:
+ dependency: "direct dev"
+ description:
+ name: yaml
+ sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.1.2"
+sdks:
+ dart: ">=3.2.0 <4.0.0"
diff --git a/novelforge-project/flutter/examples/hello_world/pubspec.yaml b/novelforge-project/flutter/examples/hello_world/pubspec.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..de6cfa22ab95c384ebdc83d232d84d697f6e0978
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/pubspec.yaml
@@ -0,0 +1,74 @@
+name: hello_world
+
+environment:
+ sdk: '>=3.2.0-0 <4.0.0'
+
+dependencies:
+ flutter:
+ sdk: flutter
+
+ characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ material_color_utilities: 0.8.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ meta: 1.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vector_math: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+
+dev_dependencies:
+ flutter_driver:
+ sdk: flutter
+ flutter_test:
+ sdk: flutter
+ test: 1.24.9
+
+ _fe_analyzer_shared: 65.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 6.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ args: 2.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ boolean_selector: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ clock: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ convert: 3.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ coverage: 1.7.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ crypto: 3.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ fake_async: 1.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ file: 7.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ frontend_server_client: 3.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ glob: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ http_multi_server: 3.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ http_parser: 4.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ io: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ js: 0.6.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker: 10.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker_flutter_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ logging: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.16+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ mime: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ node_preamble: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ package_config: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ path: 1.9.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ pool: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ pub_semver: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 1.4.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_packages_handler: 3.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_static: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_map_stack_trace: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_maps: 0.10.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_span: 1.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ string_scanner: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ sync_http: 0.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.5.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ typed_data: 1.3.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service: 13.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ watcher: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web: 0.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 2.4.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ webdriver: 3.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ webkit_inspection_protocol: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ yaml: 3.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+
+# PUBSPEC CHECKSUM: 6020
diff --git a/novelforge-project/flutter/examples/hello_world/windows/runner/Runner.rc b/novelforge-project/flutter/examples/hello_world/windows/runner/Runner.rc
new file mode 100644
index 0000000000000000000000000000000000000000..11fb1a27cce7da4b0e3c1119712688550c977584
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/windows/runner/Runner.rc
@@ -0,0 +1,121 @@
+// Microsoft Visual C++ generated resource script.
+//
+#pragma code_page(65001)
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#include "winres.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (United States) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "resource.h\0"
+END
+
+2 TEXTINCLUDE
+BEGIN
+ "#include ""winres.h""\r\n"
+ "\0"
+END
+
+3 TEXTINCLUDE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+// IDI_APP_ICON ICON "resources\\app_icon.ico"
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD)
+#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD
+#else
+#define VERSION_AS_NUMBER 1,0,0,0
+#endif
+
+#if defined(FLUTTER_VERSION)
+#define VERSION_AS_STRING FLUTTER_VERSION
+#else
+#define VERSION_AS_STRING "1.0.0"
+#endif
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION VERSION_AS_NUMBER
+ PRODUCTVERSION VERSION_AS_NUMBER
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+#ifdef _DEBUG
+ FILEFLAGS VS_FF_DEBUG
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_APP
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904e4"
+ BEGIN
+ VALUE "CompanyName", "io.flutter.examples" "\0"
+ VALUE "FileDescription", "hello_world" "\0"
+ VALUE "FileVersion", VERSION_AS_STRING "\0"
+ VALUE "InternalName", "hello_world" "\0"
+ VALUE "LegalCopyright", "Copyright (C) 2022 io.flutter.examples. All rights reserved." "\0"
+ VALUE "OriginalFilename", "hello_world.exe" "\0"
+ VALUE "ProductName", "hello_world" "\0"
+ VALUE "ProductVersion", VERSION_AS_STRING "\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1252
+ END
+END
+
+#endif // English (United States) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
diff --git a/novelforge-project/flutter/examples/hello_world/windows/runner/flutter_window.cpp b/novelforge-project/flutter/examples/hello_world/windows/runner/flutter_window.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..252aa267868b66dcc0805718bf85d561f027feb6
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/windows/runner/flutter_window.cpp
@@ -0,0 +1,75 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "flutter_window.h"
+
+#include
+
+#include "flutter/generated_plugin_registrant.h"
+
+FlutterWindow::FlutterWindow(const flutter::DartProject& project)
+ : project_(project) {}
+
+FlutterWindow::~FlutterWindow() {}
+
+bool FlutterWindow::OnCreate() {
+ if (!Win32Window::OnCreate()) {
+ return false;
+ }
+
+ RECT frame = GetClientArea();
+
+ // The size here must match the window dimensions to avoid unnecessary surface
+ // creation / destruction in the startup path.
+ flutter_controller_ = std::make_unique(
+ frame.right - frame.left, frame.bottom - frame.top, project_);
+ // Ensure that basic setup of the controller was successful.
+ if (!flutter_controller_->engine() || !flutter_controller_->view()) {
+ return false;
+ }
+ RegisterPlugins(flutter_controller_->engine());
+ SetChildContent(flutter_controller_->view()->GetNativeWindow());
+
+ flutter_controller_->engine()->SetNextFrameCallback([&]() {
+ this->Show();
+ });
+
+ // Flutter can complete the first frame before the "show window" callback is
+ // registered. The following call ensures a frame is pending to ensure the
+ // window is shown. It is a no-op if the first frame hasn't completed yet.
+ flutter_controller_->ForceRedraw();
+
+ return true;
+}
+
+void FlutterWindow::OnDestroy() {
+ if (flutter_controller_) {
+ flutter_controller_ = nullptr;
+ }
+
+ Win32Window::OnDestroy();
+}
+
+LRESULT
+FlutterWindow::MessageHandler(HWND hwnd, UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept {
+ // Give Flutter, including plugins, an opportunity to handle window messages.
+ if (flutter_controller_) {
+ std::optional result =
+ flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam,
+ lparam);
+ if (result) {
+ return *result;
+ }
+ }
+
+ switch (message) {
+ case WM_FONTCHANGE:
+ flutter_controller_->engine()->ReloadSystemFonts();
+ break;
+ }
+
+ return Win32Window::MessageHandler(hwnd, message, wparam, lparam);
+}
diff --git a/novelforge-project/flutter/examples/hello_world/windows/runner/flutter_window.h b/novelforge-project/flutter/examples/hello_world/windows/runner/flutter_window.h
new file mode 100644
index 0000000000000000000000000000000000000000..bbc5836c018a235235e8094ab411d98e1c5443fa
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/windows/runner/flutter_window.h
@@ -0,0 +1,37 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef RUNNER_FLUTTER_WINDOW_H_
+#define RUNNER_FLUTTER_WINDOW_H_
+
+#include
+#include
+
+#include
+
+#include "win32_window.h"
+
+// A window that does nothing but host a Flutter view.
+class FlutterWindow : public Win32Window {
+ public:
+ // Creates a new FlutterWindow hosting a Flutter view running |project|.
+ explicit FlutterWindow(const flutter::DartProject& project);
+ virtual ~FlutterWindow();
+
+ protected:
+ // Win32Window:
+ bool OnCreate() override;
+ void OnDestroy() override;
+ LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam,
+ LPARAM const lparam) noexcept override;
+
+ private:
+ // The project to run.
+ flutter::DartProject project_;
+
+ // The Flutter instance hosted by this window.
+ std::unique_ptr flutter_controller_;
+};
+
+#endif // RUNNER_FLUTTER_WINDOW_H_
diff --git a/novelforge-project/flutter/examples/hello_world/windows/runner/main.cpp b/novelforge-project/flutter/examples/hello_world/windows/runner/main.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..b99d1968aeefd493ba2e6cc6a55f8bd3941bf322
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/windows/runner/main.cpp
@@ -0,0 +1,47 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include
+#include
+#include
+
+#include "flutter_window.h"
+#include "utils.h"
+
+int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
+ _In_ wchar_t *command_line, _In_ int show_command) {
+ // Attach to console when present (e.g., 'flutter run') or create a
+ // new console when running with a debugger.
+ if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) {
+ CreateAndAttachConsole();
+ }
+
+ // Initialize COM, so that it is available for use in the library and/or
+ // plugins.
+ ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
+
+ flutter::DartProject project(L"data");
+
+ std::vector command_line_arguments =
+ GetCommandLineArguments();
+
+ project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
+
+ FlutterWindow window(project);
+ Win32Window::Point origin(10, 10);
+ Win32Window::Size size(1280, 720);
+ if (!window.Create(L"hello_world", origin, size)) {
+ return EXIT_FAILURE;
+ }
+ window.SetQuitOnClose(true);
+
+ ::MSG msg;
+ while (::GetMessage(&msg, nullptr, 0, 0)) {
+ ::TranslateMessage(&msg);
+ ::DispatchMessage(&msg);
+ }
+
+ ::CoUninitialize();
+ return EXIT_SUCCESS;
+}
diff --git a/novelforge-project/flutter/examples/hello_world/windows/runner/resource.h b/novelforge-project/flutter/examples/hello_world/windows/runner/resource.h
new file mode 100644
index 0000000000000000000000000000000000000000..c245ff19cb5805345a3d3265122298cb01b9d71f
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/windows/runner/resource.h
@@ -0,0 +1,20 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by Runner.rc
+//
+#define IDI_APP_ICON 101
+
+// Next default values for new objects
+//
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NEXT_RESOURCE_VALUE 102
+#define _APS_NEXT_COMMAND_VALUE 40001
+#define _APS_NEXT_CONTROL_VALUE 1001
+#define _APS_NEXT_SYMED_VALUE 101
+#endif
+#endif
diff --git a/novelforge-project/flutter/examples/hello_world/windows/runner/runner.exe.manifest b/novelforge-project/flutter/examples/hello_world/windows/runner/runner.exe.manifest
new file mode 100644
index 0000000000000000000000000000000000000000..a42ea7687cb67e55af955dc8874a072e087ce3ed
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/windows/runner/runner.exe.manifest
@@ -0,0 +1,20 @@
+
+
+
+
+ PerMonitorV2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/hello_world/windows/runner/utils.cpp b/novelforge-project/flutter/examples/hello_world/windows/runner/utils.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..b849ce2c32702dc4b1f35161e794e7dcc5a81ef8
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/windows/runner/utils.cpp
@@ -0,0 +1,68 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "utils.h"
+
+#include
+#include
+#include
+#include
+
+#include
+
+void CreateAndAttachConsole() {
+ if (::AllocConsole()) {
+ FILE *unused;
+ if (freopen_s(&unused, "CONOUT$", "w", stdout)) {
+ _dup2(_fileno(stdout), 1);
+ }
+ if (freopen_s(&unused, "CONOUT$", "w", stderr)) {
+ _dup2(_fileno(stdout), 2);
+ }
+ std::ios::sync_with_stdio();
+ FlutterDesktopResyncOutputStreams();
+ }
+}
+
+std::vector GetCommandLineArguments() {
+ // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use.
+ int argc;
+ wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc);
+ if (argv == nullptr) {
+ return std::vector();
+ }
+
+ std::vector command_line_arguments;
+
+ // Skip the first argument as it's the binary name.
+ for (int i = 1; i < argc; i++) {
+ command_line_arguments.push_back(Utf8FromUtf16(argv[i]));
+ }
+
+ ::LocalFree(argv);
+
+ return command_line_arguments;
+}
+
+std::string Utf8FromUtf16(const wchar_t* utf16_string) {
+ if (utf16_string == nullptr) {
+ return std::string();
+ }
+ int target_length = ::WideCharToMultiByte(
+ CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
+ -1, nullptr, 0, nullptr, nullptr)
+ -1; // remove the trailing null character
+ std::string utf8_string;
+ if (target_length <= 0 || target_length > utf8_string.max_size()) {
+ return utf8_string;
+ }
+ utf8_string.resize(target_length);
+ int converted_length = ::WideCharToMultiByte(
+ CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
+ -1, utf8_string.data(), target_length, nullptr, nullptr);
+ if (converted_length == 0) {
+ return std::string();
+ }
+ return utf8_string;
+}
diff --git a/novelforge-project/flutter/examples/hello_world/windows/runner/utils.h b/novelforge-project/flutter/examples/hello_world/windows/runner/utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..54414c989ba716f78f3640e5407dd8ac74284aef
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/windows/runner/utils.h
@@ -0,0 +1,23 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef RUNNER_UTILS_H_
+#define RUNNER_UTILS_H_
+
+#include
+#include
+
+// Creates a console for the process, and redirects stdout and stderr to
+// it for both the runner and the Flutter library.
+void CreateAndAttachConsole();
+
+// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string
+// encoded in UTF-8. Returns an empty std::string on failure.
+std::string Utf8FromUtf16(const wchar_t* utf16_string);
+
+// Gets the command line arguments passed in as a std::vector,
+// encoded in UTF-8. Returns an empty std::vector on failure.
+std::vector GetCommandLineArguments();
+
+#endif // RUNNER_UTILS_H_
diff --git a/novelforge-project/flutter/examples/hello_world/windows/runner/win32_window.cpp b/novelforge-project/flutter/examples/hello_world/windows/runner/win32_window.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..f76301b17fbb8eac080edb8054ef07f4a27becd6
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/windows/runner/win32_window.cpp
@@ -0,0 +1,292 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "win32_window.h"
+
+#include
+#include
+
+#include "resource.h"
+
+namespace {
+
+/// Window attribute that enables dark mode window decorations.
+///
+/// Redefined in case the developer's machine has a Windows SDK older than
+/// version 10.0.22000.0.
+/// See: https://docs.microsoft.com/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute
+#ifndef DWMWA_USE_IMMERSIVE_DARK_MODE
+#define DWMWA_USE_IMMERSIVE_DARK_MODE 20
+#endif
+
+constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW";
+
+/// Registry key for app theme preference.
+///
+/// A value of 0 indicates apps should use dark mode. A non-zero or missing
+/// value indicates apps should use light mode.
+constexpr const wchar_t kGetPreferredBrightnessRegKey[] =
+ L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize";
+constexpr const wchar_t kGetPreferredBrightnessRegValue[] = L"AppsUseLightTheme";
+
+// The number of Win32Window objects that currently exist.
+static int g_active_window_count = 0;
+
+using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd);
+
+// Scale helper to convert logical scaler values to physical using passed in
+// scale factor
+int Scale(int source, double scale_factor) {
+ return static_cast(source * scale_factor);
+}
+
+// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module.
+// This API is only needed for PerMonitor V1 awareness mode.
+void EnableFullDpiSupportIfAvailable(HWND hwnd) {
+ HMODULE user32_module = LoadLibraryA("User32.dll");
+ if (!user32_module) {
+ return;
+ }
+ auto enable_non_client_dpi_scaling =
+ reinterpret_cast(
+ GetProcAddress(user32_module, "EnableNonClientDpiScaling"));
+ if (enable_non_client_dpi_scaling != nullptr) {
+ enable_non_client_dpi_scaling(hwnd);
+ FreeLibrary(user32_module);
+ }
+}
+
+} // namespace
+
+// Manages the Win32Window's window class registration.
+class WindowClassRegistrar {
+ public:
+ ~WindowClassRegistrar() = default;
+
+ // Returns the singleton registrar instance.
+ static WindowClassRegistrar* GetInstance() {
+ if (!instance_) {
+ instance_ = new WindowClassRegistrar();
+ }
+ return instance_;
+ }
+
+ // Returns the name of the window class, registering the class if it hasn't
+ // previously been registered.
+ const wchar_t* GetWindowClass();
+
+ // Unregisters the window class. Should only be called if there are no
+ // instances of the window.
+ void UnregisterWindowClass();
+
+ private:
+ WindowClassRegistrar() = default;
+
+ static WindowClassRegistrar* instance_;
+
+ bool class_registered_ = false;
+};
+
+WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr;
+
+const wchar_t* WindowClassRegistrar::GetWindowClass() {
+ if (!class_registered_) {
+ WNDCLASS window_class{};
+ window_class.hCursor = LoadCursor(nullptr, IDC_ARROW);
+ window_class.lpszClassName = kWindowClassName;
+ window_class.style = CS_HREDRAW | CS_VREDRAW;
+ window_class.cbClsExtra = 0;
+ window_class.cbWndExtra = 0;
+ window_class.hInstance = GetModuleHandle(nullptr);
+ window_class.hIcon =
+ LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON));
+ window_class.hbrBackground = 0;
+ window_class.lpszMenuName = nullptr;
+ window_class.lpfnWndProc = Win32Window::WndProc;
+ RegisterClass(&window_class);
+ class_registered_ = true;
+ }
+ return kWindowClassName;
+}
+
+void WindowClassRegistrar::UnregisterWindowClass() {
+ UnregisterClass(kWindowClassName, nullptr);
+ class_registered_ = false;
+}
+
+Win32Window::Win32Window() {
+ ++g_active_window_count;
+}
+
+Win32Window::~Win32Window() {
+ --g_active_window_count;
+ Destroy();
+}
+
+bool Win32Window::Create(const std::wstring& title,
+ const Point& origin,
+ const Size& size) {
+ Destroy();
+
+ const wchar_t* window_class =
+ WindowClassRegistrar::GetInstance()->GetWindowClass();
+
+ const POINT target_point = {static_cast(origin.x),
+ static_cast(origin.y)};
+ HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST);
+ UINT dpi = FlutterDesktopGetDpiForMonitor(monitor);
+ double scale_factor = dpi / 96.0;
+
+ HWND window = CreateWindow(
+ window_class, title.c_str(), WS_OVERLAPPEDWINDOW,
+ Scale(origin.x, scale_factor), Scale(origin.y, scale_factor),
+ Scale(size.width, scale_factor), Scale(size.height, scale_factor),
+ nullptr, nullptr, GetModuleHandle(nullptr), this);
+
+ if (!window) {
+ return false;
+ }
+
+ UpdateTheme(window);
+
+ return OnCreate();
+}
+
+bool Win32Window::Show() {
+ return ShowWindow(window_handle_, SW_SHOWNORMAL);
+}
+
+// static
+LRESULT CALLBACK Win32Window::WndProc(HWND const window,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept {
+ if (message == WM_NCCREATE) {
+ auto window_struct = reinterpret_cast(lparam);
+ SetWindowLongPtr(window, GWLP_USERDATA,
+ reinterpret_cast(window_struct->lpCreateParams));
+
+ auto that = static_cast(window_struct->lpCreateParams);
+ EnableFullDpiSupportIfAvailable(window);
+ that->window_handle_ = window;
+ } else if (Win32Window* that = GetThisFromHandle(window)) {
+ return that->MessageHandler(window, message, wparam, lparam);
+ }
+
+ return DefWindowProc(window, message, wparam, lparam);
+}
+
+LRESULT
+Win32Window::MessageHandler(HWND hwnd,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept {
+ switch (message) {
+ case WM_DESTROY:
+ window_handle_ = nullptr;
+ Destroy();
+ if (quit_on_close_) {
+ PostQuitMessage(0);
+ }
+ return 0;
+
+ case WM_DPICHANGED: {
+ auto newRectSize = reinterpret_cast(lparam);
+ LONG newWidth = newRectSize->right - newRectSize->left;
+ LONG newHeight = newRectSize->bottom - newRectSize->top;
+
+ SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth,
+ newHeight, SWP_NOZORDER | SWP_NOACTIVATE);
+
+ return 0;
+ }
+ case WM_SIZE: {
+ RECT rect = GetClientArea();
+ if (child_content_ != nullptr) {
+ // Size and position the child window.
+ MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left,
+ rect.bottom - rect.top, TRUE);
+ }
+ return 0;
+ }
+
+ case WM_ACTIVATE:
+ if (child_content_ != nullptr) {
+ SetFocus(child_content_);
+ }
+ return 0;
+
+ case WM_DWMCOLORIZATIONCOLORCHANGED:
+ UpdateTheme(hwnd);
+ return 0;
+ }
+
+ return DefWindowProc(window_handle_, message, wparam, lparam);
+}
+
+void Win32Window::Destroy() {
+ OnDestroy();
+
+ if (window_handle_) {
+ DestroyWindow(window_handle_);
+ window_handle_ = nullptr;
+ }
+ if (g_active_window_count == 0) {
+ WindowClassRegistrar::GetInstance()->UnregisterWindowClass();
+ }
+}
+
+Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept {
+ return reinterpret_cast(
+ GetWindowLongPtr(window, GWLP_USERDATA));
+}
+
+void Win32Window::SetChildContent(HWND content) {
+ child_content_ = content;
+ SetParent(content, window_handle_);
+ RECT frame = GetClientArea();
+
+ MoveWindow(content, frame.left, frame.top, frame.right - frame.left,
+ frame.bottom - frame.top, true);
+
+ SetFocus(child_content_);
+}
+
+RECT Win32Window::GetClientArea() {
+ RECT frame;
+ GetClientRect(window_handle_, &frame);
+ return frame;
+}
+
+HWND Win32Window::GetHandle() {
+ return window_handle_;
+}
+
+void Win32Window::SetQuitOnClose(bool quit_on_close) {
+ quit_on_close_ = quit_on_close;
+}
+
+bool Win32Window::OnCreate() {
+ // No-op; provided for subclasses.
+ return true;
+}
+
+void Win32Window::OnDestroy() {
+ // No-op; provided for subclasses.
+}
+
+void Win32Window::UpdateTheme(HWND const window) {
+ DWORD light_mode;
+ DWORD light_mode_size = sizeof(light_mode);
+ LSTATUS result = RegGetValue(HKEY_CURRENT_USER, kGetPreferredBrightnessRegKey,
+ kGetPreferredBrightnessRegValue,
+ RRF_RT_REG_DWORD, nullptr, &light_mode,
+ &light_mode_size);
+
+ if (result == ERROR_SUCCESS) {
+ BOOL enable_dark_mode = light_mode == 0;
+ DwmSetWindowAttribute(window, DWMWA_USE_IMMERSIVE_DARK_MODE,
+ &enable_dark_mode, sizeof(enable_dark_mode));
+ }
+}
diff --git a/novelforge-project/flutter/examples/hello_world/windows/runner/win32_window.h b/novelforge-project/flutter/examples/hello_world/windows/runner/win32_window.h
new file mode 100644
index 0000000000000000000000000000000000000000..bb93e8879162ee652a0af7e428d938ad027ddcd7
--- /dev/null
+++ b/novelforge-project/flutter/examples/hello_world/windows/runner/win32_window.h
@@ -0,0 +1,106 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef RUNNER_WIN32_WINDOW_H_
+#define RUNNER_WIN32_WINDOW_H_
+
+#include
+
+#include
+#include
+#include
+
+// A class abstraction for a high DPI-aware Win32 Window. Intended to be
+// inherited from by classes that wish to specialize with custom
+// rendering and input handling
+class Win32Window {
+ public:
+ struct Point {
+ unsigned int x;
+ unsigned int y;
+ Point(unsigned int x, unsigned int y) : x(x), y(y) {}
+ };
+
+ struct Size {
+ unsigned int width;
+ unsigned int height;
+ Size(unsigned int width, unsigned int height)
+ : width(width), height(height) {}
+ };
+
+ Win32Window();
+ virtual ~Win32Window();
+
+ // Creates a win32 window with |title| that is positioned and sized using
+ // |origin| and |size|. New windows are created on the default monitor. Window
+ // sizes are specified to the OS in physical pixels, hence to ensure a
+ // consistent size this function will scale the inputted width and height as
+ // as appropriate for the default monitor. The window is invisible until
+ // |Show| is called. Returns true if the window was created successfully.
+ bool Create(const std::wstring& title, const Point& origin, const Size& size);
+
+ // Show the current window. Returns true if the window was successfully shown.
+ bool Show();
+
+ // Release OS resources associated with window.
+ void Destroy();
+
+ // Inserts |content| into the window tree.
+ void SetChildContent(HWND content);
+
+ // Returns the backing Window handle to enable clients to set icon and other
+ // window properties. Returns nullptr if the window has been destroyed.
+ HWND GetHandle();
+
+ // If true, closing this window will quit the application.
+ void SetQuitOnClose(bool quit_on_close);
+
+ // Return a RECT representing the bounds of the current client area.
+ RECT GetClientArea();
+
+ protected:
+ // Processes and route salient window messages for mouse handling,
+ // size change and DPI. Delegates handling of these to member overloads that
+ // inheriting classes can handle.
+ virtual LRESULT MessageHandler(HWND window,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept;
+
+ // Called when CreateAndShow is called, allowing subclass window-related
+ // setup. Subclasses should return false if setup fails.
+ virtual bool OnCreate();
+
+ // Called when Destroy is called.
+ virtual void OnDestroy();
+
+ private:
+ friend class WindowClassRegistrar;
+
+ // OS callback called by message pump. Handles the WM_NCCREATE message which
+ // is passed when the non-client area is being created and enables automatic
+ // non-client DPI scaling so that the non-client area automatically
+ // responds to changes in DPI. All other messages are handled by
+ // MessageHandler.
+ static LRESULT CALLBACK WndProc(HWND const window,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept;
+
+ // Retrieves a class instance pointer for |window|
+ static Win32Window* GetThisFromHandle(HWND const window) noexcept;
+
+ // Update the window frame's theme to match the system theme.
+ static void UpdateTheme(HWND const window);
+
+ bool quit_on_close_ = false;
+
+ // window handle for top level window.
+ HWND window_handle_ = nullptr;
+
+ // window handle for hosted content.
+ HWND child_content_ = nullptr;
+};
+
+#endif // RUNNER_WIN32_WINDOW_H_
diff --git a/novelforge-project/flutter/examples/image_list/README.md b/novelforge-project/flutter/examples/image_list/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..109f142e9ca480a25467a667ef5a8b56d0abdfc5
--- /dev/null
+++ b/novelforge-project/flutter/examples/image_list/README.md
@@ -0,0 +1,7 @@
+# Image List
+
+An example that sets up a local HTTP server for serving one
+image then creates a single flutter widget with five copies of requested
+image and prints how long the loading took.
+
+This is used in [$FH/flutter/devicelab/bin/tasks/image_list_reported_duration.dart] test.
diff --git a/novelforge-project/flutter/examples/image_list/pubspec.lock b/novelforge-project/flutter/examples/image_list/pubspec.lock
new file mode 100644
index 0000000000000000000000000000000000000000..00c431571a5c28834859140dafc317710af81d84
--- /dev/null
+++ b/novelforge-project/flutter/examples/image_list/pubspec.lock
@@ -0,0 +1,196 @@
+# Generated by pub
+# See https://dart.dev/tools/pub/glossary#lockfile
+packages:
+ async:
+ dependency: "direct dev"
+ description:
+ name: async
+ sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.11.0"
+ boolean_selector:
+ dependency: "direct dev"
+ description:
+ name: boolean_selector
+ sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.1"
+ characters:
+ dependency: "direct main"
+ description:
+ name: characters
+ sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.0"
+ clock:
+ dependency: "direct dev"
+ description:
+ name: clock
+ sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.1"
+ collection:
+ dependency: "direct main"
+ description:
+ name: collection
+ sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.18.0"
+ cupertino_icons:
+ dependency: "direct main"
+ description:
+ name: cupertino_icons
+ sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.6"
+ fake_async:
+ dependency: "direct dev"
+ description:
+ name: fake_async
+ sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.1"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ leak_tracker:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker
+ sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
+ url: "https://pub.dev"
+ source: hosted
+ version: "10.0.0"
+ leak_tracker_flutter_testing:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker_flutter_testing
+ sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ leak_tracker_testing:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker_testing
+ sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ matcher:
+ dependency: "direct dev"
+ description:
+ name: matcher
+ sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.12.16+1"
+ material_color_utilities:
+ dependency: "direct main"
+ description:
+ name: material_color_utilities
+ sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.8.0"
+ meta:
+ dependency: "direct main"
+ description:
+ name: meta
+ sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.11.0"
+ path:
+ dependency: "direct dev"
+ description:
+ name: path
+ sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.9.0"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ source_span:
+ dependency: "direct dev"
+ description:
+ name: source_span
+ sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.10.0"
+ stack_trace:
+ dependency: "direct dev"
+ description:
+ name: stack_trace
+ sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.11.1"
+ stream_channel:
+ dependency: "direct dev"
+ description:
+ name: stream_channel
+ sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.2"
+ string_scanner:
+ dependency: "direct dev"
+ description:
+ name: string_scanner
+ sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.0"
+ term_glyph:
+ dependency: "direct dev"
+ description:
+ name: term_glyph
+ sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.1"
+ test_api:
+ dependency: "direct dev"
+ description:
+ name: test_api
+ sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.6.1"
+ vector_math:
+ dependency: "direct main"
+ description:
+ name: vector_math
+ sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.4"
+ vm_service:
+ dependency: "direct dev"
+ description:
+ name: vm_service
+ sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
+ url: "https://pub.dev"
+ source: hosted
+ version: "13.0.0"
+sdks:
+ dart: ">=3.2.0-0 <4.0.0"
diff --git a/novelforge-project/flutter/examples/image_list/pubspec.yaml b/novelforge-project/flutter/examples/image_list/pubspec.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..8a6d11936ec168f6e17adec464a708e72abcc0b9
--- /dev/null
+++ b/novelforge-project/flutter/examples/image_list/pubspec.yaml
@@ -0,0 +1,60 @@
+name: image_list
+description: Simple Flutter project used for benchmarking image loading over network.
+
+version: 1.0.0+1
+
+environment:
+ sdk: '>=3.2.0-0 <4.0.0'
+
+dependencies:
+ flutter:
+ sdk: flutter
+
+ # The following adds the Cupertino Icons font to your application.
+ # Use with the CupertinoIcons class for iOS style icons.
+ cupertino_icons: 1.0.6
+
+ characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ material_color_utilities: 0.8.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ meta: 1.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vector_math: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+
+dev_dependencies:
+ flutter_test:
+ sdk: flutter
+
+# For information on the generic Dart part of this file, see the
+# following page: https://dart.dev/tools/pub/pubspec
+
+# The following section is specific to Flutter.
+
+ async: 2.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ boolean_selector: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ clock: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ fake_async: 1.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker: 10.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker_flutter_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.16+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ path: 1.9.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_span: 1.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ string_scanner: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service: 13.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+
+flutter:
+
+ # The following line ensures that the Material Icons font is
+ # included with your application, so that you can use the icons in
+ # the material Icons class.
+ uses-material-design: true
+
+ # To add assets to your application, add an assets section, like this:
+ assets:
+ - images/coast.jpg
+
+# PUBSPEC CHECKSUM: 58cb
diff --git a/novelforge-project/flutter/examples/layers/README.md b/novelforge-project/flutter/examples/layers/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..d888e5e26005522d61afc66b05a701830089afa5
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/README.md
@@ -0,0 +1,28 @@
+# Examples of Flutter's layered architecture
+
+This directory contains several self-contained examples that illustrate
+Flutter's layered architecture.
+
+ * [*raw/*](raw/) These examples show how to program against the lowest layer of
+ the system. They manually receive input packets and construct composited
+ scenes.
+
+ * [*rendering/*](rendering/) These examples use Flutter's render tree to
+ structure your app using a retained tree of visual objects. These objects
+ coordinate to determine their size and position on screen and to handle
+ events.
+
+ * [*widgets/*](widgets/) These examples use Flutter's widgets to build more
+ elaborate apps using a reactive framework.
+
+ * [*services/*](services/) These examples use services available in Flutter to
+ interact with the host platform.
+
+To run each example, specify the demo file on the `flutter run`
+command line, for example:
+
+```
+flutter run raw/spinning_square.dart
+flutter run rendering/spinning_square.dart
+flutter run widgets/spinning_square.dart
+```
diff --git a/novelforge-project/flutter/examples/layers/analysis_options.yaml b/novelforge-project/flutter/examples/layers/analysis_options.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..76be938a6b861cf3e4c7f00d5aa2469c0c9b2bc4
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/analysis_options.yaml
@@ -0,0 +1,8 @@
+# This file is also used by dev/bots/analyze_snippet_code.dart to analyze code snippets (`{@tool snippet}` sections).
+
+include: ../../analysis_options.yaml
+
+linter:
+ rules:
+ # Samples want to print things pretty often.
+ avoid_print: false
diff --git a/novelforge-project/flutter/examples/layers/android/app/build.gradle b/novelforge-project/flutter/examples/layers/android/app/build.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..322731cf699bbc74a639909f2ef6fa18589b2ac7
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/android/app/build.gradle
@@ -0,0 +1,59 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+def localProperties = new Properties()
+def localPropertiesFile = rootProject.file('local.properties')
+if (localPropertiesFile.exists()) {
+ localPropertiesFile.withReader('UTF-8') { reader ->
+ localProperties.load(reader)
+ }
+}
+
+def flutterRoot = localProperties.getProperty('flutter.sdk')
+if (flutterRoot == null) {
+ throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
+}
+
+def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
+if (flutterVersionCode == null) {
+ flutterVersionCode = '1'
+}
+
+def flutterVersionName = localProperties.getProperty('flutter.versionName')
+if (flutterVersionName == null) {
+ flutterVersionName = '1.0'
+}
+
+apply plugin: 'com.android.application'
+apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
+
+android {
+ namespace "io.flutter.examples.Layers"
+ compileSdk flutter.compileSdkVersion
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+
+ defaultConfig {
+ applicationId "io.flutter.examples.layers"
+ minSdkVersion flutter.minSdkVersion
+ targetSdkVersion flutter.targetSdkVersion
+ versionCode flutterVersionCode.toInteger()
+ versionName flutterVersionName
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig signingConfigs.debug
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
diff --git a/novelforge-project/flutter/examples/layers/android/app/src/main/AndroidManifest.xml b/novelforge-project/flutter/examples/layers/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000000000000000000000000000000000000..0184de100a97521885c53b665c3c42880cd39de4
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/novelforge-project/flutter/examples/layers/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..db77bb4b7b0906d62b1847e87f15cdcacf6a4f29
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/novelforge-project/flutter/examples/layers/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/novelforge-project/flutter/examples/layers/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..17987b79bb8a35cc66c3c1fd44f5a5526c1b78be
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/novelforge-project/flutter/examples/layers/android/build.gradle b/novelforge-project/flutter/examples/layers/android/build.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..2de20623576a82c3115eca8b1bdb56fd5b5051cb
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/android/build.gradle
@@ -0,0 +1,51 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file is auto generated.
+// To update all the build.gradle files in the Flutter repo,
+// See dev/tools/bin/generate_gradle_lockfiles.dart.
+
+buildscript {
+ ext.kotlin_version = '1.5.31'
+ repositories {
+ google()
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:7.2.0'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+
+ configurations.classpath {
+ resolutionStrategy.activateDependencyLocking()
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+rootProject.buildDir = '../build'
+
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ project.evaluationDependsOn(':app')
+ dependencyLocking {
+ ignoredDependencies.add('io.flutter:*')
+ lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
+ if (!project.hasProperty('local-engine-repo')) {
+ lockAllConfigurations()
+ }
+ }
+}
+
+tasks.register("clean", Delete) {
+ delete rootProject.buildDir
+}
diff --git a/novelforge-project/flutter/examples/layers/android/buildscript-gradle.lockfile b/novelforge-project/flutter/examples/layers/android/buildscript-gradle.lockfile
new file mode 100644
index 0000000000000000000000000000000000000000..efe13277310ee8fef3c9d7f6f8a2cbbe601d110f
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/android/buildscript-gradle.lockfile
@@ -0,0 +1,163 @@
+# This is a Gradle generated file for dependency locking.
+# Manual edits can break the build and are not advised.
+# This file is expected to be part of source control.
+androidx.databinding:databinding-common:7.2.0=classpath
+androidx.databinding:databinding-compiler-common:7.2.0=classpath
+com.android.databinding:baseLibrary:7.2.0=classpath
+com.android.tools.analytics-library:crash:30.2.0=classpath
+com.android.tools.analytics-library:protos:30.2.0=classpath
+com.android.tools.analytics-library:shared:30.2.0=classpath
+com.android.tools.analytics-library:tracker:30.2.0=classpath
+com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09=classpath
+com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09=classpath
+com.android.tools.build:aapt2-proto:7.2.0-7984345=classpath
+com.android.tools.build:aaptcompiler:7.2.0=classpath
+com.android.tools.build:apksig:7.2.0=classpath
+com.android.tools.build:apkzlib:7.2.0=classpath
+com.android.tools.build:builder-model:7.2.0=classpath
+com.android.tools.build:builder-test-api:7.2.0=classpath
+com.android.tools.build:builder:7.2.0=classpath
+com.android.tools.build:bundletool:1.8.2=classpath
+com.android.tools.build:gradle-api:7.2.0=classpath
+com.android.tools.build:gradle:7.2.0=classpath
+com.android.tools.build:manifest-merger:30.2.0=classpath
+com.android.tools.build:transform-api:2.0.0-deprecated-use-gradle-api=classpath
+com.android.tools.ddms:ddmlib:30.2.0=classpath
+com.android.tools.layoutlib:layoutlib-api:30.2.0=classpath
+com.android.tools.lint:lint-model:30.2.0=classpath
+com.android.tools.lint:lint-typedef-remover:30.2.0=classpath
+com.android.tools.utp:android-device-provider-ddmlib-proto:30.2.0=classpath
+com.android.tools.utp:android-device-provider-gradle-proto:30.2.0=classpath
+com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.2.0=classpath
+com.android.tools.utp:android-test-plugin-host-coverage-proto:30.2.0=classpath
+com.android.tools.utp:android-test-plugin-host-retention-proto:30.2.0=classpath
+com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.2.0=classpath
+com.android.tools:annotations:30.2.0=classpath
+com.android.tools:common:30.2.0=classpath
+com.android.tools:dvlib:30.2.0=classpath
+com.android.tools:repository:30.2.0=classpath
+com.android.tools:sdk-common:30.2.0=classpath
+com.android.tools:sdklib:30.2.0=classpath
+com.android:signflinger:7.2.0=classpath
+com.android:zipflinger:7.2.0=classpath
+com.fasterxml.jackson.core:jackson-annotations:2.11.1=classpath
+com.fasterxml.jackson.core:jackson-core:2.11.1=classpath
+com.fasterxml.jackson.core:jackson-databind:2.11.1=classpath
+com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.1=classpath
+com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.11.1=classpath
+com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1=classpath
+com.fasterxml.woodstox:woodstox-core:6.2.1=classpath
+com.github.gundy:semver4j:0.16.4=classpath
+com.google.android:annotations:4.1.1.4=classpath
+com.google.api.grpc:proto-google-common-protos:1.12.0=classpath
+com.google.auto.value:auto-value-annotations:1.6.2=classpath
+com.google.code.findbugs:jsr305:3.0.2=classpath
+com.google.code.gson:gson:2.8.6=classpath
+com.google.crypto.tink:tink:1.3.0-rc2=classpath
+com.google.dagger:dagger:2.28.3=classpath
+com.google.errorprone:error_prone_annotations:2.3.4=classpath
+com.google.flatbuffers:flatbuffers-java:1.12.0=classpath
+com.google.guava:failureaccess:1.0.1=classpath
+com.google.guava:guava:30.1-jre=classpath
+com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=classpath
+com.google.j2objc:j2objc-annotations:1.3=classpath
+com.google.jimfs:jimfs:1.1=classpath
+com.google.protobuf:protobuf-java-util:3.10.0=classpath
+com.google.protobuf:protobuf-java:3.10.0=classpath
+com.google.testing.platform:core-proto:0.0.8-alpha07=classpath
+com.googlecode.json-simple:json-simple:1.1=classpath
+com.googlecode.juniversalchardet:juniversalchardet:1.0.3=classpath
+com.squareup:javapoet:1.10.0=classpath
+com.squareup:javawriter:2.5.0=classpath
+com.sun.activation:javax.activation:1.2.0=classpath
+com.sun.istack:istack-commons-runtime:3.0.8=classpath
+com.sun.xml.fastinfoset:FastInfoset:1.2.16=classpath
+commons-codec:commons-codec:1.11=classpath
+commons-io:commons-io:2.4=classpath
+commons-logging:commons-logging:1.2=classpath
+de.undercouch:gradle-download-task:4.1.1=classpath
+io.grpc:grpc-api:1.21.1=classpath
+io.grpc:grpc-context:1.21.1=classpath
+io.grpc:grpc-core:1.21.1=classpath
+io.grpc:grpc-netty:1.21.1=classpath
+io.grpc:grpc-protobuf-lite:1.21.1=classpath
+io.grpc:grpc-protobuf:1.21.1=classpath
+io.grpc:grpc-stub:1.21.1=classpath
+io.netty:netty-buffer:4.1.34.Final=classpath
+io.netty:netty-codec-http2:4.1.34.Final=classpath
+io.netty:netty-codec-http:4.1.34.Final=classpath
+io.netty:netty-codec-socks:4.1.34.Final=classpath
+io.netty:netty-codec:4.1.34.Final=classpath
+io.netty:netty-common:4.1.34.Final=classpath
+io.netty:netty-handler-proxy:4.1.34.Final=classpath
+io.netty:netty-handler:4.1.34.Final=classpath
+io.netty:netty-resolver:4.1.34.Final=classpath
+io.netty:netty-transport:4.1.34.Final=classpath
+io.opencensus:opencensus-api:0.21.0=classpath
+io.opencensus:opencensus-contrib-grpc-metrics:0.21.0=classpath
+it.unimi.dsi:fastutil:8.4.0=classpath
+jakarta.activation:jakarta.activation-api:1.2.1=classpath
+jakarta.xml.bind:jakarta.xml.bind-api:2.3.2=classpath
+javax.inject:javax.inject:1=classpath
+net.java.dev.jna:jna-platform:5.6.0=classpath
+net.java.dev.jna:jna:5.6.0=classpath
+net.sf.jopt-simple:jopt-simple:4.9=classpath
+net.sf.kxml:kxml2:2.3.0=classpath
+org.apache.commons:commons-compress:1.20=classpath
+org.apache.httpcomponents:httpclient:4.5.9=classpath
+org.apache.httpcomponents:httpcore:4.4.11=classpath
+org.apache.httpcomponents:httpmime:4.5.6=classpath
+org.bitbucket.b_c:jose4j:0.7.0=classpath
+org.bouncycastle:bcpkix-jdk15on:1.56=classpath
+org.bouncycastle:bcprov-jdk15on:1.56=classpath
+org.checkerframework:checker-qual:3.5.0=classpath
+org.codehaus.mojo:animal-sniffer-annotations:1.17=classpath
+org.codehaus.woodstox:stax2-api:4.2.1=classpath
+org.glassfish.jaxb:jaxb-runtime:2.3.2=classpath
+org.glassfish.jaxb:txw2:2.3.2=classpath
+org.jdom:jdom2:2.0.6=classpath
+org.jetbrains.dokka:dokka-core:1.4.32=classpath
+org.jetbrains.intellij.deps:trove4j:1.0.20181211=classpath
+org.jetbrains.kotlin:kotlin-android-extensions:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-build-common:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-compiler-runner:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-daemon-client:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-daemon-embeddable:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-native-utils:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-project-model:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-reflect:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-scripting-common:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-scripting-jvm:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-stdlib:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-tooling-metadata:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-util-io:1.5.31=classpath
+org.jetbrains.kotlin:kotlin-util-klib:1.5.31=classpath
+org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.0=classpath
+org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0=classpath
+org.jetbrains:annotations:13.0=classpath
+org.jetbrains:markdown-jvm:0.2.1=classpath
+org.jetbrains:markdown:0.2.1=classpath
+org.json:json:20180813=classpath
+org.jsoup:jsoup:1.13.1=classpath
+org.jvnet.staxex:stax-ex:1.8.1=classpath
+org.ow2.asm:asm-analysis:9.1=classpath
+org.ow2.asm:asm-commons:9.1=classpath
+org.ow2.asm:asm-tree:9.1=classpath
+org.ow2.asm:asm-util:9.1=classpath
+org.ow2.asm:asm:9.1=classpath
+org.slf4j:slf4j-api:1.7.30=classpath
+org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2=classpath
+xerces:xercesImpl:2.12.0=classpath
+xml-apis:xml-apis:1.4.01=classpath
+empty=
diff --git a/novelforge-project/flutter/examples/layers/android/gradle.properties b/novelforge-project/flutter/examples/layers/android/gradle.properties
new file mode 100644
index 0000000000000000000000000000000000000000..598d13fee446372f156ecc38527b54c7cdcc8e3b
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/android/gradle.properties
@@ -0,0 +1,3 @@
+org.gradle.jvmargs=-Xmx4G
+android.useAndroidX=true
+android.enableJetifier=true
diff --git a/novelforge-project/flutter/examples/layers/android/gradle/wrapper/gradle-wrapper.properties b/novelforge-project/flutter/examples/layers/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000000000000000000000000000000000000..e1ca574ef017c1bc00556b96ea372e2c07948771
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+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
diff --git a/novelforge-project/flutter/examples/layers/android/project-app.lockfile b/novelforge-project/flutter/examples/layers/android/project-app.lockfile
new file mode 100644
index 0000000000000000000000000000000000000000..e160a81ffd42a36bca35a414c624786fdac26bc3
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/android/project-app.lockfile
@@ -0,0 +1,118 @@
+# This is a Gradle generated file for dependency locking.
+# Manual edits can break the build and are not advised.
+# This file is expected to be part of source control.
+androidx.activity:activity:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.annotation:annotation-experimental:1.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.annotation:annotation:1.2.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.arch.core:core-common:2.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.arch.core:core-runtime:2.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.collection:collection:1.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.core:core:1.6.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.customview:customview:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.fragment:fragment:1.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-common-java8:2.2.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-common:2.2.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-livedata-core:2.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-livedata:2.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-runtime:2.2.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.lifecycle:lifecycle-viewmodel:2.1.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.loader:loader:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.savedstate:savedstate:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.tracing:tracing:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.versionedparcelable:versionedparcelable:1.1.1=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.viewpager:viewpager:1.0.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.window:window-java:1.0.0-beta04=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+androidx.window:window:1.0.0-beta04=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+com.android.tools.analytics-library:protos:27.1.3=lintClassPath
+com.android.tools.analytics-library:shared:27.1.3=lintClassPath
+com.android.tools.analytics-library:tracker:27.1.3=lintClassPath
+com.android.tools.build:aapt2-proto:4.1.0-alpha01-6193524=lintClassPath
+com.android.tools.build:aapt2:4.1.3-6503028=_internal_aapt2_binary
+com.android.tools.build:apksig:4.1.3=lintClassPath
+com.android.tools.build:apkzlib:4.1.3=lintClassPath
+com.android.tools.build:builder-model:4.1.3=lintClassPath
+com.android.tools.build:builder-test-api:4.1.3=lintClassPath
+com.android.tools.build:builder:4.1.3=lintClassPath
+com.android.tools.build:gradle-api:4.1.3=lintClassPath
+com.android.tools.build:manifest-merger:27.1.3=lintClassPath
+com.android.tools.ddms:ddmlib:27.1.3=lintClassPath
+com.android.tools.external.com-intellij:intellij-core:27.1.3=lintClassPath
+com.android.tools.external.com-intellij:kotlin-compiler:27.1.3=lintClassPath
+com.android.tools.external.org-jetbrains:uast:27.1.3=lintClassPath
+com.android.tools.layoutlib:layoutlib-api:27.1.3=lintClassPath
+com.android.tools.lint:lint-api:27.1.3=lintClassPath
+com.android.tools.lint:lint-checks:27.1.3=lintClassPath
+com.android.tools.lint:lint-gradle-api:27.1.3=lintClassPath
+com.android.tools.lint:lint-gradle:27.1.3=lintClassPath
+com.android.tools.lint:lint-model:27.1.3=lintClassPath
+com.android.tools.lint:lint:27.1.3=lintClassPath
+com.android.tools:annotations:27.1.3=lintClassPath
+com.android.tools:common:27.1.3=lintClassPath
+com.android.tools:dvlib:27.1.3=lintClassPath
+com.android.tools:repository:27.1.3=lintClassPath
+com.android.tools:sdk-common:27.1.3=lintClassPath
+com.android.tools:sdklib:27.1.3=lintClassPath
+com.android:signflinger:4.1.3=lintClassPath
+com.android:zipflinger:4.1.3=lintClassPath
+com.google.code.findbugs:jsr305:3.0.2=lintClassPath
+com.google.code.gson:gson:2.8.5=lintClassPath
+com.google.errorprone:error_prone_annotations:2.3.2=lintClassPath
+com.google.guava:failureaccess:1.0.1=lintClassPath
+com.google.guava:guava:28.1-jre=lintClassPath
+com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=lintClassPath
+com.google.j2objc:j2objc-annotations:1.3=lintClassPath
+com.google.jimfs:jimfs:1.1=lintClassPath
+com.google.protobuf:protobuf-java:3.10.0=lintClassPath
+com.googlecode.json-simple:json-simple:1.1=lintClassPath
+com.squareup:javawriter:2.5.0=lintClassPath
+com.sun.activation:javax.activation:1.2.0=lintClassPath
+com.sun.istack:istack-commons-runtime:3.0.7=lintClassPath
+com.sun.xml.fastinfoset:FastInfoset:1.2.15=lintClassPath
+commons-codec:commons-codec:1.10=lintClassPath
+commons-logging:commons-logging:1.2=lintClassPath
+it.unimi.dsi:fastutil:7.2.0=lintClassPath
+javax.activation:javax.activation-api:1.2.0=lintClassPath
+javax.inject:javax.inject:1=lintClassPath
+javax.xml.bind:jaxb-api:2.3.1=lintClassPath
+net.sf.jopt-simple:jopt-simple:4.9=lintClassPath
+net.sf.kxml:kxml2:2.3.0=lintClassPath
+org.apache.commons:commons-compress:1.12=lintClassPath
+org.apache.httpcomponents:httpclient:4.5.6=lintClassPath
+org.apache.httpcomponents:httpcore:4.4.10=lintClassPath
+org.apache.httpcomponents:httpmime:4.5.6=lintClassPath
+org.bouncycastle:bcpkix-jdk15on:1.56=lintClassPath
+org.bouncycastle:bcprov-jdk15on:1.56=lintClassPath
+org.checkerframework:checker-qual:2.8.1=lintClassPath
+org.codehaus.groovy:groovy-all:2.4.15=lintClassPath
+org.codehaus.mojo:animal-sniffer-annotations:1.18=lintClassPath
+org.glassfish.jaxb:jaxb-runtime:2.3.1=lintClassPath
+org.glassfish.jaxb:txw2:2.3.1=lintClassPath
+org.jacoco:org.jacoco.agent:0.8.7=androidJacocoAnt
+org.jacoco:org.jacoco.ant:0.8.7=androidJacocoAnt
+org.jacoco:org.jacoco.core:0.8.7=androidJacocoAnt
+org.jacoco:org.jacoco.report:0.8.7=androidJacocoAnt
+org.jetbrains.kotlin:kotlin-reflect:1.3.72=lintClassPath
+org.jetbrains.kotlin:kotlin-stdlib-common:1.3.72=lintClassPath
+org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72=lintClassPath
+org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.30=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72=lintClassPath
+org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlin:kotlin-stdlib:1.3.72=lintClassPath
+org.jetbrains.kotlin:kotlin-stdlib:1.5.31=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.2=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jetbrains.trove4j:trove4j:20160824=lintClassPath
+org.jetbrains:annotations:13.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,lintClassPath,profileCompileClasspath,profileRuntimeClasspath,profileUnitTestCompileClasspath,profileUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
+org.jvnet.staxex:stax-ex:1.8=lintClassPath
+org.ow2.asm:asm-analysis:7.0=lintClassPath
+org.ow2.asm:asm-analysis:9.1=androidJacocoAnt
+org.ow2.asm:asm-commons:7.0=lintClassPath
+org.ow2.asm:asm-commons:9.1=androidJacocoAnt
+org.ow2.asm:asm-tree:7.0=lintClassPath
+org.ow2.asm:asm-tree:9.1=androidJacocoAnt
+org.ow2.asm:asm-util:7.0=lintClassPath
+org.ow2.asm:asm:7.0=lintClassPath
+org.ow2.asm:asm:9.1=androidJacocoAnt
+empty=androidApis,androidJdkImage,androidTestUtil,compile,coreLibraryDesugaring,debugAndroidTestAnnotationProcessorClasspath,debugAndroidTestRuntimeClasspath,debugAnnotationProcessorClasspath,debugReverseMetadataValues,debugUnitTestAnnotationProcessorClasspath,debugWearBundling,lintChecks,lintPublish,profileAnnotationProcessorClasspath,profileReverseMetadataValues,profileUnitTestAnnotationProcessorClasspath,profileWearBundling,releaseAnnotationProcessorClasspath,releaseReverseMetadataValues,releaseUnitTestAnnotationProcessorClasspath,releaseWearBundling,testCompile
diff --git a/novelforge-project/flutter/examples/layers/android/settings.gradle b/novelforge-project/flutter/examples/layers/android/settings.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..03ae72d135c01f849e6812b36575b62b14fee791
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/android/settings.gradle
@@ -0,0 +1,21 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file is auto generated.
+// To update all the settings.gradle files in the Flutter repo,
+// See dev/tools/bin/generate_gradle_lockfiles.dart.
+
+include ':app'
+
+enableFeaturePreview('ONE_LOCKFILE_PER_PROJECT')
+
+def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
+def properties = new Properties()
+
+assert localPropertiesFile.exists()
+localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
+
+def flutterSdkPath = properties.getProperty("flutter.sdk")
+assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
diff --git a/novelforge-project/flutter/examples/layers/ios/Flutter/AppFrameworkInfo.plist b/novelforge-project/flutter/examples/layers/ios/Flutter/AppFrameworkInfo.plist
new file mode 100644
index 0000000000000000000000000000000000000000..8c6e56146e23c84aa60ea78f20bc3a7b3d8ef259
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Flutter/AppFrameworkInfo.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ App
+ CFBundleIdentifier
+ io.flutter.flutter.app
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ App
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ MinimumOSVersion
+ 12.0
+
+
diff --git a/novelforge-project/flutter/examples/layers/ios/Flutter/Debug.xcconfig b/novelforge-project/flutter/examples/layers/ios/Flutter/Debug.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..592ceee85b89bd111b779db6116b130509ab6d4b
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Flutter/Debug.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/novelforge-project/flutter/examples/layers/ios/Flutter/Release.xcconfig b/novelforge-project/flutter/examples/layers/ios/Flutter/Release.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..592ceee85b89bd111b779db6116b130509ab6d4b
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Flutter/Release.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/project.pbxproj b/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 0000000000000000000000000000000000000000..a2aee5641cfa3d8cfd5cc9ff2cca397b8f0cbac2
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,463 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 54;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 74970F711EDC1D40000507F3 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 74970F701EDC1D40000507F3 /* GeneratedPluginRegistrant.m */; };
+ 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
+ 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
+ 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 */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 74970F6F1EDC1D40000507F3 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
+ 74970F701EDC1D40000507F3 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
+ 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; 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; };
+ 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
+ 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 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 = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 74970F6F1EDC1D40000507F3 /* GeneratedPluginRegistrant.h */,
+ 74970F701EDC1D40000507F3 /* GeneratedPluginRegistrant.m */,
+ 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
+ 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 97C146F11CF9000F007C117D /* Supporting Files */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+ 97C146F11CF9000F007C117D /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146F21CF9000F007C117D /* main.m */,
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 97C146E61CF9000F007C117D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 1510;
+ ORGANIZATIONNAME = "The Flutter Authors";
+ TargetAttributes = {
+ 97C146ED1CF9000F007C117D = {
+ CreatedOnToolsVersion = 7.3.1;
+ };
+ };
+ };
+ buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 97C146E51CF9000F007C117D;
+ productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 97C146ED1CF9000F007C117D /* Runner */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 97C146EC1CF9000F007C117D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
+ );
+ name = "Thin Binary";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
+ };
+ 9740EEB61CF901F6004384FC /* Run Script */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Run Script";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
+ 97C146F31CF9000F007C117D /* main.m in Sources */,
+ 74970F711EDC1D40000507F3 /* GeneratedPluginRegistrant.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C146FB1CF9000F007C117D /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C147001CF9000F007C117D /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 2423F41F21828D4200E5E49C /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Profile;
+ };
+ 2423F42021828D4200E5E49C /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = io.flutter.examples.Layers;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = io.flutter.examples.Layers;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = io.flutter.examples.Layers;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147031CF9000F007C117D /* Debug */,
+ 97C147041CF9000F007C117D /* Release */,
+ 2423F41F21828D4200E5E49C /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147061CF9000F007C117D /* Debug */,
+ 97C147071CF9000F007C117D /* Release */,
+ 2423F42021828D4200E5E49C /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 97C146E61CF9000F007C117D /* Project object */;
+}
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000000000000000000000000000000000000..919434a6254f0e9651f402737811be6634a03e9c
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000000000000000000000000000000000000..18d981003d68d0546c4804ac2ff47dd97c6e7921
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 0000000000000000000000000000000000000000..e67b2808af02f9ec16f2d72b7961aefdf844afa5
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner.xcworkspace/contents.xcworkspacedata b/novelforge-project/flutter/examples/layers/ios/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000000000000000000000000000000000000..1d526a16ed0f1cd0c2409d848bf489b93fefa3b2
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/AppDelegate.h b/novelforge-project/flutter/examples/layers/ios/Runner/AppDelegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..a78a945cd2ef8f832f90683ed5b29c97fcd8600b
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner/AppDelegate.h
@@ -0,0 +1,10 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import
+#import
+
+@interface AppDelegate : FlutterAppDelegate
+
+@end
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/AppDelegate.m b/novelforge-project/flutter/examples/layers/ios/Runner/AppDelegate.m
new file mode 100644
index 0000000000000000000000000000000000000000..d41031a4633bb2d011925162cb0038f3986be28a
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner/AppDelegate.m
@@ -0,0 +1,15 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "AppDelegate.h"
+#import "GeneratedPluginRegistrant.h"
+
+@implementation AppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+ [GeneratedPluginRegistrant registerWithRegistry:self];
+ // Override point for customization after application launch.
+ return [super application:application didFinishLaunchingWithOptions:launchOptions];
+}
+@end
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000000000000000000000000000000000000..d22f10b2ab630561596b343e0bd6eb2a0fe90df4
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,116 @@
+{
+ "images" : [
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-83.5x83.5@2x.png",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file mode 100644
index 0000000000000000000000000000000000000000..28c6bf03016f6c994b70f38d1b7346e5831b531f
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..2ccbfd967d9697cd4b83225558af2911e9571c9b
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file mode 100644
index 0000000000000000000000000000000000000000..f091b6b0bca859a3f474b03065bef75ba58a9e4c
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file mode 100644
index 0000000000000000000000000000000000000000..4cde12118dda48d71e01fcb589a74d069c5d7cb5
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..d0ef06e7edb86cdfe0d15b4b0d98334a86163658
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file mode 100644
index 0000000000000000000000000000000000000000..dcdc2306c28505ebc0b6c3a359c4d252bf626b9f
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file mode 100644
index 0000000000000000000000000000000000000000..2ccbfd967d9697cd4b83225558af2911e9571c9b
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..c8f9ed8f5cee1c98386d13b17e89f719e83555b2
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file mode 100644
index 0000000000000000000000000000000000000000..a6d6b8609df07bf62e5100a53a01510388bd2b22
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..a6d6b8609df07bf62e5100a53a01510388bd2b22
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file mode 100644
index 0000000000000000000000000000000000000000..75b2d164a5a98e212cca15ea7bf2ab5de5108680
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file mode 100644
index 0000000000000000000000000000000000000000..c4df70d39da7941ef3f6dcb7f06a192d8dcb308d
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..6a84f41e14e27f4b11f16f9ee39279ac98f8d5ac
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..d0e1f58536026aebc4f1f70e481f6993c9ff088d
Binary files /dev/null and b/novelforge-project/flutter/examples/layers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Base.lproj/LaunchScreen.storyboard b/novelforge-project/flutter/examples/layers/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 0000000000000000000000000000000000000000..ebf48f6039745ccdb57ad6237321024eb6cdf9af
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Base.lproj/Main.storyboard b/novelforge-project/flutter/examples/layers/ios/Runner/Base.lproj/Main.storyboard
new file mode 100644
index 0000000000000000000000000000000000000000..f3c28516fb38e64d88cfcf5fb1791175df078f2f
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/Info.plist b/novelforge-project/flutter/examples/layers/ios/Runner/Info.plist
new file mode 100644
index 0000000000000000000000000000000000000000..04927c5cef2aa91ee0f66ea99e013d469321170c
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner/Info.plist
@@ -0,0 +1,47 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ layers
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1
+ LSRequiresIPhoneOS
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIMainStoryboardFile
+ Main
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ CADisableMinimumFrameDurationOnPhone
+
+ UIApplicationSupportsIndirectInputEvents
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/ios/Runner/main.m b/novelforge-project/flutter/examples/layers/ios/Runner/main.m
new file mode 100644
index 0000000000000000000000000000000000000000..86070722733949a969321315b3d1ad7ed69711bc
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/ios/Runner/main.m
@@ -0,0 +1,14 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import
+#import
+#import "AppDelegate.h"
+
+int main(int argc, char * argv[]) {
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil,
+ NSStringFromClass([AppDelegate class]));
+ }
+}
diff --git a/novelforge-project/flutter/examples/layers/layers.iml b/novelforge-project/flutter/examples/layers/layers.iml
new file mode 100644
index 0000000000000000000000000000000000000000..1d83ed3abc9085f991ca3f8f864f38df5577a8a6
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/layers.iml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/lib/main.dart b/novelforge-project/flutter/examples/layers/lib/main.dart
new file mode 100644
index 0000000000000000000000000000000000000000..7b09b8be6fabab51671af31064a00a371a85b407
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/lib/main.dart
@@ -0,0 +1,16 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/widgets.dart';
+
+void main() {
+ runApp(
+ const Center(
+ child: Text(
+ 'Instead run:\nflutter run xxx/yyy.dart',
+ textDirection: TextDirection.ltr,
+ ),
+ ),
+ );
+}
diff --git a/novelforge-project/flutter/examples/layers/linux/CMakeLists.txt b/novelforge-project/flutter/examples/layers/linux/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a240ba4342260ddf581a360ffb909fb1cdd928d4
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/linux/CMakeLists.txt
@@ -0,0 +1,139 @@
+# Project-level configuration.
+cmake_minimum_required(VERSION 3.10)
+project(runner LANGUAGES CXX)
+
+# The name of the executable created for the application. Change this to change
+# the on-disk name of your application.
+set(BINARY_NAME "layers")
+# The unique GTK application identifier for this application. See:
+# https://wiki.gnome.org/HowDoI/ChooseApplicationID
+set(APPLICATION_ID "io.flutter.examples.layers")
+
+# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
+# versions of CMake.
+cmake_policy(SET CMP0063 NEW)
+
+# Load bundled libraries from the lib/ directory relative to the binary.
+set(CMAKE_INSTALL_RPATH "$ORIGIN/lib")
+
+# Root filesystem for cross-building.
+if(FLUTTER_TARGET_PLATFORM_SYSROOT)
+ set(CMAKE_SYSROOT ${FLUTTER_TARGET_PLATFORM_SYSROOT})
+ set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT})
+ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
+ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+endif()
+
+# Define build configuration options.
+if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
+ set(CMAKE_BUILD_TYPE "Debug" CACHE
+ STRING "Flutter build mode" FORCE)
+ set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
+ "Debug" "Profile" "Release")
+endif()
+
+# Compilation settings that should be applied to most targets.
+#
+# Be cautious about adding new options here, as plugins use this function by
+# default. In most cases, you should add new options to specific targets instead
+# of modifying this function.
+function(APPLY_STANDARD_SETTINGS TARGET)
+ target_compile_features(${TARGET} PUBLIC cxx_std_14)
+ target_compile_options(${TARGET} PRIVATE -Wall -Werror)
+ target_compile_options(${TARGET} PRIVATE "$<$>:-O3>")
+ target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>")
+endfunction()
+
+# Flutter library and tool build rules.
+set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter")
+add_subdirectory(${FLUTTER_MANAGED_DIR})
+
+# System-level dependencies.
+find_package(PkgConfig REQUIRED)
+pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
+
+add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}")
+
+# Define the application target. To change its name, change BINARY_NAME above,
+# not the value here, or `flutter run` will no longer work.
+#
+# Any new source files that you add to the application should be added here.
+add_executable(${BINARY_NAME}
+ "main.cc"
+ "my_application.cc"
+ "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
+)
+
+# Apply the standard set of build settings. This can be removed for applications
+# that need different build settings.
+apply_standard_settings(${BINARY_NAME})
+
+# Add dependency libraries. Add any application-specific dependencies here.
+target_link_libraries(${BINARY_NAME} PRIVATE flutter)
+target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK)
+
+# Run the Flutter tool portions of the build. This must not be removed.
+add_dependencies(${BINARY_NAME} flutter_assemble)
+
+# Only the install-generated bundle's copy of the executable will launch
+# correctly, since the resources must in the right relative locations. To avoid
+# people trying to run the unbundled copy, put it in a subdirectory instead of
+# the default top-level location.
+set_target_properties(${BINARY_NAME}
+ PROPERTIES
+ RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run"
+)
+
+
+# Generated plugin build rules, which manage building the plugins and adding
+# them to the application.
+include(flutter/generated_plugins.cmake)
+
+
+# === Installation ===
+# By default, "installing" just makes a relocatable bundle in the build
+# directory.
+set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
+if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+ set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
+endif()
+
+# Start with a clean build bundle directory every time.
+install(CODE "
+ file(REMOVE_RECURSE \"${BUILD_BUNDLE_DIR}/\")
+ " COMPONENT Runtime)
+
+set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data")
+set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib")
+
+install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}"
+ COMPONENT Runtime)
+
+install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
+ COMPONENT Runtime)
+
+install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+
+foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES})
+ install(FILES "${bundled_library}"
+ DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+endforeach(bundled_library)
+
+# Fully re-copy the assets directory on each build to avoid having stale files
+# from a previous install.
+set(FLUTTER_ASSET_DIR_NAME "flutter_assets")
+install(CODE "
+ file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\")
+ " COMPONENT Runtime)
+install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}"
+ DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime)
+
+# Install the AOT library on non-Debug builds only.
+if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
+ install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+endif()
diff --git a/novelforge-project/flutter/examples/layers/linux/flutter/CMakeLists.txt b/novelforge-project/flutter/examples/layers/linux/flutter/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5bd01648a96d50136b2a97c8bb9aa5b711f6c39
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/linux/flutter/CMakeLists.txt
@@ -0,0 +1,88 @@
+# This file controls Flutter-level build steps. It should not be edited.
+cmake_minimum_required(VERSION 3.10)
+
+set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")
+
+# Configuration provided via flutter tool.
+include(${EPHEMERAL_DIR}/generated_config.cmake)
+
+# TODO: Move the rest of this into files in ephemeral. See
+# https://github.com/flutter/flutter/issues/57146.
+
+# Serves the same purpose as list(TRANSFORM ... PREPEND ...),
+# which isn't available in 3.10.
+function(list_prepend LIST_NAME PREFIX)
+ set(NEW_LIST "")
+ foreach(element ${${LIST_NAME}})
+ list(APPEND NEW_LIST "${PREFIX}${element}")
+ endforeach(element)
+ set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE)
+endfunction()
+
+# === Flutter Library ===
+# System-level dependencies.
+find_package(PkgConfig REQUIRED)
+pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
+pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0)
+pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0)
+
+set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so")
+
+# Published to parent scope for install step.
+set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE)
+set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE)
+set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE)
+set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE)
+
+list(APPEND FLUTTER_LIBRARY_HEADERS
+ "fl_basic_message_channel.h"
+ "fl_binary_codec.h"
+ "fl_binary_messenger.h"
+ "fl_dart_project.h"
+ "fl_engine.h"
+ "fl_json_message_codec.h"
+ "fl_json_method_codec.h"
+ "fl_message_codec.h"
+ "fl_method_call.h"
+ "fl_method_channel.h"
+ "fl_method_codec.h"
+ "fl_method_response.h"
+ "fl_plugin_registrar.h"
+ "fl_plugin_registry.h"
+ "fl_standard_message_codec.h"
+ "fl_standard_method_codec.h"
+ "fl_string_codec.h"
+ "fl_value.h"
+ "fl_view.h"
+ "flutter_linux.h"
+)
+list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/")
+add_library(flutter INTERFACE)
+target_include_directories(flutter INTERFACE
+ "${EPHEMERAL_DIR}"
+)
+target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}")
+target_link_libraries(flutter INTERFACE
+ PkgConfig::GTK
+ PkgConfig::GLIB
+ PkgConfig::GIO
+)
+add_dependencies(flutter flutter_assemble)
+
+# === Flutter tool backend ===
+# _phony_ is a non-existent file to force this command to run every time,
+# since currently there's no way to get a full input/output list from the
+# flutter tool.
+add_custom_command(
+ OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS}
+ ${CMAKE_CURRENT_BINARY_DIR}/_phony_
+ COMMAND ${CMAKE_COMMAND} -E env
+ ${FLUTTER_TOOL_ENVIRONMENT}
+ "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh"
+ ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE}
+ VERBATIM
+)
+add_custom_target(flutter_assemble DEPENDS
+ "${FLUTTER_LIBRARY}"
+ ${FLUTTER_LIBRARY_HEADERS}
+)
diff --git a/novelforge-project/flutter/examples/layers/linux/main.cc b/novelforge-project/flutter/examples/layers/linux/main.cc
new file mode 100644
index 0000000000000000000000000000000000000000..281a29e16b599a95421e7a35112eda77900ff549
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/linux/main.cc
@@ -0,0 +1,10 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "my_application.h"
+
+int main(int argc, char** argv) {
+ g_autoptr(MyApplication) app = my_application_new();
+ return g_application_run(G_APPLICATION(app), argc, argv);
+}
diff --git a/novelforge-project/flutter/examples/layers/linux/my_application.cc b/novelforge-project/flutter/examples/layers/linux/my_application.cc
new file mode 100644
index 0000000000000000000000000000000000000000..dde28c955a6e7e2528aad21870d8f6dba83f6375
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/linux/my_application.cc
@@ -0,0 +1,108 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "my_application.h"
+
+#include
+#ifdef GDK_WINDOWING_X11
+#include
+#endif
+
+#include "flutter/generated_plugin_registrant.h"
+
+struct _MyApplication {
+ GtkApplication parent_instance;
+ char** dart_entrypoint_arguments;
+};
+
+G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION)
+
+// Implements GApplication::activate.
+static void my_application_activate(GApplication* application) {
+ MyApplication* self = MY_APPLICATION(application);
+ GtkWindow* window =
+ GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));
+
+ // Use a header bar when running in GNOME as this is the common style used
+ // by applications and is the setup most users will be using (e.g. Ubuntu
+ // desktop).
+ // If running on X and not using GNOME then just use a traditional title bar
+ // in case the window manager does more exotic layout, e.g. tiling.
+ // If running on Wayland assume the header bar will work (may need changing
+ // if future cases occur).
+ gboolean use_header_bar = TRUE;
+#ifdef GDK_WINDOWING_X11
+ GdkScreen* screen = gtk_window_get_screen(window);
+ if (GDK_IS_X11_SCREEN(screen)) {
+ const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen);
+ if (g_strcmp0(wm_name, "GNOME Shell") != 0) {
+ use_header_bar = FALSE;
+ }
+ }
+#endif
+ if (use_header_bar) {
+ GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
+ gtk_widget_show(GTK_WIDGET(header_bar));
+ gtk_header_bar_set_title(header_bar, "layers");
+ gtk_header_bar_set_show_close_button(header_bar, TRUE);
+ gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
+ } else {
+ gtk_window_set_title(window, "layers");
+ }
+
+ gtk_window_set_default_size(window, 1280, 720);
+ gtk_widget_show(GTK_WIDGET(window));
+
+ g_autoptr(FlDartProject) project = fl_dart_project_new();
+ fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);
+
+ FlView* view = fl_view_new(project);
+ gtk_widget_show(GTK_WIDGET(view));
+ gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view));
+
+ fl_register_plugins(FL_PLUGIN_REGISTRY(view));
+
+ gtk_widget_grab_focus(GTK_WIDGET(view));
+}
+
+// Implements GApplication::local_command_line.
+static gboolean my_application_local_command_line(GApplication* application, gchar*** arguments, int* exit_status) {
+ MyApplication* self = MY_APPLICATION(application);
+ // Strip out the first argument as it is the binary name.
+ self->dart_entrypoint_arguments = g_strdupv(*arguments + 1);
+
+ g_autoptr(GError) error = nullptr;
+ if (!g_application_register(application, nullptr, &error)) {
+ g_warning("Failed to register: %s", error->message);
+ *exit_status = 1;
+ return TRUE;
+ }
+
+ g_application_activate(application);
+ *exit_status = 0;
+
+ return TRUE;
+}
+
+// Implements GObject::dispose.
+static void my_application_dispose(GObject* object) {
+ MyApplication* self = MY_APPLICATION(object);
+ g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev);
+ G_OBJECT_CLASS(my_application_parent_class)->dispose(object);
+}
+
+static void my_application_class_init(MyApplicationClass* klass) {
+ G_APPLICATION_CLASS(klass)->activate = my_application_activate;
+ G_APPLICATION_CLASS(klass)->local_command_line = my_application_local_command_line;
+ G_OBJECT_CLASS(klass)->dispose = my_application_dispose;
+}
+
+static void my_application_init(MyApplication* self) {}
+
+MyApplication* my_application_new() {
+ return MY_APPLICATION(g_object_new(my_application_get_type(),
+ "application-id", APPLICATION_ID,
+ "flags", G_APPLICATION_NON_UNIQUE,
+ nullptr));
+}
diff --git a/novelforge-project/flutter/examples/layers/linux/my_application.h b/novelforge-project/flutter/examples/layers/linux/my_application.h
new file mode 100644
index 0000000000000000000000000000000000000000..8c66ec485434d1f922c9915bdaefcb8969cdfec9
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/linux/my_application.h
@@ -0,0 +1,22 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef FLUTTER_MY_APPLICATION_H_
+#define FLUTTER_MY_APPLICATION_H_
+
+#include
+
+G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION,
+ GtkApplication)
+
+/**
+ * my_application_new:
+ *
+ * Creates a new Flutter-based application.
+ *
+ * Returns: a new #MyApplication.
+ */
+MyApplication* my_application_new();
+
+#endif // FLUTTER_MY_APPLICATION_H_
diff --git a/novelforge-project/flutter/examples/layers/macos/Flutter/Flutter-Debug.xcconfig b/novelforge-project/flutter/examples/layers/macos/Flutter/Flutter-Debug.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..c2efd0b608ba84712fb3e1d01122468a50c7fba1
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Flutter/Flutter-Debug.xcconfig
@@ -0,0 +1 @@
+#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/novelforge-project/flutter/examples/layers/macos/Flutter/Flutter-Release.xcconfig b/novelforge-project/flutter/examples/layers/macos/Flutter/Flutter-Release.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..c2efd0b608ba84712fb3e1d01122468a50c7fba1
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Flutter/Flutter-Release.xcconfig
@@ -0,0 +1 @@
+#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner.xcodeproj/project.pbxproj b/novelforge-project/flutter/examples/layers/macos/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 0000000000000000000000000000000000000000..8070b8a9b58ced469869c81506d35ffcc9d608e0
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,570 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 54;
+ objects = {
+
+/* Begin PBXAggregateTarget section */
+ 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */;
+ buildPhases = (
+ 33CC111E2044C6BF0003C045 /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = "Flutter Assemble";
+ productName = FLX;
+ };
+/* End PBXAggregateTarget section */
+
+/* Begin PBXBuildFile section */
+ 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; };
+ 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; };
+ 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
+ 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
+ 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 33CC10E52044A3C60003C045 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 33CC111A2044C6BA0003C045;
+ remoteInfo = FLX;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 33CC110E2044A8840003C045 /* Bundle Framework */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Bundle Framework";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; };
+ 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; };
+ 33CC10ED2044A3C60003C045 /* layers.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "layers.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; };
+ 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; };
+ 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; };
+ 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; };
+ 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; };
+ 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; };
+ 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; };
+ 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; };
+ 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; };
+ 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 33CC10EA2044A3C60003C045 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 33BA886A226E78AF003329D5 /* Configs */ = {
+ isa = PBXGroup;
+ children = (
+ 33E5194F232828860026EE4D /* AppInfo.xcconfig */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 333000ED22D3DE5D00554162 /* Warnings.xcconfig */,
+ );
+ path = Configs;
+ sourceTree = "";
+ };
+ 33CC10E42044A3C60003C045 = {
+ isa = PBXGroup;
+ children = (
+ 33FAB671232836740065AC1E /* Runner */,
+ 33CEB47122A05771004F2AC0 /* Flutter */,
+ 33CC10EE2044A3C60003C045 /* Products */,
+ D73912EC22F37F3D000D13A0 /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ 33CC10EE2044A3C60003C045 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 33CC10ED2044A3C60003C045 /* layers.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 33CC11242044D66E0003C045 /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 33CC10F22044A3C60003C045 /* Assets.xcassets */,
+ 33CC10F42044A3C60003C045 /* MainMenu.xib */,
+ 33CC10F72044A3C60003C045 /* Info.plist */,
+ );
+ name = Resources;
+ path = ..;
+ sourceTree = "";
+ };
+ 33CEB47122A05771004F2AC0 /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */,
+ 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */,
+ 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */,
+ 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */,
+ );
+ path = Flutter;
+ sourceTree = "";
+ };
+ 33FAB671232836740065AC1E /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 33CC10F02044A3C60003C045 /* AppDelegate.swift */,
+ 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */,
+ 33E51913231747F40026EE4D /* DebugProfile.entitlements */,
+ 33E51914231749380026EE4D /* Release.entitlements */,
+ 33CC11242044D66E0003C045 /* Resources */,
+ 33BA886A226E78AF003329D5 /* Configs */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+ D73912EC22F37F3D000D13A0 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 33CC10EC2044A3C60003C045 /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 33CC10E92044A3C60003C045 /* Sources */,
+ 33CC10EA2044A3C60003C045 /* Frameworks */,
+ 33CC10EB2044A3C60003C045 /* Resources */,
+ 33CC110E2044A8840003C045 /* Bundle Framework */,
+ 3399D490228B24CF009A79C7 /* ShellScript */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 33CC11202044C79F0003C045 /* PBXTargetDependency */,
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 33CC10ED2044A3C60003C045 /* layers.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 33CC10E52044A3C60003C045 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastSwiftUpdateCheck = 0920;
+ LastUpgradeCheck = 1510;
+ ORGANIZATIONNAME = "";
+ TargetAttributes = {
+ 33CC10EC2044A3C60003C045 = {
+ CreatedOnToolsVersion = 9.2;
+ LastSwiftMigration = 1100;
+ ProvisioningStyle = Automatic;
+ SystemCapabilities = {
+ com.apple.Sandbox = {
+ enabled = 1;
+ };
+ };
+ };
+ 33CC111A2044C6BA0003C045 = {
+ CreatedOnToolsVersion = 9.2;
+ ProvisioningStyle = Manual;
+ };
+ };
+ };
+ buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 33CC10E42044A3C60003C045;
+ productRefGroup = 33CC10EE2044A3C60003C045 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 33CC10EC2044A3C60003C045 /* Runner */,
+ 33CC111A2044C6BA0003C045 /* Flutter Assemble */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 33CC10EB2044A3C60003C045 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */,
+ 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3399D490228B24CF009A79C7 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n";
+ };
+ 33CC111E2044C6BF0003C045 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ Flutter/ephemeral/FlutterInputs.xcfilelist,
+ );
+ inputPaths = (
+ Flutter/ephemeral/tripwire,
+ );
+ outputFileListPaths = (
+ Flutter/ephemeral/FlutterOutputs.xcfilelist,
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 33CC10E92044A3C60003C045 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */,
+ 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */,
+ 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 33CC11202044C79F0003C045 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */;
+ targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 33CC10F42044A3C60003C045 /* MainMenu.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 33CC10F52044A3C60003C045 /* Base */,
+ );
+ name = MainMenu.xib;
+ path = Runner;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 338D0CE9231458BD00FA5F75 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CODE_SIGN_IDENTITY = "-";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.14;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = macosx;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ };
+ name = Profile;
+ };
+ 338D0CEA231458BD00FA5F75 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
+ buildSettings = {
+ CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Profile;
+ };
+ 338D0CEB231458BD00FA5F75 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Manual;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Profile;
+ };
+ 33CC10F92044A3C60003C045 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CODE_SIGN_IDENTITY = "-";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.14;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ };
+ name = Debug;
+ };
+ 33CC10FA2044A3C60003C045 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CODE_SIGN_IDENTITY = "-";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.14;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = macosx;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ };
+ name = Release;
+ };
+ 33CC10FC2044A3C60003C045 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
+ buildSettings = {
+ CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Debug;
+ };
+ 33CC10FD2044A3C60003C045 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
+ buildSettings = {
+ CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Release;
+ };
+ 33CC111C2044C6BA0003C045 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Manual;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 33CC111D2044C6BA0003C045 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 33CC10F92044A3C60003C045 /* Debug */,
+ 33CC10FA2044A3C60003C045 /* Release */,
+ 338D0CE9231458BD00FA5F75 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 33CC10FC2044A3C60003C045 /* Debug */,
+ 33CC10FD2044A3C60003C045 /* Release */,
+ 338D0CEA231458BD00FA5F75 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 33CC111C2044C6BA0003C045 /* Debug */,
+ 33CC111D2044C6BA0003C045 /* Release */,
+ 338D0CEB231458BD00FA5F75 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 33CC10E52044A3C60003C045 /* Project object */;
+}
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/novelforge-project/flutter/examples/layers/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000000000000000000000000000000000000..18d981003d68d0546c4804ac2ff47dd97c6e7921
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/novelforge-project/flutter/examples/layers/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 0000000000000000000000000000000000000000..fcb264ef5f028138760c94ebc7b9e39323b8256a
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner.xcworkspace/contents.xcworkspacedata b/novelforge-project/flutter/examples/layers/macos/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000000000000000000000000000000000000..1d526a16ed0f1cd0c2409d848bf489b93fefa3b2
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/novelforge-project/flutter/examples/layers/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000000000000000000000000000000000000..18d981003d68d0546c4804ac2ff47dd97c6e7921
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/AppDelegate.swift b/novelforge-project/flutter/examples/layers/macos/Runner/AppDelegate.swift
new file mode 100644
index 0000000000000000000000000000000000000000..d080d41951d3506a861ceadcf4354bbbb609a562
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import Cocoa
+import FlutterMacOS
+
+@NSApplicationMain
+class AppDelegate: FlutterAppDelegate {
+ override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ return true
+ }
+}
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/Assets.xcassets/Contents.json b/novelforge-project/flutter/examples/layers/macos/Runner/Assets.xcassets/Contents.json
new file mode 100644
index 0000000000000000000000000000000000000000..73c00596a7fca3f3d4bdd64053b69d86745f9e10
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/Base.lproj/MainMenu.xib b/novelforge-project/flutter/examples/layers/macos/Runner/Base.lproj/MainMenu.xib
new file mode 100644
index 0000000000000000000000000000000000000000..80e867a4e06b4dc26d0a2b327cbd54041addc50a
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/Base.lproj/MainMenu.xib
@@ -0,0 +1,343 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/Configs/AppInfo.xcconfig b/novelforge-project/flutter/examples/layers/macos/Runner/Configs/AppInfo.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..c4cdc92132c29e6de04fccaff3d35418c29a8dd4
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/Configs/AppInfo.xcconfig
@@ -0,0 +1,14 @@
+// Application-level settings for the Runner target.
+//
+// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
+// future. If not, the values below would default to using the project name when this becomes a
+// 'flutter create' template.
+
+// The application's name. By default this is also the title of the Flutter window.
+PRODUCT_NAME = layers
+
+// The application's bundle identifier
+PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.layers
+
+// The copyright displayed in application information
+PRODUCT_COPYRIGHT = Copyright 2014 The Flutter Authors. All rights reserved.
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/Configs/Debug.xcconfig b/novelforge-project/flutter/examples/layers/macos/Runner/Configs/Debug.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..36b0fd9464f45b33f482e64bea579787e142affa
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/Configs/Debug.xcconfig
@@ -0,0 +1,2 @@
+#include "../../Flutter/Flutter-Debug.xcconfig"
+#include "Warnings.xcconfig"
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/Configs/Release.xcconfig b/novelforge-project/flutter/examples/layers/macos/Runner/Configs/Release.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..dff4f49561c816f70eaea557d889d31cf63447ac
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/Configs/Release.xcconfig
@@ -0,0 +1,2 @@
+#include "../../Flutter/Flutter-Release.xcconfig"
+#include "Warnings.xcconfig"
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/Configs/Warnings.xcconfig b/novelforge-project/flutter/examples/layers/macos/Runner/Configs/Warnings.xcconfig
new file mode 100644
index 0000000000000000000000000000000000000000..42bcbf4780b187e80025b7917058bcb882012aa1
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/Configs/Warnings.xcconfig
@@ -0,0 +1,13 @@
+WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings
+GCC_WARN_UNDECLARED_SELECTOR = YES
+CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
+CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
+CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
+CLANG_WARN_PRAGMA_PACK = YES
+CLANG_WARN_STRICT_PROTOTYPES = YES
+CLANG_WARN_COMMA = YES
+GCC_WARN_STRICT_SELECTOR_MATCH = YES
+CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
+CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
+GCC_WARN_SHADOW = YES
+CLANG_WARN_UNREACHABLE_CODE = YES
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/DebugProfile.entitlements b/novelforge-project/flutter/examples/layers/macos/Runner/DebugProfile.entitlements
new file mode 100644
index 0000000000000000000000000000000000000000..3ba6c1266f2184af3ab3b9e7b5fa06247a0537fe
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/DebugProfile.entitlements
@@ -0,0 +1,14 @@
+
+
+
+
+ com.apple.security.app-sandbox
+
+ com.apple.security.cs.allow-jit
+
+ com.apple.security.network.client
+
+ com.apple.security.network.server
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/Info.plist b/novelforge-project/flutter/examples/layers/macos/Runner/Info.plist
new file mode 100644
index 0000000000000000000000000000000000000000..4789daa6a443eefa7f3f729164a18351e06e9800
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/Info.plist
@@ -0,0 +1,32 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIconFile
+
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ LSMinimumSystemVersion
+ $(MACOSX_DEPLOYMENT_TARGET)
+ NSHumanReadableCopyright
+ $(PRODUCT_COPYRIGHT)
+ NSMainNibFile
+ MainMenu
+ NSPrincipalClass
+ NSApplication
+
+
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/MainFlutterWindow.swift b/novelforge-project/flutter/examples/layers/macos/Runner/MainFlutterWindow.swift
new file mode 100644
index 0000000000000000000000000000000000000000..a6a6b9af83072d4765fb492f05ebc05671f9924e
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/MainFlutterWindow.swift
@@ -0,0 +1,19 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import Cocoa
+import FlutterMacOS
+
+class MainFlutterWindow: NSWindow {
+ override func awakeFromNib() {
+ let flutterViewController = FlutterViewController()
+ let windowFrame = self.frame
+ self.contentViewController = flutterViewController
+ self.setFrame(windowFrame, display: true)
+
+ RegisterGeneratedPlugins(registry: flutterViewController)
+
+ super.awakeFromNib()
+ }
+}
diff --git a/novelforge-project/flutter/examples/layers/macos/Runner/Release.entitlements b/novelforge-project/flutter/examples/layers/macos/Runner/Release.entitlements
new file mode 100644
index 0000000000000000000000000000000000000000..852fa1a4728ae4789e3bca55dd07caef3b41f2a5
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/macos/Runner/Release.entitlements
@@ -0,0 +1,8 @@
+
+
+
+
+ com.apple.security.app-sandbox
+
+
+
diff --git a/novelforge-project/flutter/examples/layers/pubspec.lock b/novelforge-project/flutter/examples/layers/pubspec.lock
new file mode 100644
index 0000000000000000000000000000000000000000..2d3f6c8c4454cc1d7407a2d0755161ed06822cc8
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/pubspec.lock
@@ -0,0 +1,188 @@
+# Generated by pub
+# See https://dart.dev/tools/pub/glossary#lockfile
+packages:
+ async:
+ dependency: "direct dev"
+ description:
+ name: async
+ sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.11.0"
+ boolean_selector:
+ dependency: "direct dev"
+ description:
+ name: boolean_selector
+ sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.1"
+ characters:
+ dependency: "direct main"
+ description:
+ name: characters
+ sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.0"
+ clock:
+ dependency: "direct dev"
+ description:
+ name: clock
+ sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.1"
+ collection:
+ dependency: "direct main"
+ description:
+ name: collection
+ sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.18.0"
+ fake_async:
+ dependency: "direct dev"
+ description:
+ name: fake_async
+ sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.1"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ leak_tracker:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker
+ sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
+ url: "https://pub.dev"
+ source: hosted
+ version: "10.0.0"
+ leak_tracker_flutter_testing:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker_flutter_testing
+ sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ leak_tracker_testing:
+ dependency: "direct dev"
+ description:
+ name: leak_tracker_testing
+ sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ matcher:
+ dependency: "direct dev"
+ description:
+ name: matcher
+ sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.12.16+1"
+ material_color_utilities:
+ dependency: "direct main"
+ description:
+ name: material_color_utilities
+ sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.8.0"
+ meta:
+ dependency: "direct main"
+ description:
+ name: meta
+ sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.11.0"
+ path:
+ dependency: "direct dev"
+ description:
+ name: path
+ sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.9.0"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ source_span:
+ dependency: "direct dev"
+ description:
+ name: source_span
+ sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.10.0"
+ stack_trace:
+ dependency: "direct dev"
+ description:
+ name: stack_trace
+ sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.11.1"
+ stream_channel:
+ dependency: "direct dev"
+ description:
+ name: stream_channel
+ sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.2"
+ string_scanner:
+ dependency: "direct dev"
+ description:
+ name: string_scanner
+ sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.0"
+ term_glyph:
+ dependency: "direct dev"
+ description:
+ name: term_glyph
+ sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.1"
+ test_api:
+ dependency: "direct dev"
+ description:
+ name: test_api
+ sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.6.1"
+ vector_math:
+ dependency: "direct main"
+ description:
+ name: vector_math
+ sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.4"
+ vm_service:
+ dependency: "direct dev"
+ description:
+ name: vm_service
+ sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
+ url: "https://pub.dev"
+ source: hosted
+ version: "13.0.0"
+sdks:
+ dart: ">=3.2.0-0 <4.0.0"
diff --git a/novelforge-project/flutter/examples/layers/pubspec.yaml b/novelforge-project/flutter/examples/layers/pubspec.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..2b42be330691a33a13b524c9910a5a41bb396298
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/pubspec.yaml
@@ -0,0 +1,42 @@
+name: flutter_examples_layers
+
+environment:
+ sdk: '>=3.2.0-0 <4.0.0'
+
+dependencies:
+ flutter:
+ sdk: flutter
+
+ characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ material_color_utilities: 0.8.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ meta: 1.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vector_math: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+
+dev_dependencies:
+ flutter_test:
+ sdk: flutter
+
+ async: 2.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ boolean_selector: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ clock: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ fake_async: 1.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker: 10.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker_flutter_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ leak_tracker_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.16+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ path: 1.9.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_span: 1.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ string_scanner: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service: 13.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+
+flutter:
+ assets:
+ - services/data.json
+ uses-material-design: true
+
+# PUBSPEC CHECKSUM: 8023
diff --git a/novelforge-project/flutter/examples/layers/raw/canvas.dart b/novelforge-project/flutter/examples/layers/raw/canvas.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8af0ca2fd47b2a2c3a950f7a0fc1ef8360e7fd89
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/raw/canvas.dart
@@ -0,0 +1,135 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This example shows how to use the ui.Canvas interface to draw various shapes
+// with gradients and transforms.
+
+import 'dart:math' as math;
+import 'dart:typed_data';
+import 'dart:ui' as ui;
+
+// The FlutterView into which this example will draw; set in the main method.
+late final ui.FlutterView view;
+
+ui.Picture paint(ui.Rect paintBounds) {
+ // First we create a PictureRecorder to record the commands we're going to
+ // feed in the canvas. The PictureRecorder will eventually produce a Picture,
+ // which is an immutable record of those commands.
+ final ui.PictureRecorder recorder = ui.PictureRecorder();
+
+ // Next, we create a canvas from the recorder. The canvas is an interface
+ // which can receive drawing commands. The canvas interface is modeled after
+ // the SkCanvas interface from Skia. The paintBounds establishes a "cull rect"
+ // for the canvas, which lets the implementation discard any commands that
+ // are entirely outside this rectangle.
+ final ui.Canvas canvas = ui.Canvas(recorder, paintBounds);
+
+ final ui.Paint paint = ui.Paint();
+ canvas.drawPaint(ui.Paint()..color = const ui.Color(0xFFFFFFFF));
+
+ final ui.Size size = paintBounds.size;
+ final ui.Offset mid = size.center(ui.Offset.zero);
+ final double radius = size.shortestSide / 2.0;
+
+ final double devicePixelRatio = view.devicePixelRatio;
+ final ui.Size logicalSize = view.physicalSize / devicePixelRatio;
+
+ // Saves a copy of current transform onto the save stack.
+ canvas.save();
+
+ // Transforms that occur after this point apply only to the
+ // yellow-bluish rectangle.
+
+ // This line will cause the transform to shift entirely outside the paint
+ // boundaries, which will cause the canvas interface to discard its
+ // commands. Comment it out to see it on screen.
+ canvas.translate(-mid.dx / 2.0, logicalSize.height * 2.0);
+
+ // Clips the current transform.
+ canvas.clipRect(
+ ui.Rect.fromLTRB(0, radius + 50, logicalSize.width, logicalSize.height),
+ clipOp: ui.ClipOp.difference,
+ );
+
+ // Shifts the coordinate space of and rotates the current transform.
+ canvas.translate(mid.dx, mid.dy);
+ canvas.rotate(math.pi/4);
+
+ final ui.Gradient yellowBlue = ui.Gradient.linear(
+ ui.Offset(-radius, -radius),
+ ui.Offset.zero,
+ [const ui.Color(0xFFFFFF00), const ui.Color(0xFF0000FF)],
+ );
+
+ // Draws a yellow-bluish rectangle.
+ canvas.drawRect(
+ ui.Rect.fromLTRB(-radius, -radius, radius, radius),
+ ui.Paint()..shader = yellowBlue,
+ );
+
+ // Transforms that occur after this point apply only to the
+ // yellow circle.
+
+ // Scale x and y by 0.5.
+ final Float64List scaleMatrix = Float64List.fromList([
+ 0.5, 0.0, 0.0, 0.0,
+ 0.0, 0.5, 0.0, 0.0,
+ 0.0, 0.0, 1.0, 0.0,
+ 0.0, 0.0, 0.0, 1.0,
+ ]);
+ canvas.transform(scaleMatrix);
+
+ // Sets paint to transparent yellow.
+ paint.color = const ui.Color.fromARGB(128, 0, 255, 0);
+
+ // Draws a transparent yellow circle.
+ canvas.drawCircle(ui.Offset.zero, radius, paint);
+
+ // Restores the transform from before `save` was called.
+ canvas.restore();
+
+ // Sets paint to transparent red.
+ paint.color = const ui.Color.fromARGB(128, 255, 0, 0);
+
+ // This circle is drawn on top of the previous layer that contains
+ // the rectangle and smaller circle.
+ canvas.drawCircle(const ui.Offset(150.0, 300.0), radius, paint);
+
+ // When we're done issuing painting commands, we end the recording and receive
+ // a Picture, which is an immutable record of the commands we've issued. You
+ // can draw a Picture into another canvas or include it as part of a
+ // composited scene.
+ return recorder.endRecording();
+}
+
+ui.Scene composite(ui.Picture picture, ui.Rect paintBounds) {
+ final double devicePixelRatio = view.devicePixelRatio;
+ final Float64List deviceTransform = Float64List(16)
+ ..[0] = devicePixelRatio
+ ..[5] = devicePixelRatio
+ ..[10] = 1.0
+ ..[15] = 1.0;
+ final ui.SceneBuilder sceneBuilder = ui.SceneBuilder()
+ ..pushTransform(deviceTransform)
+ ..addPicture(ui.Offset.zero, picture)
+ ..pop();
+ return sceneBuilder.build();
+}
+
+void beginFrame(Duration timeStamp) {
+ final ui.Rect paintBounds = ui.Offset.zero & (view.physicalSize / view.devicePixelRatio);
+ final ui.Picture picture = paint(paintBounds);
+ final ui.Scene scene = composite(picture, paintBounds);
+ view.render(scene);
+}
+
+void main() {
+ // TODO(goderbauer): Create a window if embedder doesn't provide an implicit view to draw into.
+ assert(ui.PlatformDispatcher.instance.implicitView != null);
+ view = ui.PlatformDispatcher.instance.implicitView!;
+
+ ui.PlatformDispatcher.instance
+ ..onBeginFrame = beginFrame
+ ..scheduleFrame();
+}
diff --git a/novelforge-project/flutter/examples/layers/raw/hello_world.dart b/novelforge-project/flutter/examples/layers/raw/hello_world.dart
new file mode 100644
index 0000000000000000000000000000000000000000..e0a24c3fcd348418fb9adba74e60d47dc8874d82
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/raw/hello_world.dart
@@ -0,0 +1,57 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This example shows how to show the text 'Hello, world.' using the raw
+// interface to the engine.
+
+import 'dart:ui' as ui;
+
+// The FlutterView into which this example will draw; set in the main method.
+late final ui.FlutterView view;
+
+void beginFrame(Duration timeStamp) {
+ final double devicePixelRatio = view.devicePixelRatio;
+ final ui.Size logicalSize = view.physicalSize / devicePixelRatio;
+
+ final ui.ParagraphBuilder paragraphBuilder = ui.ParagraphBuilder(
+ ui.ParagraphStyle(textDirection: ui.TextDirection.ltr),
+ )
+ ..addText('Hello, world.');
+ final ui.Paragraph paragraph = paragraphBuilder.build()
+ ..layout(ui.ParagraphConstraints(width: logicalSize.width));
+
+ final ui.Rect physicalBounds = ui.Offset.zero & (logicalSize * devicePixelRatio);
+ final ui.PictureRecorder recorder = ui.PictureRecorder();
+ final ui.Canvas canvas = ui.Canvas(recorder, physicalBounds);
+ canvas.scale(devicePixelRatio, devicePixelRatio);
+ canvas.drawParagraph(paragraph, ui.Offset(
+ (logicalSize.width - paragraph.maxIntrinsicWidth) / 2.0,
+ (logicalSize.height - paragraph.height) / 2.0,
+ ));
+ final ui.Picture picture = recorder.endRecording();
+
+ final ui.SceneBuilder sceneBuilder = ui.SceneBuilder()
+ // TODO(abarth): We should be able to add a picture without pushing a
+ // container layer first.
+ ..pushClipRect(physicalBounds)
+ ..addPicture(ui.Offset.zero, picture)
+ ..pop();
+
+ view.render(sceneBuilder.build());
+}
+
+// This function is the primary entry point to your application. The engine
+// calls main() as soon as it has loaded your code.
+void main() {
+ // TODO(goderbauer): Create a window if embedder doesn't provide an implicit view to draw into.
+ assert(ui.PlatformDispatcher.instance.implicitView != null);
+ view = ui.PlatformDispatcher.instance.implicitView!;
+
+ // The engine calls onBeginFrame whenever it wants us to produce a frame.
+ ui.PlatformDispatcher.instance.onBeginFrame = beginFrame;
+ // Here we kick off the whole process by asking the engine to schedule a new
+ // frame. The engine will eventually call onBeginFrame when it is time for us
+ // to actually produce the frame.
+ ui.PlatformDispatcher.instance.scheduleFrame();
+}
diff --git a/novelforge-project/flutter/examples/layers/raw/spinning_square.dart b/novelforge-project/flutter/examples/layers/raw/spinning_square.dart
new file mode 100644
index 0000000000000000000000000000000000000000..df8515ca646685024b3a32304e87cc52a8a423ba
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/raw/spinning_square.dart
@@ -0,0 +1,69 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This example shows how to perform a simple animation using the raw interface
+// to the engine.
+
+import 'dart:math' as math;
+import 'dart:typed_data';
+import 'dart:ui' as ui;
+
+// The FlutterView into which this example will draw; set in the main method.
+late final ui.FlutterView view;
+
+void beginFrame(Duration timeStamp) {
+ // The timeStamp argument to beginFrame indicates the timing information we
+ // should use to clock our animations. It's important to use timeStamp rather
+ // than reading the system time because we want all the parts of the system to
+ // coordinate the timings of their animations. If each component read the
+ // system clock independently, the animations that we processed later would be
+ // slightly ahead of the animations we processed earlier.
+
+ // PAINT
+
+ final ui.Rect paintBounds = ui.Offset.zero & (view.physicalSize / view.devicePixelRatio);
+ final ui.PictureRecorder recorder = ui.PictureRecorder();
+ final ui.Canvas canvas = ui.Canvas(recorder, paintBounds);
+ canvas.translate(paintBounds.width / 2.0, paintBounds.height / 2.0);
+
+ // Here we determine the rotation according to the timeStamp given to us by
+ // the engine.
+ final double t = timeStamp.inMicroseconds / Duration.microsecondsPerMillisecond / 1800.0;
+ canvas.rotate(math.pi * (t % 1.0));
+
+ canvas.drawRect(
+ const ui.Rect.fromLTRB(-100.0, -100.0, 100.0, 100.0),
+ ui.Paint()..color = const ui.Color.fromARGB(255, 0, 255, 0),
+ );
+ final ui.Picture picture = recorder.endRecording();
+
+ // COMPOSITE
+
+ final double devicePixelRatio = view.devicePixelRatio;
+ final Float64List deviceTransform = Float64List(16)
+ ..[0] = devicePixelRatio
+ ..[5] = devicePixelRatio
+ ..[10] = 1.0
+ ..[15] = 1.0;
+ final ui.SceneBuilder sceneBuilder = ui.SceneBuilder()
+ ..pushTransform(deviceTransform)
+ ..addPicture(ui.Offset.zero, picture)
+ ..pop();
+ view.render(sceneBuilder.build());
+
+ // After rendering the current frame of the animation, we ask the engine to
+ // schedule another frame. The engine will call beginFrame again when its time
+ // to produce the next frame.
+ ui.PlatformDispatcher.instance.scheduleFrame();
+}
+
+void main() {
+ // TODO(goderbauer): Create a window if embedder doesn't provide an implicit view to draw into.
+ assert(ui.PlatformDispatcher.instance.implicitView != null);
+ view = ui.PlatformDispatcher.instance.implicitView!;
+
+ ui.PlatformDispatcher.instance
+ ..onBeginFrame = beginFrame
+ ..scheduleFrame();
+}
diff --git a/novelforge-project/flutter/examples/layers/raw/text.dart b/novelforge-project/flutter/examples/layers/raw/text.dart
new file mode 100644
index 0000000000000000000000000000000000000000..616e8fa75ad75a299d92955f629c99be43ece5ba
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/raw/text.dart
@@ -0,0 +1,102 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This example shows how to draw some bi-directional text using the raw
+// interface to the engine.
+
+import 'dart:typed_data';
+import 'dart:ui' as ui;
+
+// The FlutterView into which this example will draw; set in the main method.
+late final ui.FlutterView view;
+
+// A paragraph represents a rectangular region that contains some text.
+late ui.Paragraph paragraph;
+
+ui.Picture paint(ui.Rect paintBounds) {
+ final ui.PictureRecorder recorder = ui.PictureRecorder();
+ final ui.Canvas canvas = ui.Canvas(recorder, paintBounds);
+
+ final double devicePixelRatio = view.devicePixelRatio;
+ final ui.Size logicalSize = view.physicalSize / devicePixelRatio;
+
+ canvas.translate(logicalSize.width / 2.0, logicalSize.height / 2.0);
+ canvas.drawRect(
+ const ui.Rect.fromLTRB(-100.0, -100.0, 100.0, 100.0),
+ ui.Paint()..color = const ui.Color.fromARGB(255, 0, 255, 0),
+ );
+
+ // The paint method of Paragraph draws the contents of the paragraph onto the
+ // given canvas.
+ canvas.drawParagraph(paragraph, ui.Offset(-paragraph.width / 2.0, (paragraph.width / 2.0) - 125.0));
+
+ return recorder.endRecording();
+}
+
+ui.Scene composite(ui.Picture picture, ui.Rect paintBounds) {
+ final double devicePixelRatio = view.devicePixelRatio;
+ final Float64List deviceTransform = Float64List(16)
+ ..[0] = devicePixelRatio
+ ..[5] = devicePixelRatio
+ ..[10] = 1.0
+ ..[15] = 1.0;
+ final ui.SceneBuilder sceneBuilder = ui.SceneBuilder()
+ ..pushTransform(deviceTransform)
+ ..addPicture(ui.Offset.zero, picture)
+ ..pop();
+ return sceneBuilder.build();
+}
+
+void beginFrame(Duration timeStamp) {
+ final ui.Rect paintBounds = ui.Offset.zero & (view.physicalSize / view.devicePixelRatio);
+ final ui.Picture picture = paint(paintBounds);
+ final ui.Scene scene = composite(picture, paintBounds);
+ view.render(scene);
+}
+
+void main() {
+ // TODO(goderbauer): Create a window if embedder doesn't provide an implicit view to draw into.
+ assert(ui.PlatformDispatcher.instance.implicitView != null);
+ view = ui.PlatformDispatcher.instance.implicitView!;
+
+ // To create a paragraph of text, we use ParagraphBuilder.
+ final ui.ParagraphBuilder builder = ui.ParagraphBuilder(
+ // The text below has a primary direction of left-to-right.
+ // The embedded text has other directions.
+ // If this was TextDirection.rtl, the "Hello, world" text would end up on
+ // the other side of the right-to-left text.
+ ui.ParagraphStyle(textDirection: ui.TextDirection.ltr),
+ )
+ // We first push a style that turns the text blue.
+ ..pushStyle(ui.TextStyle(color: const ui.Color(0xFF0000FF)))
+ ..addText('Hello, ')
+ // The next run of text will be bold.
+ ..pushStyle(ui.TextStyle(fontWeight: ui.FontWeight.bold))
+ ..addText('world. ')
+ // The pop() command signals the end of the bold styling.
+ ..pop()
+ // We add text to the paragraph in logical order. The paragraph object
+ // understands bi-directional text and will compute the visual ordering
+ // during layout.
+ ..addText('هذا هو قليلا طويلة من النص الذي يجب التفاف .')
+ // The second pop() removes the blue color.
+ ..pop()
+ // We can add more text with the default styling.
+ ..addText(' و أكثر قليلا لجعله أطول. ')
+ ..addText('สวัสดี');
+ // When we're done adding styles and text, we build the Paragraph object, at
+ // which time we can apply styling that affects the entire paragraph, such as
+ // left, right, or center alignment. Once built, the contents of the paragraph
+ // cannot be altered, but sizing and positioning information can be updated.
+ paragraph = builder.build()
+ // Next, we supply a width that the text is permitted to occupy and we ask
+ // the paragraph to the visual position of each its glyphs as well as its
+ // overall size, subject to its sizing constraints.
+ ..layout(const ui.ParagraphConstraints(width: 180.0));
+
+ // Finally, we register our beginFrame callback and kick off the first frame.
+ ui.PlatformDispatcher.instance
+ ..onBeginFrame = beginFrame
+ ..scheduleFrame();
+}
diff --git a/novelforge-project/flutter/examples/layers/raw/touch_input.dart b/novelforge-project/flutter/examples/layers/raw/touch_input.dart
new file mode 100644
index 0000000000000000000000000000000000000000..cd83f4ee61d829cb892aa15f2fd49aa8a446937e
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/raw/touch_input.dart
@@ -0,0 +1,122 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This example shows how to put some pixels on the screen using the raw
+// interface to the engine.
+
+import 'dart:typed_data';
+import 'dart:ui' as ui;
+
+// The FlutterView into which this example will draw; set in the main method.
+late final ui.FlutterView view;
+
+late ui.Color color;
+
+ui.Picture paint(ui.Rect paintBounds) {
+ // First we create a PictureRecorder to record the commands we're going to
+ // feed in the canvas. The PictureRecorder will eventually produce a Picture,
+ // which is an immutable record of those commands.
+ final ui.PictureRecorder recorder = ui.PictureRecorder();
+
+ // Next, we create a canvas from the recorder. The canvas is an interface
+ // which can receive drawing commands. The canvas interface is modeled after
+ // the SkCanvas interface from Skia. The paintBounds establishes a "cull rect"
+ // for the canvas, which lets the implementation discard any commands that
+ // are entirely outside this rectangle.
+ final ui.Canvas canvas = ui.Canvas(recorder, paintBounds);
+
+ // The commands draw a circle in the center of the screen.
+ final ui.Size size = paintBounds.size;
+ canvas.drawCircle(
+ size.center(ui.Offset.zero),
+ size.shortestSide * 0.45,
+ ui.Paint()..color = color,
+ );
+
+ // When we're done issuing painting commands, we end the recording an receive
+ // a Picture, which is an immutable record of the commands we've issued. You
+ // can draw a Picture into another canvas or include it as part of a
+ // composited scene.
+ return recorder.endRecording();
+}
+
+ui.Scene composite(ui.Picture picture, ui.Rect paintBounds) {
+ // The device pixel ratio gives an approximate ratio of the size of pixels on
+ // the device's screen to "normal" sized pixels. We commonly work in logical
+ // pixels, which are then scaled by the device pixel ratio before being drawn
+ // on the screen.
+ final double devicePixelRatio = view.devicePixelRatio;
+
+ // This transform scales the x and y coordinates by the devicePixelRatio.
+ final Float64List deviceTransform = Float64List(16)
+ ..[0] = devicePixelRatio
+ ..[5] = devicePixelRatio
+ ..[10] = 1.0
+ ..[15] = 1.0;
+
+ // We build a very simple scene graph with two nodes. The root node is a
+ // transform that scale its children by the device pixel ratio. This transform
+ // lets us paint in "logical" pixels which are converted to device pixels by
+ // this scaling operation.
+ final ui.SceneBuilder sceneBuilder = ui.SceneBuilder()
+ ..pushTransform(deviceTransform)
+ ..addPicture(ui.Offset.zero, picture)
+ ..pop();
+
+ // When we're done recording the scene, we call build() to obtain an immutable
+ // record of the scene we've recorded.
+ return sceneBuilder.build();
+}
+
+void beginFrame(Duration timeStamp) {
+ final ui.Rect paintBounds = ui.Offset.zero & (view.physicalSize / view.devicePixelRatio);
+ // First, record a picture with our painting commands.
+ final ui.Picture picture = paint(paintBounds);
+ // Second, include that picture in a scene graph.
+ final ui.Scene scene = composite(picture, paintBounds);
+ // Third, instruct the engine to render that scene graph.
+ view.render(scene);
+}
+
+void handlePointerDataPacket(ui.PointerDataPacket packet) {
+ // The pointer packet contains a number of pointer movements, which we iterate
+ // through and process.
+ for (final ui.PointerData datum in packet.data) {
+ if (datum.change == ui.PointerChange.down) {
+ // If the pointer went down, we change the color of the circle to blue.
+ color = const ui.Color(0xFF0000FF);
+ // Rather than calling paint() synchronously, we ask the engine to
+ // schedule a frame. The engine will call onBeginFrame when it is actually
+ // time to produce the frame.
+ ui.PlatformDispatcher.instance.scheduleFrame();
+ } else if (datum.change == ui.PointerChange.up) {
+ // Similarly, if the pointer went up, we change the color of the circle to
+ // green and schedule a frame. It's harmless to call scheduleFrame many
+ // times because the engine will ignore redundant requests up until the
+ // point where the engine calls onBeginFrame, which signals the boundary
+ // between one frame and another.
+ color = const ui.Color(0xFF00FF00);
+ ui.PlatformDispatcher.instance.scheduleFrame();
+ }
+ }
+}
+
+// This function is the primary entry point to your application. The engine
+// calls main() as soon as it has loaded your code.
+void main() {
+ // TODO(goderbauer): Create a window if embedder doesn't provide an implicit view to draw into.
+ assert(ui.PlatformDispatcher.instance.implicitView != null);
+ view = ui.PlatformDispatcher.instance.implicitView!;
+
+ color = const ui.Color(0xFF00FF00);
+ // The engine calls onBeginFrame whenever it wants us to produce a frame.
+ ui.PlatformDispatcher.instance.onBeginFrame = beginFrame;
+ // The engine calls onPointerDataPacket whenever it had updated information
+ // about the pointers directed at our app.
+ ui.PlatformDispatcher.instance.onPointerDataPacket = handlePointerDataPacket;
+ // Here we kick off the whole process by asking the engine to schedule a new
+ // frame. The engine will eventually call onBeginFrame when it is time for us
+ // to actually produce the frame.
+ ui.PlatformDispatcher.instance.scheduleFrame();
+}
diff --git a/novelforge-project/flutter/examples/layers/rendering/custom_coordinate_systems.dart b/novelforge-project/flutter/examples/layers/rendering/custom_coordinate_systems.dart
new file mode 100644
index 0000000000000000000000000000000000000000..d7fd16186e5d08010e2b05b1eed0c21a471e1a56
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/rendering/custom_coordinate_systems.dart
@@ -0,0 +1,26 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This example shows how to build a render tree with a non-cartesian coordinate
+// system. Most of the guts of this examples are in src/sector_layout.dart.
+
+import 'package:flutter/rendering.dart';
+import 'src/binding.dart';
+import 'src/sector_layout.dart';
+
+RenderBox buildSectorExample() {
+ final RenderSectorRing rootCircle = RenderSectorRing(padding: 20.0);
+ rootCircle.add(RenderSolidColor(const Color(0xFF00FFFF), desiredDeltaTheta: kTwoPi * 0.15));
+ rootCircle.add(RenderSolidColor(const Color(0xFF0000FF), desiredDeltaTheta: kTwoPi * 0.4));
+ final RenderSectorSlice stack = RenderSectorSlice(padding: 2.0);
+ stack.add(RenderSolidColor(const Color(0xFFFFFF00), desiredDeltaRadius: 20.0));
+ stack.add(RenderSolidColor(const Color(0xFFFF9000), desiredDeltaRadius: 20.0));
+ stack.add(RenderSolidColor(const Color(0xFF00FF00)));
+ rootCircle.add(stack);
+ return RenderBoxToRenderSectorAdapter(innerRadius: 50.0, child: rootCircle);
+}
+
+void main() {
+ ViewRenderingFlutterBinding(root: buildSectorExample()).scheduleFrame();
+}
diff --git a/novelforge-project/flutter/examples/layers/rendering/flex_layout.dart b/novelforge-project/flutter/examples/layers/rendering/flex_layout.dart
new file mode 100644
index 0000000000000000000000000000000000000000..845a232fa18199864924faa12ff1878823731467
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/rendering/flex_layout.dart
@@ -0,0 +1,91 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This example shows how to use flex layout directly in the underlying render
+// tree.
+
+import 'package:flutter/rendering.dart';
+
+import 'src/binding.dart';
+import 'src/solid_color_box.dart';
+
+void main() {
+ final RenderFlex table = RenderFlex(direction: Axis.vertical, textDirection: TextDirection.ltr);
+
+ void addAlignmentRow(CrossAxisAlignment crossAxisAlignment) {
+ TextStyle style = const TextStyle(color: Color(0xFF000000));
+ final RenderParagraph paragraph = RenderParagraph(
+ TextSpan(style: style, text: '$crossAxisAlignment'),
+ textDirection: TextDirection.ltr,
+ );
+ table.add(RenderPadding(child: paragraph, padding: const EdgeInsets.only(top: 20.0)));
+ final RenderFlex row = RenderFlex(crossAxisAlignment: crossAxisAlignment, textBaseline: TextBaseline.alphabetic, textDirection: TextDirection.ltr);
+ style = const TextStyle(fontSize: 15.0, color: Color(0xFF000000));
+ row.add(RenderDecoratedBox(
+ decoration: const BoxDecoration(color: Color(0x7FFFCCCC)),
+ child: RenderParagraph(
+ TextSpan(style: style, text: 'foo foo foo'),
+ textDirection: TextDirection.ltr,
+ ),
+ ));
+ style = const TextStyle(fontSize: 10.0, color: Color(0xFF000000));
+ row.add(RenderDecoratedBox(
+ decoration: const BoxDecoration(color: Color(0x7FCCFFCC)),
+ child: RenderParagraph(
+ TextSpan(style: style, text: 'foo foo foo'),
+ textDirection: TextDirection.ltr,
+ ),
+ ));
+ final RenderFlex subrow = RenderFlex(crossAxisAlignment: crossAxisAlignment, textBaseline: TextBaseline.alphabetic, textDirection: TextDirection.ltr);
+ style = const TextStyle(fontSize: 25.0, color: Color(0xFF000000));
+ subrow.add(RenderDecoratedBox(
+ decoration: const BoxDecoration(color: Color(0x7FCCCCFF)),
+ child: RenderParagraph(
+ TextSpan(style: style, text: 'foo foo foo foo'),
+ textDirection: TextDirection.ltr,
+ ),
+ ));
+ subrow.add(RenderSolidColorBox(const Color(0x7FCCFFFF), desiredSize: const Size(30.0, 40.0)));
+ row.add(subrow);
+ table.add(row);
+ final FlexParentData rowParentData = row.parentData! as FlexParentData;
+ rowParentData.flex = 1;
+ }
+
+ addAlignmentRow(CrossAxisAlignment.start);
+ addAlignmentRow(CrossAxisAlignment.end);
+ addAlignmentRow(CrossAxisAlignment.center);
+ addAlignmentRow(CrossAxisAlignment.stretch);
+ addAlignmentRow(CrossAxisAlignment.baseline);
+
+ void addJustificationRow(MainAxisAlignment justify) {
+ const TextStyle style = TextStyle(color: Color(0xFF000000));
+ final RenderParagraph paragraph = RenderParagraph(
+ TextSpan(style: style, text: '$justify'),
+ textDirection: TextDirection.ltr,
+ );
+ table.add(RenderPadding(child: paragraph, padding: const EdgeInsets.only(top: 20.0)));
+ final RenderFlex row = RenderFlex(textDirection: TextDirection.ltr);
+ row.add(RenderSolidColorBox(const Color(0xFFFFCCCC), desiredSize: const Size(80.0, 60.0)));
+ row.add(RenderSolidColorBox(const Color(0xFFCCFFCC), desiredSize: const Size(64.0, 60.0)));
+ row.add(RenderSolidColorBox(const Color(0xFFCCCCFF), desiredSize: const Size(160.0, 60.0)));
+ row.mainAxisAlignment = justify;
+ table.add(row);
+ final FlexParentData rowParentData = row.parentData! as FlexParentData;
+ rowParentData.flex = 1;
+ }
+
+ addJustificationRow(MainAxisAlignment.start);
+ addJustificationRow(MainAxisAlignment.end);
+ addJustificationRow(MainAxisAlignment.center);
+ addJustificationRow(MainAxisAlignment.spaceBetween);
+ addJustificationRow(MainAxisAlignment.spaceAround);
+
+ final RenderDecoratedBox root = RenderDecoratedBox(
+ decoration: const BoxDecoration(color: Color(0xFFFFFFFF)),
+ child: RenderPadding(child: table, padding: const EdgeInsets.symmetric(vertical: 50.0)),
+ );
+
+ ViewRenderingFlutterBinding(root: root).scheduleFrame();
+}
diff --git a/novelforge-project/flutter/examples/layers/rendering/hello_world.dart b/novelforge-project/flutter/examples/layers/rendering/hello_world.dart
new file mode 100644
index 0000000000000000000000000000000000000000..cb49f94d373b234eccd559958c4954701d2ed794
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/rendering/hello_world.dart
@@ -0,0 +1,30 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This example shows how to show the text 'Hello, world.' using the underlying
+// render tree.
+
+import 'package:flutter/rendering.dart';
+
+import 'src/binding.dart';
+
+void main() {
+ // We use ViewRenderingFlutterBinding to attach the render tree to the window.
+ ViewRenderingFlutterBinding(
+ // The root of our render tree is a RenderPositionedBox, which centers its
+ // child both vertically and horizontally.
+ root: RenderPositionedBox(
+ // We use a RenderParagraph to display the text 'Hello, world.' without
+ // any explicit styling.
+ child: RenderParagraph(
+ const TextSpan(text: 'Hello, world.'),
+ // The text is in English so we specify the text direction as
+ // left-to-right. If the text had been in Hebrew or Arabic, we would
+ // have specified right-to-left. The Flutter framework does not assume a
+ // particular text direction.
+ textDirection: TextDirection.ltr,
+ ),
+ ),
+ ).scheduleFrame();
+}
diff --git a/novelforge-project/flutter/examples/layers/rendering/spinning_square.dart b/novelforge-project/flutter/examples/layers/rendering/spinning_square.dart
new file mode 100644
index 0000000000000000000000000000000000000000..cb833069fdeccf750019386c3661cdaf97f2a357
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/rendering/spinning_square.dart
@@ -0,0 +1,69 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This example shows how to perform a simple animation using the underlying
+// render tree.
+
+import 'dart:math' as math;
+
+import 'package:flutter/animation.dart';
+import 'package:flutter/rendering.dart';
+import 'package:flutter/scheduler.dart';
+
+import 'src/binding.dart';
+
+class NonStopVSync implements TickerProvider {
+ const NonStopVSync();
+ @override
+ Ticker createTicker(TickerCallback onTick) => Ticker(onTick);
+}
+
+void main() {
+ // We first create a render object that represents a green box.
+ final RenderBox green = RenderDecoratedBox(
+ decoration: const BoxDecoration(color: Color(0xFF00FF00)),
+ );
+ // Second, we wrap that green box in a render object that forces the green box
+ // to have a specific size.
+ final RenderBox square = RenderConstrainedBox(
+ additionalConstraints: const BoxConstraints.tightFor(width: 200.0, height: 200.0),
+ child: green,
+ );
+ // Third, we wrap the sized green square in a render object that applies rotation
+ // transform before painting its child. Each frame of the animation, we'll
+ // update the transform of this render object to cause the green square to
+ // spin.
+ final RenderTransform spin = RenderTransform(
+ transform: Matrix4.identity(),
+ alignment: Alignment.center,
+ child: square,
+ );
+ // Finally, we center the spinning green square...
+ final RenderBox root = RenderPositionedBox(
+ child: spin,
+ );
+ // and attach it to the window.
+ ViewRenderingFlutterBinding(root: root);
+
+ // To make the square spin, we use an animation that repeats every 1800
+ // milliseconds.
+ final AnimationController animation = AnimationController(
+ duration: const Duration(milliseconds: 1800),
+ vsync: const NonStopVSync(),
+ )..repeat();
+ // The animation will produce a value between 0.0 and 1.0 each frame, but we
+ // want to rotate the square using a value between 0.0 and math.pi. To change
+ // the range of the animation, we use a Tween.
+ final Tween tween = Tween(begin: 0.0, end: math.pi);
+ // We add a listener to the animation, which will be called every time the
+ // animation ticks.
+ animation.addListener(() {
+ // This code runs every tick of the animation and sets a new transform on
+ // the "spin" render object by evaluating the tween on the current value
+ // of the animation. Setting this value will mark a number of dirty bits
+ // inside the render tree, which cause the render tree to repaint with the
+ // new transform value this frame.
+ spin.transform = Matrix4.rotationZ(tween.evaluate(animation));
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/rendering/src/binding.dart b/novelforge-project/flutter/examples/layers/rendering/src/binding.dart
new file mode 100644
index 0000000000000000000000000000000000000000..ae8cedcc90dde2278b14ea59026ac518a009f4e1
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/rendering/src/binding.dart
@@ -0,0 +1,69 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'dart:ui';
+
+import 'package:flutter/rendering.dart';
+
+/// An extension of [RenderingFlutterBinding] that owns and manages a
+/// [renderView].
+///
+/// Unlike [RenderingFlutterBinding], this binding also creates and owns a
+/// [renderView] to simplify bootstrapping for apps that have a dedicated main
+/// view.
+class ViewRenderingFlutterBinding extends RenderingFlutterBinding {
+ /// Creates a binding for the rendering layer.
+ ///
+ /// The `root` render box is attached directly to the [renderView] and is
+ /// given constraints that require it to fill the window. The [renderView]
+ /// itself is attached to the [rootPipelineOwner].
+ ///
+ /// This binding does not automatically schedule any frames. Callers are
+ /// responsible for deciding when to first call [scheduleFrame].
+ ViewRenderingFlutterBinding({ RenderBox? root }) : _root = root;
+
+ @override
+ void initInstances() {
+ super.initInstances();
+ // TODO(goderbauer): Create window if embedder doesn't provide an implicit view.
+ assert(PlatformDispatcher.instance.implicitView != null);
+ _renderView = initRenderView(PlatformDispatcher.instance.implicitView!);
+ _renderView.child = _root;
+ _root = null;
+ }
+
+ RenderBox? _root;
+
+ @override
+ RenderView get renderView => _renderView;
+ late RenderView _renderView;
+
+ /// Creates a [RenderView] object to be the root of the
+ /// [RenderObject] rendering tree, and initializes it so that it
+ /// will be rendered when the next frame is requested.
+ ///
+ /// Called automatically when the binding is created.
+ RenderView initRenderView(FlutterView view) {
+ final RenderView renderView = RenderView(view: view);
+ rootPipelineOwner.rootNode = renderView;
+ addRenderView(renderView);
+ renderView.prepareInitialFrame();
+ return renderView;
+ }
+
+ @override
+ PipelineOwner createRootPipelineOwner() {
+ return PipelineOwner(
+ onSemanticsOwnerCreated: () {
+ renderView.scheduleInitialSemantics();
+ },
+ onSemanticsUpdate: (SemanticsUpdate update) {
+ renderView.updateSemantics(update);
+ },
+ onSemanticsOwnerDisposed: () {
+ renderView.clearSemantics();
+ },
+ );
+ }
+}
diff --git a/novelforge-project/flutter/examples/layers/rendering/src/sector_layout.dart b/novelforge-project/flutter/examples/layers/rendering/src/sector_layout.dart
new file mode 100644
index 0000000000000000000000000000000000000000..a8bfa641f94dc52da170218c5fa13733b5e18368
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/rendering/src/sector_layout.dart
@@ -0,0 +1,651 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'dart:math' as math;
+
+import 'package:flutter/rendering.dart';
+
+const double kTwoPi = 2 * math.pi;
+
+class SectorConstraints extends Constraints {
+ const SectorConstraints({
+ this.minDeltaRadius = 0.0,
+ this.maxDeltaRadius = double.infinity,
+ this.minDeltaTheta = 0.0,
+ this.maxDeltaTheta = kTwoPi,
+ }) : assert(maxDeltaRadius >= minDeltaRadius),
+ assert(maxDeltaTheta >= minDeltaTheta);
+
+ const SectorConstraints.tight({ double deltaRadius = 0.0, double deltaTheta = 0.0 })
+ : minDeltaRadius = deltaRadius,
+ maxDeltaRadius = deltaRadius,
+ minDeltaTheta = deltaTheta,
+ maxDeltaTheta = deltaTheta;
+
+ final double minDeltaRadius;
+ final double maxDeltaRadius;
+ final double minDeltaTheta;
+ final double maxDeltaTheta;
+
+ double constrainDeltaRadius(double deltaRadius) {
+ return deltaRadius.clamp(minDeltaRadius, maxDeltaRadius);
+ }
+
+ double constrainDeltaTheta(double deltaTheta) {
+ return deltaTheta.clamp(minDeltaTheta, maxDeltaTheta);
+ }
+
+ @override
+ bool get isTight => minDeltaTheta >= maxDeltaTheta && minDeltaTheta >= maxDeltaTheta;
+
+ @override
+ bool get isNormalized => minDeltaRadius <= maxDeltaRadius && minDeltaTheta <= maxDeltaTheta;
+
+ @override
+ bool debugAssertIsValid({
+ bool isAppliedConstraint = false,
+ InformationCollector? informationCollector,
+ }) {
+ assert(isNormalized);
+ return isNormalized;
+ }
+}
+
+class SectorDimensions {
+ const SectorDimensions({ this.deltaRadius = 0.0, this.deltaTheta = 0.0 });
+
+ factory SectorDimensions.withConstraints(
+ SectorConstraints constraints, {
+ double deltaRadius = 0.0,
+ double deltaTheta = 0.0,
+ }) {
+ return SectorDimensions(
+ deltaRadius: constraints.constrainDeltaRadius(deltaRadius),
+ deltaTheta: constraints.constrainDeltaTheta(deltaTheta),
+ );
+ }
+
+ final double deltaRadius;
+ final double deltaTheta;
+}
+
+class SectorParentData extends ParentData {
+ double radius = 0.0;
+ double theta = 0.0;
+}
+
+/// Base class for [RenderObject]s that live in a polar coordinate space.
+///
+/// In a polar coordinate system each point on a plane is determined by a
+/// distance from a reference point ("radius") and an angle from a reference
+/// direction ("theta").
+///
+/// See also:
+///
+/// * , which defines
+/// the polar coordinate space.
+/// * [RenderBox], which is the base class for [RenderObject]s that live in a
+/// Cartesian coordinate space.
+abstract class RenderSector extends RenderObject {
+
+ @override
+ void setupParentData(RenderObject child) {
+ if (child.parentData is! SectorParentData) {
+ child.parentData = SectorParentData();
+ }
+ }
+
+ // RenderSectors always use SectorParentData subclasses, as they need to be
+ // able to read their position information for painting and hit testing.
+ @override
+ SectorParentData? get parentData => super.parentData as SectorParentData?;
+
+ SectorDimensions getIntrinsicDimensions(SectorConstraints constraints, double radius) {
+ return SectorDimensions.withConstraints(constraints);
+ }
+
+ @override
+ SectorConstraints get constraints => super.constraints as SectorConstraints;
+
+ @override
+ void debugAssertDoesMeetConstraints() {
+ assert(deltaRadius < double.infinity);
+ assert(deltaTheta < double.infinity);
+ assert(constraints.minDeltaRadius <= deltaRadius);
+ assert(deltaRadius <= math.max(constraints.minDeltaRadius, constraints.maxDeltaRadius));
+ assert(constraints.minDeltaTheta <= deltaTheta);
+ assert(deltaTheta <= math.max(constraints.minDeltaTheta, constraints.maxDeltaTheta));
+ }
+
+ @override
+ void performResize() {
+ // default behavior for subclasses that have sizedByParent = true
+ deltaRadius = constraints.constrainDeltaRadius(0.0);
+ deltaTheta = constraints.constrainDeltaTheta(0.0);
+ }
+
+ @override
+ void performLayout() {
+ // descendants have to either override performLayout() to set both
+ // the dimensions and lay out children, or, set sizedByParent to
+ // true so that performResize()'s logic above does its thing.
+ assert(sizedByParent);
+ }
+
+ @override
+ Rect get paintBounds => Rect.fromLTWH(0.0, 0.0, 2.0 * deltaRadius, 2.0 * deltaRadius);
+
+ @override
+ Rect get semanticBounds => Rect.fromLTWH(-deltaRadius, -deltaRadius, 2.0 * deltaRadius, 2.0 * deltaRadius);
+
+ bool hitTest(SectorHitTestResult result, { required double radius, required double theta }) {
+ if (radius < parentData!.radius || radius >= parentData!.radius + deltaRadius ||
+ theta < parentData!.theta || theta >= parentData!.theta + deltaTheta) {
+ return false;
+ }
+ hitTestChildren(result, radius: radius, theta: theta);
+ result.add(SectorHitTestEntry(this, radius: radius, theta: theta));
+ return true;
+ }
+ void hitTestChildren(SectorHitTestResult result, { required double radius, required double theta }) { }
+
+ late double deltaRadius;
+ late double deltaTheta;
+}
+
+abstract class RenderDecoratedSector extends RenderSector {
+
+ RenderDecoratedSector(BoxDecoration? decoration) : _decoration = decoration;
+
+ BoxDecoration? _decoration;
+ BoxDecoration? get decoration => _decoration;
+ set decoration(BoxDecoration? value) {
+ if (value == _decoration) {
+ return;
+ }
+ _decoration = value;
+ markNeedsPaint();
+ }
+
+ // offset must point to the center of the circle
+ @override
+ void paint(PaintingContext context, Offset offset) {
+ assert(parentData is SectorParentData);
+
+ if (_decoration == null) {
+ return;
+ }
+
+ if (_decoration!.color != null) {
+ final Canvas canvas = context.canvas;
+ final Paint paint = Paint()..color = _decoration!.color!;
+ final Path path = Path();
+ final double outerRadius = parentData!.radius + deltaRadius;
+ final Rect outerBounds = Rect.fromLTRB(offset.dx-outerRadius, offset.dy-outerRadius, offset.dx+outerRadius, offset.dy+outerRadius);
+ path.arcTo(outerBounds, parentData!.theta, deltaTheta, true);
+ final double innerRadius = parentData!.radius;
+ final Rect innerBounds = Rect.fromLTRB(offset.dx-innerRadius, offset.dy-innerRadius, offset.dx+innerRadius, offset.dy+innerRadius);
+ path.arcTo(innerBounds, parentData!.theta + deltaTheta, -deltaTheta, false);
+ path.close();
+ canvas.drawPath(path, paint);
+ }
+ }
+
+}
+
+class SectorChildListParentData extends SectorParentData with ContainerParentDataMixin { }
+
+class RenderSectorWithChildren extends RenderDecoratedSector with ContainerRenderObjectMixin {
+ RenderSectorWithChildren(super.decoration);
+
+ @override
+ void hitTestChildren(SectorHitTestResult result, { required double radius, required double theta }) {
+ RenderSector? child = lastChild;
+ while (child != null) {
+ if (child.hitTest(result, radius: radius, theta: theta)) {
+ return;
+ }
+ final SectorChildListParentData childParentData = child.parentData! as SectorChildListParentData;
+ child = childParentData.previousSibling;
+ }
+ }
+
+ @override
+ void visitChildren(RenderObjectVisitor visitor) {
+ RenderSector? child = lastChild;
+ while (child != null) {
+ visitor(child);
+ final SectorChildListParentData childParentData = child.parentData! as SectorChildListParentData;
+ child = childParentData.previousSibling;
+ }
+ }
+}
+
+class RenderSectorRing extends RenderSectorWithChildren {
+ // lays out RenderSector children in a ring
+
+ RenderSectorRing({
+ BoxDecoration? decoration,
+ double deltaRadius = double.infinity,
+ double padding = 0.0,
+ }) : _padding = padding,
+ assert(deltaRadius >= 0.0),
+ _desiredDeltaRadius = deltaRadius,
+ super(decoration);
+
+ double _desiredDeltaRadius;
+ double get desiredDeltaRadius => _desiredDeltaRadius;
+ set desiredDeltaRadius(double value) {
+ assert(value >= 0);
+ if (_desiredDeltaRadius != value) {
+ _desiredDeltaRadius = value;
+ markNeedsLayout();
+ }
+ }
+
+ double _padding;
+ double get padding => _padding;
+ set padding(double value) {
+ // TODO(ianh): avoid code duplication
+ if (_padding != value) {
+ _padding = value;
+ markNeedsLayout();
+ }
+ }
+
+ @override
+ void setupParentData(RenderObject child) {
+ // TODO(ianh): avoid code duplication
+ if (child.parentData is! SectorChildListParentData) {
+ child.parentData = SectorChildListParentData();
+ }
+ }
+
+ @override
+ SectorDimensions getIntrinsicDimensions(SectorConstraints constraints, double radius) {
+ final double outerDeltaRadius = constraints.constrainDeltaRadius(desiredDeltaRadius);
+ final double innerDeltaRadius = math.max(0.0, outerDeltaRadius - padding * 2.0);
+ final double childRadius = radius + padding;
+ final double paddingTheta = math.atan(padding / (radius + outerDeltaRadius));
+ double innerTheta = paddingTheta; // increments with each child
+ double remainingDeltaTheta = math.max(0.0, constraints.maxDeltaTheta - (innerTheta + paddingTheta));
+ RenderSector? child = firstChild;
+ while (child != null) {
+ final SectorConstraints innerConstraints = SectorConstraints(
+ maxDeltaRadius: innerDeltaRadius,
+ maxDeltaTheta: remainingDeltaTheta,
+ );
+ final SectorDimensions childDimensions = child.getIntrinsicDimensions(innerConstraints, childRadius);
+ innerTheta += childDimensions.deltaTheta;
+ remainingDeltaTheta -= childDimensions.deltaTheta;
+ final SectorChildListParentData childParentData = child.parentData! as SectorChildListParentData;
+ child = childParentData.nextSibling;
+ if (child != null) {
+ innerTheta += paddingTheta;
+ remainingDeltaTheta -= paddingTheta;
+ }
+ }
+ return SectorDimensions.withConstraints(
+ constraints,
+ deltaRadius: outerDeltaRadius,
+ deltaTheta: innerTheta,
+ );
+ }
+
+ @override
+ void performLayout() {
+ assert(parentData is SectorParentData);
+ deltaRadius = constraints.constrainDeltaRadius(desiredDeltaRadius);
+ assert(deltaRadius < double.infinity);
+ final double innerDeltaRadius = deltaRadius - padding * 2.0;
+ final double childRadius = parentData!.radius + padding;
+ final double paddingTheta = math.atan(padding / (parentData!.radius + deltaRadius));
+ double innerTheta = paddingTheta; // increments with each child
+ double remainingDeltaTheta = constraints.maxDeltaTheta - (innerTheta + paddingTheta);
+ RenderSector? child = firstChild;
+ while (child != null) {
+ final SectorConstraints innerConstraints = SectorConstraints(
+ maxDeltaRadius: innerDeltaRadius,
+ maxDeltaTheta: remainingDeltaTheta,
+ );
+ assert(child.parentData is SectorParentData);
+ child.parentData!.theta = innerTheta;
+ child.parentData!.radius = childRadius;
+ child.layout(innerConstraints, parentUsesSize: true);
+ innerTheta += child.deltaTheta;
+ remainingDeltaTheta -= child.deltaTheta;
+ final SectorChildListParentData childParentData = child.parentData! as SectorChildListParentData;
+ child = childParentData.nextSibling;
+ if (child != null) {
+ innerTheta += paddingTheta;
+ remainingDeltaTheta -= paddingTheta;
+ }
+ }
+ deltaTheta = innerTheta;
+ }
+
+ // offset must point to the center of our circle
+ // each sector then knows how to paint itself at its location
+ @override
+ void paint(PaintingContext context, Offset offset) {
+ // TODO(ianh): avoid code duplication
+ super.paint(context, offset);
+ RenderSector? child = firstChild;
+ while (child != null) {
+ context.paintChild(child, offset);
+ final SectorChildListParentData childParentData = child.parentData! as SectorChildListParentData;
+ child = childParentData.nextSibling;
+ }
+ }
+
+}
+
+class RenderSectorSlice extends RenderSectorWithChildren {
+ // lays out RenderSector children in a stack
+
+ RenderSectorSlice({
+ BoxDecoration? decoration,
+ double deltaTheta = kTwoPi,
+ double padding = 0.0,
+ }) : _padding = padding, _desiredDeltaTheta = deltaTheta, super(decoration);
+
+ double _desiredDeltaTheta;
+ double get desiredDeltaTheta => _desiredDeltaTheta;
+ set desiredDeltaTheta(double value) {
+ if (_desiredDeltaTheta != value) {
+ _desiredDeltaTheta = value;
+ markNeedsLayout();
+ }
+ }
+
+ double _padding;
+ double get padding => _padding;
+ set padding(double value) {
+ // TODO(ianh): avoid code duplication
+ if (_padding != value) {
+ _padding = value;
+ markNeedsLayout();
+ }
+ }
+
+ @override
+ void setupParentData(RenderObject child) {
+ // TODO(ianh): avoid code duplication
+ if (child.parentData is! SectorChildListParentData) {
+ child.parentData = SectorChildListParentData();
+ }
+ }
+
+ @override
+ SectorDimensions getIntrinsicDimensions(SectorConstraints constraints, double radius) {
+ assert(parentData is SectorParentData);
+ final double paddingTheta = math.atan(padding / parentData!.radius);
+ final double outerDeltaTheta = constraints.constrainDeltaTheta(desiredDeltaTheta);
+ final double innerDeltaTheta = outerDeltaTheta - paddingTheta * 2.0;
+ double childRadius = parentData!.radius + padding;
+ double remainingDeltaRadius = constraints.maxDeltaRadius - (padding * 2.0);
+ RenderSector? child = firstChild;
+ while (child != null) {
+ final SectorConstraints innerConstraints = SectorConstraints(
+ maxDeltaRadius: remainingDeltaRadius,
+ maxDeltaTheta: innerDeltaTheta,
+ );
+ final SectorDimensions childDimensions = child.getIntrinsicDimensions(innerConstraints, childRadius);
+ childRadius += childDimensions.deltaRadius;
+ remainingDeltaRadius -= childDimensions.deltaRadius;
+ final SectorChildListParentData childParentData = child.parentData! as SectorChildListParentData;
+ child = childParentData.nextSibling;
+ childRadius += padding;
+ remainingDeltaRadius -= padding;
+ }
+ return SectorDimensions.withConstraints(
+ constraints,
+ deltaRadius: childRadius - parentData!.radius,
+ deltaTheta: outerDeltaTheta,
+ );
+ }
+
+ @override
+ void performLayout() {
+ assert(parentData is SectorParentData);
+ deltaTheta = constraints.constrainDeltaTheta(desiredDeltaTheta);
+ assert(deltaTheta <= kTwoPi);
+ final double paddingTheta = math.atan(padding / parentData!.radius);
+ final double innerTheta = parentData!.theta + paddingTheta;
+ final double innerDeltaTheta = deltaTheta - paddingTheta * 2.0;
+ double childRadius = parentData!.radius + padding;
+ double remainingDeltaRadius = constraints.maxDeltaRadius - (padding * 2.0);
+ RenderSector? child = firstChild;
+ while (child != null) {
+ final SectorConstraints innerConstraints = SectorConstraints(
+ maxDeltaRadius: remainingDeltaRadius,
+ maxDeltaTheta: innerDeltaTheta,
+ );
+ child.parentData!.theta = innerTheta;
+ child.parentData!.radius = childRadius;
+ child.layout(innerConstraints, parentUsesSize: true);
+ childRadius += child.deltaRadius;
+ remainingDeltaRadius -= child.deltaRadius;
+ final SectorChildListParentData childParentData = child.parentData! as SectorChildListParentData;
+ child = childParentData.nextSibling;
+ childRadius += padding;
+ remainingDeltaRadius -= padding;
+ }
+ deltaRadius = childRadius - parentData!.radius;
+ }
+
+ // offset must point to the center of our circle
+ // each sector then knows how to paint itself at its location
+ @override
+ void paint(PaintingContext context, Offset offset) {
+ // TODO(ianh): avoid code duplication
+ super.paint(context, offset);
+ RenderSector? child = firstChild;
+ while (child != null) {
+ assert(child.parentData is SectorChildListParentData);
+ context.paintChild(child, offset);
+ final SectorChildListParentData childParentData = child.parentData! as SectorChildListParentData;
+ child = childParentData.nextSibling;
+ }
+ }
+
+}
+
+class RenderBoxToRenderSectorAdapter extends RenderBox with RenderObjectWithChildMixin {
+ RenderBoxToRenderSectorAdapter({ double innerRadius = 0.0, RenderSector? child })
+ : _innerRadius = innerRadius {
+ this.child = child;
+ }
+
+ double _innerRadius;
+ double get innerRadius => _innerRadius;
+ set innerRadius(double value) {
+ _innerRadius = value;
+ markNeedsLayout();
+ }
+
+ @override
+ void setupParentData(RenderObject child) {
+ if (child.parentData is! SectorParentData) {
+ child.parentData = SectorParentData();
+ }
+ }
+
+ @override
+ double computeMinIntrinsicWidth(double height) {
+ if (child == null) {
+ return 0.0;
+ }
+ return getIntrinsicDimensions(height: height).width;
+ }
+
+ @override
+ double computeMaxIntrinsicWidth(double height) {
+ if (child == null) {
+ return 0.0;
+ }
+ return getIntrinsicDimensions(height: height).width;
+ }
+
+ @override
+ double computeMinIntrinsicHeight(double width) {
+ if (child == null) {
+ return 0.0;
+ }
+ return getIntrinsicDimensions(width: width).height;
+ }
+
+ @override
+ double computeMaxIntrinsicHeight(double width) {
+ if (child == null) {
+ return 0.0;
+ }
+ return getIntrinsicDimensions(width: width).height;
+ }
+
+ Size getIntrinsicDimensions({
+ double width = double.infinity,
+ double height = double.infinity,
+ }) {
+ assert(child is RenderSector);
+ assert(child!.parentData is SectorParentData);
+ if (!width.isFinite && !height.isFinite) {
+ return Size.zero;
+ }
+ final double maxChildDeltaRadius = math.max(0.0, math.min(width, height) / 2.0 - innerRadius);
+ final SectorDimensions childDimensions = child!.getIntrinsicDimensions(SectorConstraints(maxDeltaRadius: maxChildDeltaRadius), innerRadius);
+ final double dimension = (innerRadius + childDimensions.deltaRadius) * 2.0;
+ return Size.square(dimension);
+ }
+
+ @override
+ void performLayout() {
+ if (child == null || (!constraints.hasBoundedWidth && !constraints.hasBoundedHeight)) {
+ size = constraints.constrain(Size.zero);
+ child?.layout(SectorConstraints(maxDeltaRadius: innerRadius), parentUsesSize: true);
+ return;
+ }
+ assert(child is RenderSector);
+ assert(child!.parentData is SectorParentData);
+ final double maxChildDeltaRadius = math.min(constraints.maxWidth, constraints.maxHeight) / 2.0 - innerRadius;
+ child!.parentData!.radius = innerRadius;
+ child!.parentData!.theta = 0.0;
+ child!.layout(SectorConstraints(maxDeltaRadius: maxChildDeltaRadius), parentUsesSize: true);
+ final double dimension = (innerRadius + child!.deltaRadius) * 2.0;
+ size = constraints.constrain(Size(dimension, dimension));
+ }
+
+ @override
+ void paint(PaintingContext context, Offset offset) {
+ super.paint(context, offset);
+ if (child != null) {
+ final Rect bounds = offset & size;
+ // we move the offset to the center of the circle for the RenderSectors
+ context.paintChild(child!, bounds.center);
+ }
+ }
+
+ @override
+ bool hitTest(BoxHitTestResult result, { required Offset position }) {
+ if (child == null) {
+ return false;
+ }
+ double x = position.dx;
+ double y = position.dy;
+ // translate to our origin
+ x -= size.width / 2.0;
+ y -= size.height / 2.0;
+ // convert to radius/theta
+ final double radius = math.sqrt(x * x + y * y);
+ final double theta = (math.atan2(x, -y) - math.pi / 2.0) % kTwoPi;
+ if (radius < innerRadius) {
+ return false;
+ }
+ if (radius >= innerRadius + child!.deltaRadius) {
+ return false;
+ }
+ if (theta > child!.deltaTheta) {
+ return false;
+ }
+ child!.hitTest(SectorHitTestResult.wrap(result), radius: radius, theta: theta);
+ result.add(BoxHitTestEntry(this, position));
+ return true;
+ }
+}
+
+class RenderSolidColor extends RenderDecoratedSector {
+ RenderSolidColor(
+ this.backgroundColor, {
+ this.desiredDeltaRadius = double.infinity,
+ this.desiredDeltaTheta = kTwoPi,
+ }) : super(BoxDecoration(color: backgroundColor));
+
+ double desiredDeltaRadius;
+ double desiredDeltaTheta;
+ final Color backgroundColor;
+
+ @override
+ SectorDimensions getIntrinsicDimensions(SectorConstraints constraints, double radius) {
+ return SectorDimensions.withConstraints(constraints, deltaTheta: desiredDeltaTheta);
+ }
+
+ @override
+ void performLayout() {
+ deltaRadius = constraints.constrainDeltaRadius(desiredDeltaRadius);
+ deltaTheta = constraints.constrainDeltaTheta(desiredDeltaTheta);
+ }
+
+ @override
+ void handleEvent(PointerEvent event, HitTestEntry entry) {
+ if (event is PointerDownEvent) {
+ decoration = const BoxDecoration(color: Color(0xFFFF0000));
+ } else if (event is PointerUpEvent) {
+ decoration = BoxDecoration(color: backgroundColor);
+ }
+ }
+}
+
+/// The result of performing a hit test on [RenderSector]s.
+class SectorHitTestResult extends HitTestResult {
+ /// Creates an empty hit test result for hit testing on [RenderSector].
+ SectorHitTestResult() : super();
+
+ /// Wraps `result` to create a [HitTestResult] that implements the
+ /// [SectorHitTestResult] protocol for hit testing on [RenderSector]s.
+ ///
+ /// This method is used by [RenderObject]s that adapt between the
+ /// [RenderSector]-world and the non-[RenderSector]-world to convert a (subtype of)
+ /// [HitTestResult] to a [SectorHitTestResult] for hit testing on [RenderSector]s.
+ ///
+ /// The [HitTestEntry]s added to the returned [SectorHitTestResult] are also
+ /// added to the wrapped `result` (both share the same underlying data
+ /// structure to store [HitTestEntry]s).
+ ///
+ /// See also:
+ ///
+ /// * [HitTestResult.wrap], which turns a [SectorHitTestResult] back into a
+ /// generic [HitTestResult].
+ SectorHitTestResult.wrap(super.result) : super.wrap();
+
+ // TODO(goderbauer): Add convenience methods to transform hit test positions
+ // once we have RenderSector implementations that move the origin of their
+ // children (e.g. RenderSectorTransform analogs to RenderTransform).
+}
+
+/// A hit test entry used by [RenderSector].
+class SectorHitTestEntry extends HitTestEntry {
+ /// Creates a box hit test entry.
+ SectorHitTestEntry(RenderSector super.target, { required this.radius, required this.theta });
+
+ @override
+ RenderSector get target => super.target as RenderSector;
+
+ /// The radius component of the hit test position in the local coordinates of
+ /// [target].
+ final double radius;
+
+ /// The theta component of the hit test position in the local coordinates of
+ /// [target].
+ final double theta;
+}
diff --git a/novelforge-project/flutter/examples/layers/rendering/src/solid_color_box.dart b/novelforge-project/flutter/examples/layers/rendering/src/solid_color_box.dart
new file mode 100644
index 0000000000000000000000000000000000000000..b72759b58d3185d6301197693da8a9ebfe5c344d
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/rendering/src/solid_color_box.dart
@@ -0,0 +1,47 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/rendering.dart';
+
+class RenderSolidColorBox extends RenderDecoratedBox {
+ RenderSolidColorBox(this.backgroundColor, { this.desiredSize = Size.infinite })
+ : super(decoration: BoxDecoration(color: backgroundColor));
+
+ final Size desiredSize;
+ final Color backgroundColor;
+
+ @override
+ double computeMinIntrinsicWidth(double height) {
+ return desiredSize.width == double.infinity ? 0.0 : desiredSize.width;
+ }
+
+ @override
+ double computeMaxIntrinsicWidth(double height) {
+ return desiredSize.width == double.infinity ? 0.0 : desiredSize.width;
+ }
+
+ @override
+ double computeMinIntrinsicHeight(double width) {
+ return desiredSize.height == double.infinity ? 0.0 : desiredSize.height;
+ }
+
+ @override
+ double computeMaxIntrinsicHeight(double width) {
+ return desiredSize.height == double.infinity ? 0.0 : desiredSize.height;
+ }
+
+ @override
+ void performLayout() {
+ size = constraints.constrain(desiredSize);
+ }
+
+ @override
+ void handleEvent(PointerEvent event, BoxHitTestEntry entry) {
+ if (event is PointerDownEvent) {
+ decoration = const BoxDecoration(color: Color(0xFFFF0000));
+ } else if (event is PointerUpEvent) {
+ decoration = BoxDecoration(color: backgroundColor);
+ }
+ }
+}
diff --git a/novelforge-project/flutter/examples/layers/rendering/touch_input.dart b/novelforge-project/flutter/examples/layers/rendering/touch_input.dart
new file mode 100644
index 0000000000000000000000000000000000000000..37a944528447dd38c64b2db25c3e587d6263119a
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/rendering/touch_input.dart
@@ -0,0 +1,139 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This example shows how to use process input events in the underlying render
+// tree.
+
+import 'package:flutter/material.dart'; // Imported just for its color palette.
+import 'package:flutter/rendering.dart';
+
+import 'src/binding.dart';
+
+// Material design colors. :p
+List _kColors = [
+ Colors.teal,
+ Colors.amber,
+ Colors.purple,
+ Colors.lightBlue,
+ Colors.deepPurple,
+ Colors.lime,
+];
+
+/// A simple model object for a dot that reacts to pointer pressure.
+class Dot {
+ Dot({ required Color color }) : _paint = Paint()..color = color;
+
+ final Paint _paint;
+ Offset position = Offset.zero;
+ double radius = 0.0;
+
+ void update(PointerEvent event) {
+ position = event.position;
+ radius = 5 + (95 * event.pressure);
+ }
+
+ void paint(Canvas canvas, Offset offset) {
+ canvas.drawCircle(position + offset, radius, _paint);
+ }
+}
+
+/// A render object that draws dots under each pointer.
+class RenderDots extends RenderBox {
+ RenderDots();
+
+ /// State to remember which dots to paint.
+ final Map _dots = {};
+
+ /// Indicates that the size of this render object depends only on the
+ /// layout constraints provided by the parent.
+ @override
+ bool get sizedByParent => true;
+
+ /// By selecting the biggest value permitted by the incoming constraints
+ /// during layout, this function makes this render object as large as
+ /// possible (i.e., fills the entire screen).
+ @override
+ void performResize() {
+ size = constraints.biggest;
+ }
+
+ /// Makes this render object hittable so that it receives pointer events.
+ @override
+ bool hitTestSelf(Offset position) => true;
+
+ /// Processes pointer events by mutating state and invalidating its previous
+ /// painting commands.
+ @override
+ void handleEvent(PointerEvent event, BoxHitTestEntry entry) {
+ if (event is PointerDownEvent) {
+ final Color color = _kColors[event.pointer.remainder(_kColors.length)];
+ _dots[event.pointer] = Dot(color: color)..update(event);
+ // We call markNeedsPaint to indicate that our painting commands have
+ // changed and that paint needs to be called before displaying a new frame
+ // to the user. It's harmless to call markNeedsPaint multiple times
+ // because the render tree will ignore redundant calls.
+ markNeedsPaint();
+ } else if (event is PointerUpEvent || event is PointerCancelEvent) {
+ _dots.remove(event.pointer);
+ markNeedsPaint();
+ } else if (event is PointerMoveEvent) {
+ _dots[event.pointer]!.update(event);
+ markNeedsPaint();
+ }
+ }
+
+ /// Issues new painting commands.
+ @override
+ void paint(PaintingContext context, Offset offset) {
+ final Canvas canvas = context.canvas;
+ // The "size" property indicates the size of that this render box was
+ // allotted during layout. Here we paint our bounds white. Notice that we're
+ // located at "offset" from the origin of the canvas' coordinate system.
+ // Passing offset during the render tree's paint walk is an optimization to
+ // avoid having to change the origin of the canvas's coordinate system too
+ // often.
+ canvas.drawRect(offset & size, Paint()..color = const Color(0xFFFFFFFF));
+
+ // We iterate through our model and paint each dot.
+ for (final Dot dot in _dots.values) {
+ dot.paint(canvas, offset);
+ }
+ }
+}
+
+void main() {
+ // Create some styled text to tell the user to interact with the app.
+ final RenderParagraph paragraph = RenderParagraph(
+ const TextSpan(
+ style: TextStyle(color: Colors.black87),
+ text: 'Touch me!',
+ ),
+ textDirection: TextDirection.ltr,
+ );
+ // A stack is a render object that layers its children on top of each other.
+ // The bottom later is our RenderDots object, and on top of that we show the
+ // text.
+ final RenderStack stack = RenderStack(
+ textDirection: TextDirection.ltr,
+ children: [
+ RenderDots(),
+ paragraph,
+ ],
+ );
+ // The "parentData" field of a render object is controlled by the render
+ // object's parent render object. Now that we've added the paragraph as a
+ // child of the RenderStack, the paragraph's parentData field has been
+ // populated with a StackParentData, which we can use to provide input to the
+ // stack's layout algorithm.
+ //
+ // We use the StackParentData of the paragraph to position the text in the top
+ // left corner of the screen.
+ final StackParentData paragraphParentData = paragraph.parentData! as StackParentData;
+ paragraphParentData
+ ..top = 40.0
+ ..left = 20.0;
+
+ // Finally, we attach the render tree we've built to the screen.
+ ViewRenderingFlutterBinding(root: stack).scheduleFrame();
+}
diff --git a/novelforge-project/flutter/examples/layers/services/data.json b/novelforge-project/flutter/examples/layers/services/data.json
new file mode 100644
index 0000000000000000000000000000000000000000..ea856f985dedcad8b3246ab0f80753f8c2a4c16a
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/services/data.json
@@ -0,0 +1,45 @@
+{
+ "_id": "57112806d874e9e6df7099d4",
+ "index": 0,
+ "guid": "77dc6167-2351-4a64-a603-aceaff115432",
+ "isActive": false,
+ "balance": "$1,316.41",
+ "picture": "http://placehold.it/32x32",
+ "age": 21,
+ "eyeColor": "brown",
+ "name": "Marta Hartman",
+ "gender": "female",
+ "company": "EXAMPLE",
+ "email": "martahartman@example.com",
+ "phone": "+1 (555) 555-2328",
+ "address": "463 Temple Court, Brandywine, Kansas, 1113",
+ "about": "Incididunt commodo sunt commodo nulla adipisicing duis aute enim aute minim reprehenderit aute consectetur. Eu laborum esse aute laborum aute. Tempor in cillum exercitation aliqua velit quis incididunt esse ea nisi. Cillum pariatur reprehenderit est nisi nisi exercitation.\r\n",
+ "registered": "2014-01-18T12:32:22 +08:00",
+ "latitude": 4.101477,
+ "longitude": 39.153115,
+ "tags": [
+ "pariatur",
+ "sit",
+ "sint",
+ "ex",
+ "minim",
+ "veniam",
+ "ullamco"
+ ],
+ "friends": [
+ {
+ "id": 0,
+ "name": "Tricia Guerra"
+ },
+ {
+ "id": 1,
+ "name": "Paula Dillard"
+ },
+ {
+ "id": 2,
+ "name": "Ursula Stout"
+ }
+ ],
+ "greeting": "Hello, Marta Hartman! You have 4 unread messages.",
+ "favoriteFruit": "strawberry"
+}
diff --git a/novelforge-project/flutter/examples/layers/services/isolate.dart b/novelforge-project/flutter/examples/layers/services/isolate.dart
new file mode 100644
index 0000000000000000000000000000000000000000..c7cd96782e9b40af1365250c2729d2fd162aabdd
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/services/isolate.dart
@@ -0,0 +1,294 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'dart:convert';
+import 'dart:isolate';
+
+import 'package:flutter/material.dart';
+import 'package:flutter/services.dart';
+
+typedef OnProgressListener = void Function(double completed, double total);
+typedef OnResultListener = void Function(String result);
+
+// An encapsulation of a large amount of synchronous processing.
+//
+// The choice of JSON parsing here is meant as an example that might surface
+// in real-world applications.
+class Calculator {
+ Calculator({ required this.onProgressListener, required this.onResultListener, String? data })
+ : _data = _replicateJson(data, 10000);
+
+ final OnProgressListener onProgressListener;
+ final OnResultListener onResultListener;
+ final String _data;
+ // This example assumes that the number of objects to parse is known in
+ // advance. In a real-world situation, this might not be true; in that case,
+ // the app might choose to display an indeterminate progress indicator.
+ static const int _NUM_ITEMS = 110000;
+ static const int _NOTIFY_INTERVAL = 1000;
+
+ // Run the computation associated with this Calculator.
+ void run() {
+ int i = 0;
+ final JsonDecoder decoder = JsonDecoder(
+ (dynamic key, dynamic value) {
+ if (key is int && i++ % _NOTIFY_INTERVAL == 0) {
+ onProgressListener(i.toDouble(), _NUM_ITEMS.toDouble());
+ }
+ return value;
+ },
+ );
+ try {
+ final List result = decoder.convert(_data) as List;
+ final int n = result.length;
+ onResultListener('Decoded $n results');
+ } on FormatException catch (e, stack) {
+ debugPrint('Invalid JSON file: $e');
+ debugPrint('$stack');
+ }
+ }
+
+ static String _replicateJson(String? data, int count) {
+ final StringBuffer buffer = StringBuffer()..write('[');
+ for (int i = 0; i < count; i++) {
+ buffer.write(data);
+ if (i < count - 1) {
+ buffer.write(',');
+ }
+ }
+ buffer.write(']');
+ return buffer.toString();
+ }
+}
+
+// The current state of the calculation.
+enum CalculationState {
+ idle,
+ loading,
+ calculating
+}
+
+// Structured message to initialize the spawned isolate.
+class CalculationMessage {
+ CalculationMessage(this.data, this.sendPort);
+ String data;
+ SendPort sendPort;
+}
+
+// A manager for the connection to a spawned isolate.
+//
+// Isolates communicate with each other via ReceivePorts and SendPorts.
+// This class manages these ports and maintains state related to the
+// progress of the background computation.
+class CalculationManager {
+ CalculationManager({ required this.onProgressListener, required this.onResultListener })
+ : _receivePort = ReceivePort() {
+ _receivePort.listen(_handleMessage);
+ }
+
+ CalculationState _state = CalculationState.idle;
+ CalculationState get state => _state;
+ bool get isRunning => _state != CalculationState.idle;
+
+ double _completed = 0.0;
+ double _total = 1.0;
+
+ final OnProgressListener onProgressListener;
+ final OnResultListener onResultListener;
+
+ // Start the background computation.
+ //
+ // Does nothing if the computation is already running.
+ void start() {
+ if (!isRunning) {
+ _state = CalculationState.loading;
+ _runCalculation();
+ }
+ }
+
+ // Stop the background computation.
+ //
+ // Kills the isolate immediately, if spawned. Does nothing if the
+ // computation is not running.
+ void stop() {
+ if (isRunning) {
+ _state = CalculationState.idle;
+ if (_isolate != null) {
+ _isolate!.kill(priority: Isolate.immediate);
+ _isolate = null;
+ _completed = 0.0;
+ _total = 1.0;
+ }
+ }
+ }
+
+ final ReceivePort _receivePort;
+ Isolate? _isolate;
+
+ void _runCalculation() {
+ // Load the JSON string. This is done in the main isolate because spawned
+ // isolates do not have access to the root bundle. However, the loading
+ // process is asynchronous, so the UI will not block while the file is
+ // loaded.
+ rootBundle.loadString('services/data.json').then((String data) {
+ if (isRunning) {
+ final CalculationMessage message = CalculationMessage(data, _receivePort.sendPort);
+ // Spawn an isolate to JSON-parse the file contents. The JSON parsing
+ // is synchronous, so if done in the main isolate, the UI would block.
+ Isolate.spawn(_calculate, message).then((Isolate isolate) {
+ if (!isRunning) {
+ isolate.kill(priority: Isolate.immediate);
+ } else {
+ _state = CalculationState.calculating;
+ _isolate = isolate;
+ }
+ });
+ }
+ });
+ }
+
+ void _handleMessage(dynamic message) {
+ if (message is List) {
+ _completed = message[0];
+ _total = message[1];
+ onProgressListener(_completed, _total);
+ } else if (message is String) {
+ _completed = 0.0;
+ _total = 1.0;
+ _isolate = null;
+ _state = CalculationState.idle;
+ onResultListener(message);
+ }
+ }
+
+ // Main entry point for the spawned isolate.
+ //
+ // This entry point must be static, and its (single) argument must match
+ // the message passed in Isolate.spawn above. Typically, some part of the
+ // message will contain a SendPort so that the spawned isolate can
+ // communicate back to the main isolate.
+ //
+ // Static and global variables are initialized anew in the spawned isolate,
+ // in a separate memory space.
+ static void _calculate(CalculationMessage message) {
+ final SendPort sender = message.sendPort;
+ final Calculator calculator = Calculator(
+ onProgressListener: (double completed, double total) {
+ sender.send([ completed, total ]);
+ },
+ onResultListener: sender.send,
+ data: message.data,
+ );
+ calculator.run();
+ }
+}
+
+// Main app widget.
+//
+// The app shows a simple UI that allows control of the background computation,
+// as well as an animation to illustrate that the UI does not block while this
+// computation is performed.
+//
+// This is a StatefulWidget in order to hold the CalculationManager and
+// the AnimationController for the running animation.
+class IsolateExampleWidget extends StatefulWidget {
+ const IsolateExampleWidget({super.key});
+
+ @override
+ IsolateExampleState createState() => IsolateExampleState();
+}
+
+// Main application state.
+class IsolateExampleState extends State with SingleTickerProviderStateMixin {
+
+ String _status = 'Idle';
+ String _label = 'Start';
+ String _result = ' ';
+ double _progress = 0.0;
+ late final AnimationController _animation = AnimationController(
+ duration: const Duration(milliseconds: 3600),
+ vsync: this,
+ )..repeat();
+ late final CalculationManager _calculationManager = CalculationManager(
+ onProgressListener: _handleProgressUpdate,
+ onResultListener: _handleResult,
+ );
+
+ @override
+ void dispose() {
+ _animation.dispose();
+ super.dispose();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Material(
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceAround,
+ children: [
+ RotationTransition(
+ turns: _animation,
+ child: Container(
+ width: 120.0,
+ height: 120.0,
+ color: const Color(0xFF882222),
+ ),
+ ),
+ Opacity(
+ opacity: _calculationManager.isRunning ? 1.0 : 0.0,
+ child: CircularProgressIndicator(
+ value: _progress,
+ ),
+ ),
+ Text(_status),
+ Center(
+ child: ElevatedButton(
+ onPressed: _handleButtonPressed,
+ child: Text(_label),
+ ),
+ ),
+ Text(_result),
+ ],
+ ),
+ );
+ }
+
+ void _handleProgressUpdate(double completed, double total) {
+ _updateState(' ', completed / total);
+ }
+
+ void _handleResult(String result) {
+ _updateState(result, 0.0);
+ }
+
+ void _handleButtonPressed() {
+ if (_calculationManager.isRunning) {
+ _calculationManager.stop();
+ } else {
+ _calculationManager.start();
+ }
+ _updateState(' ', 0.0);
+ }
+
+ String _getStatus(CalculationState state) {
+ return switch (state) {
+ CalculationState.loading => 'Loading...',
+ CalculationState.calculating => 'In Progress',
+ CalculationState.idle => 'Idle',
+ };
+ }
+
+ void _updateState(String result, double progress) {
+ setState(() {
+ _result = result;
+ _progress = progress;
+ _label = _calculationManager.isRunning ? 'Stop' : 'Start';
+ _status = _getStatus(_calculationManager.state);
+ });
+ }
+}
+
+void main() {
+ runApp(const MaterialApp(home: IsolateExampleWidget()));
+}
diff --git a/novelforge-project/flutter/examples/layers/services/lifecycle.dart b/novelforge-project/flutter/examples/layers/services/lifecycle.dart
new file mode 100644
index 0000000000000000000000000000000000000000..5a60b86304021fcaf1ecc27e2464b4cb1e0502a8
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/services/lifecycle.dart
@@ -0,0 +1,56 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/widgets.dart';
+
+class LifecycleWatcher extends StatefulWidget {
+ const LifecycleWatcher({ super.key });
+
+ @override
+ State createState() => _LifecycleWatcherState();
+}
+
+class _LifecycleWatcherState extends State
+ with WidgetsBindingObserver {
+ AppLifecycleState? _lastLifecycleState;
+
+ @override
+ void initState() {
+ super.initState();
+ WidgetsBinding.instance.addObserver(this);
+ }
+
+ @override
+ void dispose() {
+ WidgetsBinding.instance.removeObserver(this);
+ super.dispose();
+ }
+
+ @override
+ void didChangeAppLifecycleState(AppLifecycleState state) {
+ setState(() {
+ _lastLifecycleState = state;
+ });
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ if (_lastLifecycleState == null) {
+ return const Text('This widget has not observed any lifecycle changes.');
+ }
+ return Text('The most recent lifecycle state this widget observed was: $_lastLifecycleState.');
+ }
+}
+
+
+void main() {
+ runApp(
+ const Directionality(
+ textDirection: TextDirection.ltr,
+ child: Center(
+ child: LifecycleWatcher(),
+ ),
+ ),
+ );
+}
diff --git a/novelforge-project/flutter/examples/layers/test/analysis_options.yaml b/novelforge-project/flutter/examples/layers/test/analysis_options.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..60222f820cd28c9d9d79aaeb9c58e21108119ccd
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/analysis_options.yaml
@@ -0,0 +1,5 @@
+include: ../../../analysis_options.yaml
+
+linter:
+ rules:
+ only_throw_errors: false # We are more flexible for tests.
diff --git a/novelforge-project/flutter/examples/layers/test/gestures_test.dart b/novelforge-project/flutter/examples/layers/test/gestures_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..82e64f28aad05caf93e98e177c6d52a1338e29b0
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/gestures_test.dart
@@ -0,0 +1,38 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/material.dart';
+import 'package:flutter_test/flutter_test.dart';
+
+import '../widgets/gestures.dart';
+
+void main() {
+ testWidgets('Tap on center change color', (WidgetTester tester) async {
+ await tester.pumpWidget(const Directionality(
+ textDirection: TextDirection.ltr,
+ child: GestureDemo(),
+ ));
+ final Finder finder = find.byType(GestureDemo);
+
+ MaterialColor getSwatch() => tester.state(finder).swatch;
+ Future tap() async {
+ final Offset topLeft = tester.getTopLeft(finder);
+ await tester.tapAt(tester.getSize(finder).center(topLeft));
+ await tester.pump(const Duration(seconds: 1));
+ }
+
+ // initial swatch
+ expect(getSwatch(), GestureDemoState.kSwatches[0]);
+
+ // every tap change swatch
+ for (int i = 1; i < GestureDemoState.kSwatches.length; i++) {
+ await tap();
+ expect(getSwatch(), GestureDemoState.kSwatches[i]);
+ }
+
+ // tap on last swatch display first swatch
+ await tap();
+ expect(getSwatch(), GestureDemoState.kSwatches[0]);
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/sector_layout_test.dart b/novelforge-project/flutter/examples/layers/test/sector_layout_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..06968cd6c1ab50cbafe110cbf5a65272fc90cfcc
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/sector_layout_test.dart
@@ -0,0 +1,41 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/gestures.dart';
+import 'package:flutter_test/flutter_test.dart';
+
+import '../rendering/src/sector_layout.dart';
+
+void main() {
+ group('hit testing', () {
+ test('SectorHitTestResult wrapping HitTestResult', () {
+ final HitTestEntry entry1 = HitTestEntry(_DummyHitTestTarget());
+ final HitTestEntry entry2 = HitTestEntry(_DummyHitTestTarget());
+ final HitTestEntry entry3 = HitTestEntry(_DummyHitTestTarget());
+
+ final HitTestResult wrapped = HitTestResult();
+ wrapped.add(entry1);
+ expect(wrapped.path, equals([entry1]));
+
+ final SectorHitTestResult wrapping = SectorHitTestResult.wrap(wrapped);
+ expect(wrapping.path, equals([entry1]));
+ expect(wrapping.path, same(wrapped.path));
+
+ wrapping.add(entry2);
+ expect(wrapping.path, equals([entry1, entry2]));
+ expect(wrapped.path, equals([entry1, entry2]));
+
+ wrapped.add(entry3);
+ expect(wrapping.path, equals([entry1, entry2, entry3]));
+ expect(wrapped.path, equals([entry1, entry2, entry3]));
+ });
+ });
+}
+
+class _DummyHitTestTarget implements HitTestTarget {
+ @override
+ void handleEvent(PointerEvent event, HitTestEntry entry) {
+ // Nothing to do.
+ }
+}
diff --git a/novelforge-project/flutter/examples/layers/test/sector_test.dart b/novelforge-project/flutter/examples/layers/test/sector_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..b85616aada7db0859d14160f692377bd3a60ed73
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/sector_test.dart
@@ -0,0 +1,18 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart';
+
+import '../rendering/src/sector_layout.dart';
+import '../widgets/sectors.dart';
+
+void main() {
+ test('SectorConstraints', () {
+ expect(const SectorConstraints().isTight, isFalse);
+ });
+
+ testWidgets('Sector Sixes', (WidgetTester tester) async {
+ await tester.pumpWidget(const SectorApp());
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/lib/main_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/lib/main_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..f46ccadbd7e399cdac6d22073badea92b05d94cd
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/lib/main_test.dart
@@ -0,0 +1,12 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_examples_layers/main.dart' as demo;
+import 'package:flutter_test/flutter_test.dart';
+
+void main() {
+ testWidgets('layers smoketest for lib/main.dart', (WidgetTester tester) async {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/raw/canvas_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/raw/canvas_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..33c209b193147e7322284400793e3a39b6e50e6b
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/raw/canvas_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf;
+
+import '../../../raw/canvas.dart' as demo;
+
+void main() {
+ test('layers smoketest for raw/canvas.dart', () {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/raw/hello_world_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/raw/hello_world_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..505d344387527299dbd046b9f78f2f77745fb1d4
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/raw/hello_world_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf;
+
+import '../../../raw/hello_world.dart' as demo;
+
+void main() {
+ test('layers smoketest for raw/hello_world.dart', () {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/raw/spinning_square_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/raw/spinning_square_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..655f7eb159e3394f1470b753cfb2979d4fda2bfa
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/raw/spinning_square_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf;
+
+import '../../../raw/spinning_square.dart' as demo;
+
+void main() {
+ test('layers smoketest for raw/spinning_square.dart', () {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/raw/text_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/raw/text_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..1c8f3751aa599c3f49f47e8b155facd52df37e0f
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/raw/text_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf;
+
+import '../../../raw/text.dart' as demo;
+
+void main() {
+ test('layers smoketest for raw/text.dart', () {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/raw/touch_input_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/raw/touch_input_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..d922afcd6a3459e7602be4e83114455d294b0ff2
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/raw/touch_input_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf;
+
+import '../../../raw/touch_input.dart' as demo;
+
+void main() {
+ test('layers smoketest for raw/touch_input.dart', () {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/rendering/custom_coordinate_systems_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/rendering/custom_coordinate_systems_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..deebc6a8291678cd5fe7d94b7fb3cde74912b867
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/rendering/custom_coordinate_systems_test.dart
@@ -0,0 +1,17 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/foundation.dart';
+import 'package:flutter/scheduler.dart';
+import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf;
+
+import '../../../rendering/custom_coordinate_systems.dart' as demo;
+
+void main() {
+ test('layers smoketest for rendering/custom_coordinate_systems.dart', () {
+ FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
+ demo.main();
+ expect(SchedulerBinding.instance.hasScheduledFrame, true);
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/rendering/flex_layout_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/rendering/flex_layout_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..5f01f33f45241b2fcb6d7617d026c4e540fc55ad
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/rendering/flex_layout_test.dart
@@ -0,0 +1,17 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/foundation.dart';
+import 'package:flutter/scheduler.dart';
+import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf;
+
+import '../../../rendering/flex_layout.dart' as demo;
+
+void main() {
+ test('layers smoketest for rendering/flex_layout.dart', () {
+ FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
+ demo.main();
+ expect(SchedulerBinding.instance.hasScheduledFrame, true);
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/rendering/hello_world_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/rendering/hello_world_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..746d451003f81cf17d32e9cdfd1ebdf496dc7e6d
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/rendering/hello_world_test.dart
@@ -0,0 +1,17 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/foundation.dart';
+import 'package:flutter/scheduler.dart';
+import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf;
+
+import '../../../rendering/hello_world.dart' as demo;
+
+void main() {
+ test('layers smoketest for rendering/hello_world.dart', () {
+ FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
+ demo.main();
+ expect(SchedulerBinding.instance.hasScheduledFrame, true);
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/rendering/spinning_square_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/rendering/spinning_square_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..e8fe0e17860fd79f99309095d0d16bdf70c4eb23
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/rendering/spinning_square_test.dart
@@ -0,0 +1,17 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/foundation.dart';
+import 'package:flutter/scheduler.dart';
+import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf;
+
+import '../../../rendering/spinning_square.dart' as demo;
+
+void main() {
+ test('layers smoketest for rendering/spinning_square.dart', () {
+ FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
+ demo.main();
+ expect(SchedulerBinding.instance.hasScheduledFrame, true);
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/rendering/touch_input_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/rendering/touch_input_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..461c4b3d1de7cd7565dbe3e08927d6a2507cbc86
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/rendering/touch_input_test.dart
@@ -0,0 +1,17 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/foundation.dart';
+import 'package:flutter/scheduler.dart';
+import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf;
+
+import '../../../rendering/touch_input.dart' as demo;
+
+void main() {
+ test('layers smoketest for rendering/touch_input.dart', () {
+ FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
+ demo.main();
+ expect(SchedulerBinding.instance.hasScheduledFrame, true);
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/services/isolate_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/services/isolate_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..1db1bd6570cf5ed719856ce6c2f90973e34efcfd
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/services/isolate_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart';
+
+import '../../../services/isolate.dart' as demo;
+
+void main() {
+ testWidgets('layers smoketest for services/isolate.dart', (WidgetTester tester) async {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/services/lifecycle_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/services/lifecycle_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..a6036adf4d2ef65a17da76b2724c746b46d055c8
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/services/lifecycle_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart';
+
+import '../../../services/lifecycle.dart' as demo;
+
+void main() {
+ testWidgets('layers smoketest for services/lifecycle.dart', (WidgetTester tester) async {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/widgets/custom_render_box_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/custom_render_box_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..4be154febd14c88277bf41448abc6f3241b7336f
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/custom_render_box_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart';
+
+import '../../../widgets/custom_render_box.dart' as demo;
+
+void main() {
+ testWidgets('layers smoketest for widgets/custom_render_box.dart', (WidgetTester tester) async {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/widgets/gestures_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/gestures_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..190ef39c13c30ce7309fcf285d6ce20c97b34964
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/gestures_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart';
+
+import '../../../widgets/gestures.dart' as demo;
+
+void main() {
+ testWidgets('layers smoketest for widgets/gestures.dart', (WidgetTester tester) async {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/widgets/hello_world_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/hello_world_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..3b2d484c9f1482230521af30bcb055ae68cda5d2
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/hello_world_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart';
+
+import '../../../widgets/hello_world.dart' as demo;
+
+void main() {
+ testWidgets('layers smoketest for widgets/hello_world.dart', (WidgetTester tester) async {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/widgets/media_query_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/media_query_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..e7363f8da5ae52567838824826350f1d98690e61
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/media_query_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart';
+
+import '../../../widgets/media_query.dart' as demo;
+
+void main() {
+ testWidgets('layers smoketest for widgets/media_query.dart', (WidgetTester tester) async {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/widgets/sectors_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/sectors_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..b7135d953c94a6bbb34a9ef42091bf6a92198b2c
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/sectors_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart';
+
+import '../../../widgets/sectors.dart' as demo;
+
+void main() {
+ testWidgets('layers smoketest for widgets/sectors.dart', (WidgetTester tester) async {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/widgets/spinning_mixed_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/spinning_mixed_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..469273cc452e9822c3b9d8f0bc82a9ccfce09dc5
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/spinning_mixed_test.dart
@@ -0,0 +1,15 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/foundation.dart';
+import 'package:flutter_test/flutter_test.dart';
+
+import '../../../widgets/spinning_mixed.dart' as demo;
+
+void main() {
+ test('layers smoketest for widgets/spinning_mixed.dart', () {
+ FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/widgets/spinning_square_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/spinning_square_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8ae455584bbd3aceb8b56e1f68a7fa04f92d2904
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/spinning_square_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart';
+
+import '../../../widgets/spinning_square.dart' as demo;
+
+void main() {
+ testWidgets('layers smoketest for widgets/spinning_square.dart', (WidgetTester tester) async {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/test/smoketests/widgets/styled_text_test.dart b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/styled_text_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..c40e112910a78da112a4829671e90980fbfa75d8
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/test/smoketests/widgets/styled_text_test.dart
@@ -0,0 +1,13 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter_test/flutter_test.dart';
+
+import '../../../widgets/styled_text.dart' as demo;
+
+void main() {
+ testWidgets('layers smoketest for widgets/styled_text.dart', (WidgetTester tester) async {
+ demo.main();
+ });
+}
diff --git a/novelforge-project/flutter/examples/layers/widgets/custom_render_box.dart b/novelforge-project/flutter/examples/layers/widgets/custom_render_box.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8838cbdcf967aa118b9ff44e42801b95affcf2e1
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/widgets/custom_render_box.dart
@@ -0,0 +1,60 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/rendering.dart';
+import 'package:flutter/widgets.dart';
+
+class RenderDots extends RenderConstrainedBox {
+ RenderDots() : super(additionalConstraints: const BoxConstraints.expand());
+
+ // Makes this render box hittable so that we'll get pointer events.
+ @override
+ bool hitTestSelf(Offset position) => true;
+
+ final Map _dots = {};
+
+ @override
+ void handleEvent(PointerEvent event, BoxHitTestEntry entry) {
+ if (event is PointerDownEvent || event is PointerMoveEvent) {
+ _dots[event.pointer] = event.position;
+ markNeedsPaint();
+ } else if (event is PointerUpEvent || event is PointerCancelEvent) {
+ _dots.remove(event.pointer);
+ markNeedsPaint();
+ }
+ }
+
+ @override
+ void paint(PaintingContext context, Offset offset) {
+ final Canvas canvas = context.canvas;
+ canvas.drawRect(offset & size, Paint()..color = const Color(0xFF0000FF));
+
+ final Paint paint = Paint()..color = const Color(0xFF00FF00);
+ for (final Offset point in _dots.values) {
+ canvas.drawCircle(point, 50.0, paint);
+ }
+
+ super.paint(context, offset);
+ }
+}
+
+class Dots extends SingleChildRenderObjectWidget {
+ const Dots({ super.key, super.child });
+
+ @override
+ RenderDots createRenderObject(BuildContext context) => RenderDots();
+}
+
+void main() {
+ runApp(
+ const Directionality(
+ textDirection: TextDirection.ltr,
+ child: Dots(
+ child: Center(
+ child: Text('Touch me!'),
+ ),
+ ),
+ ),
+ );
+}
diff --git a/novelforge-project/flutter/examples/layers/widgets/gestures.dart b/novelforge-project/flutter/examples/layers/widgets/gestures.dart
new file mode 100644
index 0000000000000000000000000000000000000000..c8594d97a76ffa730ce01b8cefe407b23c5fd4ab
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/widgets/gestures.dart
@@ -0,0 +1,233 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/material.dart';
+
+class _GesturePainter extends CustomPainter {
+ const _GesturePainter({
+ required this.zoom,
+ required this.offset,
+ required this.swatch,
+ required this.forward,
+ required this.scaleEnabled,
+ required this.tapEnabled,
+ required this.doubleTapEnabled,
+ required this.longPressEnabled,
+ });
+
+ final double zoom;
+ final Offset offset;
+ final MaterialColor swatch;
+ final bool forward;
+ final bool scaleEnabled;
+ final bool tapEnabled;
+ final bool doubleTapEnabled;
+ final bool longPressEnabled;
+
+ @override
+ void paint(Canvas canvas, Size size) {
+ final Offset center = size.center(Offset.zero) * zoom + offset;
+ final double radius = size.width / 2.0 * zoom;
+ final Gradient gradient = RadialGradient(
+ colors: forward
+ ? [swatch.shade50, swatch.shade900]
+ : [swatch.shade900, swatch.shade50],
+ );
+ final Paint paint = Paint()
+ ..shader = gradient.createShader(Rect.fromCircle(
+ center: center,
+ radius: radius,
+ ));
+ canvas.drawCircle(center, radius, paint);
+ }
+
+ @override
+ bool shouldRepaint(_GesturePainter oldPainter) {
+ return oldPainter.zoom != zoom
+ || oldPainter.offset != offset
+ || oldPainter.swatch != swatch
+ || oldPainter.forward != forward
+ || oldPainter.scaleEnabled != scaleEnabled
+ || oldPainter.tapEnabled != tapEnabled
+ || oldPainter.doubleTapEnabled != doubleTapEnabled
+ || oldPainter.longPressEnabled != longPressEnabled;
+ }
+}
+
+class GestureDemo extends StatefulWidget {
+ const GestureDemo({super.key});
+
+ @override
+ GestureDemoState createState() => GestureDemoState();
+}
+
+class GestureDemoState extends State {
+
+ late Offset _startingFocalPoint;
+
+ late Offset _previousOffset;
+ Offset _offset = Offset.zero;
+
+ late double _previousZoom;
+ double _zoom = 1.0;
+
+ static const List kSwatches = [
+ Colors.red,
+ Colors.pink,
+ Colors.purple,
+ Colors.deepPurple,
+ Colors.indigo,
+ Colors.blue,
+ Colors.lightBlue,
+ Colors.cyan,
+ Colors.green,
+ Colors.lightGreen,
+ Colors.lime,
+ Colors.yellow,
+ Colors.amber,
+ Colors.orange,
+ Colors.deepOrange,
+ Colors.brown,
+ Colors.grey,
+ Colors.blueGrey,
+ ];
+ int _swatchIndex = 0;
+ MaterialColor _swatch = kSwatches.first;
+ MaterialColor get swatch => _swatch;
+
+ bool _forward = true;
+ bool _scaleEnabled = true;
+ bool _tapEnabled = true;
+ bool _doubleTapEnabled = true;
+ bool _longPressEnabled = true;
+
+ void _handleScaleStart(ScaleStartDetails details) {
+ setState(() {
+ _startingFocalPoint = details.focalPoint;
+ _previousOffset = _offset;
+ _previousZoom = _zoom;
+ });
+ }
+
+ void _handleScaleUpdate(ScaleUpdateDetails details) {
+ setState(() {
+ _zoom = _previousZoom * details.scale;
+
+ // Ensure that item under the focal point stays in the same place despite zooming
+ final Offset normalizedOffset = (_startingFocalPoint - _previousOffset) / _previousZoom;
+ _offset = details.focalPoint - normalizedOffset * _zoom;
+ });
+ }
+
+ void _handleScaleReset() {
+ setState(() {
+ _zoom = 1.0;
+ _offset = Offset.zero;
+ });
+ }
+
+ void _handleColorChange() {
+ setState(() {
+ _swatchIndex += 1;
+ if (_swatchIndex == kSwatches.length) {
+ _swatchIndex = 0;
+ }
+ _swatch = kSwatches[_swatchIndex];
+ });
+ }
+
+ void _handleDirectionChange() {
+ setState(() {
+ _forward = !_forward;
+ });
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Stack(
+ fit: StackFit.expand,
+ children: [
+ GestureDetector(
+ onScaleStart: _scaleEnabled ? _handleScaleStart : null,
+ onScaleUpdate: _scaleEnabled ? _handleScaleUpdate : null,
+ onTap: _tapEnabled ? _handleColorChange : null,
+ onDoubleTap: _doubleTapEnabled ? _handleScaleReset : null,
+ onLongPress: _longPressEnabled ? _handleDirectionChange : null,
+ child: CustomPaint(
+ painter: _GesturePainter(
+ zoom: _zoom,
+ offset: _offset,
+ swatch: swatch,
+ forward: _forward,
+ scaleEnabled: _scaleEnabled,
+ tapEnabled: _tapEnabled,
+ doubleTapEnabled: _doubleTapEnabled,
+ longPressEnabled: _longPressEnabled,
+ ),
+ ),
+ ),
+ Positioned(
+ bottom: 0.0,
+ left: 0.0,
+ child: Card(
+ child: Container(
+ padding: const EdgeInsets.all(4.0),
+ child: Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Row(
+ children: [
+ Checkbox(
+ value: _scaleEnabled,
+ onChanged: (bool? value) { setState(() { _scaleEnabled = value!; }); },
+ ),
+ const Text('Scale'),
+ ],
+ ),
+ Row(
+ children: [
+ Checkbox(
+ value: _tapEnabled,
+ onChanged: (bool? value) { setState(() { _tapEnabled = value!; }); },
+ ),
+ const Text('Tap'),
+ ],
+ ),
+ Row(
+ children: [
+ Checkbox(
+ value: _doubleTapEnabled,
+ onChanged: (bool? value) { setState(() { _doubleTapEnabled = value!; }); },
+ ),
+ const Text('Double Tap'),
+ ],
+ ),
+ Row(
+ children: [
+ Checkbox(
+ value: _longPressEnabled,
+ onChanged: (bool? value) { setState(() { _longPressEnabled = value!; }); },
+ ),
+ const Text('Long Press'),
+ ],
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ ],
+ );
+ }
+}
+
+void main() {
+ runApp(MaterialApp(
+ theme: ThemeData.dark(),
+ home: Scaffold(
+ appBar: AppBar(title: const Text('Gestures Demo')),
+ body: const GestureDemo(),
+ ),
+ ));
+}
diff --git a/novelforge-project/flutter/examples/layers/widgets/hello_world.dart b/novelforge-project/flutter/examples/layers/widgets/hello_world.dart
new file mode 100644
index 0000000000000000000000000000000000000000..25b2076a6ede18b07145a3159d0a21f3e411e083
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/widgets/hello_world.dart
@@ -0,0 +1,7 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/widgets.dart';
+
+void main() => runApp(const Center(child: Text('Hello, world!', textDirection: TextDirection.ltr)));
diff --git a/novelforge-project/flutter/examples/layers/widgets/media_query.dart b/novelforge-project/flutter/examples/layers/widgets/media_query.dart
new file mode 100644
index 0000000000000000000000000000000000000000..39c996a25be9eeaf0b150b5de2437a127ce21be0
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/widgets/media_query.dart
@@ -0,0 +1,102 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/material.dart';
+
+class AdaptedListItem extends StatelessWidget {
+ const AdaptedListItem({ super.key, required this.name });
+
+ final String name;
+
+ @override
+ Widget build(BuildContext context) {
+ return Row(
+ children: [
+ Container(
+ width: 32.0,
+ height: 32.0,
+ margin: const EdgeInsets.all(8.0),
+ color: Colors.lightBlueAccent.shade100,
+ ),
+ Text(name),
+ ],
+ );
+ }
+}
+
+class AdaptedGridItem extends StatelessWidget {
+ const AdaptedGridItem({ super.key, required this.name });
+
+ final String name;
+
+ @override
+ Widget build(BuildContext context) {
+ return Card(
+ child: Column(
+ children: [
+ Expanded(
+ child: Container(
+ color: Colors.lightBlueAccent.shade100,
+ ),
+ ),
+ Container(
+ margin: const EdgeInsets.only(left: 8.0),
+ child: Row(
+ children: [
+ Expanded(
+ child: Text(name),
+ ),
+ const IconButton(
+ icon: Icon(Icons.more_vert),
+ onPressed: null,
+ ),
+ ],
+ ),
+ ),
+ ],
+ ),
+ );
+ }
+}
+
+const double _kListItemExtent = 50.0;
+const double _kMaxTileWidth = 150.0;
+const double _kGridViewBreakpoint = 450.0;
+
+class AdaptiveContainer extends StatelessWidget {
+ const AdaptiveContainer({ super.key, required this.names });
+
+ final List names;
+
+ @override
+ Widget build(BuildContext context) {
+ if (MediaQuery.of(context).size.width < _kGridViewBreakpoint) {
+ return ListView(
+ itemExtent: _kListItemExtent,
+ children: names.map((String name) => AdaptedListItem(name: name)).toList(),
+ );
+ } else {
+ return GridView.extent(
+ maxCrossAxisExtent: _kMaxTileWidth,
+ children: names.map((String name) => AdaptedGridItem(name: name)).toList(),
+ );
+ }
+ }
+}
+
+List _initNames() => List.generate(30, (int i) => 'Item $i');
+
+final List _kNames = _initNames();
+
+void main() {
+ runApp(MaterialApp(
+ title: 'Media Query Example',
+ home: Scaffold(
+ appBar: AppBar(
+ title: const Text('Media Query Example'),
+ ),
+ body: Material(child: AdaptiveContainer(names: _kNames)),
+ ),
+ ));
+}
diff --git a/novelforge-project/flutter/examples/layers/widgets/sectors.dart b/novelforge-project/flutter/examples/layers/widgets/sectors.dart
new file mode 100644
index 0000000000000000000000000000000000000000..74c7fc1975842645d56b8420d0a77da2375f076e
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/widgets/sectors.dart
@@ -0,0 +1,191 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'dart:math' as math;
+
+import 'package:flutter/material.dart';
+
+import '../rendering/src/sector_layout.dart';
+
+RenderBoxToRenderSectorAdapter initCircle() {
+ return RenderBoxToRenderSectorAdapter(
+ innerRadius: 25.0,
+ child: RenderSectorRing(),
+ );
+}
+
+class SectorApp extends StatefulWidget {
+ const SectorApp({super.key});
+
+ @override
+ SectorAppState createState() => SectorAppState();
+}
+
+class SectorAppState extends State {
+
+ final RenderBoxToRenderSectorAdapter sectors = initCircle();
+ final math.Random rand = math.Random(1);
+
+ List wantedSectorSizes = [];
+ List actualSectorSizes = [];
+ double get currentTheta => wantedSectorSizes.fold(0.0, (double total, double value) => total + value);
+
+ void addSector() {
+ final double currentTheta = this.currentTheta;
+ if (currentTheta < kTwoPi) {
+ double deltaTheta;
+ if (currentTheta >= kTwoPi - (math.pi * 0.2 + 0.05)) {
+ deltaTheta = kTwoPi - currentTheta;
+ } else {
+ deltaTheta = math.pi * rand.nextDouble() / 5.0 + 0.05;
+ }
+ wantedSectorSizes.add(deltaTheta);
+ updateEnabledState();
+ }
+ }
+
+ void removeSector() {
+ if (wantedSectorSizes.isNotEmpty) {
+ wantedSectorSizes.removeLast();
+ updateEnabledState();
+ }
+ }
+
+ void doUpdates() {
+ int index = 0;
+ while (index < actualSectorSizes.length && index < wantedSectorSizes.length && actualSectorSizes[index] == wantedSectorSizes[index]) {
+ index += 1;
+ }
+ final RenderSectorRing ring = sectors.child! as RenderSectorRing;
+ while (index < actualSectorSizes.length) {
+ ring.remove(ring.lastChild!);
+ actualSectorSizes.removeLast();
+ }
+ while (index < wantedSectorSizes.length) {
+ final Color color = Color(((0xFF << 24) + rand.nextInt(0xFFFFFF)) | 0x808080);
+ ring.add(RenderSolidColor(color, desiredDeltaTheta: wantedSectorSizes[index]));
+ actualSectorSizes.add(wantedSectorSizes[index]);
+ index += 1;
+ }
+ }
+
+ static RenderBoxToRenderSectorAdapter initSector(Color color) {
+ final RenderSectorRing ring = RenderSectorRing(padding: 1.0);
+ ring.add(RenderSolidColor(const Color(0xFF909090), desiredDeltaTheta: kTwoPi * 0.15));
+ ring.add(RenderSolidColor(const Color(0xFF909090), desiredDeltaTheta: kTwoPi * 0.15));
+ ring.add(RenderSolidColor(color, desiredDeltaTheta: kTwoPi * 0.2));
+ return RenderBoxToRenderSectorAdapter(
+ innerRadius: 5.0,
+ child: ring,
+ );
+ }
+ RenderBoxToRenderSectorAdapter sectorAddIcon = initSector(const Color(0xFF00DD00));
+ RenderBoxToRenderSectorAdapter sectorRemoveIcon = initSector(const Color(0xFFDD0000));
+
+ bool _enabledAdd = true;
+ bool _enabledRemove = false;
+ void updateEnabledState() {
+ setState(() {
+ _enabledAdd = currentTheta < kTwoPi;
+ _enabledRemove = wantedSectorSizes.isNotEmpty;
+ });
+ }
+
+ void recursivelyDisposeChildren(RenderObject parent) {
+ parent.visitChildren((RenderObject child) {
+ recursivelyDisposeChildren(child);
+ child.dispose();
+ });
+ }
+
+ Widget buildBody() {
+ return Column(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ children: [
+ Container(
+ padding: const EdgeInsets.symmetric(horizontal: 8.0, vertical: 25.0),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceAround,
+ children: [
+ ElevatedButton(
+ onPressed: _enabledAdd ? addSector : null,
+ child: IntrinsicWidth(
+ child: Row(
+ children: [
+ Container(
+ padding: const EdgeInsets.all(4.0),
+ margin: const EdgeInsets.only(right: 10.0),
+ child: WidgetToRenderBoxAdapter(
+ renderBox: sectorAddIcon,
+ onUnmount: () {
+ recursivelyDisposeChildren(sectorAddIcon);
+ },
+ ),
+ ),
+ const Text('ADD SECTOR'),
+ ],
+ ),
+ ),
+ ),
+ ElevatedButton(
+ onPressed: _enabledRemove ? removeSector : null,
+ child: IntrinsicWidth(
+ child: Row(
+ children: [
+ Container(
+ padding: const EdgeInsets.all(4.0),
+ margin: const EdgeInsets.only(right: 10.0),
+ child: WidgetToRenderBoxAdapter(
+ renderBox: sectorRemoveIcon,
+ onUnmount: () {
+ recursivelyDisposeChildren(sectorRemoveIcon);
+ },
+ ),
+ ),
+ const Text('REMOVE SECTOR'),
+ ],
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ Expanded(
+ child: Container(
+ margin: const EdgeInsets.all(8.0),
+ decoration: BoxDecoration(
+ border: Border.all(),
+ ),
+ padding: const EdgeInsets.all(8.0),
+ child: WidgetToRenderBoxAdapter(
+ renderBox: sectors,
+ onBuild: doUpdates,
+ onUnmount: () {
+ recursivelyDisposeChildren(sectors);
+ },
+ ),
+ ),
+ ),
+ ],
+ );
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return MaterialApp(
+ theme: ThemeData.light(),
+ title: 'Sector Layout',
+ home: Scaffold(
+ appBar: AppBar(
+ title: const Text('Sector Layout in a Widget Tree'),
+ ),
+ body: buildBody(),
+ ),
+ );
+ }
+}
+
+void main() {
+ runApp(const SectorApp());
+}
diff --git a/novelforge-project/flutter/examples/layers/widgets/spinning_mixed.dart b/novelforge-project/flutter/examples/layers/widgets/spinning_mixed.dart
new file mode 100644
index 0000000000000000000000000000000000000000..6d3223c7b0065bdbd2a557a70a1ab7e06ace4321
--- /dev/null
+++ b/novelforge-project/flutter/examples/layers/widgets/spinning_mixed.dart
@@ -0,0 +1,117 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'package:flutter/material.dart';
+import 'package:flutter/rendering.dart';
+
+import '../rendering/src/solid_color_box.dart';
+
+// Solid color, RenderObject version
+void addFlexChildSolidColor(RenderFlex parent, Color backgroundColor, { int flex = 0 }) {
+ final RenderSolidColorBox child = RenderSolidColorBox(backgroundColor);
+ parent.add(child);
+ final FlexParentData childParentData = child.parentData! as FlexParentData;
+ childParentData.flex = flex;
+}
+
+// Solid color, Widget version
+class Rectangle extends StatelessWidget {
+ const Rectangle(this.color, { super.key });
+
+ final Color color;
+
+ @override
+ Widget build(BuildContext context) {
+ return Expanded(
+ child: Container(
+ color: color,
+ ),
+ );
+ }
+}
+
+double? value;
+RenderObjectToWidgetElement? element;
+void attachWidgetTreeToRenderTree(RenderProxyBox container) {
+ element = RenderObjectToWidgetAdapter(
+ container: container,
+ child: Directionality(
+ textDirection: TextDirection.ltr,
+ child: SizedBox(
+ height: 300.0,
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ children: [
+ const Rectangle(Color(0xFF00FFFF)),
+ Material(
+ child: Container(
+ padding: const EdgeInsets.all(10.0),
+ margin: const EdgeInsets.all(10.0),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceAround,
+ children: