Repository: babakcode/flutter_gemini Branch: master Commit: a08d004b0d58 Files: 245 Total size: 634.2 KB Directory structure: gitextract_vpbqk1zj/ ├── .gitignore ├── .metadata ├── CHANGELOG.md ├── LICENSE ├── README.md ├── analysis_options.yaml ├── assets/ │ └── json_models/ │ ├── embeding_response.json │ ├── embedings_response.json │ ├── gemini_model.json │ ├── gemini_response.json │ └── generation_config.json ├── example/ │ ├── .gitignore │ ├── .metadata │ ├── README.md │ ├── analysis_options.yaml │ ├── android/ │ │ ├── .gitignore │ │ ├── app/ │ │ │ ├── build.gradle │ │ │ └── src/ │ │ │ ├── debug/ │ │ │ │ └── AndroidManifest.xml │ │ │ ├── main/ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── kotlin/ │ │ │ │ │ └── com/ │ │ │ │ │ └── example/ │ │ │ │ │ └── example/ │ │ │ │ │ └── MainActivity.kt │ │ │ │ └── res/ │ │ │ │ ├── drawable/ │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── drawable-v21/ │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── values/ │ │ │ │ │ └── styles.xml │ │ │ │ └── values-night/ │ │ │ │ └── styles.xml │ │ │ └── profile/ │ │ │ └── AndroidManifest.xml │ │ ├── build.gradle │ │ ├── gradle/ │ │ │ └── wrapper/ │ │ │ └── gradle-wrapper.properties │ │ ├── gradle.properties │ │ └── settings.gradle │ ├── ios/ │ │ ├── .gitignore │ │ ├── Flutter/ │ │ │ ├── AppFrameworkInfo.plist │ │ │ ├── Debug.xcconfig │ │ │ └── Release.xcconfig │ │ ├── Runner/ │ │ │ ├── AppDelegate.swift │ │ │ ├── Assets.xcassets/ │ │ │ │ ├── AppIcon.appiconset/ │ │ │ │ │ └── Contents.json │ │ │ │ └── LaunchImage.imageset/ │ │ │ │ ├── Contents.json │ │ │ │ └── README.md │ │ │ ├── Base.lproj/ │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ └── Main.storyboard │ │ │ ├── Info.plist │ │ │ └── Runner-Bridging-Header.h │ │ ├── Runner.xcodeproj/ │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace/ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata/ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── xcshareddata/ │ │ │ └── xcschemes/ │ │ │ └── Runner.xcscheme │ │ ├── Runner.xcworkspace/ │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata/ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ │ └── RunnerTests/ │ │ └── RunnerTests.swift │ ├── lib/ │ │ ├── main.dart │ │ └── widgets/ │ │ ├── chat_input_box.dart │ │ └── item_image_view.dart │ ├── linux/ │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── flutter/ │ │ │ ├── CMakeLists.txt │ │ │ ├── generated_plugin_registrant.cc │ │ │ ├── generated_plugin_registrant.h │ │ │ └── generated_plugins.cmake │ │ ├── main.cc │ │ ├── my_application.cc │ │ └── my_application.h │ ├── macos/ │ │ ├── .gitignore │ │ ├── Flutter/ │ │ │ ├── Flutter-Debug.xcconfig │ │ │ ├── Flutter-Release.xcconfig │ │ │ └── GeneratedPluginRegistrant.swift │ │ ├── Runner/ │ │ │ ├── AppDelegate.swift │ │ │ ├── Assets.xcassets/ │ │ │ │ └── AppIcon.appiconset/ │ │ │ │ └── Contents.json │ │ │ ├── Base.lproj/ │ │ │ │ └── MainMenu.xib │ │ │ ├── Configs/ │ │ │ │ ├── AppInfo.xcconfig │ │ │ │ ├── Debug.xcconfig │ │ │ │ ├── Release.xcconfig │ │ │ │ └── Warnings.xcconfig │ │ │ ├── DebugProfile.entitlements │ │ │ ├── Info.plist │ │ │ ├── MainFlutterWindow.swift │ │ │ └── Release.entitlements │ │ ├── Runner.xcodeproj/ │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace/ │ │ │ │ └── xcshareddata/ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ └── xcshareddata/ │ │ │ └── xcschemes/ │ │ │ └── Runner.xcscheme │ │ ├── Runner.xcworkspace/ │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata/ │ │ │ └── IDEWorkspaceChecks.plist │ │ └── RunnerTests/ │ │ └── RunnerTests.swift │ ├── pubspec.yaml │ ├── test/ │ │ └── widget_test.dart │ ├── web/ │ │ ├── index.html │ │ └── manifest.json │ └── windows/ │ ├── .gitignore │ ├── CMakeLists.txt │ ├── flutter/ │ │ ├── CMakeLists.txt │ │ ├── generated_plugin_registrant.cc │ │ ├── generated_plugin_registrant.h │ │ └── generated_plugins.cmake │ └── runner/ │ ├── CMakeLists.txt │ ├── Runner.rc │ ├── flutter_window.cpp │ ├── flutter_window.h │ ├── main.cpp │ ├── resource.h │ ├── runner.exe.manifest │ ├── utils.cpp │ ├── utils.h │ ├── win32_window.cpp │ └── win32_window.h ├── example_old/ │ ├── .gitignore │ ├── .metadata │ ├── README.md │ ├── analysis_options.yaml │ ├── android/ │ │ ├── .gitignore │ │ ├── app/ │ │ │ ├── build.gradle │ │ │ └── src/ │ │ │ ├── debug/ │ │ │ │ └── AndroidManifest.xml │ │ │ ├── main/ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── kotlin/ │ │ │ │ │ └── com/ │ │ │ │ │ └── example/ │ │ │ │ │ └── example/ │ │ │ │ │ └── MainActivity.kt │ │ │ │ └── res/ │ │ │ │ ├── drawable/ │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── drawable-v21/ │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── values/ │ │ │ │ │ └── styles.xml │ │ │ │ └── values-night/ │ │ │ │ └── styles.xml │ │ │ └── profile/ │ │ │ └── AndroidManifest.xml │ │ ├── build.gradle │ │ ├── gradle/ │ │ │ └── wrapper/ │ │ │ └── gradle-wrapper.properties │ │ ├── gradle.properties │ │ └── settings.gradle │ ├── assets/ │ │ └── lottie/ │ │ └── ai.json │ ├── ios/ │ │ ├── .gitignore │ │ ├── Flutter/ │ │ │ ├── AppFrameworkInfo.plist │ │ │ ├── Debug.xcconfig │ │ │ └── Release.xcconfig │ │ ├── Runner/ │ │ │ ├── AppDelegate.swift │ │ │ ├── Assets.xcassets/ │ │ │ │ ├── AppIcon.appiconset/ │ │ │ │ │ └── Contents.json │ │ │ │ └── LaunchImage.imageset/ │ │ │ │ ├── Contents.json │ │ │ │ └── README.md │ │ │ ├── Base.lproj/ │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ └── Main.storyboard │ │ │ ├── Info.plist │ │ │ └── Runner-Bridging-Header.h │ │ ├── Runner.xcodeproj/ │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace/ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata/ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── xcshareddata/ │ │ │ └── xcschemes/ │ │ │ └── Runner.xcscheme │ │ ├── Runner.xcworkspace/ │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata/ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ │ └── RunnerTests/ │ │ └── RunnerTests.swift │ ├── lib/ │ │ ├── main.dart │ │ ├── sections/ │ │ │ ├── chat.dart │ │ │ ├── chat_stream.dart │ │ │ ├── embed_batch_contents.dart │ │ │ ├── embed_content.dart │ │ │ ├── response_widget_stream.dart │ │ │ ├── stream.dart │ │ │ ├── text_and_image.dart │ │ │ └── text_only.dart │ │ └── widgets/ │ │ ├── chat_input_box.dart │ │ └── item_image_view.dart │ ├── linux/ │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── flutter/ │ │ │ ├── CMakeLists.txt │ │ │ ├── generated_plugin_registrant.cc │ │ │ ├── generated_plugin_registrant.h │ │ │ └── generated_plugins.cmake │ │ ├── main.cc │ │ ├── my_application.cc │ │ └── my_application.h │ ├── macos/ │ │ ├── .gitignore │ │ ├── Flutter/ │ │ │ ├── Flutter-Debug.xcconfig │ │ │ ├── Flutter-Release.xcconfig │ │ │ └── GeneratedPluginRegistrant.swift │ │ ├── Runner/ │ │ │ ├── AppDelegate.swift │ │ │ ├── Assets.xcassets/ │ │ │ │ └── AppIcon.appiconset/ │ │ │ │ └── Contents.json │ │ │ ├── Base.lproj/ │ │ │ │ └── MainMenu.xib │ │ │ ├── Configs/ │ │ │ │ ├── AppInfo.xcconfig │ │ │ │ ├── Debug.xcconfig │ │ │ │ ├── Release.xcconfig │ │ │ │ └── Warnings.xcconfig │ │ │ ├── DebugProfile.entitlements │ │ │ ├── Info.plist │ │ │ ├── MainFlutterWindow.swift │ │ │ └── Release.entitlements │ │ ├── Runner.xcodeproj/ │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace/ │ │ │ │ └── xcshareddata/ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ └── xcshareddata/ │ │ │ └── xcschemes/ │ │ │ └── Runner.xcscheme │ │ ├── Runner.xcworkspace/ │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata/ │ │ │ └── IDEWorkspaceChecks.plist │ │ └── RunnerTests/ │ │ └── RunnerTests.swift │ ├── pubspec.yaml │ ├── test/ │ │ └── widget_test.dart │ ├── web/ │ │ ├── index.html │ │ └── manifest.json │ └── windows/ │ ├── .gitignore │ ├── CMakeLists.txt │ ├── flutter/ │ │ ├── CMakeLists.txt │ │ ├── generated_plugin_registrant.cc │ │ ├── generated_plugin_registrant.h │ │ └── generated_plugins.cmake │ └── runner/ │ ├── CMakeLists.txt │ ├── Runner.rc │ ├── flutter_window.cpp │ ├── flutter_window.h │ ├── main.cpp │ ├── resource.h │ ├── runner.exe.manifest │ ├── utils.cpp │ ├── utils.h │ ├── win32_window.cpp │ └── win32_window.h ├── lib/ │ ├── flutter_gemini.dart │ └── src/ │ ├── config/ │ │ └── constants.dart │ ├── implement/ │ │ ├── gemini_implement.dart │ │ └── gemini_service.dart │ ├── init.dart │ ├── models/ │ │ ├── candidates/ │ │ │ └── candidates.dart │ │ ├── content/ │ │ │ └── content.dart │ │ ├── gemini_file/ │ │ │ └── gemini_file_part.dart │ │ ├── gemini_model/ │ │ │ └── gemini_model.dart │ │ ├── gemini_response/ │ │ │ └── gemini_response.dart │ │ ├── gemini_safety/ │ │ │ ├── gemini_safety.dart │ │ │ ├── gemini_safety_category.dart │ │ │ └── gemini_safety_threshold.dart │ │ ├── generation_config/ │ │ │ └── generation_config.dart │ │ ├── part/ │ │ │ ├── file_data_part.dart │ │ │ ├── file_part.dart │ │ │ ├── inline_data.dart │ │ │ ├── inline_part.dart │ │ │ ├── part.dart │ │ │ └── text_part.dart │ │ ├── parts/ │ │ │ └── parts.dart │ │ ├── prompt_feedback/ │ │ │ └── prompt_feedback.dart │ │ └── safety_ratings/ │ │ └── safety_ratings.dart │ ├── repository/ │ │ ├── api_interface.dart │ │ └── gemini_interface.dart │ └── utils/ │ ├── candidate_extension.dart │ ├── gemini_data_builder.dart │ ├── gemini_exception.dart │ ├── gemini_exception_handler_mixin.dart │ ├── gemini_model_manager.dart │ ├── gemini_request_handler.dart │ └── gemini_response_parser.dart ├── pubspec.yaml └── test/ ├── features/ │ ├── chat_test.dart │ ├── count_tokens_test.dart │ ├── info_test.dart │ ├── list_models_test.dart │ └── text_test.dart └── flutter_gemini_test.dart ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # Miscellaneous *.class *.log *.pyc *.swp .DS_Store .atom/ .buildlog/ .history .svn/ migrate_working_dir/ # IntelliJ related *.iml *.ipr *.iws .idea/ *.env # The .vscode folder contains launch configuration and tasks you configure in # VS Code which you may wish to be included in version control, so this line # is commented out by default. #.vscode/ # Flutter/Dart/Pub related # Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. /pubspec.lock **/doc/api/ .dart_tool/ .packages build/ ================================================ FILE: .metadata ================================================ # This file tracks properties of this Flutter project. # Used by Flutter tool to assess capabilities and perform upgrades etc. # # This file should be version controlled and should not be manually edited. version: revision: "2f708eb8396e362e280fac22cf171c2cb467343c" channel: "stable" project_type: package ================================================ FILE: CHANGELOG.md ================================================ # 3.0.0 * ## new Feature 1. Now you can use this package as a **dart** pkg. 2. prompt 3. promptStream ## 2.0.5 * ## Fixed * `gemini-pro-vision` is depreciated, changed to `gemini-1.5-flash` ## 2.0.4-dev.1 * ## new feature * reInitialize * add mime type from Uint8List ## 2.0.3 * ## new feature * GeminiException( message , statusCode) ## 2.0.1 * ## new feature * Decode utf-8 * streamChat ## 2.0.0 * work for lower Dart SDK version ## 2.0.0-dev-1 * ## Add new crucial features * ##### streamGenerateContent * The model usually gives a response once it finishes generating the entire output. To speed up interactions, you can opt not to wait for the complete result and instead use streaming to manage partial results. * ##### batchEmbedContents * ##### embedContent * Embedding is a method that transforms information, like text, into a list of floating-point numbers in an array. Gemini enables the representation of text, such as words or sentences, in a vectorized form. This facilitates the comparison of embeddings, allowing for the identification of similarities between texts through mathematical techniques like cosine similarity. For instance, texts with similar subject matter or sentiment should exhibit similar embeddings. * ## Updates * #### textAndImage * Convert the image property to the `images` ```diff - image: file.readAsBytesSync(), /// image + images: [file.readAsBytesSync()] /// list of images ``` ## 1.0.1 * update pubspec ## 1.0.0 * first publish ================================================ FILE: LICENSE ================================================ BSD 3-Clause License Copyright (c) 2023, Babak Gahremanzadeh (BabakCode) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ================================================ FILE: README.md ================================================ # Flutter Gemini Google Gemini is a set of cutting-edge large language models (LLMs) designed to be the driving force behind Google's future AI initiatives. ![gemini_github_cover](https://github.com/babakcode/flutter_gemini/assets/31356659/104a436c-cc1e-4523-aeeb-edfb50f87346) This package provides a powerful bridge between your Flutter application and Google's revolutionary Gemini AI. It empowers you to seamlessly integrate Gemini's capabilities into your app, unlocking possibilities for building innovative, intelligent, and engaging experiences that redefine user interaction. ## Features - Set up your API key [scroll](#getting-started) - Initialize Gemini [scroll](#initialize-gemini) - Content-based APIs [scroll](#content-based-apis) - promptStream [scroll](#prompt-stream) - prompt [scroll](#prompt) - Multi-turn conversations (chat) [scroll](#multi-turn-conversations-chat) - Count tokens [scroll](#count-tokens) - Model info [scroll](#model-info) - List models [scroll](#list-models) - EmbedContents and batchEmbedContents [scroll](#embedcontents-and-batchembedcontents) - Advanced Usage [scroll](#advanced-usage) - Safety settings [scroll](#safety-settings) - Generation configuration [scroll](#generation-configuration) - Legacy APIs [scroll](#legacy-apis) - Stream Generate Content [scroll](#stream-generate-content) - Text-only input [scroll](#text-only-input) - Text-and-image input [scroll](#text-and-image-input) ## Getting started To use the Gemini API, you'll need an API key. If you don't already have one, create a key in Google AI Studio. [Get an API key](https://ai.google.dev/). [//]: # (### online demo) [//]: # () [//]: # ([https://babakcode.github.io/flutter_gemini](https://babakcode.github.io/flutter_gemini)) ## Initialize Gemini For initialization, you must call the init constructor for Flutter Gemini in the main function. ```dart const apiKey = '--- Your Gemini Api Key ---'; void main() { /// Add this line Gemini.init(apiKey: apiKey); runApp(const MyApp()); } ``` Now you can create an instance ## Content-based APIs ### Prompt Stream Offers a powerful method `promptStream` that allows developers to interact with a stream of data in a flexible and efficient way. One of the key features of this package is the ability to use different types of `Part` classes, enabling the transmission of various forms of data. **Usage Example** To use the promptStream method, you can pass an array of Part objects, where each Part can represent different types of data. For instance, a simple request to ask a question could look like this: ```dart Gemini.instance.promptStream(parts: [ Part.text('Write a story about a magic backpack'), ]).listen((value) { print(value?.output); }); ``` #### Available Part Types 1. `Part.text` | `TextPart`: For sending text data. 2. `Part.inline` | `InlinePart`: For sending raw byte data. 3. `Part.file` | `FilePart`: For sending uploaded file to Gemini cloud ( will be updated ) 4. ... 5. ( Others will be added ASAP ) These `Part` types are abstracted into a base class, providing flexibility to add more data types in the future. This modular design ensures that users can easily extend the package to accommodate their specific needs, whether it's for text, files, or binary data. By using these different `Part` classes, you can tailor the behavior of the `promptStream` method to meet your application's specific requirements. ### Prompt You can send a question or request and get an immediate response using the `prompt` method. This method works with various `Part` types to allow flexible input, such as text, videos, or audios. **Usage Example** The following example shows how to use the `Flutter_Gemini` package with the `Future` approach to send a text request and handle the response: ```dart Gemini.instance.prompt(parts: [ Part.text('Write a story about a magic backpack'), ]).then((value) { print(value?.output); }).catchError((e) { print('error ${e}'); }); ``` *Explanation*: * The `prompt` method takes a list of `Part` objects, such as `Part.text` ( `TextPart` ), to define the request. * The response is processed once it is available, and you can access the result via value?.output. * Errors can be handled using catchError. This method provides a straightforward way to handle asynchronous tasks without dealing with streams. #### Multi-turn conversations (chat) Using Gemini, you can build freeform conversations across multiple turns. ```dart final gemini = Gemini.instance; gemini.chat([ Content(parts: [ Part.text('Write the first line of a story about a magic backpack.')], role: 'user'), Content(parts: [ Part.text('In the bustling city of Meadow brook, lived a young girl named Sophie. She was a bright and curious soul with an imaginative mind.')], role: 'model'), Content(parts: [ Part.text('Can you set it in a quiet village in 1600s France?')], role: 'user'), ]) .then((value) => log(value?.output ?? 'without output')) .catchError((e) => log('chat', error: e)); ``` ![Flutter gemini Text and Image example gif](https://miro.medium.com/v2/resize:fit:828/format:webp/1*MoVz4Z5KpxVUocEHLmzDew.gif "Flutter_Gemini example") #### Count tokens When using long prompts, it might be useful to count tokens before sending any content to the model. ```dart final gemini = Gemini.instance; gemini.countTokens("Write a story about a magic backpack.") .then((value) => print(value)) /// output like: `6` or `null` .catchError((e) => log('countTokens', error: e)); ``` #### Model info If you `GET` a model's URL, the API uses the `get` method to return information about that model such as version, display name, input token limit, etc. ```dart final gemini = Gemini.instance; gemini.info(model: 'gemini-pro') .then((info) => print(info)) .catchError((e) => log('info', error: e)); ``` #### List models If you `GET` the `models` directory, it uses the `list` method to list all of the models available through the API, including both the Gemini and PaLM family models. ```dart final gemini = Gemini.instance; gemini.listModels() .then((models) => print(models)) /// list .catchError((e) => log('listModels', error: e)); ``` #### embedContents and batchEmbedContents Embedding is a method that transforms information, like text, into a list of floating-point numbers in an array. Gemini enables the representation of text, such as words or sentences, in a vectorized form. This facilitates the comparison of embeddings, allowing for the identification of similarities between texts through mathematical techniques like cosine similarity. For instance, texts with similar subject matter or sentiment should exhibit similar embeddings. ```dart /// `embedContents` gemini.embedContent('text').then((value) { print(value); /// output like: [ 1.3231, 1.33421, -0.123123 ] }); /// `batchEmbedContents` gemini.batchEmbedContents(['text 1', 'text 2']).then((value) { print(value); /// output like: [ [ 1.3231, 1.33421, -0.123123 ] ] }); ``` ## Advanced Usage The following sections discuss advanced use cases and lower-level details of the Flutter SDK for the Gemini API. #### Safety settings The `safety_settings` argument lets you configure what the model blocks and allows in both prompts and responses. ```dart gemini.streamGenerateContent('Utilizing Google Ads in Flutter', safetySettings: [ SafetySetting( category: SafetyCategory.harassment, threshold: SafetyThreshold.blockLowAndAbove, ), SafetySetting( category: SafetyCategory.hateSpeech, threshold: SafetyThreshold.blockOnlyHigh, ) ]) .listen((value) {}) .onError((e) {}); ``` #### Generation configuration The `generation_config` argument allows you to modify the generation parameters. ```dart gemini.streamGenerateContent('Utilizing Google Ads in Flutter', generationConfig: GenerationConfig( temperature: 0.75, maxOutputTokens: 512, )) .listen((value) {}) .onError((e) {}); ``` ## Legacy APIs #### Stream Generate Content The model usually gives a response once it finishes generating the entire output. To speed up interactions, you can opt not to wait for the complete result and instead use streaming to manage partial results. ```dart final gemini = Gemini.instance; gemini.streamGenerateContent('Utilizing Google Ads in Flutter') .listen((value) { print(value.output); }).onError((e) { log('streamGenerateContent exception', error: e); }); ``` ![Flutter gemini stream generates content](https://github.com/babakcode/flutter_gemini/assets/31356659/0a6f6eaa-684c-4708-b395-16176c7b0180) ![Flutter Gemini stream](https://github.com/babakcode/flutter_gemini/assets/31356659/cabe2392-d584-4bbb-b5a9-a86db6b2d7f1) #### Text-only input This feature lets you perform natural language processing (NLP) tasks such as text completion and summarization. ```dart final gemini = Gemini.instance; gemini.text("Write a story about a magic backpack.") .then((value) => print( value?.output )) /// or value?.content?.parts?.last.text .catchError((e) => print(e)); ``` ![Flutter gemini Text only example gif](https://miro.medium.com/v2/resize:fit:828/format:webp/1*41dnttHItU2v4hobJ_DGSA.gif "Flutter_Gemini example") #### Text-and-image input If the input contains both text and image, You can send a text prompt with an image to the gemini-1.5-flash model to perform a vision-related task. For example, captioning an image or identifying what's in an image. ```dart final gemini = Gemini.instance; final file = File('assets/img.png'); gemini.textAndImage( text: "What is this picture?", /// text images: [file.readAsBytesSync()] /// list of images ) .then((value) => log(value?.content?.parts?.last.text ?? '')) .catchError((e) => log('textAndImageInput', error: e)); ``` ###### Note that, there are changes on properties ```diff - image: file.readAsBytesSync(), /// image + images: [file.readAsBytesSync()] /// list of images ``` ![Flutter gemini Text and Image example gif](https://miro.medium.com/v2/resize:fit:828/format:webp/1*3JEeJaBRSpif6hOl2pt3RA.gif "Flutter_Gemini example") ================================================ FILE: analysis_options.yaml ================================================ include: package:flutter_lints/flutter.yaml # Additional information about this file can be found at # https://dart.dev/guides/language/analysis-options analyzer: errors: invalid_annotation_target: ignore ================================================ FILE: assets/json_models/embeding_response.json ================================================ { "embedding": { "values": [ 0.008624583, -0.030451821, -0.042496547, -0.029230341, 0.05486475, 0.006694871, 0.004025645, -0.007294857, 0.0057651913, 0.037203953, 0.08070716, 0.032692064, 0.0015699493, -0.038671605, -0.021397846, 0.040436137, 0.040364444, 0.023915485, 0.03318194, -0.052099578, 0.007753789, -0.0028750803, -0.0038559572, -0.03839587, 0.031610277, -0.0024588231, 0.05350601, -0.035613116, -0.035775036, 0.045701347, -0.030365199, -0.014816799, -0.040846597, -0.014294212, 0.008432598, -0.07015665, -0.005973285, 0.020774437, -0.019995548, 0.027437009, -0.0143762855, 0.0071297227, -0.048812605, 0.0017134936, 0.016833002, -0.04341425, -0.01071614, 0.029540878, 0.00026989548, -0.07512045, -0.0063251033, 0.017243758, 0.0030855879, -0.03900979, 0.0062045115, -0.03762957, -0.0002221458, 0.0033970037, -0.018224807, 0.020233013, -0.009443185, 0.016834496, -0.039400727, 0.025765473, 0.0064459303, -0.0010064961, -0.023396038, 0.04714727, 0.04311917, 0.011308989, -0.013833369, -0.06827331, 0.023071568, -0.03515085, -0.06426478, -0.07674637, 0.011010596, 0.014995057, -0.009893141, 0.0226066, -0.023858562, -0.04174958, 0.00030446844, -0.029835863, -0.049982175, 0.030680457, -0.0037228062, 0.007982671, 0.015907364, 0.059540056, -0.0698364, 0.01905883, 0.026681246, -0.029017935, 0.009239862, 0.07437943, -0.018931432, -0.014418681, -0.015227716, -0.016991543, -0.020227646, -0.030113006, -0.036909197, 0.0491838, 0.03691079, 0.020114211, 0.020616315, 0.035417195, 0.017378854, 0.0017591371, -0.052360915, -0.007504276, -0.02162204, -0.04277857, -0.030450603, -0.008929546, 0.022382222, 0.028581386, 0.031293616, -0.017000198, 0.04805261, -0.030170312, 0.016913159, -0.0008443405, 0.017210385, 0.01790196, 0.025434153, 0.014020954, 0.0463916, 0.055676837, -0.014117397, -0.06040255, 0.033837322, -0.0008005907, -0.00060394837, 0.035327226, 0.036272198, -0.03526632, 0.008720279, -0.01767251, 0.030635742, 0.03079541, -0.011152445, 0.008129438, -0.004437317, 0.06261552, -0.011166501, -0.00792765, 0.0626778, -0.03808373, 0.0010393296, 0.0012560948, -0.05420512, -0.001696204, 0.0057959175, 0.021863215, -0.0057427636, -0.005779428, 0.009948935, -0.024309319, 0.03490945, 0.05541324, 0.010009066, -0.00690594, -0.017368019, -0.0020743837, 0.016718129, -0.021815343, 0.016868921, -0.016602708, -0.012883013, -0.049588937, -0.034187913, -0.034272812, -0.005009027, -0.06445695, 0.0061878716, -0.025500957, -0.0136196995, 0.009936822, -0.07557129, 0.0019269945, 0.007851136, -0.0005730017, 0.015097395, -0.02793086, 0.07649703, -0.011246095, -0.00988598, -0.0095420005, -0.010617724, -0.02795932, -0.0074260943, -0.0011066246, 0.030510733, 0.04752876, 0.0040175403, 0.029044962, 0.047818206, -0.018723032, -0.0415435, 0.0996901, 0.006733833, 0.026475549, 0.028504595, 0.039723564, 0.10685063, -0.09093502, -0.040105067, -0.010830562, -0.016954549, 0.040276904, -0.06309, 0.0122314235, 0.04197765, 0.021913808, 0.024538448, 0.03143963, 0.035233174, -0.049595617, 0.031046454, 0.012546503, -0.063403584, 0.029301276, 0.009593253, 0.08471234, -0.052641954, 0.06801721, -0.010078849, -0.03664156, -1.225098e-05, 0.014980443, -0.015443251, -0.063587464, 0.0649348, 0.03656039, 0.00012944145, 0.04090392, -0.067475125, 0.042220943, -0.049328692, 0.00013846974, 0.030628476, -0.0044686855, -0.06414449, -0.0035188058, -0.021508386, 0.014263058, 0.0023899209, 0.0044664415, 0.011860193, -0.05595765, 0.03968002, 0.026143683, -0.04310548, 0.019457595, -0.036821175, -0.004706372, -0.008448093, 0.0095680095, 0.02663876, -0.017718185, 0.0521761, -0.05751985, -0.03382739, -5.254058e-05, -0.007237099, -0.03678753, 0.0004373296, 0.068935804, 0.024607658, -0.07383697, 0.0745026, -0.020278804, -0.02233648, -0.043527547, -0.0005897141, -0.008819973, 0.05522694, -0.041430607, 0.01485464, 0.03093516, 0.027958557, -0.041524798, -0.04165515, -0.032893553, -0.03968652, -0.053652477, 0.017770097, 0.009334136, -0.05586768, -0.028391907, -0.032775786, -0.048513874, -0.053598277, 0.026337227, -0.016223265, 0.051107723, 0.043397397, -0.011614245, -0.051782615, -0.0044690934, 0.036513854, -0.059794012, 0.021193227, 0.022977995, -0.037308924, -0.04654618, 0.039977968, 0.0070000333, 0.010082792, -0.041809354, -0.06859667, 0.03696839, 0.08448864, 0.036238268, -0.040010847, 0.014791712, -0.071675524, 0.038495533, -0.025405306, 0.119683675, 0.053742535, -0.05001289, 0.013715115, 0.020359106, -0.011968625, 0.080088414, -0.036633175, 0.0514321, -0.092830576, -0.011293311, -0.011462946, -0.005365982, 0.0068834354, 0.0033007269, -0.061453447, -0.0018337568, -0.03999207, -0.0020025445, 0.030325854, -0.028261486, -0.0024511546, -0.04857929, -0.005050297, -0.013459029, -0.014253672, 0.03093196, 0.02680012, -0.023344921, 0.029151637, 0.06343295, -0.020851089, -0.013067708, -0.047613945, -0.019634524, 0.04799423, -0.0030165066, 0.023077987, -0.018307852, -0.02367432, 0.04621804, -0.00904888, -0.004921491, -0.011499991, -0.03138275, 0.00737706, -0.030905176, 0.0045861388, 0.022925997, -0.016103206, -0.037664305, -0.009711344, -0.041544404, -0.019569533, -0.039040513, -0.023987805, -0.020657333, -0.019713132, 0.012216924, -0.028459836, -0.007854262, 0.03432555, 0.018948609, 0.032789946, -0.002173598, 0.072268486, 0.044727862, -0.0047442573, 0.026857385, -0.004011348, -0.035373602, 0.064441904, 0.06910071, -0.011144723, -0.02612964, -0.00051150133, -0.058811516, 0.016943831, -0.013993827, -0.011681567, -0.0486106, -0.010806049, -0.009677699, -0.0075841006, -0.013452097, 0.050830264, 0.0069918637, -0.028301245, -0.0226844, 0.020452417, 0.038501225, 0.027227988, -0.09067933, -0.03149255, -0.02733588, 0.062468164, -0.011298025, 0.00020811577, 0.02480444, 0.030436065, -0.01722424, 0.015863098, 0.021556586, -0.035869934, -0.0105872825, -0.012277281, -0.050149817, 7.532577e-05, 0.014090748, 0.0022058648, -0.0077205827, 0.01042793, -0.036767684, -0.019879367, -0.015746206, 0.017803842, 0.012614761, -0.00880104, -0.02583725, 0.021856116, -0.035151184, 0.0795235, 0.003733422, -0.042395752, -0.030227657, 0.017081745, -0.064787105, 0.047976263, -0.06614391, 0.046755534, -0.09351948, -0.017798718, -0.06981937, -0.048591003, -0.036941074, -0.0063392953, 0.0723561, -0.050979175, 0.024858551, 0.022146545, -0.04561866, -0.05629803, -0.03543026, 0.01992356, -0.02645938, 0.015476739, 0.006532406, 0.016006118, 0.021703305, -0.008074443, -0.013993359, 0.025270082, 0.054084614, -0.03723426, 0.00922647, -0.060977213, 0.022743328, 0.0005817427, -0.043921262, 0.0162521, -0.046245884, 0.02920244, 0.0137127, -0.0004419291, 0.0062954514, 0.0075316126, -0.018215746, -0.047283698, 0.06998149, -0.033327773, -0.0004236732, -0.0031994286, -0.007056563, -0.043460306, 0.0015354953, -0.01488144, -0.032937713, 0.009287482, 0.014544634, 0.034704477, -0.038788475, 0.0057188864, -0.041650325, 0.058672834, -0.037773453, 0.042793583, 0.068971485, -0.060984336, -0.003988655, -0.0028867219, 0.0067583215, -0.018067246, -0.0239257, 0.021824041, -0.002594604, 0.019783823, 0.010555229, 0.03585786, -0.054828122, 0.056835514, 0.0039436664, -0.029769812, 0.01487401, 0.018713957, -0.04180365, 0.065259494, -0.006946442, -0.008461352, -0.041328337, 0.016176524, 0.06900452, -0.08757591, -0.026511896, -0.021864926, -0.045825586, -0.0029127926, -0.036086105, 0.049907155, -0.03262437, 0.008395844, 0.014912004, 0.016121961, 0.038142838, -0.019255152, -0.032568473, 0.029633947, -0.05650531, 0.01703388, -0.0049108807, -0.033846553, -0.032649934, 0.034349475, -0.052442193, 0.035418052, -0.025731172, -0.028500304, -0.022009343, 0.0073188776, -0.02605774, -0.011230884, -0.016760005, -0.026268288, -0.030098971, 0.009599001, -0.012166129, -0.047288176, -0.0026035684, 0.046940323, 0.017147271, -0.03532738, -0.004257927, 0.023836099, -0.013437756, 0.038638394, -0.04540704, -0.0070548924, -0.000996806, -0.007153008, 0.03372742, 0.00090462615, 0.022542186, 0.056735456, 0.042577762, -0.034696132, 0.042536404, 0.021590313, 0.0077237147, 0.024994696, 0.029911542, -0.021255728, 0.030441552, -0.0483429, 0.04303822, 0.0286698, -0.0068607414, 0.036662962, -0.0063703014, -0.044340007, -0.031890824, 0.00036194356, -0.034090873, -0.00549679, 0.009660412, 0.042241063, 0.011368424, -0.004538653, -0.009493857, 0.0030975502, -0.0010478802, -0.020607537, 0.018744059, 0.015208846, -0.021333545, 0.03751383, 0.024116268, 0.07453785, -0.041588385, -0.03892425, -0.05235617, -0.040644005, 0.005042716, -0.020569988, -0.0129598, 0.13083012, -0.009011917, -0.00217832, 0.0077060633, 0.058262043, 0.015077671, 0.063272804, 0.1078087, 0.004448191, -0.053923953, -0.04362896, 0.09360521, 0.0066842767, -0.011016014, 0.044551995, 0.0015021093, -0.052759856, -0.009717925, 0.0034341498, 0.020852385, -0.0078668, 0.10094906, 0.07162882, -0.0748456, -0.027106045, 0.009101185, -0.029127726, -0.0017386917, -0.023493223, -0.027168266, -0.020215228, 0.00041417315, -0.033961166, -0.011669535, -0.0004906546, -0.012759002, -0.044284903, 0.04930086, 0.013013342, -0.020515632, 0.0126403915, 0.016976478, -0.08650424, -0.07489142, -0.04380144, 0.052320037, -0.06340725, 0.067897715, 0.031920537, -0.038168993, 0.036792386, 0.029663036, 0.022649394, 0.05061561, 0.00934687, 0.04729442, -0.018025605, 0.019651046, -0.0050999606, -0.0020830606, -0.007575653, 0.0045946045, 0.04751231, 0.007070753, -0.035760302, 0.018472316, 0.004339673, -0.06597283, -0.05489254, -0.011515522, 0.090681635, 0.007154289, 0.015031737, 0.008287731, 0.026016485, 0.0616728, -0.016931107, 0.018779512, -0.032710046, -0.010483889, 0.026504684, -0.020419342, -0.022554679, 0.025899567, 0.045513034, 0.00026808516, 0.03389962, -0.039920982, -0.0038337265, 0.0014569712, -0.009203633, -0.011793006, 0.014427106, 0.0086658755, -0.01721355, 0.08369377, 0.05515183, 0.03119344, 0.038981467, -0.034288254, -0.013515418, 0.06075744, -0.0258169, 0.034621883, 0.0012731912, -0.043584045, 0.04525766, -0.032612998, -0.020666298, 0.07351347, -0.050300013, 0.026697695, -0.0022883194, 0.0155193815, -0.017274313, -0.0020913866, -0.064670034, 0.018535795, -0.010191767, 0.08379303, 0.051132496, -0.057075754, 0.049261495, -0.011337851, -0.054149605, 0.03255013, -0.09124333, 0.03779213, 0.06664394, 0.00040837182, 0.028164629, -0.044449247, -0.012616811, 0.01718758, -0.013388284, 0.036616728, -0.009780496, 0.023196792, 0.0024103, 0.0152416425, -0.019779433, -0.014335527, 0.031857576, 0.012219593 ] } } ================================================ FILE: assets/json_models/embedings_response.json ================================================ { "embeddings": [ { "values": [ 0.015434564, -0.01298924, -0.03278457, -0.028112393, 0.059482034, 0.0066549815, 0.00705964, -0.018260185, -0.007033401, 0.035155747, 0.08696386, 0.03573911, -0.005422867, -0.042579066, -0.026789082, 0.044408686, 0.037405815, 0.024766346, 0.02860482, -0.054175135, 0.0020146118, -0.0009333989, -0.006904162, -0.029163862, 0.021856539, 0.008234055, 0.051697668, -0.027510434, -0.033265475, 0.04367599, -0.02746475, -0.006686542, -0.052241612, -0.017983247, 0.015568448, -0.06716233, -0.0045682783, 0.009744952, -0.031453557, 0.03206871, -0.011631581, 0.007513488, -0.04575989, -0.0048876926, 0.007850901, -0.040422756, -0.011942582, 0.02596849, -0.0023374555, -0.064529315, -0.0049498533, 0.020897886, 0.013030305, -0.033771504, 0.010636675, -0.03492845, -0.0036980575, -0.0027421117, -0.022764493, 0.016520545, -0.0038496067, 0.009353446, -0.027946725, 0.016360503, -0.00028978643, -0.0003598713, -0.021505449, 0.04010767, 0.044623654, 0.0040911683, -0.0012595936, -0.06768728, 0.022939442, -0.03522621, -0.07493804, -0.072267026, 0.01903335, 0.0142016085, -0.0014970279, 0.02977439, -0.03163831, -0.04231695, -0.0053182985, -0.031077743, -0.050385587, 0.03709317, -0.00728087, -0.0060717687, 0.010334748, 0.059571065, -0.06091379, 0.0040900186, 0.023054197, -0.023547497, 0.01351191, 0.06853871, -0.014102313, -0.017443523, -0.020564517, -0.013529423, -0.009060168, -0.024950726, -0.03778613, 0.052346535, 0.04078861, 0.033672366, 0.019805942, 0.046406377, 0.02381622, 0.0041466807, -0.04908229, -0.016899314, -0.008666749, -0.035963874, -0.039731916, -0.0010175853, 0.019682892, 0.039609637, 0.035238363, -0.014650347, 0.0427963, -0.019887595, 0.023397034, 0.0027263404, 0.010051155, 0.024662556, 0.026217585, 0.01810648, 0.045216892, 0.055995, -0.008993309, -0.0591558, 0.04437932, 0.00013925001, 0.011384058, 0.027704006, 0.025953474, -0.026603224, 0.013596232, -0.030213686, 0.016922906, 0.035301685, 0.002827045, 0.023405148, -0.0015210717, 0.063860156, -0.016276177, -0.010651622, 0.050887305, -0.03839675, 0.011220306, 0.0041064774, -0.056086265, 0.00084033125, 0.011776371, 0.02200351, -0.012756443, -0.00681502, 0.01882853, -0.024096914, 0.03276953, 0.048802204, 0.006560446, -0.0029943213, -0.02073496, -0.004337539, 0.012337608, -0.022165503, 0.033460006, -0.017985495, -0.008597459, -0.04362415, -0.036465667, -0.027657775, -0.00710959, -0.06939969, 0.0012120054, -0.020809842, -0.024050102, 0.016206726, -0.073826425, -0.0013746152, -0.0024275798, 0.001351526, 0.030216707, -0.021406554, 0.086559765, -0.0056550875, -0.0182909, -0.0074581634, -0.020410284, -0.029720388, -0.0003081285, 0.00071834464, 0.029664377, 0.042905703, 0.002196209, 0.030331254, 0.047638908, -0.012593589, -0.03822794, 0.09378852, 0.0054195896, 0.029715326, 0.025153734, 0.031789187, 0.10947316, -0.08935895, -0.03792664, -0.0116212135, -0.020322042, 0.040967822, -0.07355915, 0.0169395, 0.0398898, 0.021025907, 0.030252483, 0.032528367, 0.029642563, -0.04737147, 0.027770473, 0.009124789, -0.053362213, 0.03725457, 0.00037645013, 0.0930869, -0.038112756, 0.06810535, -0.0057841074, -0.03706526, -0.0021398626, 0.02112997, -0.022573467, -0.06849294, 0.06004841, 0.03138389, 0.0028580478, 0.034423392, -0.07563793, 0.03596298, -0.043970056, -0.0065886388, 0.028702892, -0.0116006285, -0.06151251, -0.013886372, -0.0273985, 0.012993118, -0.002919346, 0.006990721, 0.011447861, -0.05797139, 0.042079885, 0.026239084, -0.045260265, 0.01764967, -0.040064972, -0.00908093, 0.0023206118, -0.001027772, 0.029112205, -0.021938426, 0.04604589, -0.05257795, -0.029146133, -0.009205022, -0.004605142, -0.0391676, 0.012384472, 0.056723922, 0.015407171, -0.06663508, 0.06987251, -0.028572813, -0.027711805, -0.053085327, 0.0031240152, -0.0067495494, 0.05780741, -0.041734383, 0.014227393, 0.034962215, 0.023997705, -0.047664586, -0.03319448, -0.04571977, -0.038751386, -0.047650762, 0.015231969, 0.014707201, -0.05145878, -0.027558379, -0.034420036, -0.04735379, -0.06061379, 0.02926993, -0.031242808, 0.05068711, 0.041653894, -0.011260044, -0.046160232, -0.01575809, 0.042596053, -0.067019396, 0.021227034, 0.02264995, -0.04479321, -0.055649765, 0.035150662, 0.014363713, 0.018040828, -0.037481364, -0.06936639, 0.03853942, 0.080863826, 0.041077014, -0.031959374, 0.0123597, -0.06889688, 0.03801152, -0.017062489, 0.12375897, 0.05415808, -0.046763197, 0.0068947705, 0.02993137, -0.00081947306, 0.07275469, -0.028778728, 0.058432154, -0.10775239, -0.012029789, -0.0173616, -0.0073038395, 0.018833078, 0.0070315013, -0.06334908, -0.002197907, -0.051006787, -0.0014970289, 0.031644855, -0.026159585, -0.012268066, -0.05239107, -0.004444351, -0.018770235, -0.008498022, 0.036130067, 0.021302532, -0.021627277, 0.033854786, 0.06542918, -0.024555854, -0.018355347, -0.04724724, -0.022322481, 0.051986925, -0.0049326974, 0.027872436, -0.022922205, -0.023782928, 0.040236335, -0.016250545, -0.0015399866, -0.0034115806, -0.033653833, 0.0022180737, -0.03858561, 0.0062937397, 0.029356556, -0.007653773, -0.03697332, -0.011865267, -0.0389502, -0.02051948, -0.04700568, -0.01988669, -0.022907414, -0.020265345, 0.0217955, -0.020815138, -0.008075967, 0.042080384, 0.024871295, 0.02288075, -0.0062845564, 0.070156254, 0.04420677, -0.007218798, 0.024845367, -0.0084106745, -0.034232143, 0.06340526, 0.06934149, -0.008653454, -0.031547517, -0.0021811998, -0.056660965, 0.01289087, -0.017565293, -0.012472565, -0.062865704, -0.016882941, -0.00886067, -0.007546806, -0.016651986, 0.049060285, 0.00983019, -0.021024782, -0.029961886, 0.021969963, 0.034383174, 0.029779661, -0.08503801, -0.035914786, -0.023043424, 0.06259569, -0.015958257, -0.0023649666, 0.01726185, 0.027959429, -0.01857089, 0.018801887, 0.02139348, -0.03584269, -0.018912096, -0.008950262, -0.03968531, 0.007892896, 0.027344838, 0.0016915328, -0.02069493, 0.0134641025, -0.0373059, -0.018269014, -0.020820636, 0.022916492, 0.010670274, -0.012009122, -0.031435724, 0.016901357, -0.033515945, 0.087834135, 0.0063107405, -0.046204098, -0.025559545, 0.02293791, -0.05808372, 0.053670824, -0.06421356, 0.042490974, -0.085585155, -0.0198173, -0.06684904, -0.048170276, -0.029904734, -0.008417311, 0.07174241, -0.047845766, 0.021944534, 0.0077130054, -0.046163175, -0.055012673, -0.041142575, 0.027070649, -0.023477424, 0.013213996, 0.0046703713, 0.030718237, 0.023010148, -0.009387566, -0.01857867, 0.024339002, 0.061191738, -0.03438845, 0.0051931185, -0.05372695, 0.030411297, -0.0070508323, -0.032841265, 0.016757507, -0.034371115, 0.019011062, 0.023129944, 0.014389258, 0.01567308, 0.00020695015, -0.011592477, -0.040904265, 0.06431633, -0.032233458, 0.0056469003, 0.00038041154, -0.001082695, -0.040244363, 0.0014604656, -0.01620342, -0.029038994, 0.008450276, 0.014739196, 0.03149293, -0.043924604, 0.0023412916, -0.048412733, 0.052497998, -0.036233284, 0.041030962, 0.065008, -0.054590926, -0.011887156, 0.0068416568, 0.0029963045, -0.004484368, -0.021062057, 0.023270817, -0.004501138, 0.022077331, 0.004033622, 0.02868228, -0.04973768, 0.06252522, 0.0065110987, -0.025488699, 0.011081035, 0.0244184, -0.046629567, 0.06458706, -0.00031803272, -0.0004243537, -0.03205965, 0.0071170204, 0.06946705, -0.09862297, -0.027214553, -0.017033806, -0.041122854, -0.0012122589, -0.03455534, 0.051282685, -0.03422633, 0.008695823, 0.015176157, 0.016894938, 0.03162039, -0.025730167, -0.037140712, 0.031545468, -0.065957755, 0.00861595, -0.001762296, -0.030673394, -0.031860042, 0.027686678, -0.049888633, 0.03841649, -0.03171268, -0.02880851, -0.020134248, 1.7016679e-05, -0.023856943, -0.019115094, -0.015578116, -0.02229345, -0.031415414, 0.017830754, -0.00899299, -0.047211867, -0.0042254888, 0.050247733, 0.011978156, -0.03280089, -0.0019943626, 0.020434622, -0.01406078, 0.040740646, -0.04842172, -0.0070891883, 0.0057456666, -0.0035319694, 0.032241233, -0.0049090614, 0.019266265, 0.051747773, 0.050398067, -0.041308858, 0.047446568, 0.034806274, 0.01847136, 0.022865176, 0.03023712, -0.023290439, 0.035830528, -0.04913017, 0.04964651, 0.030478269, -0.009313284, 0.036699146, 0.0014451745, -0.03983365, -0.03369194, -0.00085205655, -0.031339888, 0.0029001401, 0.004496864, 0.046755027, 0.011396131, -0.0053634043, -0.0129202185, 0.0032138631, -0.005189336, -0.031327825, 0.017196026, 0.019808073, -0.013843882, 0.036849488, 0.019533407, 0.065735646, -0.038069274, -0.04339442, -0.047135584, -0.028438373, 0.006881676, -0.017681453, -0.015110602, 0.13880084, -0.0068666013, 3.9237726e-05, 0.0055779493, 0.063306384, 0.0050390773, 0.06743495, 0.10649334, -0.0019453482, -0.0489806, -0.041399788, 0.08586307, 0.0054414584, -0.01258482, 0.05112526, -0.00071916316, -0.056181315, 0.0022912265, 0.011115143, 0.018141078, 0.00033985794, 0.098164506, 0.060502175, -0.07149124, -0.03204869, 0.006111822, -0.02286666, -0.008709467, -0.013722155, -0.03476923, -0.018972937, 0.0086054625, -0.041269857, -0.020074759, -0.0035619093, -0.0013392023, -0.043434292, 0.049947318, 0.018060664, -0.018262088, 0.016828077, 0.02705727, -0.08643556, -0.07813209, -0.041774075, 0.05141974, -0.06427214, 0.07198149, 0.037141692, -0.04617939, 0.03814317, 0.02491322, 0.030813579, 0.042570785, 0.022012087, 0.05465109, -0.01629217, 0.022867497, -0.0020482477, 0.00034332648, 0.008874342, 0.008132518, 0.04321023, 0.00810242, -0.03295793, 0.014587113, -0.0066820835, -0.066815935, -0.058186833, -0.0133864675, 0.08364501, 0.00810787, 0.013005243, 0.012761795, 0.024867216, 0.05649599, -0.019535208, 0.012473741, -0.026360977, -0.010710675, 0.022782803, -0.016623449, -0.019948183, 0.021855352, 0.042283673, 0.0009800687, 0.034794033, -0.03932047, 0.00057145196, -0.001981968, -0.011611234, -0.017059539, 0.014347867, 0.009619962, -0.019044273, 0.08592929, 0.05807836, 0.043363832, 0.03973212, -0.03548395, -0.011271219, 0.05798954, -0.018937308, 0.03652546, 0.005414547, -0.038912386, 0.03980492, -0.027904814, -0.018506937, 0.07676259, -0.05120513, 0.021827826, -0.0066376906, 0.019047206, -0.018292844, -0.0031831455, -0.07327645, 0.005534416, -0.011769756, 0.07630418, 0.049130905, -0.05947003, 0.039399136, -0.022844097, -0.050723698, 0.025920898, -0.08740344, 0.035034865, 0.063338265, -0.003078494, 0.029872345, -0.036190104, -0.014713493, 0.024035813, -0.0045866803, 0.037426855, -0.0034326292, 0.02236696, 0.005200196, 0.015344163, -0.010986347, -0.030591838, 0.026438223, 0.019473173 ] }, { "values": [ 0.01356372, -0.015404424, -0.024385026, -0.02521474, 0.056020778, 0.0027621386, 0.009466706, -0.016455662, -0.0026642364, 0.045416977, 0.07737776, 0.023474108, -0.013265463, -0.033379838, -0.023250667, 0.0404241, 0.044108745, 0.030466532, 0.0346058, -0.04831539, 0.0060302857, -0.011384284, -0.0069641043, -0.033187676, 0.014762825, 0.015915839, 0.04271592, -0.033557266, -0.036628533, 0.05265253, -0.02858904, -0.010423476, -0.059224404, -0.017850118, 0.0147795845, -0.060867663, -0.012638338, 0.0226087, -0.025348067, 0.024184836, -0.0031668593, -0.00032854432, -0.04270257, -0.008000146, 0.0084081255, -0.039849024, -0.010142988, 0.029516181, -0.007788936, -0.054162074, -0.0064261775, 0.021151388, 0.017749984, -0.03681754, 0.00058421254, -0.029851453, -0.010995861, 6.128468e-05, -0.019695455, 0.011803026, -0.0064983, 0.0061393236, -0.037795562, 0.014119848, -0.017901411, -0.0017190825, -0.009557438, 0.041075736, 0.04706685, -0.0012074799, -0.00441001, -0.0623016, 0.020695373, -0.038272448, -0.06963989, -0.06956885, 0.010699845, 0.0136828665, 0.004747582, 0.03355303, -0.036120158, -0.042254962, -0.011597675, -0.02915027, -0.057572965, 0.03752201, -0.0035625338, -0.00643609, 0.0038807034, 0.07021188, -0.06063613, 0.0058249924, 0.025465388, -0.030649967, 0.0056611924, 0.061124038, -0.016451944, -0.017874911, -0.019759964, -0.02715586, -0.0032868288, -0.026126347, -0.038634352, 0.048051205, 0.05145528, 0.025497243, 0.012517605, 0.039014466, 0.02194583, 0.010096146, -0.05226388, -0.021200478, -0.013189387, -0.03138918, -0.038288396, -0.0074681137, 0.024280315, 0.049106345, 0.026179677, 0.001262872, 0.04991265, -0.025043597, 0.031398047, 0.009972107, 0.011729019, 0.02925488, 0.01835483, 0.02001332, 0.0338778, 0.05546092, -0.014961561, -0.060106006, 0.03798253, 0.012184653, 0.0041337386, 0.027944017, 0.024864355, -0.019653607, 0.019782828, -0.025586521, 0.02248693, 0.05073971, 0.0072206627, 0.016619014, 0.012443707, 0.06494928, -0.024852972, 0.0023667377, 0.05175233, -0.04017905, -0.0031364446, 0.010388244, -0.06084323, 0.008852871, 0.0046590664, 0.022251474, -0.008022103, -0.012050181, 0.019489845, -0.009677376, 0.036306664, 0.04437892, 0.014288429, 0.008810291, -0.022556063, -0.017091554, 0.011731708, -0.012127267, 0.027785007, -0.016332893, 0.0021587973, -0.044240408, -0.05060435, -0.026971154, -0.0014136834, -0.07273658, -0.0006898712, -0.02614714, -0.022037672, 0.021202961, -0.066731475, -0.009113093, -0.015087279, 0.004571251, 0.02913901, -0.01759423, 0.09389163, 0.0014496895, -0.026340768, -0.009546374, -0.008953322, -0.0299461, -0.0021733476, 0.009237003, 0.027435604, 0.040056195, -0.0007877447, 0.022749603, 0.049359854, 0.0006516923, -0.04235662, 0.08982526, 0.004458284, 0.03435815, 0.021263944, 0.016096625, 0.110941805, -0.0919414, -0.040695265, -0.013052057, -0.01909736, 0.041470613, -0.08069395, 0.010049185, 0.042096797, 0.013407985, 0.03245518, 0.027443169, 0.03171851, -0.05779703, 0.039670397, 0.009719457, -0.05904497, 0.03655552, -0.010600863, 0.09949096, -0.04221709, 0.062240668, 0.0018234035, -0.03386712, 0.0033469824, 0.020604594, -0.012946305, -0.064378165, 0.0685243, 0.034470167, 0.011540208, 0.027480396, -0.06145429, 0.04302185, -0.046975505, -0.0060371137, 0.032695666, -0.0039927727, -0.05686104, -0.020116458, -0.028641123, 0.01443805, -0.0017878783, 0.011825635, 0.020087935, -0.056023844, 0.043248348, 0.026655579, -0.044492234, 0.027739784, -0.030246891, -0.017539186, -0.0037369288, -0.001122251, 0.03227649, -0.025506767, 0.030797727, -0.044448316, -0.031033086, -0.0065762056, -0.0001002368, -0.038420197, 0.011661495, 0.049904194, 0.01508108, -0.06630061, 0.0720011, -0.019743258, -0.03085517, -0.053071205, -0.0048887883, 0.006163513, 0.05284148, -0.036668327, 0.012440962, 0.0310234, 0.023006696, -0.053817812, -0.030303776, -0.049847156, -0.04065002, -0.044586767, 0.021336397, 0.00656369, -0.05017026, -0.028608944, -0.03773836, -0.047717758, -0.066378176, 0.02402577, -0.03466922, 0.05509412, 0.036861926, -0.0043672323, -0.031516273, -0.014311909, 0.03396534, -0.07394714, 0.028331613, 0.022759823, -0.038586594, -0.058586422, 0.038826045, 0.0031400376, 0.023019718, -0.032497875, -0.062899314, 0.02632834, 0.08524401, 0.043736473, -0.033082936, 0.019106772, -0.0722496, 0.042763494, -0.017649885, 0.1153493, 0.057201233, -0.03978485, 0.001057355, 0.022506345, -0.0029862407, 0.059620123, -0.030500274, 0.060925294, -0.10239315, -0.003542815, -0.013749568, -0.006346272, 0.009422031, 0.0078093065, -0.06997163, -0.004796844, -0.04747843, -0.0048929034, 0.028995141, -0.025196563, -0.022965265, -0.051262125, -0.0019852633, -0.016936408, -0.010199464, 0.030324858, 0.025550786, -0.023933737, 0.04702822, 0.06558909, -0.028368248, -0.015577082, -0.045044463, -0.01769085, 0.064004615, 0.00022795201, 0.025862262, -0.023398988, -0.014926344, 0.03227265, -0.024534425, 0.0033752997, 0.0069177323, -0.024588037, -0.005460702, -0.037742637, -0.009900487, 0.031445473, -0.008672958, -0.042368412, -0.0072578816, -0.027424691, -0.012582449, -0.043364238, -0.007925043, -0.020546816, -0.021816181, 0.025413103, -0.021867784, -0.0053979284, 0.044294596, 0.025255842, 0.02116835, -0.010366739, 0.08045021, 0.030191425, -0.0044411574, 0.023970768, -0.012986862, -0.029552683, 0.060271047, 0.066457435, -0.0044147796, -0.030289507, 0.004856033, -0.055259652, 0.017764702, -0.026290603, -0.012591546, -0.066561304, -0.015879424, -0.0078580985, -0.005703886, -0.010511072, 0.04606666, 0.0037386399, -0.02730791, -0.035201445, 0.019405777, 0.032351755, 0.026315838, -0.08748783, -0.036918804, -0.024774604, 0.066779695, -0.0131363375, -0.006833172, 0.017548248, 0.03014901, -0.02093669, 0.01878978, 0.021724444, -0.03306892, -0.019861756, -0.0070829033, -0.041069735, 0.011550792, 0.031730793, 0.0028917727, -0.022419961, 0.012697921, -0.041135494, -0.022249205, -0.016629208, 0.024063317, 0.0073686587, -0.008933923, -0.03529035, 0.018242205, -0.031073414, 0.08057978, 0.0040577333, -0.056112513, -0.016936433, 0.025750984, -0.05475209, 0.053791735, -0.053721294, 0.035882384, -0.08126279, -0.011758383, -0.06346582, -0.050078034, -0.030639961, -0.004633353, 0.080669396, -0.043005913, 0.02103406, -0.0015595207, -0.03500447, -0.045123942, -0.04953359, 0.030497903, -0.031456508, 0.014106866, 0.005134548, 0.037753444, 0.028651964, -0.006746253, -0.019177487, 0.028623445, 0.06745052, -0.03281817, -0.0012672333, -0.055997625, 0.048638437, -0.0016127657, -0.03976466, 0.008378926, -0.028456045, 0.014410168, 0.024373844, 0.011910943, 0.021143874, -0.00034081505, -0.014534269, -0.0444327, 0.058333926, -0.033249475, -0.00057977246, 0.0026710927, -0.007492691, -0.036173522, 0.007248027, -0.015779529, -0.03560384, 0.011918583, 0.0183401, 0.030234274, -0.053946353, -0.006542068, -0.047652304, 0.047707286, -0.038783114, 0.042693816, 0.05343127, -0.050019767, -0.012727848, -0.0023097321, -0.00086191663, -0.0062400047, -0.024591254, 0.017905703, -0.008616819, 0.018215548, 0.0131902695, 0.020589437, -0.054924298, 0.066172525, -0.0040485417, -0.026892958, 0.017631505, 0.016223812, -0.049125392, 0.061396062, 0.0032437919, 0.0015837993, -0.039943047, -0.002361447, 0.079728015, -0.110722296, -0.033113956, -0.01288965, -0.044349425, 0.004499129, -0.032621466, 0.044723663, -0.047870632, -0.0007317092, 0.01538546, 0.021986065, 0.030877993, -0.031387947, -0.029872945, 0.030582039, -0.07291621, 0.005214626, -0.013360601, -0.043853156, -0.039767165, 0.034152303, -0.046673838, 0.029574968, -0.026512172, -0.0317489, -0.024238389, 0.0044461484, -0.026358137, -0.023567649, -0.01666851, -0.026981127, -0.04789262, 0.015106207, -0.016723782, -0.04609404, -0.0009690891, 0.047860138, 0.01965124, -0.028853793, -0.002161453, 0.015862888, -0.009604859, 0.032861143, -0.049893685, -0.009056942, 0.016058477, -0.0047637946, 0.013499327, 0.00033124414, 0.021639997, 0.036490552, 0.049734447, -0.036388244, 0.035966754, 0.036384758, 0.01848129, 0.01936548, 0.041110706, -0.020579007, 0.03972572, -0.059500527, 0.058483753, 0.02949643, -0.0026552908, 0.015136857, 0.013967699, -0.047753524, -0.02643546, 0.00045268517, -0.024045393, 0.010572156, 0.0115284445, 0.045276333, 0.01477278, -0.012260114, 0.0049116653, 0.0002624052, 0.0057428367, -0.0357892, 0.014131505, 0.017865967, 0.0018355078, 0.017066674, 0.019991226, 0.059018876, -0.04316734, -0.040495962, -0.04645116, -0.032155212, 0.006855629, -0.01709631, -0.023068072, 0.13071896, -0.0117750345, 0.006735388, -0.00428147, 0.05835659, 0.00323061, 0.064452596, 0.107658714, 0.0011278684, -0.047806296, -0.039015945, 0.08841898, 0.009109056, -0.021585098, 0.04587783, 0.0028700305, -0.061642382, -0.008301286, 0.0021765844, 0.025058622, 0.000866256, 0.09441375, 0.05135114, -0.08111412, -0.039409634, -0.008433235, -0.017753145, -0.007967181, -0.014075007, -0.035151333, -0.022514263, 0.013024374, -0.042462803, -0.021026863, 0.0010954188, -0.012990658, -0.038894013, 0.041165825, 0.021401018, -0.013273863, 0.023978205, 0.0076727653, -0.08208279, -0.07164294, -0.03766139, 0.05169556, -0.06807564, 0.06667905, 0.02647171, -0.050943747, 0.050514407, 0.022056088, 0.026697334, 0.030589454, 0.0309619, 0.055627897, -0.011226073, 0.018821767, 0.00032708142, 0.013927108, 0.013664332, 0.023148077, 0.050223388, 0.002209411, -0.024183843, 0.005419744, -0.009037187, -0.07152283, -0.067591585, 0.0018649322, 0.07864899, 0.007836, 0.015458517, 0.018746221, 0.031856768, 0.05003332, -0.015312568, 0.015148811, -0.023977624, -0.007860894, 0.03265328, -0.010761551, -0.0114624165, 0.022569085, 0.04449342, 0.0047867065, 0.03813074, -0.047339167, -0.010128946, 0.008987856, -0.011981707, -0.025890147, 0.014876134, 0.01246338, -0.030317992, 0.08323439, 0.050378542, 0.04279509, 0.047543395, -0.03934679, -0.009702485, 0.051246934, -0.0115570575, 0.025082037, 0.004921027, -0.037485305, 0.0345109, -0.017609224, -0.017225614, 0.07838392, -0.05333895, 0.035091214, -0.007425883, 0.028943896, -0.012226034, -0.0077764336, -0.07593833, 0.01470122, -0.0043923827, 0.07346178, 0.053343177, -0.064307295, 0.029436173, -0.033383552, -0.04565939, 0.0098429825, -0.08035119, 0.03681359, 0.062023964, -0.006151363, 0.048899304, -0.030419897, -0.01569126, 0.019181883, 0.0032262106, 0.042655054, -0.00029345634, 0.017023923, 0.011658963, 0.0047185197, -0.005198279, -0.024262719, 0.030491523, 0.027719762 ] } ] } ================================================ FILE: assets/json_models/gemini_model.json ================================================ [ { "name": "models/chat-bison-001", "version": "001", "displayName": "Chat Bison", "description": "Chat-optimized generative language model.", "inputTokenLimit": 4096, "outputTokenLimit": 1024, "supportedGenerationMethods": ["generateMessage", "countMessageTokens"], "temperature": 0.25, "topP": 0.95, "topK": 40 }, { "name": "models/text-bison-001", "version": "001", "displayName": "Text Bison", "description": "Model targeted for text generation.", "inputTokenLimit": 8196, "outputTokenLimit": 1024, "supportedGenerationMethods": [ "generateText", "countTextTokens", "createTunedTextModel" ], "temperature": 0.7, "topP": 0.95, "topK": 40 }, { "name": "models/embedding-gecko-001", "version": "001", "displayName": "Embedding Gecko", "description": "Obtain a distributed representation of a text.", "inputTokenLimit": 1024, "outputTokenLimit": 1, "supportedGenerationMethods": ["embedText", "countTextTokens"] }, { "name": "models/embedding-gecko-002", "version": "002", "displayName": "Embedding Gecko 002", "description": "Obtain a distributed representation of a text.", "inputTokenLimit": 2048, "outputTokenLimit": 1, "supportedGenerationMethods": ["embedText", "countTextTokens"] }, { "name": "models/gemini-pro", "version": "001", "displayName": "Gemini Pro", "description": "The best model for scaling across a wide range of tasks", "inputTokenLimit": 30720, "outputTokenLimit": 2048, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.9, "topP": 1, "topK": 1 }, { "name": "models/gemini-1.5-flash", "version": "001", "displayName": "Gemini Pro Vision", "description": "The best image understanding model to handle a broad range of applications", "inputTokenLimit": 12288, "outputTokenLimit": 4096, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.4, "topP": 1, "topK": 32 }, { "name": "models/gemini-ultra", "version": "001", "displayName": "Gemini Ultra", "description": "The most capable model for highly complex tasks", "inputTokenLimit": 30720, "outputTokenLimit": 2048, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.9, "topP": 1, "topK": 32 }, { "name": "models/embedding-001", "version": "001", "displayName": "Embedding 001", "description": "Obtain a distributed representation of a text.", "inputTokenLimit": 2048, "outputTokenLimit": 1, "supportedGenerationMethods": ["embedContent", "countTextTokens"] }, { "name": "models/aqa", "version": "001", "displayName": "Model that performs Attributed Question Answering.", "description": "Model trained to return answers to questions that are grounded in provided sources, along with estimating answerable probability.", "inputTokenLimit": 7168, "outputTokenLimit": 1024, "supportedGenerationMethods": ["generateAnswer"], "temperature": 0.2, "topP": 1, "topK": 40 } ] ================================================ FILE: assets/json_models/gemini_response.json ================================================ { "candidates": [ { "content": { "parts": [ { "text": "Once upon a time, in a small town nestled at the foot of towering mountains, there lived a young girl named Lily. Lily was an adventurous and imaginative child, always dreaming of exploring the world beyond her home. One day, while wandering through the attic of her grandmother's house, she stumbled upon a dusty old backpack tucked away in a forgotten corner. Intrigued, Lily opened the backpack and discovered that it was an enchanted one. Little did she know that this magical backpack would change her life forever.\n\nAs Lily touched the backpack, it shimmered with an otherworldly light. She reached inside and pulled out a map that seemed to shift and change before her eyes, revealing hidden paths and distant lands. Curiosity tugged at her heart, and without hesitation, Lily shouldered the backpack and embarked on her first adventure.\n\nWith each step she took, the backpack adjusted to her needs. When the path grew treacherous, the backpack transformed into sturdy hiking boots, providing her with the confidence to navigate rocky terrains. When a sudden rainstorm poured down, the backpack transformed into a cozy shelter, shielding her from the elements.\n\nAs days turned into weeks, Lily's journey took her through lush forests, across treacherous rivers, and to the summits of towering mountains. The backpack became her loyal companion, guiding her along the way, offering comfort, protection, and inspiration.\n\nAmong her many adventures, Lily encountered a lost fawn that she gently carried in the backpack's transformed cradle. She helped a friendly giant navigate a dense fog by using the backpack's built-in compass. And when faced with a raging river, the backpack magically transformed into a sturdy raft, transporting her safely to the other side.\n\nThrough her travels, Lily discovered the true power of the magic backpack. It wasn't just a magical object but a reflection of her own boundless imagination and tenacity. She realized that the world was hers to explore, and the backpack was a tool to help her reach her full potential.\n\nAs Lily returned home, enriched by her adventures and brimming with stories, she decided to share the magic of the backpack with others. She organized a special adventure club, where children could embark on their own extraordinary journeys using the backpack's transformative powers. Together, they explored hidden worlds, learned valuable lessons, and formed lifelong friendships.\n\nAnd so, the legend of the magic backpack lived on, passed down from generation to generation. It became a reminder that even the simplest objects can hold extraordinary power when combined with imagination, courage, and a sprinkle of magic." } ], "role": "model" }, "finishReason": "STOP", "index": 0, "safetyRatings": [ { "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT", "probability": "NEGLIGIBLE" }, { "category": "HARM_CATEGORY_HATE_SPEECH", "probability": "NEGLIGIBLE" }, { "category": "HARM_CATEGORY_HARASSMENT", "probability": "NEGLIGIBLE" }, { "category": "HARM_CATEGORY_DANGEROUS_CONTENT", "probability": "NEGLIGIBLE" } ] } ], "promptFeedback": { "safetyRatings": [ { "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT", "probability": "NEGLIGIBLE" }, { "category": "HARM_CATEGORY_HATE_SPEECH", "probability": "NEGLIGIBLE" }, { "category": "HARM_CATEGORY_HARASSMENT", "probability": "NEGLIGIBLE" }, { "category": "HARM_CATEGORY_DANGEROUS_CONTENT", "probability": "NEGLIGIBLE" } ] } } ================================================ FILE: assets/json_models/generation_config.json ================================================ { "stopSequences": [ "Title" ], "temperature": 1.0, "maxOutputTokens": 800, "topP": 0.8, "topK": 10 } ================================================ FILE: example/.gitignore ================================================ # Miscellaneous *.class *.log *.pyc *.swp .DS_Store .atom/ .buildlog/ .history .svn/ migrate_working_dir/ # IntelliJ related *.iml *.ipr *.iws .idea/ # The .vscode folder contains launch configuration and tasks you configure in # VS Code which you may wish to be included in version control, so this line # is commented out by default. #.vscode/ # Flutter/Dart/Pub related **/doc/api/ **/ios/Flutter/.last_build_id .dart_tool/ .flutter-plugins .flutter-plugins-dependencies .pub-cache/ .pub/ /build/ # Symbolication related app.*.symbols # Obfuscation related app.*.map.json # Android Studio will place build artifacts here /android/app/debug /android/app/profile /android/app/release ================================================ FILE: example/.metadata ================================================ # This file tracks properties of this Flutter project. # Used by Flutter tool to assess capabilities and perform upgrades etc. # # This file should be version controlled and should not be manually edited. version: revision: "2663184aa79047d0a33a14a3b607954f8fdd8730" channel: "stable" project_type: app # Tracks metadata for the flutter migrate command migration: platforms: - platform: root create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 - platform: android create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 - platform: ios create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 - platform: linux create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 - platform: macos create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 - platform: web create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 - platform: windows create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 # User provided section # List of Local paths (relative to this file) that should be # ignored by the migrate tool. # # Files that are not part of the templates will be ignored by default. unmanaged_files: - 'lib/main.dart' - 'ios/Runner.xcodeproj/project.pbxproj' ================================================ FILE: example/README.md ================================================ # example A new Flutter project. ## Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this is your first Flutter project: - [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) - [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) For help getting started with Flutter development, view the [online documentation](https://docs.flutter.dev/), which offers tutorials, samples, guidance on mobile development, and a full API reference. ================================================ FILE: example/analysis_options.yaml ================================================ # This file configures the analyzer, which statically analyzes Dart code to # check for errors, warnings, and lints. # # The issues identified by the analyzer are surfaced in the UI of Dart-enabled # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be # invoked from the command line by running `flutter analyze`. # The following line activates a set of recommended lints for Flutter apps, # packages, and plugins designed to encourage good coding practices. include: package:flutter_lints/flutter.yaml linter: # The lint rules applied to this project can be customized in the # section below to disable rules from the `package:flutter_lints/flutter.yaml` # included above or to enable additional rules. A list of all available lints # and their documentation is published at https://dart.dev/lints. # # Instead of disabling a lint rule for the entire project in the # section below, it can also be suppressed for a single line of code # or a specific dart file by using the `// ignore: name_of_lint` and # `// ignore_for_file: name_of_lint` syntax on the line or in the file # producing the lint. rules: # avoid_print: false # Uncomment to disable the `avoid_print` rule # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule # Additional information about this file can be found at # https://dart.dev/guides/language/analysis-options ================================================ FILE: example/android/.gitignore ================================================ gradle-wrapper.jar /.gradle /captures/ /gradlew /gradlew.bat /local.properties GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. # See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks ================================================ FILE: example/android/app/build.gradle ================================================ plugins { id "com.android.application" id "kotlin-android" // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. id "dev.flutter.flutter-gradle-plugin" } android { namespace = "com.example.example" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8 } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId = "com.example.example" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName } 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 = "../.." } ================================================ FILE: example/android/app/src/debug/AndroidManifest.xml ================================================ ================================================ FILE: example/android/app/src/main/AndroidManifest.xml ================================================ ================================================ FILE: example/android/app/src/main/kotlin/com/example/example/MainActivity.kt ================================================ package com.example.example import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() ================================================ FILE: example/android/app/src/main/res/drawable/launch_background.xml ================================================ ================================================ FILE: example/android/app/src/main/res/drawable-v21/launch_background.xml ================================================ ================================================ FILE: example/android/app/src/main/res/values/styles.xml ================================================ ================================================ FILE: example/android/app/src/main/res/values-night/styles.xml ================================================ ================================================ FILE: example/android/app/src/profile/AndroidManifest.xml ================================================ ================================================ FILE: example/android/build.gradle ================================================ allprojects { repositories { google() mavenCentral() } } rootProject.buildDir = "../build" subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { project.evaluationDependsOn(":app") } tasks.register("clean", Delete) { delete rootProject.buildDir } ================================================ FILE: example/android/gradle/wrapper/gradle-wrapper.properties ================================================ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip ================================================ FILE: example/android/gradle.properties ================================================ org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError android.useAndroidX=true android.enableJetifier=true ================================================ FILE: example/android/settings.gradle ================================================ pluginManagement { def flutterSdkPath = { def properties = new Properties() file("local.properties").withInputStream { properties.load(it) } def flutterSdkPath = properties.getProperty("flutter.sdk") assert flutterSdkPath != null, "flutter.sdk not set in local.properties" return flutterSdkPath }() includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") repositories { google() mavenCentral() gradlePluginPortal() } } plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "com.android.application" version "8.1.0" apply false id "org.jetbrains.kotlin.android" version "1.8.22" apply false } include ":app" ================================================ FILE: example/ios/.gitignore ================================================ **/dgph *.mode1v3 *.mode2v3 *.moved-aside *.pbxuser *.perspectivev3 **/*sync/ .sconsign.dblite .tags* **/.vagrant/ **/DerivedData/ Icon? **/Pods/ **/.symlinks/ profile xcuserdata **/.generated/ Flutter/App.framework Flutter/Flutter.framework Flutter/Flutter.podspec Flutter/Generated.xcconfig Flutter/ephemeral/ Flutter/app.flx Flutter/app.zip Flutter/flutter_assets/ Flutter/flutter_export_environment.sh ServiceDefinitions.json Runner/GeneratedPluginRegistrant.* # Exceptions to above rules. !default.mode1v3 !default.mode2v3 !default.pbxuser !default.perspectivev3 ================================================ FILE: example/ios/Flutter/AppFrameworkInfo.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable App CFBundleIdentifier io.flutter.flutter.app CFBundleInfoDictionaryVersion 6.0 CFBundleName App CFBundlePackageType FMWK CFBundleShortVersionString 1.0 CFBundleSignature ???? CFBundleVersion 1.0 MinimumOSVersion 12.0 ================================================ FILE: example/ios/Flutter/Debug.xcconfig ================================================ #include "Generated.xcconfig" ================================================ FILE: example/ios/Flutter/Release.xcconfig ================================================ #include "Generated.xcconfig" ================================================ FILE: example/ios/Runner/AppDelegate.swift ================================================ import Flutter import UIKit @main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) } } ================================================ FILE: example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "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" }, { "size" : "1024x1024", "idiom" : "ios-marketing", "filename" : "Icon-App-1024x1024@1x.png", "scale" : "1x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json ================================================ { "images" : [ { "idiom" : "universal", "filename" : "LaunchImage.png", "scale" : "1x" }, { "idiom" : "universal", "filename" : "LaunchImage@2x.png", "scale" : "2x" }, { "idiom" : "universal", "filename" : "LaunchImage@3x.png", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md ================================================ # Launch Screen Assets You can customize the launch screen with your own desired assets by replacing the image files in this directory. You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. ================================================ FILE: example/ios/Runner/Base.lproj/LaunchScreen.storyboard ================================================ ================================================ FILE: example/ios/Runner/Base.lproj/Main.storyboard ================================================ ================================================ FILE: example/ios/Runner/Info.plist ================================================ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName Example CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName example CFBundlePackageType APPL CFBundleShortVersionString $(FLUTTER_BUILD_NAME) CFBundleSignature ???? CFBundleVersion $(FLUTTER_BUILD_NUMBER) LSRequiresIPhoneOS UILaunchStoryboardName LaunchScreen UIMainStoryboardFile Main UISupportedInterfaceOrientations UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight CADisableMinimumFrameDurationOnPhone UIApplicationSupportsIndirectInputEvents ================================================ FILE: example/ios/Runner/Runner-Bridging-Header.h ================================================ #import "GeneratedPluginRegistrant.h" ================================================ FILE: example/ios/Runner.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 54; objects = { /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 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 PBXContainerItemProxy section */ 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 97C146E61CF9000F007C117D /* Project object */; proxyType = 1; remoteGlobalIDString = 97C146ED1CF9000F007C117D; remoteInfo = Runner; }; /* End PBXContainerItemProxy 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 */ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 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; }; 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 */ 331C8082294A63A400263BE5 /* RunnerTests */ = { isa = PBXGroup; children = ( 331C807B294A618700263BE5 /* RunnerTests.swift */, ); path = RunnerTests; sourceTree = ""; }; 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 */, 331C8082294A63A400263BE5 /* RunnerTests */, ); sourceTree = ""; }; 97C146EF1CF9000F007C117D /* Products */ = { isa = PBXGroup; children = ( 97C146EE1CF9000F007C117D /* Runner.app */, 331C8081294A63A400263BE5 /* RunnerTests.xctest */, ); name = Products; sourceTree = ""; }; 97C146F01CF9000F007C117D /* Runner */ = { isa = PBXGroup; children = ( 97C146FA1CF9000F007C117D /* Main.storyboard */, 97C146FD1CF9000F007C117D /* Assets.xcassets */, 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 97C147021CF9000F007C117D /* Info.plist */, 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, ); path = Runner; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ 331C8080294A63A400263BE5 /* RunnerTests */ = { isa = PBXNativeTarget; buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; buildPhases = ( 331C807D294A63A400263BE5 /* Sources */, 331C807F294A63A400263BE5 /* Resources */, ); buildRules = ( ); dependencies = ( 331C8086294A63A400263BE5 /* PBXTargetDependency */, ); name = RunnerTests; productName = RunnerTests; productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; 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 = { BuildIndependentTargetsInParallel = YES; LastUpgradeCheck = 1510; ORGANIZATIONNAME = ""; TargetAttributes = { 331C8080294A63A400263BE5 = { CreatedOnToolsVersion = 14.0; TestTargetID = 97C146ED1CF9000F007C117D; }; 97C146ED1CF9000F007C117D = { CreatedOnToolsVersion = 7.3.1; LastSwiftMigration = 1100; }; }; }; buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; compatibilityVersion = "Xcode 9.3"; developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = 97C146E51CF9000F007C117D; productRefGroup = 97C146EF1CF9000F007C117D /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( 97C146ED1CF9000F007C117D /* Runner */, 331C8080294A63A400263BE5 /* RunnerTests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ 331C807F294A63A400263BE5 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; 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 */ 331C807D294A63A400263BE5 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; 97C146EA1CF9000F007C117D /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 97C146ED1CF9000F007C117D /* Runner */; targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency 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 */ 249021D3217E4FDB00AE95B9 /* Profile */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; 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; ENABLE_USER_SCRIPT_SANDBOXING = NO; 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; SUPPORTED_PLATFORMS = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; name = Profile; }; 249021D4217E4FDB00AE95B9 /* Profile */ = { isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.example.example; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Profile; }; 331C8088294A63A400263BE5 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; }; name = Debug; }; 331C8089294A63A400263BE5 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; }; name = Release; }; 331C808A294A63A400263BE5 /* Profile */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; }; name = Profile; }; 97C147031CF9000F007C117D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; 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; ENABLE_USER_SCRIPT_SANDBOXING = NO; 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; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; 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; ENABLE_USER_SCRIPT_SANDBOXING = NO; 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; SUPPORTED_PLATFORMS = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; name = Release; }; 97C147061CF9000F007C117D /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.example.example; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; }; 97C147071CF9000F007C117D /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.example.example; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 331C8088294A63A400263BE5 /* Debug */, 331C8089294A63A400263BE5 /* Release */, 331C808A294A63A400263BE5 /* Profile */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { isa = XCConfigurationList; buildConfigurations = ( 97C147031CF9000F007C117D /* Debug */, 97C147041CF9000F007C117D /* Release */, 249021D3217E4FDB00AE95B9 /* Profile */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { isa = XCConfigurationList; buildConfigurations = ( 97C147061CF9000F007C117D /* Debug */, 97C147071CF9000F007C117D /* Release */, 249021D4217E4FDB00AE95B9 /* Profile */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = 97C146E61CF9000F007C117D /* Project object */; } ================================================ FILE: example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist ================================================ IDEDidComputeMac32BitWarning ================================================ FILE: example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings ================================================ PreviewsEnabled ================================================ FILE: example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme ================================================ ================================================ FILE: example/ios/Runner.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist ================================================ IDEDidComputeMac32BitWarning ================================================ FILE: example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings ================================================ PreviewsEnabled ================================================ FILE: example/ios/RunnerTests/RunnerTests.swift ================================================ import Flutter import UIKit import XCTest class RunnerTests: XCTestCase { func testExample() { // If you add code to the Runner application, consider adding tests here. // See https://developer.apple.com/documentation/xctest for more information about using XCTest. } } ================================================ FILE: example/lib/main.dart ================================================ import 'package:flutter_gemini/flutter_gemini.dart'; const apiKey = 'AIza------tMww4--------------'; void main() { Gemini.init(apiKey: apiKey, enableDebugging: true); Gemini.instance.prompt(parts: [ Part.text('Write a story about a magic backpack'), ]).then((value) { print(value?.output); }); } ================================================ FILE: example/lib/widgets/chat_input_box.dart ================================================ import 'package:flutter/material.dart'; class ChatInputBox extends StatelessWidget { final TextEditingController? controller; final VoidCallback? onSend, onClickCamera; const ChatInputBox({ super.key, this.controller, this.onSend, this.onClickCamera, }); @override Widget build(BuildContext context) { return Card( margin: const EdgeInsets.all(8), child: Row( crossAxisAlignment: CrossAxisAlignment.end, children: [ if (onClickCamera != null) Padding( padding: const EdgeInsets.all(4.0), child: IconButton( onPressed: onClickCamera, color: Theme.of(context).colorScheme.onSecondary, icon: const Icon(Icons.file_copy_rounded)), ), Expanded( child: TextField( controller: controller, minLines: 1, maxLines: 6, cursorColor: Theme.of(context).colorScheme.inversePrimary, textInputAction: TextInputAction.newline, keyboardType: TextInputType.multiline, decoration: const InputDecoration( contentPadding: EdgeInsets.symmetric(vertical: 10, horizontal: 4), hintText: 'Message', border: InputBorder.none, ), onTapOutside: (event) => FocusManager.instance.primaryFocus?.unfocus(), )), Padding( padding: const EdgeInsets.all(4), child: FloatingActionButton.small( onPressed: onSend, child: const Icon(Icons.send_rounded), ), ) ], ), ); } } ================================================ FILE: example/lib/widgets/item_image_view.dart ================================================ import 'dart:typed_data'; import 'package:flutter/material.dart'; class ItemImageView extends StatelessWidget { final Uint8List bytes; const ItemImageView({super.key, required this.bytes}); @override Widget build(BuildContext context) { return Padding( padding: const EdgeInsets.all(4), child: ClipRRect( borderRadius: BorderRadius.circular(12), child: Image.memory( bytes, width: 110, height: 110, fit: BoxFit.cover, ), ), ); } } ================================================ FILE: example/linux/.gitignore ================================================ flutter/ephemeral ================================================ FILE: example/linux/CMakeLists.txt ================================================ # 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 "example") # The unique GTK application identifier for this application. See: # https://wiki.gnome.org/HowDoI/ChooseApplicationID set(APPLICATION_ID "com.example.example") # 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) # Copy the native assets provided by the build.dart from all packages. set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/linux/") install(DIRECTORY "${NATIVE_ASSETS_DIR}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" COMPONENT Runtime) # 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() ================================================ FILE: example/linux/flutter/CMakeLists.txt ================================================ # 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} ) ================================================ FILE: example/linux/flutter/generated_plugin_registrant.cc ================================================ // // Generated file. Do not edit. // // clang-format off #include "generated_plugin_registrant.h" void fl_register_plugins(FlPluginRegistry* registry) { } ================================================ FILE: example/linux/flutter/generated_plugin_registrant.h ================================================ // // Generated file. Do not edit. // // clang-format off #ifndef GENERATED_PLUGIN_REGISTRANT_ #define GENERATED_PLUGIN_REGISTRANT_ #include // Registers Flutter plugins. void fl_register_plugins(FlPluginRegistry* registry); #endif // GENERATED_PLUGIN_REGISTRANT_ ================================================ FILE: example/linux/flutter/generated_plugins.cmake ================================================ # # Generated file, do not edit. # list(APPEND FLUTTER_PLUGIN_LIST ) list(APPEND FLUTTER_FFI_PLUGIN_LIST ) set(PLUGIN_BUNDLED_LIBRARIES) foreach(plugin ${FLUTTER_PLUGIN_LIST}) add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) list(APPEND PLUGIN_BUNDLED_LIBRARIES $) list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) endforeach(plugin) foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) endforeach(ffi_plugin) ================================================ FILE: example/linux/main.cc ================================================ #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); } ================================================ FILE: example/linux/my_application.cc ================================================ #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, "example"); 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, "example"); } 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 GApplication::startup. static void my_application_startup(GApplication* application) { //MyApplication* self = MY_APPLICATION(object); // Perform any actions required at application startup. G_APPLICATION_CLASS(my_application_parent_class)->startup(application); } // Implements GApplication::shutdown. static void my_application_shutdown(GApplication* application) { //MyApplication* self = MY_APPLICATION(object); // Perform any actions required at application shutdown. G_APPLICATION_CLASS(my_application_parent_class)->shutdown(application); } // 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_APPLICATION_CLASS(klass)->startup = my_application_startup; G_APPLICATION_CLASS(klass)->shutdown = my_application_shutdown; 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)); } ================================================ FILE: example/linux/my_application.h ================================================ #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_ ================================================ FILE: example/macos/.gitignore ================================================ # Flutter-related **/Flutter/ephemeral/ **/Pods/ # Xcode-related **/dgph **/xcuserdata/ ================================================ FILE: example/macos/Flutter/Flutter-Debug.xcconfig ================================================ #include "ephemeral/Flutter-Generated.xcconfig" ================================================ FILE: example/macos/Flutter/Flutter-Release.xcconfig ================================================ #include "ephemeral/Flutter-Generated.xcconfig" ================================================ FILE: example/macos/Flutter/GeneratedPluginRegistrant.swift ================================================ // // Generated file. Do not edit. // import FlutterMacOS import Foundation func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { } ================================================ FILE: example/macos/Runner/AppDelegate.swift ================================================ import Cocoa import FlutterMacOS @main class AppDelegate: FlutterAppDelegate { override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { return true } } ================================================ FILE: example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "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" } } ================================================ FILE: example/macos/Runner/Base.lproj/MainMenu.xib ================================================ ================================================ FILE: example/macos/Runner/Configs/AppInfo.xcconfig ================================================ // 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 = example // The application's bundle identifier PRODUCT_BUNDLE_IDENTIFIER = com.example.example // The copyright displayed in application information PRODUCT_COPYRIGHT = Copyright © 2024 com.example. All rights reserved. ================================================ FILE: example/macos/Runner/Configs/Debug.xcconfig ================================================ #include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig" ================================================ FILE: example/macos/Runner/Configs/Release.xcconfig ================================================ #include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig" ================================================ FILE: example/macos/Runner/Configs/Warnings.xcconfig ================================================ 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 ================================================ FILE: example/macos/Runner/DebugProfile.entitlements ================================================ com.apple.security.app-sandbox com.apple.security.cs.allow-jit com.apple.security.network.server ================================================ FILE: example/macos/Runner/Info.plist ================================================ 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 ================================================ FILE: example/macos/Runner/MainFlutterWindow.swift ================================================ 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() } } ================================================ FILE: example/macos/Runner/Release.entitlements ================================================ com.apple.security.app-sandbox ================================================ FILE: example/macos/Runner.xcodeproj/project.pbxproj ================================================ // !$*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 */ 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C80D7294CF71000263BE5 /* RunnerTests.swift */; }; 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 */ 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 33CC10E52044A3C60003C045 /* Project object */; proxyType = 1; remoteGlobalIDString = 33CC10EC2044A3C60003C045; remoteInfo = Runner; }; 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 */ 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 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 /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example.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 */ 331C80D2294CF70F00263BE5 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; 33CC10EA2044A3C60003C045 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 331C80D6294CF71000263BE5 /* RunnerTests */ = { isa = PBXGroup; children = ( 331C80D7294CF71000263BE5 /* RunnerTests.swift */, ); path = RunnerTests; sourceTree = ""; }; 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 */, 331C80D6294CF71000263BE5 /* RunnerTests */, 33CC10EE2044A3C60003C045 /* Products */, D73912EC22F37F3D000D13A0 /* Frameworks */, ); sourceTree = ""; }; 33CC10EE2044A3C60003C045 /* Products */ = { isa = PBXGroup; children = ( 33CC10ED2044A3C60003C045 /* example.app */, 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, ); 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 */ 331C80D4294CF70F00263BE5 /* RunnerTests */ = { isa = PBXNativeTarget; buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; buildPhases = ( 331C80D1294CF70F00263BE5 /* Sources */, 331C80D2294CF70F00263BE5 /* Frameworks */, 331C80D3294CF70F00263BE5 /* Resources */, ); buildRules = ( ); dependencies = ( 331C80DA294CF71000263BE5 /* PBXTargetDependency */, ); name = RunnerTests; productName = RunnerTests; productReference = 331C80D5294CF71000263BE5 /* RunnerTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; 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 /* example.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 33CC10E52044A3C60003C045 /* Project object */ = { isa = PBXProject; attributes = { BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 0920; LastUpgradeCheck = 1510; ORGANIZATIONNAME = ""; TargetAttributes = { 331C80D4294CF70F00263BE5 = { CreatedOnToolsVersion = 14.0; TestTargetID = 33CC10EC2044A3C60003C045; }; 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 */, 331C80D4294CF70F00263BE5 /* RunnerTests */, 33CC111A2044C6BA0003C045 /* Flutter Assemble */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ 331C80D3294CF70F00263BE5 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; 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 */ 331C80D1294CF70F00263BE5 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; 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 */ 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 33CC10EC2044A3C60003C045 /* Runner */; targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */; }; 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 */ 331C80DB294CF71000263BE5 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/example"; }; name = Debug; }; 331C80DC294CF71000263BE5 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/example"; }; name = Release; }; 331C80DD294CF71000263BE5 /* Profile */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/example"; }; name = Profile; }; 338D0CE9231458BD00FA5F75 /* Profile */ = { isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; 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; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_USER_SCRIPT_SANDBOXING = NO; 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; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; 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; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; ENABLE_USER_SCRIPT_SANDBOXING = NO; 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; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; 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; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_USER_SCRIPT_SANDBOXING = NO; 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 */ 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 331C80DB294CF71000263BE5 /* Debug */, 331C80DC294CF71000263BE5 /* Release */, 331C80DD294CF71000263BE5 /* Profile */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 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 */; } ================================================ FILE: example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist ================================================ IDEDidComputeMac32BitWarning ================================================ FILE: example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme ================================================ ================================================ FILE: example/macos/Runner.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist ================================================ IDEDidComputeMac32BitWarning ================================================ FILE: example/macos/RunnerTests/RunnerTests.swift ================================================ import Cocoa import FlutterMacOS import XCTest class RunnerTests: XCTestCase { func testExample() { // If you add code to the Runner application, consider adding tests here. // See https://developer.apple.com/documentation/xctest for more information about using XCTest. } } ================================================ FILE: example/pubspec.yaml ================================================ name: example description: "A new Flutter project." # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev # The following defines the version and build number for your application. # A version number is three numbers separated by dots, like 1.2.43 # followed by an optional build number separated by a +. # Both the version and the builder number may be overridden in flutter # build by specifying --build-name and --build-number, respectively. # In Android, build-name is used as versionName while build-number used as versionCode. # Read more about Android versioning at https://developer.android.com/studio/publish/versioning # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. version: 1.0.0+1 environment: sdk: ^3.5.3 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions # consider running `flutter pub upgrade --major-versions`. Alternatively, # dependencies can be manually updated by changing the version numbers below to # the latest version available on pub.dev. To see which dependencies have newer # versions available, run `flutter pub outdated`. 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.8 flutter_gemini: path: ../ dev_dependencies: flutter_test: sdk: flutter # The "flutter_lints" package below contains a set of recommended lints to # encourage good coding practices. The lint set provided by the package is # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. flutter_lints: ^4.0.0 # 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 packages. 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/a_dot_burr.jpeg # - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/to/resolution-aware-images # For details regarding adding assets from package dependencies, see # https://flutter.dev/to/asset-from-package # To add custom fonts to your application, add a fonts section here, # in this "flutter" section. Each entry in this list should have a # "family" key with the font family name, and a "fonts" key with a # list giving the asset and other descriptors for the font. For # example: # fonts: # - family: Schyler # fonts: # - asset: fonts/Schyler-Regular.ttf # - asset: fonts/Schyler-Italic.ttf # style: italic # - family: Trajan Pro # fonts: # - asset: fonts/TrajanPro.ttf # - asset: fonts/TrajanPro_Bold.ttf # weight: 700 # # For details regarding fonts from package dependencies, # see https://flutter.dev/to/font-from-package ================================================ FILE: example/test/widget_test.dart ================================================ // This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the values of widget properties are correct. import 'package:flutter_test/flutter_test.dart'; void main() { testWidgets('Counter increments smoke test', (WidgetTester tester) async {}); } ================================================ FILE: example/web/index.html ================================================ example ================================================ FILE: example/web/manifest.json ================================================ { "name": "example", "short_name": "example", "start_url": ".", "display": "standalone", "background_color": "#0175C2", "theme_color": "#0175C2", "description": "A new Flutter project.", "orientation": "portrait-primary", "prefer_related_applications": false, "icons": [ { "src": "icons/Icon-192.png", "sizes": "192x192", "type": "image/png" }, { "src": "icons/Icon-512.png", "sizes": "512x512", "type": "image/png" }, { "src": "icons/Icon-maskable-192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" }, { "src": "icons/Icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" } ] } ================================================ FILE: example/windows/.gitignore ================================================ flutter/ephemeral/ # Visual Studio user-specific files. *.suo *.user *.userosscache *.sln.docstates # Visual Studio build-related files. x64/ x86/ # Visual Studio cache files # files ending in .cache can be ignored *.[Cc]ache # but keep track of directories ending in .cache !*.[Cc]ache/ ================================================ FILE: example/windows/CMakeLists.txt ================================================ # Project-level configuration. cmake_minimum_required(VERSION 3.14) project(example 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 "example") # 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() # Copy the native assets provided by the build.dart from all packages. set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/windows/") install(DIRECTORY "${NATIVE_ASSETS_DIR}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" COMPONENT Runtime) # 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) ================================================ FILE: example/windows/flutter/CMakeLists.txt ================================================ # 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} ) ================================================ FILE: example/windows/flutter/generated_plugin_registrant.cc ================================================ // // Generated file. Do not edit. // // clang-format off #include "generated_plugin_registrant.h" void RegisterPlugins(flutter::PluginRegistry* registry) { } ================================================ FILE: example/windows/flutter/generated_plugin_registrant.h ================================================ // // Generated file. Do not edit. // // clang-format off #ifndef GENERATED_PLUGIN_REGISTRANT_ #define GENERATED_PLUGIN_REGISTRANT_ #include // Registers Flutter plugins. void RegisterPlugins(flutter::PluginRegistry* registry); #endif // GENERATED_PLUGIN_REGISTRANT_ ================================================ FILE: example/windows/flutter/generated_plugins.cmake ================================================ # # Generated file, do not edit. # list(APPEND FLUTTER_PLUGIN_LIST ) list(APPEND FLUTTER_FFI_PLUGIN_LIST ) set(PLUGIN_BUNDLED_LIBRARIES) foreach(plugin ${FLUTTER_PLUGIN_LIST}) add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) list(APPEND PLUGIN_BUNDLED_LIBRARIES $) list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) endforeach(plugin) foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) endforeach(ffi_plugin) ================================================ FILE: example/windows/runner/CMakeLists.txt ================================================ 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_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib") 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) ================================================ FILE: example/windows/runner/Runner.rc ================================================ // 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", "com.example" "\0" VALUE "FileDescription", "example" "\0" VALUE "FileVersion", VERSION_AS_STRING "\0" VALUE "InternalName", "example" "\0" VALUE "LegalCopyright", "Copyright (C) 2024 com.example. All rights reserved." "\0" VALUE "OriginalFilename", "example.exe" "\0" VALUE "ProductName", "example" "\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 ================================================ FILE: example/windows/runner/flutter_window.cpp ================================================ #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); } ================================================ FILE: example/windows/runner/flutter_window.h ================================================ #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_ ================================================ FILE: example/windows/runner/main.cpp ================================================ #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"example", origin, size)) { return EXIT_FAILURE; } window.SetQuitOnClose(true); ::MSG msg; while (::GetMessage(&msg, nullptr, 0, 0)) { ::TranslateMessage(&msg); ::DispatchMessage(&msg); } ::CoUninitialize(); return EXIT_SUCCESS; } ================================================ FILE: example/windows/runner/resource.h ================================================ //{{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 ================================================ FILE: example/windows/runner/runner.exe.manifest ================================================ PerMonitorV2 ================================================ FILE: example/windows/runner/utils.cpp ================================================ #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(); } unsigned int target_length = ::WideCharToMultiByte( CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, -1, nullptr, 0, nullptr, nullptr) -1; // remove the trailing null character int input_length = (int)wcslen(utf16_string); 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, input_length, utf8_string.data(), target_length, nullptr, nullptr); if (converted_length == 0) { return std::string(); } return utf8_string; } ================================================ FILE: example/windows/runner/utils.h ================================================ #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_ ================================================ FILE: example/windows/runner/win32_window.cpp ================================================ #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)); } } ================================================ FILE: example/windows/runner/win32_window.h ================================================ #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_ ================================================ FILE: example_old/.gitignore ================================================ # Miscellaneous *.class *.log *.pyc *.swp .DS_Store .atom/ .buildlog/ .history .svn/ migrate_working_dir/ # IntelliJ related *.iml *.ipr *.iws .idea/ *.env # The .vscode folder contains launch configuration and tasks you configure in # VS Code which you may wish to be included in version control, so this line # is commented out by default. #.vscode/ # Flutter/Dart/Pub related **/doc/api/ **/ios/Flutter/.last_build_id .dart_tool/ .flutter-plugins .flutter-plugins-dependencies .packages .pub-cache/ .pub/ /build/ # Symbolication related app.*.symbols # Obfuscation related app.*.map.json # Android Studio will place build artifacts here /android/app/debug /android/app/profile /android/app/release .env ================================================ FILE: example_old/.metadata ================================================ # This file tracks properties of this Flutter project. # Used by Flutter tool to assess capabilities and perform upgrades etc. # # This file should be version controlled and should not be manually edited. version: revision: "2f708eb8396e362e280fac22cf171c2cb467343c" channel: "stable" project_type: app # Tracks metadata for the flutter migrate command migration: platforms: - platform: root create_revision: 2f708eb8396e362e280fac22cf171c2cb467343c base_revision: 2f708eb8396e362e280fac22cf171c2cb467343c - platform: android create_revision: 2f708eb8396e362e280fac22cf171c2cb467343c base_revision: 2f708eb8396e362e280fac22cf171c2cb467343c - platform: ios create_revision: 2f708eb8396e362e280fac22cf171c2cb467343c base_revision: 2f708eb8396e362e280fac22cf171c2cb467343c - platform: linux create_revision: 2f708eb8396e362e280fac22cf171c2cb467343c base_revision: 2f708eb8396e362e280fac22cf171c2cb467343c - platform: macos create_revision: 2f708eb8396e362e280fac22cf171c2cb467343c base_revision: 2f708eb8396e362e280fac22cf171c2cb467343c - platform: web create_revision: 2f708eb8396e362e280fac22cf171c2cb467343c base_revision: 2f708eb8396e362e280fac22cf171c2cb467343c - platform: windows create_revision: 2f708eb8396e362e280fac22cf171c2cb467343c base_revision: 2f708eb8396e362e280fac22cf171c2cb467343c # User provided section # List of Local paths (relative to this file) that should be # ignored by the migrate tool. # # Files that are not part of the templates will be ignored by default. unmanaged_files: - 'lib/main.dart' - 'ios/Runner.xcodeproj/project.pbxproj' ================================================ FILE: example_old/README.md ================================================ # example A new Flutter project. ## Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this is your first Flutter project: - [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) - [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) For help getting started with Flutter development, view the [online documentation](https://docs.flutter.dev/), which offers tutorials, samples, guidance on mobile development, and a full API reference. ================================================ FILE: example_old/analysis_options.yaml ================================================ # This file configures the analyzer, which statically analyzes Dart code to # check for errors, warnings, and lints. # # The issues identified by the analyzer are surfaced in the UI of Dart-enabled # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be # invoked from the command line by running `flutter analyze`. # The following line activates a set of recommended lints for Flutter apps, # packages, and plugins designed to encourage good coding practices. include: package:flutter_lints/flutter.yaml linter: # The lint rules applied to this project can be customized in the # section below to disable rules from the `package:flutter_lints/flutter.yaml` # included above or to enable additional rules. A list of all available lints # and their documentation is published at https://dart.dev/lints. # # Instead of disabling a lint rule for the entire project in the # section below, it can also be suppressed for a single line of code # or a specific dart file by using the `// ignore: name_of_lint` and # `// ignore_for_file: name_of_lint` syntax on the line or in the file # producing the lint. rules: # avoid_print: false # Uncomment to disable the `avoid_print` rule # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule # Additional information about this file can be found at # https://dart.dev/guides/language/analysis-options ================================================ FILE: example_old/android/.gitignore ================================================ gradle-wrapper.jar /.gradle /captures/ /gradlew /gradlew.bat /local.properties GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app key.properties **/*.keystore **/*.jks ================================================ FILE: example_old/android/app/build.gradle ================================================ plugins { id "com.android.application" id "kotlin-android" id "dev.flutter.flutter-gradle-plugin" } def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } } def flutterVersionCode = localProperties.getProperty('flutter.versionCode') if (flutterVersionCode == null) { flutterVersionCode = '1' } def flutterVersionName = localProperties.getProperty('flutter.versionName') if (flutterVersionName == null) { flutterVersionName = '1.0' } android { namespace "com.example.example" compileSdkVersion flutter.compileSdkVersion ndkVersion flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } sourceSets { main.java.srcDirs += 'src/main/kotlin' } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.example" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. 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 '../..' } dependencies {} ================================================ FILE: example_old/android/app/src/debug/AndroidManifest.xml ================================================ ================================================ FILE: example_old/android/app/src/main/AndroidManifest.xml ================================================ ================================================ FILE: example_old/android/app/src/main/kotlin/com/example/example/MainActivity.kt ================================================ package com.example.example import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { } ================================================ FILE: example_old/android/app/src/main/res/drawable/launch_background.xml ================================================ ================================================ FILE: example_old/android/app/src/main/res/drawable-v21/launch_background.xml ================================================ ================================================ FILE: example_old/android/app/src/main/res/values/styles.xml ================================================ ================================================ FILE: example_old/android/app/src/main/res/values-night/styles.xml ================================================ ================================================ FILE: example_old/android/app/src/profile/AndroidManifest.xml ================================================ ================================================ FILE: example_old/android/build.gradle ================================================ buildscript { ext.kotlin_version = '1.7.10' repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } allprojects { repositories { google() mavenCentral() } } rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { project.evaluationDependsOn(':app') } tasks.register("clean", Delete) { delete rootProject.buildDir } ================================================ FILE: example_old/android/gradle/wrapper/gradle-wrapper.properties ================================================ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip ================================================ FILE: example_old/android/gradle.properties ================================================ org.gradle.jvmargs=-Xmx1536M android.useAndroidX=true android.enableJetifier=true ================================================ FILE: example_old/android/settings.gradle ================================================ pluginManagement { def flutterSdkPath = { def properties = new Properties() file("local.properties").withInputStream { properties.load(it) } def flutterSdkPath = properties.getProperty("flutter.sdk") assert flutterSdkPath != null, "flutter.sdk not set in local.properties" return flutterSdkPath } settings.ext.flutterSdkPath = flutterSdkPath() includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle") plugins { id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false } } include ":app" apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle" ================================================ FILE: example_old/assets/lottie/ai.json ================================================ {"nm":"Comp 1","ddd":0,"h":600,"w":1600,"meta":{"g":"LottieFiles AE "},"layers":[{"ty":4,"nm":"Shape Layer 4","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[800,300,0],"ix":2},"r":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"s":[90],"t":103.6796875}],"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.447,"y":0.704},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[0,-140],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-95.545,-102.33]]}],"t":0},{"o":{"x":0.611,"y":0.327},"i":{"x":0.667,"y":0.481},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[-1.156,-129.595],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-105.949,-124.295]]}],"t":26.793},{"o":{"x":0.333,"y":0.519},"i":{"x":0.667,"y":0.821},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[4.498,-139.947],[92.53,-78.595],[138.296,6.608],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-82.828,-90.769]]}],"t":52.422},{"o":{"x":0.721,"y":0.386},"i":{"x":0.667,"y":1},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[1.156,-130.751],[104.091,-93.624],[140,0],[90.317,85.678],[1.156,150.405],[-89.067,74.976],[-140,0],[-95.545,-102.33]]}],"t":79.217},{"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[0,-140],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-95.545,-102.33]]}],"t":103.6796875}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":1,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":1,"ix":5},"c":{"a":0,"k":[1,1,1],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":1},{"ty":4,"nm":"Shape Layer 3","sr":1,"st":8,"op":608,"ip":8,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[800,300,0],"ix":2},"r":{"a":1,"k":[{"o":{"x":0.167,"y":0.141},"i":{"x":0.833,"y":0.946},"s":[0],"t":9.32},{"s":[280],"t":113}],"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":50,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.447,"y":0.704},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[0,-140],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-95.545,-102.33]]}],"t":9.32},{"o":{"x":0.611,"y":0.327},"i":{"x":0.667,"y":0.481},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[-1.156,-129.595],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-105.949,-124.295]]}],"t":36.113},{"o":{"x":0.333,"y":0.519},"i":{"x":0.667,"y":0.821},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[4.498,-139.947],[92.53,-78.595],[138.296,6.608],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-82.828,-90.769]]}],"t":61.742},{"o":{"x":0.721,"y":0.386},"i":{"x":0.667,"y":1},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[1.156,-130.751],[104.091,-93.624],[140,0],[90.317,85.678],[1.156,150.405],[-89.067,74.976],[-140,0],[-95.545,-102.33]]}],"t":88.535},{"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[0,-140],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-95.545,-102.33]]}],"t":113}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":1,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"c":{"a":0,"k":[0,0.549,0.9569],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":2},{"ty":4,"nm":"Shape Layer 2","sr":1,"st":5,"op":605,"ip":5,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[800,300,0],"ix":2},"r":{"a":1,"k":[{"o":{"x":0.167,"y":0.142},"i":{"x":0.833,"y":0.958},"s":[0],"t":5.824},{"s":[360],"t":109.505859375}],"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":80,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.447,"y":0.704},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[0,-140],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-95.545,-102.33]]}],"t":5.824},{"o":{"x":0.611,"y":0.327},"i":{"x":0.667,"y":0.481},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[-1.156,-129.595],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-105.949,-124.295]]}],"t":32.619},{"o":{"x":0.333,"y":0.519},"i":{"x":0.667,"y":0.821},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[4.498,-139.947],[92.53,-78.595],[138.296,6.608],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-82.828,-90.769]]}],"t":58.248},{"o":{"x":0.721,"y":0.386},"i":{"x":0.667,"y":1},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[1.156,-130.751],[104.091,-93.624],[140,0],[90.317,85.678],[1.156,150.405],[-89.067,74.976],[-140,0],[-95.545,-102.33]]}],"t":85.041},{"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[0,-140],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-95.545,-102.33]]}],"t":109.505859375}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":1,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"c":{"a":0,"k":[0,0.549,0.9569],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":3},{"ty":4,"nm":"Shape Layer 5","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[800,300,0],"ix":2},"r":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.946},"s":[0],"t":0},{"s":[280],"t":115}],"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.447,"y":0.733},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[0,-140],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-95.545,-102.33]]}],"t":0},{"o":{"x":0.611,"y":0.295},"i":{"x":0.667,"y":0.532},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[-1.156,-129.595],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-105.949,-124.295]]}],"t":29.719},{"o":{"x":0.333,"y":0.468},"i":{"x":0.667,"y":0.839},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[4.498,-139.947],[92.53,-78.595],[138.296,6.608],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-82.828,-90.769]]}],"t":58.146},{"o":{"x":0.721,"y":0.348},"i":{"x":0.667,"y":1},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[1.156,-130.751],[104.091,-93.624],[140,0],[90.317,85.678],[1.156,150.405],[-89.067,74.976],[-140,0],[-95.545,-102.33]]}],"t":87.865},{"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[0,-140],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-95.545,-102.33]]}],"t":115}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":1,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":3,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":4},{"ty":4,"nm":"Shape Layer 1","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[800,300,0],"ix":2},"r":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"s":[90],"t":103.6796875}],"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.447,"y":0.704},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[0,-140],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-95.545,-102.33]]}],"t":0},{"o":{"x":0.611,"y":0.327},"i":{"x":0.667,"y":0.481},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[-1.156,-129.595],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-105.949,-124.295]]}],"t":26.793},{"o":{"x":0.333,"y":0.519},"i":{"x":0.667,"y":0.821},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[4.498,-139.947],[92.53,-78.595],[138.296,6.608],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-82.828,-90.769]]}],"t":52.422},{"o":{"x":0.721,"y":0.386},"i":{"x":0.667,"y":1},"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[1.156,-130.751],[104.091,-93.624],[140,0],[90.317,85.678],[1.156,150.405],[-89.067,74.976],[-140,0],[-95.545,-102.33]]}],"t":79.217},{"s":[{"c":true,"i":[[-36.934,0],[-25.626,-28.473],[0,-35.997],[26.356,-25.458],[37.782,0],[25.659,29.231],[0,35.368],[-27.355,25.552]],"o":[[41.323,0],[22.324,24.803],[0,39.538],[-25.186,24.327],[-41.951,0],[-21.633,-24.644],[0,-40.386],[25.017,-23.368]],"v":[[0,-140],[104.091,-93.624],[140,0],[97.254,100.706],[0,140],[-105.252,92.317],[-140,0],[-95.545,-102.33]]}],"t":103.6796875}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":1,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":3,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":5},{"ty":0,"nm":"Pre-comp 1","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[800,300,0],"ix":1},"s":{"a":0,"k":[-100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[751,300,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"w":1600,"h":600,"refId":"comp_0","ind":6},{"ty":0,"nm":"Pre-comp 1","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[800,300,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[850,300,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"w":1600,"h":600,"refId":"comp_0","ind":7},{"ty":4,"nm":"Shape Layer 6","sr":1,"st":0,"op":600,"ip":0,"hd":true,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[800,300,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Rectangle 1","ix":1,"cix":2,"np":3,"it":[{"ty":"rc","bm":0,"hd":false,"mn":"ADBE Vector Shape - Rect","nm":"Rectangle Path 1","d":1,"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"s":{"a":0,"k":[1600,600],"ix":2}},{"ty":"fl","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Fill","nm":"Fill 1","c":{"a":0,"k":[0.1569,0.1569,0.1569],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":8}],"v":"4.8.0","fr":60,"op":116,"ip":0,"assets":[{"nm":"","id":"comp_0","layers":[{"ty":4,"nm":"Shape Layer 5","sr":1,"st":53,"op":653,"ip":53,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-377.324,-7.936,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[422.676,300,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-192.29,-7.936],[-562.358,-7.936]]},"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":3,"ix":5},"c":{"a":0,"k":[0,0.549,0.9569],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]},{"ty":"tm","bm":0,"hd":false,"mn":"ADBE Vector Filter - Trim","nm":"Trim Paths 1","ix":2,"e":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":53},{"s":[0],"t":105}],"ix":2},"o":{"a":0,"k":0,"ix":3},"s":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":57},{"s":[0],"t":114}],"ix":1},"m":1}],"ind":1},{"ty":4,"nm":"Shape Layer 4","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-377.324,-7.936,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[422.676,300,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-192.29,-7.936],[-562.358,-7.936]]},"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":3,"ix":5},"c":{"a":0,"k":[0,0.549,0.9569],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]},{"ty":"tm","bm":0,"hd":false,"mn":"ADBE Vector Filter - Trim","nm":"Trim Paths 1","ix":2,"e":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"s":[100],"t":52}],"ix":2},"o":{"a":0,"k":0,"ix":3},"s":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":4},{"s":[100],"t":61}],"ix":1},"m":1}],"ind":2},{"ty":4,"nm":"20","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[240,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":42},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":46},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":56},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":60},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":70},{"s":[0],"t":74}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25],[-200,19]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,16.5]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-62],[-200,65]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30],[-200,27.75]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-20],[-200,17]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-5.75],[-200,5.75]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,8.5]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-5.75],[-200,5.75]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25],[-200,19]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,16.5]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-62],[-200,65]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30],[-200,27.75]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-20],[-200,17]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-5.75],[-200,5.75]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,8.5]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-5.75],[-200,5.75]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,16.5]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25],[-200,19]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":3},{"ty":4,"nm":"19","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[260,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":39},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":43},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":53},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":57},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":58},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":62},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":72},{"s":[0],"t":76}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,14]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-33],[-200,27]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,25.5]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-76],[-200,75]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-21],[-200,17]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30.5],[-200,28.5]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12.75],[-200,14]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-22],[-200,22]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12.75],[-200,14]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,14]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-33],[-200,27]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,25.5]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-76],[-200,75]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-21],[-200,17]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30.5],[-200,28.5]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12.75],[-200,14]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-22],[-200,22]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12.75],[-200,14]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-33],[-200,27]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,14]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":4},{"ty":4,"nm":"18","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[280,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":37},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":41},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":51},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":55},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":58},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":62},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":72},{"s":[0],"t":76}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-10.5],[-200,11]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-55],[-200,49]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.5],[-200,16]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-34.5],[-200,31]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-74],[-200,65]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-10.5],[-200,8.5]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-43.5],[-200,39]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,9.75]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,18]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,9.75]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-10.5],[-200,11]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-55],[-200,49]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.5],[-200,16]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-34.5],[-200,31]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-74],[-200,65]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-10.5],[-200,8.5]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-43.5],[-200,39]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,9.75]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,18]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,9.75]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.5],[-200,16]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-55],[-200,49]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-10.5],[-200,11]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":5},{"ty":4,"nm":"17","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[300,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":35},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":39},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":49},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":53},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":60},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":64},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":74},{"s":[0],"t":78}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.5],[-200,20]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-62],[-200,65]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25.5],[-200,24]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-68],[-200,59]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13.5],[-200,9.5]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-46],[-200,44]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.25],[-200,8]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.75],[-200,13.75]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.25],[-200,8]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.5],[-200,20]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-62],[-200,65]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25.5],[-200,24]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-68],[-200,59]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13.5],[-200,9.5]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-46],[-200,44]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.25],[-200,8]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.75],[-200,13.75]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.25],[-200,8]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-62],[-200,65]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.5],[-200,20]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":6},{"ty":4,"nm":"16","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[320,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":33},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":37},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":47},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":51},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":61},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":65},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":75},{"s":[0],"t":79}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16.5],[-200,16.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-62],[-200,65]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-32],[-200,41.5]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-27.5],[-200,28.5]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-62],[-200,52]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16.5],[-200,11]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-42.5],[-200,39.5]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12.75],[-200,17]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,10]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12.75],[-200,17]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16.5],[-200,16.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-62],[-200,65]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-32],[-200,41.5]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-27.5],[-200,28.5]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-62],[-200,52]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16.5],[-200,11]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-42.5],[-200,39.5]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12.75],[-200,17]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,10]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12.75],[-200,17]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-32],[-200,41.5]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-62],[-200,65]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16.5],[-200,16.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":7},{"ty":4,"nm":"15","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[340,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":31},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":35},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":45},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":49},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":62},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":66},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":76},{"s":[0],"t":80}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,15.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-43],[-200,51]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15],[-200,19]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-56],[-200,48]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,13.5]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-37.5],[-200,34.5]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,14]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.75],[-200,19]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,14]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,15.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-43],[-200,51]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15],[-200,19]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-56],[-200,48]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,13.5]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-37.5],[-200,34.5]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,14]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.75],[-200,19]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.75],[-200,14]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-43],[-200,51]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,15.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":8},{"ty":4,"nm":"14","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[360,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":29},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":33},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":43},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":47},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":63},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":67},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":77},{"s":[0],"t":81}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.5],[-200,11]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30],[-200,32]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-35],[-200,37.5]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,20.5]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-43],[-200,39]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25],[-200,19]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30.5],[-200,27]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-8],[-200,11.25]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-22],[-200,24]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-8],[-200,11.25]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.5],[-200,11]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30],[-200,32]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-35],[-200,37.5]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,20.5]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-43],[-200,39]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25],[-200,19]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30.5],[-200,27]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-8],[-200,11.25]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-22],[-200,24]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-8],[-200,11.25]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-35],[-200,37.5]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30],[-200,32]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.5],[-200,11]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":9},{"ty":4,"nm":"13","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[380,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":27},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":31},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":41},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":45},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":67},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":71},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":81},{"s":[0],"t":85}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.5],[-200,15.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-51],[-200,46]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-24.5],[-200,22.5]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-37],[-200,31]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,26]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23.5],[-200,20.5]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-6.5],[-200,8.5]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18.75],[-200,19.25]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-6.5],[-200,8.5]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.5],[-200,15.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-51],[-200,46]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-24.5],[-200,22.5]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-37],[-200,31]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,26]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23.5],[-200,20.5]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-6.5],[-200,8.5]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18.75],[-200,19.25]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-6.5],[-200,8.5]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-51],[-200,46]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.5],[-200,15.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":10},{"ty":4,"nm":"12","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[400,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":25},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":29},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":39},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":43},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":70},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":74},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":84},{"s":[0],"t":88}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,14]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-42],[-200,38]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,27]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30],[-200,24]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-39],[-200,34]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,15]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14.25],[-200,15.25]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-24.75],[-200,23]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14.25],[-200,15.25]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,14]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-42],[-200,38]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,27]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30],[-200,24]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-39],[-200,34]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,15]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14.25],[-200,15.25]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-24.75],[-200,23]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14.25],[-200,15.25]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-42],[-200,38]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,14]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":11},{"ty":4,"nm":"10","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[420,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":23},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":27},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":37},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":41},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":73},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":77},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":87},{"s":[0],"t":91}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9],[-200,12]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,23]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17.5]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-36.5],[-200,31]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-22],[-200,17]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30.5],[-200,26.5]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-27.5],[-200,24]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.5],[-200,8.5]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16.25],[-200,18.75]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.5],[-200,8.5]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9],[-200,12]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,23]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17.5]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-36.5],[-200,31]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-22],[-200,17]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-30.5],[-200,26.5]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-27.5],[-200,24]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.5],[-200,8.5]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16.25],[-200,18.75]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.5],[-200,8.5]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17.5]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,23]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9],[-200,12]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":12},{"ty":4,"nm":"09","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[440,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":21},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":25},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":35},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":39},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":76},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":80},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":90},{"s":[0],"t":94}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-10],[-200,14]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,17]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-8.5],[-200,9.5]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-40],[-200,35]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,29]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25],[-200,19]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-38],[-200,34]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-6.25],[-200,6]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13.5],[-200,13.75]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-6.25],[-200,6]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-10],[-200,14]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,17]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-8.5],[-200,9.5]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-40],[-200,35]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,29]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25],[-200,19]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-38],[-200,34]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-6.25],[-200,6]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13.5],[-200,13.75]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-6.25],[-200,6]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-8.5],[-200,9.5]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,17]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-10],[-200,14]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":13},{"ty":4,"nm":"08","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[460,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":19},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":23},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":33},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":37},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":80},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":84},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":94},{"s":[0],"t":98}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,19.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-27],[-200,30]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13.5],[-200,14]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-34],[-200,30.5]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-47],[-200,45]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.5],[-200,17]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-32.5],[-200,31]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13],[-200,12.75]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-21.25],[-200,20.5]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13],[-200,12.75]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,19.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-27],[-200,30]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13.5],[-200,14]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-34],[-200,30.5]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-47],[-200,45]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.5],[-200,17]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-32.5],[-200,31]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13],[-200,12.75]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-21.25],[-200,20.5]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13],[-200,12.75]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13.5],[-200,14]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-27],[-200,30]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19],[-200,19.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":14},{"ty":4,"nm":"07","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[480,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":16},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":20},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":30},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":34},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":84},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":88},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":98},{"s":[0],"t":102}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-22],[-200,25]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-24.5],[-200,23.5]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-72],[-200,60]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-8.5],[-200,7.5]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23.5],[-200,24.5]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,9.5]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,9.5]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,9.5]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-22],[-200,25]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-24.5],[-200,23.5]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-72],[-200,60]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-8.5],[-200,7.5]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23.5],[-200,24.5]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,9.5]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,9.5]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,9.5]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,22]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-22],[-200,25]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,17]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":15},{"ty":4,"nm":"06","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[500,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":13},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":17},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":27},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":31},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":88},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":92},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":102},{"s":[0],"t":106}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,14.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-42],[-200,43]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-34],[-200,51]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,11.5]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-67],[-200,53]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-10.5],[-200,9.5]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18],[-200,20.5]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.25],[-200,8]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.25],[-200,8]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.25],[-200,8]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,14.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-42],[-200,43]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-34],[-200,51]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,11.5]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-67],[-200,53]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-10.5],[-200,9.5]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18],[-200,20.5]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.25],[-200,8]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.25],[-200,8]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-7.25],[-200,8]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-34],[-200,51]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-42],[-200,43]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,14.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":16},{"ty":4,"nm":"05","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[520,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":10},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":14},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":24},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":28},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":92},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":96},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":106},{"s":[0],"t":110}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-20],[-200,21.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-38],[-200,35]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-51],[-200,66]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14.5],[-200,14]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-61],[-200,47]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,12]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13],[-200,14]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-5.25],[-200,6.75]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-5.25],[-200,6.75]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-5.25],[-200,6.75]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-20],[-200,21.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-38],[-200,35]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-51],[-200,66]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14.5],[-200,14]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-61],[-200,47]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,12]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-13],[-200,14]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-5.25],[-200,6.75]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-5.25],[-200,6.75]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-5.25],[-200,6.75]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-51],[-200,66]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-38],[-200,35]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-20],[-200,21.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":17},{"ty":4,"nm":"04","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[540,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":7},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":11},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":21},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":25},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":96},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":100},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":110},{"s":[0],"t":114}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16.5],[-200,18.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-26],[-200,27]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-37],[-200,47]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18],[-200,16]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-53],[-200,40]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18.5],[-200,19]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.5],[-200,10.5]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,13.5]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-3.75],[-200,4.25]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,13.5]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16.5],[-200,18.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-26],[-200,27]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-37],[-200,47]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18],[-200,16]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-53],[-200,40]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18.5],[-200,19]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.5],[-200,10.5]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,13.5]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-3.75],[-200,4.25]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,13.5]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-37],[-200,47]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-26],[-200,27]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16.5],[-200,18.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":18},{"ty":4,"nm":"03","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[560,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":4},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":8},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":19},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":23},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":100},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":104},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":114},{"s":[0],"t":118}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-17],[-200,18.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,18]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-28],[-200,33]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,20.5]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-47],[-200,33]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25],[-200,23.5]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18],[-200,16.5]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.25],[-200,22]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,13.75]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.25],[-200,22]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-17],[-200,18.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,18]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-28],[-200,33]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-23],[-200,20.5]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-47],[-200,33]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25],[-200,23.5]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18],[-200,16.5]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.25],[-200,22]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.5],[-200,13.75]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.25],[-200,22]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-28],[-200,33]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-16],[-200,18]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-17],[-200,18.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":19},{"ty":4,"nm":"02","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[580,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":2},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":6},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":17},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":21},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":104},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":108},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":118},{"s":[0],"t":122}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,14.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,13]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-39],[-200,46]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25.5],[-200,25.5]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-38],[-200,26]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.5],[-200,17.5]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.5],[-200,13.5]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-17.25],[-200,18.25]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-24.25],[-200,22.5]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-17.25],[-200,18.25]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,14.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,13]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-39],[-200,46]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-25.5],[-200,25.5]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-38],[-200,26]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-19.5],[-200,17.5]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.5],[-200,13.5]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-17.25],[-200,18.25]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-24.25],[-200,22.5]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-17.25],[-200,18.25]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-39],[-200,46]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-12],[-200,13]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-14],[-200,14.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":20},{"ty":4,"nm":"01","sr":1,"st":0,"op":600,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[-200,1.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[600,301.5,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":3},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":15},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":19},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":107},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":111},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[100],"t":121},{"s":[0],"t":125}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Shape 1","ix":1,"cix":2,"np":3,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11],[-200,11.5]]}],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18],[-200,22]]}],"t":6},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,31]]}],"t":11},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-20],[-200,17]]}],"t":20},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-21],[-200,19]]}],"t":24},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.5],[-200,14]]}],"t":28},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.5],[-200,8]]}],"t":32},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.25],[-200,12.75]]}],"t":40},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-20],[-200,19.25]]}],"t":43},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.25],[-200,12.75]]}],"t":47},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11],[-200,11.5]]}],"t":55},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18],[-200,22]]}],"t":61},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,31]]}],"t":66},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-20],[-200,17]]}],"t":75},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-21],[-200,19]]}],"t":79},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-15.5],[-200,14]]}],"t":83},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-9.5],[-200,8]]}],"t":87},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.25],[-200,12.75]]}],"t":95},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-20],[-200,19.25]]}],"t":98},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11.25],[-200,12.75]]}],"t":102},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-31],[-200,31]]}],"t":106},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-18],[-200,22]]}],"t":111},{"s":[{"c":false,"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-200,-11],[-200,11.5]]}],"t":117}],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":2,"ml":1,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"c":{"a":0,"k":[0.4471,1,0.9176],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":21}]}]} ================================================ FILE: example_old/ios/.gitignore ================================================ **/dgph *.mode1v3 *.mode2v3 *.moved-aside *.pbxuser *.perspectivev3 **/*sync/ .sconsign.dblite .tags* **/.vagrant/ **/DerivedData/ Icon? **/Pods/ **/.symlinks/ profile xcuserdata **/.generated/ Flutter/App.framework Flutter/Flutter.framework Flutter/Flutter.podspec Flutter/Generated.xcconfig Flutter/ephemeral/ Flutter/app.flx Flutter/app.zip Flutter/flutter_assets/ Flutter/flutter_export_environment.sh ServiceDefinitions.json Runner/GeneratedPluginRegistrant.* # Exceptions to above rules. !default.mode1v3 !default.mode2v3 !default.pbxuser !default.perspectivev3 ================================================ FILE: example_old/ios/Flutter/AppFrameworkInfo.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable App CFBundleIdentifier io.flutter.flutter.app CFBundleInfoDictionaryVersion 6.0 CFBundleName App CFBundlePackageType FMWK CFBundleShortVersionString 1.0 CFBundleSignature ???? CFBundleVersion 1.0 MinimumOSVersion 11.0 ================================================ FILE: example_old/ios/Flutter/Debug.xcconfig ================================================ #include "Generated.xcconfig" ================================================ FILE: example_old/ios/Flutter/Release.xcconfig ================================================ #include "Generated.xcconfig" ================================================ FILE: example_old/ios/Runner/AppDelegate.swift ================================================ import UIKit import Flutter @UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) } } ================================================ FILE: example_old/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "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" }, { "size" : "1024x1024", "idiom" : "ios-marketing", "filename" : "Icon-App-1024x1024@1x.png", "scale" : "1x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: example_old/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json ================================================ { "images" : [ { "idiom" : "universal", "filename" : "LaunchImage.png", "scale" : "1x" }, { "idiom" : "universal", "filename" : "LaunchImage@2x.png", "scale" : "2x" }, { "idiom" : "universal", "filename" : "LaunchImage@3x.png", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: example_old/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md ================================================ # Launch Screen Assets You can customize the launch screen with your own desired assets by replacing the image files in this directory. You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. ================================================ FILE: example_old/ios/Runner/Base.lproj/LaunchScreen.storyboard ================================================ ================================================ FILE: example_old/ios/Runner/Base.lproj/Main.storyboard ================================================ ================================================ FILE: example_old/ios/Runner/Info.plist ================================================ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName Example CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName example CFBundlePackageType APPL CFBundleShortVersionString $(FLUTTER_BUILD_NAME) CFBundleSignature ???? CFBundleVersion $(FLUTTER_BUILD_NUMBER) LSRequiresIPhoneOS UILaunchStoryboardName LaunchScreen UIMainStoryboardFile Main UISupportedInterfaceOrientations UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight CADisableMinimumFrameDurationOnPhone UIApplicationSupportsIndirectInputEvents ================================================ FILE: example_old/ios/Runner/Runner-Bridging-Header.h ================================================ #import "GeneratedPluginRegistrant.h" ================================================ FILE: example_old/ios/Runner.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 54; objects = { /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 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 */; }; 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 97C146E61CF9000F007C117D /* Project object */; proxyType = 1; remoteGlobalIDString = 97C146ED1CF9000F007C117D; remoteInfo = Runner; }; /* End PBXContainerItemProxy 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 */ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 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; }; 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 = ""; }; 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; /* 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 = ""; }; 331C8082294A63A400263BE5 /* RunnerTests */ = { isa = PBXGroup; children = ( 331C807B294A618700263BE5 /* RunnerTests.swift */, ); path = RunnerTests; sourceTree = ""; }; 97C146E51CF9000F007C117D = { isa = PBXGroup; children = ( 9740EEB11CF90186004384FC /* Flutter */, 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, 331C8082294A63A400263BE5 /* RunnerTests */, ); sourceTree = ""; }; 97C146EF1CF9000F007C117D /* Products */ = { isa = PBXGroup; children = ( 97C146EE1CF9000F007C117D /* Runner.app */, 331C8081294A63A400263BE5 /* RunnerTests.xctest */, ); name = Products; sourceTree = ""; }; 97C146F01CF9000F007C117D /* Runner */ = { isa = PBXGroup; children = ( 97C146FA1CF9000F007C117D /* Main.storyboard */, 97C146FD1CF9000F007C117D /* Assets.xcassets */, 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 97C147021CF9000F007C117D /* Info.plist */, 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, ); path = Runner; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ 331C8080294A63A400263BE5 /* RunnerTests */ = { isa = PBXNativeTarget; buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; buildPhases = ( 331C807D294A63A400263BE5 /* Sources */, 331C807E294A63A400263BE5 /* Frameworks */, 331C807F294A63A400263BE5 /* Resources */, ); buildRules = ( ); dependencies = ( 331C8086294A63A400263BE5 /* PBXTargetDependency */, ); name = RunnerTests; productName = RunnerTests; productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; 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 = { BuildIndependentTargetsInParallel = YES; LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 331C8080294A63A400263BE5 = { CreatedOnToolsVersion = 14.0; TestTargetID = 97C146ED1CF9000F007C117D; }; 97C146ED1CF9000F007C117D = { CreatedOnToolsVersion = 7.3.1; LastSwiftMigration = 1100; }; }; }; buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; compatibilityVersion = "Xcode 9.3"; developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = 97C146E51CF9000F007C117D; productRefGroup = 97C146EF1CF9000F007C117D /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( 97C146ED1CF9000F007C117D /* Runner */, 331C8080294A63A400263BE5 /* RunnerTests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ 331C807F294A63A400263BE5 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; 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 */ 331C807D294A63A400263BE5 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; 97C146EA1CF9000F007C117D /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 97C146ED1CF9000F007C117D /* Runner */; targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency 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 */ 249021D3217E4FDB00AE95B9 /* 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 = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; name = Profile; }; 249021D4217E4FDB00AE95B9 /* Profile */ = { isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.example.example; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Profile; }; 331C8088294A63A400263BE5 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = AE0B7B92F70575B8D7E0D07E /* Pods-RunnerTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; }; name = Debug; }; 331C8089294A63A400263BE5 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 89B67EB44CE7B6631473024E /* Pods-RunnerTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; }; name = Release; }; 331C808A294A63A400263BE5 /* Profile */ = { isa = XCBuildConfiguration; baseConfigurationReference = 640959BDD8F10B91D80A66BE /* Pods-RunnerTests.profile.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; }; 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 = 11.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 = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; name = Release; }; 97C147061CF9000F007C117D /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.example.example; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; }; 97C147071CF9000F007C117D /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.example.example; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 331C8088294A63A400263BE5 /* Debug */, 331C8089294A63A400263BE5 /* Release */, 331C808A294A63A400263BE5 /* Profile */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { isa = XCConfigurationList; buildConfigurations = ( 97C147031CF9000F007C117D /* Debug */, 97C147041CF9000F007C117D /* Release */, 249021D3217E4FDB00AE95B9 /* Profile */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { isa = XCConfigurationList; buildConfigurations = ( 97C147061CF9000F007C117D /* Debug */, 97C147071CF9000F007C117D /* Release */, 249021D4217E4FDB00AE95B9 /* Profile */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = 97C146E61CF9000F007C117D /* Project object */; } ================================================ FILE: example_old/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: example_old/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist ================================================ IDEDidComputeMac32BitWarning ================================================ FILE: example_old/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings ================================================ PreviewsEnabled ================================================ FILE: example_old/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme ================================================ ================================================ FILE: example_old/ios/Runner.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: example_old/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist ================================================ IDEDidComputeMac32BitWarning ================================================ FILE: example_old/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings ================================================ PreviewsEnabled ================================================ FILE: example_old/ios/RunnerTests/RunnerTests.swift ================================================ import Flutter import UIKit import XCTest class RunnerTests: XCTestCase { func testExample() { // If you add code to the Runner application, consider adding tests here. // See https://developer.apple.com/documentation/xctest for more information about using XCTest. } } ================================================ FILE: example_old/lib/main.dart ================================================ import 'package:example/sections/chat.dart'; import 'package:example/sections/chat_stream.dart'; import 'package:example/sections/embed_batch_contents.dart'; import 'package:example/sections/embed_content.dart'; import 'package:example/sections/response_widget_stream.dart'; import 'package:example/sections/stream.dart'; import 'package:example/sections/text_and_image.dart'; import 'package:example/sections/text_only.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; void main() async { /// flutter run --dart-define=apiKey='Your Api Key' Gemini.init( apiKey: const String.fromEnvironment('apiKey'), enableDebugging: true); // Gemini.reInitialize(apiKey: "new api key", enableDebugging: false); runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Gemini', themeMode: ThemeMode.dark, debugShowCheckedModeBanner: false, darkTheme: ThemeData.dark().copyWith( colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue), cardTheme: CardTheme(color: Colors.blue.shade900)), home: const MyHomePage(), ); } } class SectionItem { final int index; final String title; final Widget widget; SectionItem(this.index, this.title, this.widget); } class MyHomePage extends StatefulWidget { const MyHomePage({super.key}); @override State createState() => _MyHomePageState(); } class _MyHomePageState extends State { int _selectedItem = 0; final _sections = [ SectionItem(0, 'Stream text', const SectionTextStreamInput()), SectionItem(1, 'textAndImage', const SectionTextAndImageInput()), SectionItem(2, 'chat', const SectionChat()), SectionItem(3, 'Stream chat', const SectionStreamChat()), SectionItem(4, 'text', const SectionTextInput()), SectionItem(5, 'embedContent', const SectionEmbedContent()), SectionItem(6, 'batchEmbedContents', const SectionBatchEmbedContents()), SectionItem( 7, 'response without setState()', const ResponseWidgetSection()), ]; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Theme.of(context).colorScheme.inversePrimary, title: Text(_selectedItem == 0 ? 'Flutter Gemini' : _sections[_selectedItem].title), actions: [ PopupMenuButton( initialValue: _selectedItem, onSelected: (value) => setState(() => _selectedItem = value), itemBuilder: (context) => _sections.map((e) { return PopupMenuItem(value: e.index, child: Text(e.title)); }).toList(), child: const Icon(Icons.more_vert_rounded), ) ], ), body: IndexedStack( index: _selectedItem, children: _sections.map((e) => e.widget).toList(), ), ); } } ================================================ FILE: example_old/lib/sections/chat.dart ================================================ import 'package:example/widgets/chat_input_box.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; class SectionChat extends StatefulWidget { const SectionChat({super.key}); @override State createState() => _SectionChatState(); } class _SectionChatState extends State { final controller = TextEditingController(); final gemini = Gemini.instance; bool _loading = false; bool get loading => _loading; set loading(bool set) => setState(() => _loading = set); final List chats = []; @override Widget build(BuildContext context) { return Column( children: [ Expanded( child: chats.isNotEmpty ? Align( alignment: Alignment.bottomCenter, child: SingleChildScrollView( reverse: true, child: ListView.builder( itemBuilder: chatItem, shrinkWrap: true, physics: const NeverScrollableScrollPhysics(), itemCount: chats.length, reverse: false, ), ), ) : const Center(child: Text('Search something!'))), if (loading) const CircularProgressIndicator(), ChatInputBox( controller: controller, onSend: () { if (controller.text.isNotEmpty) { final searchedText = controller.text; chats.add( Content(role: 'user', parts: [Parts(text: searchedText)])); controller.clear(); loading = true; gemini.chat(chats).then((value) { chats.add(Content( role: 'model', parts: [Parts(text: value?.output)])); loading = false; }); } }, ), ], ); } Widget chatItem(BuildContext context, int index) { final Content content = chats[index]; return Card( elevation: 0, color: content.role == 'model' ? Colors.blue.shade800 : Colors.transparent, child: Padding( padding: const EdgeInsets.all(8.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text(content.role ?? 'role'), Markdown( shrinkWrap: true, physics: const NeverScrollableScrollPhysics(), data: (content.parts?.lastOrNull as TextPart?)?.text ?? 'cannot generate data!'), ], ), ), ); } } ================================================ FILE: example_old/lib/sections/chat_stream.dart ================================================ import 'package:example/widgets/chat_input_box.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; class SectionStreamChat extends StatefulWidget { const SectionStreamChat({super.key}); @override State createState() => _SectionStreamChatState(); } class _SectionStreamChatState extends State { final controller = TextEditingController(); final gemini = Gemini.instance; bool _loading = false; bool get loading => _loading; set loading(bool set) => setState(() => _loading = set); final List chats = []; @override Widget build(BuildContext context) { return Column( children: [ Expanded( child: chats.isNotEmpty ? Align( alignment: Alignment.bottomCenter, child: SingleChildScrollView( reverse: true, child: ListView.builder( itemBuilder: chatItem, shrinkWrap: true, physics: const NeverScrollableScrollPhysics(), itemCount: chats.length, reverse: false, ), ), ) : const Center(child: Text('Search something!'))), if (loading) const CircularProgressIndicator(), ChatInputBox( controller: controller, onSend: () { if (controller.text.isNotEmpty) { final searchedText = controller.text; chats.add( Content(role: 'user', parts: [Parts(text: searchedText)])); controller.clear(); loading = true; gemini.streamChat(chats).listen((value) { print("-------------------------------"); print(value.output); loading = false; setState(() { if (chats.isNotEmpty && chats.last.role == value.content?.role) { (chats.last.parts?.lastOrNull as TextPart?)?.text = '${(chats.last.parts!.last as TextPart?)?.text}${value.output}'; } else { chats.add(Content( role: 'model', parts: [Parts(text: value.output)])); } }); }); } }, ), ], ); } Widget chatItem(BuildContext context, int index) { final Content content = chats[index]; return Card( elevation: 0, color: content.role == 'model' ? Colors.blue.shade800 : Colors.transparent, child: Padding( padding: const EdgeInsets.all(8.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text(content.role ?? 'role'), Markdown( shrinkWrap: true, physics: const NeverScrollableScrollPhysics(), data: (content.parts?.lastOrNull as TextPart?)?.text ?? 'cannot generate data!'), ], ), ), ); } } ================================================ FILE: example_old/lib/sections/embed_batch_contents.dart ================================================ import 'package:example/widgets/chat_input_box.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import 'package:lottie/lottie.dart'; class SectionBatchEmbedContents extends StatefulWidget { const SectionBatchEmbedContents({super.key}); @override State createState() => _SectionTextInputStreamState(); } class _SectionTextInputStreamState extends State { final controller = TextEditingController(); final gemini = Gemini.instance; String? searchedText; List?>? result; bool _loading = false; bool get loading => _loading; set loading(bool set) => setState(() => _loading = set); @override Widget build(BuildContext context) { return Column( children: [ if (searchedText != null) MaterialButton( color: Colors.blue.shade700, onPressed: () { setState(() { searchedText = null; result = null; }); }, child: Text('search: $searchedText')), Expanded( child: loading ? Lottie.asset('assets/lottie/ai.json') : result != null ? Padding( padding: const EdgeInsets.all(8.0), child: SingleChildScrollView( child: Text(result?.toString() ?? '')), ) : const Center(child: Text('Search something!'))), ChatInputBox( controller: controller, onSend: () { if (controller.text.isNotEmpty) { searchedText = controller.text; controller.clear(); loading = true; gemini.batchEmbedContents([searchedText!]).then((value) { result = value; loading = false; }); } }, ) ], ); } } ================================================ FILE: example_old/lib/sections/embed_content.dart ================================================ import 'package:example/widgets/chat_input_box.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import 'package:lottie/lottie.dart'; class SectionEmbedContent extends StatefulWidget { const SectionEmbedContent({super.key}); @override State createState() => _SectionEmbedContentState(); } class _SectionEmbedContentState extends State { final controller = TextEditingController(); final gemini = Gemini.instance; String? searchedText; List? result; bool _loading = false; bool get loading => _loading; set loading(bool set) => setState(() => _loading = set); @override Widget build(BuildContext context) { return Column( children: [ if (searchedText != null) MaterialButton( color: Colors.blue.shade700, onPressed: () { setState(() { searchedText = null; result = null; }); }, child: Text('search: $searchedText')), Expanded( child: loading ? Lottie.asset('assets/lottie/ai.json') : result != null ? Padding( padding: const EdgeInsets.all(8.0), child: SingleChildScrollView( child: Text(result?.toString() ?? '')), ) : const Center(child: Text('Search something!'))), ChatInputBox( controller: controller, onSend: () { if (controller.text.isNotEmpty) { searchedText = controller.text; controller.clear(); loading = true; gemini.embedContent(searchedText!).then((value) { result = value; loading = false; }); } }, ), ], ); } } ================================================ FILE: example_old/lib/sections/response_widget_stream.dart ================================================ import 'package:example/widgets/chat_input_box.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; import 'package:lottie/lottie.dart'; class ResponseWidgetSection extends StatefulWidget { const ResponseWidgetSection({super.key}); @override State createState() => _SectionTextInputStreamState(); } class _SectionTextInputStreamState extends State { final controller = TextEditingController(); final gemini = Gemini.instance; String? searchedText, result, _finishReason; bool _loading = false; String? get finishReason => _finishReason; bool get loading => _loading; set finishReason(String? set) { if (set != _finishReason) { setState(() => _finishReason = set); } } set loading(bool set) { if (set != loading) { setState(() => _loading = set); } } @override Widget build(BuildContext context) { return Column( children: [ if (searchedText != null) MaterialButton( color: Colors.blue.shade700, onPressed: () { setState(() { searchedText = null; result = null; }); }, child: Text('search: $searchedText')), Expanded( child: loading ? Lottie.asset('assets/lottie/ai.json') : result != null ? Markdown(data: result ?? '') : const Center(child: Text('Search something!'))), if (finishReason != null) Text(finishReason!), ChatInputBox( controller: controller, onSend: () { if (controller.text.isNotEmpty) { searchedText = controller.text; controller.clear(); loading = true; result = null; finishReason = null; gemini .streamGenerateContent(searchedText!, generationConfig: GenerationConfig( maxOutputTokens: 2000, temperature: 0.9, topP: 0.1, topK: 16, )) .listen((value) { result = (result ?? '') + (value.output ?? ''); if (value.finishReason != 'STOP') { finishReason = 'Finish reason is `RECITATION`'; } loading = false; }); } }, ), ], ); } } ================================================ FILE: example_old/lib/sections/stream.dart ================================================ import 'dart:typed_data'; import 'package:example/widgets/chat_input_box.dart'; import 'package:example/widgets/item_image_view.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; import 'package:image_picker/image_picker.dart'; class SectionTextStreamInput extends StatefulWidget { const SectionTextStreamInput({super.key}); @override State createState() => _SectionTextInputStreamState(); } class _SectionTextInputStreamState extends State { final ImagePicker picker = ImagePicker(); final controller = TextEditingController(); final gemini = Gemini.instance; String? searchedText, // result, _finishReason; List? images; String result = ''; String? get finishReason => _finishReason; set finishReason(String? set) { if (set != _finishReason) { setState(() => _finishReason = set); } } @override Widget build(BuildContext context) { return Column( children: [ if (searchedText != null) MaterialButton( color: Colors.blue.shade700, onPressed: () { setState(() { searchedText = null; finishReason = null; // result = null; }); }, child: Text('search: $searchedText')), Expanded(child: Markdown(data: result)), /// if the returned finishReason isn't STOP if (finishReason != null) Text(finishReason!), if (images != null) Container( height: 120, padding: const EdgeInsets.symmetric(horizontal: 4), alignment: Alignment.centerLeft, child: Card( child: ListView.builder( itemBuilder: (context, index) => ItemImageView( bytes: images!.elementAt(index), ), itemCount: images!.length, scrollDirection: Axis.horizontal, ), ), ), /// imported from local widgets ChatInputBox( controller: controller, onClickCamera: () { picker.pickMultiImage().then((value) async { final imagesBytes = []; for (final file in value) { imagesBytes.add(await file.readAsBytes()); } if (imagesBytes.isNotEmpty) { setState(() { images = imagesBytes; }); } }); }, onSend: () { if (controller.text.isNotEmpty) { print('request'); searchedText = controller.text; controller.clear(); gemini .streamGenerateContent(searchedText!, images: images, modelName: 'models/gemini-1.5-flash-latest') .handleError((e) { if (e is GeminiException) { print(e); } }).listen((value) { setState(() { images = null; }); result = (result) + (value.output ?? ''); if (value.finishReason != 'STOP') { finishReason = 'Finish reason is `${value.finishReason}`'; } }); } }, ) ], ); } } ================================================ FILE: example_old/lib/sections/text_and_image.dart ================================================ import 'dart:typed_data'; import 'package:example/widgets/chat_input_box.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; import 'package:image_picker/image_picker.dart'; import 'package:lottie/lottie.dart'; class SectionTextAndImageInput extends StatefulWidget { const SectionTextAndImageInput({super.key}); @override State createState() => _SectionTextAndImageInputState(); } class _SectionTextAndImageInputState extends State { final ImagePicker picker = ImagePicker(); final controller = TextEditingController(); final gemini = Gemini.instance; String? searchedText, result; bool _loading = false; Uint8List? selectedImage; bool get loading => _loading; set loading(bool set) => setState(() => _loading = set); @override Widget build(BuildContext context) { return Column( children: [ if (searchedText != null) MaterialButton( color: Colors.blue.shade700, onPressed: () { setState(() { searchedText = null; result = null; }); }, child: Text('search: $searchedText')), Expanded( child: Padding( padding: const EdgeInsets.all(8.0), child: Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Expanded( flex: 2, child: loading ? Lottie.asset('assets/lottie/ai.json') : result != null ? Markdown( data: result!, padding: const EdgeInsets.symmetric(horizontal: 12), ) : const Center( child: Text('Search something!'), ), ), if (selectedImage != null) Expanded( flex: 1, child: ClipRRect( borderRadius: BorderRadius.circular(32), child: Image.memory( selectedImage!, fit: BoxFit.cover, ), ), ) ], ), ), ), ChatInputBox( controller: controller, onClickCamera: () async { // Capture a photo. final XFile? photo = await picker.pickImage(source: ImageSource.camera); if (photo != null) { photo.readAsBytes().then((value) => setState(() { selectedImage = value; })); } }, onSend: () { if (controller.text.isNotEmpty && selectedImage != null) { searchedText = controller.text; controller.clear(); loading = true; gemini.textAndImage( text: searchedText!, images: [selectedImage!]).then((value) { result = value?.output; loading = false; }); } }, ), ], ); } } ================================================ FILE: example_old/lib/sections/text_only.dart ================================================ import 'package:example/widgets/chat_input_box.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; import 'package:lottie/lottie.dart'; class SectionTextInput extends StatefulWidget { const SectionTextInput({super.key}); @override State createState() => _SectionTextInputState(); } class _SectionTextInputState extends State { final controller = TextEditingController(); final gemini = Gemini.instance; String? searchedText, result; bool _loading = false; bool get loading => _loading; set loading(bool set) => setState(() => _loading = set); @override Widget build(BuildContext context) { return Column( children: [ if (searchedText != null) MaterialButton( color: Colors.blue.shade700, onPressed: () { setState(() { searchedText = null; result = null; }); }, child: Text('search: $searchedText')), Expanded( child: loading ? Lottie.asset('assets/lottie/ai.json') : result != null ? Padding( padding: const EdgeInsets.all(8.0), child: Markdown(data: result!), ) : const Center(child: Text('Search something!'))), ChatInputBox( controller: controller, onSend: () { if (controller.text.isNotEmpty) { searchedText = controller.text; controller.clear(); loading = true; gemini.text(searchedText!).then((value) { result = value?.output; loading = false; }); } }, ), ], ); } } ================================================ FILE: example_old/lib/widgets/chat_input_box.dart ================================================ import 'package:flutter/material.dart'; class ChatInputBox extends StatelessWidget { final TextEditingController? controller; final VoidCallback? onSend, onClickCamera; const ChatInputBox({ super.key, this.controller, this.onSend, this.onClickCamera, }); @override Widget build(BuildContext context) { return Card( margin: const EdgeInsets.all(8), child: Row( crossAxisAlignment: CrossAxisAlignment.end, children: [ if (onClickCamera != null) Padding( padding: const EdgeInsets.all(4.0), child: IconButton( onPressed: onClickCamera, color: Theme.of(context).colorScheme.onSecondary, icon: const Icon(Icons.file_copy_rounded)), ), Expanded( child: TextField( controller: controller, minLines: 1, maxLines: 6, cursorColor: Theme.of(context).colorScheme.inversePrimary, textInputAction: TextInputAction.newline, keyboardType: TextInputType.multiline, decoration: const InputDecoration( contentPadding: EdgeInsets.symmetric(vertical: 10, horizontal: 4), hintText: 'Message', border: InputBorder.none, ), onTapOutside: (event) => FocusManager.instance.primaryFocus?.unfocus(), )), Padding( padding: const EdgeInsets.all(4), child: FloatingActionButton.small( onPressed: onSend, child: const Icon(Icons.send_rounded), ), ) ], ), ); } } ================================================ FILE: example_old/lib/widgets/item_image_view.dart ================================================ import 'dart:typed_data'; import 'package:flutter/material.dart'; class ItemImageView extends StatelessWidget { final Uint8List bytes; const ItemImageView({super.key, required this.bytes}); @override Widget build(BuildContext context) { return Padding( padding: const EdgeInsets.all(4), child: ClipRRect( borderRadius: BorderRadius.circular(12), child: Image.memory( bytes, width: 110, height: 110, fit: BoxFit.cover, ), ), ); } } ================================================ FILE: example_old/linux/.gitignore ================================================ flutter/ephemeral ================================================ FILE: example_old/linux/CMakeLists.txt ================================================ # 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 "example") # The unique GTK application identifier for this application. See: # https://wiki.gnome.org/HowDoI/ChooseApplicationID set(APPLICATION_ID "com.example.example") # 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() ================================================ FILE: example_old/linux/flutter/CMakeLists.txt ================================================ # 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} ) ================================================ FILE: example_old/linux/flutter/generated_plugin_registrant.cc ================================================ // // Generated file. Do not edit. // // clang-format off #include "generated_plugin_registrant.h" #include void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) file_selector_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin"); file_selector_plugin_register_with_registrar(file_selector_linux_registrar); } ================================================ FILE: example_old/linux/flutter/generated_plugin_registrant.h ================================================ // // Generated file. Do not edit. // // clang-format off #ifndef GENERATED_PLUGIN_REGISTRANT_ #define GENERATED_PLUGIN_REGISTRANT_ #include // Registers Flutter plugins. void fl_register_plugins(FlPluginRegistry* registry); #endif // GENERATED_PLUGIN_REGISTRANT_ ================================================ FILE: example_old/linux/flutter/generated_plugins.cmake ================================================ # # Generated file, do not edit. # list(APPEND FLUTTER_PLUGIN_LIST file_selector_linux ) list(APPEND FLUTTER_FFI_PLUGIN_LIST ) set(PLUGIN_BUNDLED_LIBRARIES) foreach(plugin ${FLUTTER_PLUGIN_LIST}) add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) list(APPEND PLUGIN_BUNDLED_LIBRARIES $) list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) endforeach(plugin) foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) endforeach(ffi_plugin) ================================================ FILE: example_old/linux/main.cc ================================================ #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); } ================================================ FILE: example_old/linux/my_application.cc ================================================ #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, "example"); 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, "example"); } 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)); } ================================================ FILE: example_old/linux/my_application.h ================================================ #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_ ================================================ FILE: example_old/macos/.gitignore ================================================ # Flutter-related **/Flutter/ephemeral/ **/Pods/ # Xcode-related **/dgph **/xcuserdata/ ================================================ FILE: example_old/macos/Flutter/Flutter-Debug.xcconfig ================================================ #include "ephemeral/Flutter-Generated.xcconfig" ================================================ FILE: example_old/macos/Flutter/Flutter-Release.xcconfig ================================================ #include "ephemeral/Flutter-Generated.xcconfig" ================================================ FILE: example_old/macos/Flutter/GeneratedPluginRegistrant.swift ================================================ // // Generated file. Do not edit. // import FlutterMacOS import Foundation import file_selector_macos func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin")) } ================================================ FILE: example_old/macos/Runner/AppDelegate.swift ================================================ import Cocoa import FlutterMacOS @NSApplicationMain class AppDelegate: FlutterAppDelegate { override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { return true } } ================================================ FILE: example_old/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "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" } } ================================================ FILE: example_old/macos/Runner/Base.lproj/MainMenu.xib ================================================ ================================================ FILE: example_old/macos/Runner/Configs/AppInfo.xcconfig ================================================ // 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 = example // The application's bundle identifier PRODUCT_BUNDLE_IDENTIFIER = com.example.example // The copyright displayed in application information PRODUCT_COPYRIGHT = Copyright © 2023 com.example. All rights reserved. ================================================ FILE: example_old/macos/Runner/Configs/Debug.xcconfig ================================================ #include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig" ================================================ FILE: example_old/macos/Runner/Configs/Release.xcconfig ================================================ #include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig" ================================================ FILE: example_old/macos/Runner/Configs/Warnings.xcconfig ================================================ 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 ================================================ FILE: example_old/macos/Runner/DebugProfile.entitlements ================================================ com.apple.security.app-sandbox com.apple.security.cs.allow-jit com.apple.security.network.server ================================================ FILE: example_old/macos/Runner/Info.plist ================================================ 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 ================================================ FILE: example_old/macos/Runner/MainFlutterWindow.swift ================================================ 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() } } ================================================ FILE: example_old/macos/Runner/Release.entitlements ================================================ com.apple.security.app-sandbox ================================================ FILE: example_old/macos/Runner.xcodeproj/project.pbxproj ================================================ // !$*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 */ 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C80D7294CF71000263BE5 /* RunnerTests.swift */; }; 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 */ 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 33CC10E52044A3C60003C045 /* Project object */; proxyType = 1; remoteGlobalIDString = 33CC10EC2044A3C60003C045; remoteInfo = Runner; }; 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 */ 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 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 /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example.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 */ 331C80D2294CF70F00263BE5 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; 33CC10EA2044A3C60003C045 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 331C80D6294CF71000263BE5 /* RunnerTests */ = { isa = PBXGroup; children = ( 331C80D7294CF71000263BE5 /* RunnerTests.swift */, ); path = RunnerTests; sourceTree = ""; }; 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 */, 331C80D6294CF71000263BE5 /* RunnerTests */, 33CC10EE2044A3C60003C045 /* Products */, D73912EC22F37F3D000D13A0 /* Frameworks */, ); sourceTree = ""; }; 33CC10EE2044A3C60003C045 /* Products */ = { isa = PBXGroup; children = ( 33CC10ED2044A3C60003C045 /* example.app */, 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, ); 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 */ 331C80D4294CF70F00263BE5 /* RunnerTests */ = { isa = PBXNativeTarget; buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; buildPhases = ( 331C80D1294CF70F00263BE5 /* Sources */, 331C80D2294CF70F00263BE5 /* Frameworks */, 331C80D3294CF70F00263BE5 /* Resources */, ); buildRules = ( ); dependencies = ( 331C80DA294CF71000263BE5 /* PBXTargetDependency */, ); name = RunnerTests; productName = RunnerTests; productReference = 331C80D5294CF71000263BE5 /* RunnerTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; 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 /* example.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 33CC10E52044A3C60003C045 /* Project object */ = { isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0920; LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 331C80D4294CF70F00263BE5 = { CreatedOnToolsVersion = 14.0; TestTargetID = 33CC10EC2044A3C60003C045; }; 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 */, 331C80D4294CF70F00263BE5 /* RunnerTests */, 33CC111A2044C6BA0003C045 /* Flutter Assemble */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ 331C80D3294CF70F00263BE5 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; 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 */ 331C80D1294CF70F00263BE5 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; 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 */ 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 33CC10EC2044A3C60003C045 /* Runner */; targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */; }; 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 */ 331C80DB294CF71000263BE5 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/example"; }; name = Debug; }; 331C80DC294CF71000263BE5 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/example"; }; name = Release; }; 331C80DD294CF71000263BE5 /* Profile */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.example.example.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/example"; }; name = Profile; }; 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 */ 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 331C80DB294CF71000263BE5 /* Debug */, 331C80DC294CF71000263BE5 /* Release */, 331C80DD294CF71000263BE5 /* Profile */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 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 */; } ================================================ FILE: example_old/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist ================================================ IDEDidComputeMac32BitWarning ================================================ FILE: example_old/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme ================================================ ================================================ FILE: example_old/macos/Runner.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: example_old/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist ================================================ IDEDidComputeMac32BitWarning ================================================ FILE: example_old/macos/RunnerTests/RunnerTests.swift ================================================ import FlutterMacOS import Cocoa import XCTest class RunnerTests: XCTestCase { func testExample() { // If you add code to the Runner application, consider adding tests here. // See https://developer.apple.com/documentation/xctest for more information about using XCTest. } } ================================================ FILE: example_old/pubspec.yaml ================================================ name: example description: A new Flutter project. # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev # The following defines the version and build number for your application. # A version number is three numbers separated by dots, like 1.2.43 # followed by an optional build number separated by a +. # Both the version and the builder number may be overridden in flutter # build by specifying --build-name and --build-number, respectively. # In Android, build-name is used as versionName while build-number used as versionCode. # Read more about Android versioning at https://developer.android.com/studio/publish/versioning # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. version: 1.0.0+1 environment: sdk: '>=3.1.3 <4.0.0' # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions # consider running `flutter pub upgrade --major-versions`. Alternatively, # dependencies can be manually updated by changing the version numbers below to # the latest version available on pub.dev. To see which dependencies have newer # versions available, run `flutter pub outdated`. 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.2 flutter_gemini: path: ../ lottie: ^2.7.0 flutter_markdown: ^0.6.18+2 image_picker: ^1.0.5 dev_dependencies: flutter_test: sdk: flutter # The "flutter_lints" package below contains a set of recommended lints to # encourage good coding practices. The lint set provided by the package is # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. flutter_lints: ^2.0.0 # 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 packages. 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: - assets/lottie/ # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/assets-and-images/#resolution-aware # For details regarding adding assets from package dependencies, see # https://flutter.dev/assets-and-images/#from-packages # To add custom fonts to your application, add a fonts section here, # in this "flutter" section. Each entry in this list should have a # "family" key with the font family name, and a "fonts" key with a # list giving the asset and other descriptors for the font. For # example: # fonts: # - family: Schyler # fonts: # - asset: fonts/Schyler-Regular.ttf # - asset: fonts/Schyler-Italic.ttf # style: italic # - family: Trajan Pro # fonts: # - asset: fonts/TrajanPro.ttf # - asset: fonts/TrajanPro_Bold.ttf # weight: 700 # # For details regarding fonts from package dependencies, # see https://flutter.dev/custom-fonts/#from-packages ================================================ FILE: example_old/test/widget_test.dart ================================================ // This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the values of widget properties are correct. import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:example/main.dart'; void main() { testWidgets('Counter increments smoke test', (WidgetTester tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MyApp()); // Verify that our counter starts at 0. expect(find.text('0'), findsOneWidget); expect(find.text('1'), findsNothing); // Tap the '+' icon and trigger a frame. await tester.tap(find.byIcon(Icons.add)); await tester.pump(); // Verify that our counter has incremented. expect(find.text('0'), findsNothing); expect(find.text('1'), findsOneWidget); }); } ================================================ FILE: example_old/web/index.html ================================================ Flutter Gemini ================================================ FILE: example_old/web/manifest.json ================================================ { "name": "example", "short_name": "example", "start_url": ".", "display": "standalone", "background_color": "#0175C2", "theme_color": "#0175C2", "description": "A new Flutter project.", "orientation": "portrait-primary", "prefer_related_applications": false, "icons": [ { "src": "icons/Icon-192.png", "sizes": "192x192", "type": "image/png" }, { "src": "icons/Icon-512.png", "sizes": "512x512", "type": "image/png" }, { "src": "icons/Icon-maskable-192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" }, { "src": "icons/Icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" } ] } ================================================ FILE: example_old/windows/.gitignore ================================================ flutter/ephemeral/ # Visual Studio user-specific files. *.suo *.user *.userosscache *.sln.docstates # Visual Studio build-related files. x64/ x86/ # Visual Studio cache files # files ending in .cache can be ignored *.[Cc]ache # but keep track of directories ending in .cache !*.[Cc]ache/ ================================================ FILE: example_old/windows/CMakeLists.txt ================================================ # Project-level configuration. cmake_minimum_required(VERSION 3.14) project(example 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 "example") # 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) ================================================ FILE: example_old/windows/flutter/CMakeLists.txt ================================================ # 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") # === 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" windows-x64 $ VERBATIM ) add_custom_target(flutter_assemble DEPENDS "${FLUTTER_LIBRARY}" ${FLUTTER_LIBRARY_HEADERS} ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN} ${CPP_WRAPPER_SOURCES_APP} ) ================================================ FILE: example_old/windows/flutter/generated_plugin_registrant.cc ================================================ // // Generated file. Do not edit. // // clang-format off #include "generated_plugin_registrant.h" #include void RegisterPlugins(flutter::PluginRegistry* registry) { FileSelectorWindowsRegisterWithRegistrar( registry->GetRegistrarForPlugin("FileSelectorWindows")); } ================================================ FILE: example_old/windows/flutter/generated_plugin_registrant.h ================================================ // // Generated file. Do not edit. // // clang-format off #ifndef GENERATED_PLUGIN_REGISTRANT_ #define GENERATED_PLUGIN_REGISTRANT_ #include // Registers Flutter plugins. void RegisterPlugins(flutter::PluginRegistry* registry); #endif // GENERATED_PLUGIN_REGISTRANT_ ================================================ FILE: example_old/windows/flutter/generated_plugins.cmake ================================================ # # Generated file, do not edit. # list(APPEND FLUTTER_PLUGIN_LIST file_selector_windows ) list(APPEND FLUTTER_FFI_PLUGIN_LIST ) set(PLUGIN_BUNDLED_LIBRARIES) foreach(plugin ${FLUTTER_PLUGIN_LIST}) add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) list(APPEND PLUGIN_BUNDLED_LIBRARIES $) list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) endforeach(plugin) foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) endforeach(ffi_plugin) ================================================ FILE: example_old/windows/runner/CMakeLists.txt ================================================ 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_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib") 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) ================================================ FILE: example_old/windows/runner/Runner.rc ================================================ // 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", "com.example" "\0" VALUE "FileDescription", "example" "\0" VALUE "FileVersion", VERSION_AS_STRING "\0" VALUE "InternalName", "example" "\0" VALUE "LegalCopyright", "Copyright (C) 2023 com.example. All rights reserved." "\0" VALUE "OriginalFilename", "example.exe" "\0" VALUE "ProductName", "example" "\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 ================================================ FILE: example_old/windows/runner/flutter_window.cpp ================================================ #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); } ================================================ FILE: example_old/windows/runner/flutter_window.h ================================================ #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_ ================================================ FILE: example_old/windows/runner/main.cpp ================================================ #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"example", origin, size)) { return EXIT_FAILURE; } window.SetQuitOnClose(true); ::MSG msg; while (::GetMessage(&msg, nullptr, 0, 0)) { ::TranslateMessage(&msg); ::DispatchMessage(&msg); } ::CoUninitialize(); return EXIT_SUCCESS; } ================================================ FILE: example_old/windows/runner/resource.h ================================================ //{{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 ================================================ FILE: example_old/windows/runner/runner.exe.manifest ================================================ PerMonitorV2 ================================================ FILE: example_old/windows/runner/utils.cpp ================================================ #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 int input_length = (int)wcslen(utf16_string); 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, input_length, utf8_string.data(), target_length, nullptr, nullptr); if (converted_length == 0) { return std::string(); } return utf8_string; } ================================================ FILE: example_old/windows/runner/utils.h ================================================ #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_ ================================================ FILE: example_old/windows/runner/win32_window.cpp ================================================ #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)); } } ================================================ FILE: example_old/windows/runner/win32_window.h ================================================ #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_ ================================================ FILE: lib/flutter_gemini.dart ================================================ library flutter_gemini; export 'src/init.dart'; export 'src/models/gemini_model/gemini_model.dart'; export 'src/models/candidates/candidates.dart'; export 'src/models/gemini_response/gemini_response.dart'; export 'src/models/gemini_safety/gemini_safety.dart'; export 'src/models/content/content.dart'; export 'src/models/parts/parts.dart'; export 'src/models/generation_config/generation_config.dart'; export 'src/models/gemini_safety/gemini_safety_category.dart'; export 'src/models/gemini_safety/gemini_safety_threshold.dart'; export 'src/utils/candidate_extension.dart'; export 'src/utils/gemini_exception.dart'; export 'src/models/part/part.dart' show FileDataPart, FilePart, TextPart, Part, InlineData, InlinePart; ================================================ FILE: lib/src/config/constants.dart ================================================ import '../models/gemini_model/gemini_model.dart'; class Constants { Constants._(); static const String defaultModel = 'models/gemini-2.5-flash'; static const String defaultVersion = 'v1'; static const String defaultGenerateType = 'generateContent'; static const String baseUrl = 'https://generativelanguage.googleapis.com/'; static List get geminiDefaultModels => [ { "name": "models/gemini-2.5-pro", "version": "001", "displayName": "Gemini 2.5 Pro", "description": "Our most powerful thinking model with maximum response accuracy and state-of-the-art performance. Best for complex coding, reasoning, and multimodal understanding.", "inputTokenLimit": 1048576, "outputTokenLimit": 65536, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.9, "topP": 1, "topK": 32 }, { "name": "models/gemini-2.5-flash", "version": "001", "displayName": "Gemini 2.5 Flash", "description": "Our best model in terms of price-performance, offering well-rounded capabilities. Best for low latency, high volume tasks that require thinking.", "inputTokenLimit": 1048576, "outputTokenLimit": 65536, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.4, "topP": 1, "topK": 32 }, { "name": "models/gemini-2.5-flash-lite", "version": "001", "displayName": "Gemini 2.5 Flash-Lite", "description": "A Gemini 2.5 Flash model optimized for cost-efficiency and high throughput.", "inputTokenLimit": 1048576, "outputTokenLimit": 65536, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.4, "topP": 1, "topK": 32 }, { "name": "models/gemini-2.0-flash-001", "version": "001", "displayName": "Gemini 2.0 Flash", "description": "Second generation model with next-gen features including superior speed, native tool use, and 1M token context window.", "inputTokenLimit": 1048576, "outputTokenLimit": 8192, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.4, "topP": 1, "topK": 32 }, { "name": "models/gemini-2.0-flash-lite-001", "version": "001", "displayName": "Gemini 2.0 Flash-Lite", "description": "A Gemini 2.0 Flash model optimized for cost efficiency and low latency.", "inputTokenLimit": 1048576, "outputTokenLimit": 8192, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.4, "topP": 1, "topK": 32 }, { "name": "models/gemini-1.5-flash", "version": "002", "displayName": "Gemini 1.5 Flash", "description": "Fast and versatile multimodal model for scaling across diverse tasks. (Previous generation)", "inputTokenLimit": 1048576, "outputTokenLimit": 8192, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.4, "topP": 1, "topK": 32 }, { "name": "models/gemini-1.5-pro", "version": "002", "displayName": "Gemini 1.5 Pro", "description": "Mid-size multimodal model optimized for wide-range reasoning tasks. Can process large amounts of data. (Previous generation)", "inputTokenLimit": 2097152, "outputTokenLimit": 8192, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.9, "topP": 1, "topK": 32 }, { "name": "models/gemini-embedding-001", "version": "001", "displayName": "Gemini Embedding", "description": "Obtain a distributed representation of a text with latest embedding capabilities.", "inputTokenLimit": 2048, "outputTokenLimit": 1, "supportedGenerationMethods": ["embedContent", "countTokens"] }, { "name": "models/text-embedding-005", "version": "005", "displayName": "Text Embedding 005", "description": "Latest text embedding model with improved performance.", "inputTokenLimit": 2048, "outputTokenLimit": 1, "supportedGenerationMethods": ["embedContent", "countTokens"] }, { "name": "models/text-embedding-004", "version": "004", "displayName": "Text Embedding 004", "description": "Text embedding model with robust performance.", "inputTokenLimit": 2048, "outputTokenLimit": 1, "supportedGenerationMethods": ["embedContent", "countTokens"] }, { "name": "models/text-multilingual-embedding-002", "version": "002", "displayName": "Multilingual Text Embedding", "description": "Multilingual text embedding model supporting various languages.", "inputTokenLimit": 2048, "outputTokenLimit": 1, "supportedGenerationMethods": ["embedContent", "countTokens"] } ].map((e) => GeminiModel.fromJson(e)).toList(); static List get geminiLiveModels => [ { "name": "models/gemini-live-2.5-flash-preview", "version": "preview", "displayName": "Gemini 2.5 Flash Live", "description": "Low-latency bidirectional voice and video interactions with Gemini 2.5 Flash.", "inputTokenLimit": 1048576, "outputTokenLimit": 8192, "supportedGenerationMethods": ["generateContent", "liveApi"], "temperature": 0.4, "topP": 1, "topK": 32 }, { "name": "models/gemini-2.0-flash-live-001", "version": "001", "displayName": "Gemini 2.0 Flash Live", "description": "Low-latency bidirectional voice and video interactions with Gemini 2.0 Flash.", "inputTokenLimit": 1048576, "outputTokenLimit": 8192, "supportedGenerationMethods": ["generateContent", "liveApi"], "temperature": 0.4, "topP": 1, "topK": 32 } ].map((e) => GeminiModel.fromJson(e)).toList(); static List get geminiSpecializedModels => [ { "name": "models/gemini-2.5-flash-image-preview", "version": "preview", "displayName": "Gemini 2.5 Flash Image", "description": "Generate and edit images conversationally with Gemini 2.5 Flash.", "inputTokenLimit": 32768, "outputTokenLimit": 32768, "supportedGenerationMethods": ["generateContent", "imageGeneration"] }, { "name": "models/gemini-2.0-flash-preview-image-generation", "version": "preview", "displayName": "Gemini 2.0 Flash Image Generation", "description": "Generate and edit images conversationally with Gemini 2.0 Flash.", "inputTokenLimit": 32000, "outputTokenLimit": 8192, "supportedGenerationMethods": ["generateContent", "imageGeneration"] }, { "name": "models/gemini-2.5-flash-preview-tts", "version": "preview", "displayName": "Gemini 2.5 Flash TTS", "description": "Price-performant text-to-speech model with high control and transparency.", "inputTokenLimit": 8000, "outputTokenLimit": 16000, "supportedGenerationMethods": ["textToSpeech"] }, { "name": "models/gemini-2.5-pro-preview-tts", "version": "preview", "displayName": "Gemini 2.5 Pro TTS", "description": "Most powerful text-to-speech model with high control and transparency.", "inputTokenLimit": 8000, "outputTokenLimit": 16000, "supportedGenerationMethods": ["textToSpeech"] } ].map((e) => GeminiModel.fromJson(e)).toList(); static List get allGeminiModels => [ ...geminiDefaultModels, ...geminiLiveModels, ...geminiSpecializedModels, ]; } ================================================ FILE: lib/src/implement/gemini_implement.dart ================================================ import 'dart:async'; import 'dart:typed_data'; import 'package:flutter_gemini/flutter_gemini.dart'; import 'package:flutter_gemini/src/config/constants.dart'; import 'package:flutter_gemini/src/utils/gemini_data_builder.dart'; import 'package:flutter_gemini/src/utils/gemini_model_manager.dart'; import 'package:flutter_gemini/src/utils/gemini_request_handler.dart'; import 'package:flutter_gemini/src/utils/gemini_response_parser.dart'; import 'package:flutter_gemini/src/repository/gemini_interface.dart'; import 'gemini_service.dart'; /// [GeminiImpl] /// In this class we declare and implement all the functions body class GeminiImpl implements GeminiInterface { final GeminiService _api; final GeminiRequestHandler _requestHandler; final GeminiModelManager _modelManager; GeminiImpl({ required GeminiService api, List? safetySettings, GenerationConfig? generationConfig, }) : _api = api, _requestHandler = GeminiRequestHandler(api), _modelManager = GeminiModelManager(api) { _api ..safetySettings = safetySettings ..generationConfig = generationConfig; } @override Future?>?> batchEmbedContents( List texts, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }) async { final resolvedModel = await _modelManager.resolveModelName( userModel: modelName, expectedModel: 'embedding-001'); return _requestHandler.executeRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$resolvedModel:batchEmbedContents', data: GeminiDataBuilder.buildBatchEmbedData(texts), responseParser: GeminiResponseParser.parseBatchEmbeddingResponse, ); } @override Future chat( List chats, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, String? systemPrompt, }) async { final resolvedModel = await _modelManager.resolveModelName( userModel: modelName, expectedModel: Constants.defaultModel); return _requestHandler.executeRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$resolvedModel:${Constants.defaultGenerateType}', data: GeminiDataBuilder.buildChatData(chats, systemPrompt), responseParser: GeminiResponseParser.parseGenerateResponse, ); } @override Future countTokens( String text, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }) async { final resolvedModel = await _modelManager.resolveModelName( userModel: modelName, expectedModel: Constants.defaultModel); return _requestHandler.executeRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$resolvedModel:countTokens', data: GeminiDataBuilder.buildTextData(text), responseParser: (data) => data['totalTokens'], ); } @override Future?> embedContent( String text, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }) async { final resolvedModel = await _modelManager.resolveModelName( userModel: modelName, expectedModel: 'embedding-001'); return _requestHandler.executeRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$resolvedModel:embedContent', data: GeminiDataBuilder.buildEmbedData(text), responseParser: (data) => (data['embedding']['values'] as List).cast(), ); } @override Future info({required String model}) async { return _requestHandler.executeRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$model', isGetRequest: true, responseParser: (data) => GeminiModel.fromJson(data), ); } @override Future> listModels() async { return _requestHandler.executeRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/models', isGetRequest: true, responseParser: (data) => GeminiModel.jsonToList(data['models']), ); } @override Future text( String text, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }) async { final resolvedModel = await _modelManager.resolveModelName( userModel: modelName, expectedModel: Constants.defaultModel); final candidate = await _requestHandler.executeRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$resolvedModel:${Constants.defaultGenerateType}', data: GeminiDataBuilder.buildTextData(text), responseParser: GeminiResponseParser.parseGenerateResponse, ); Gemini.instance.typeProvider?.add(candidate?.output); return candidate; } @override Future textAndImage({ required String text, required List images, String? modelName, List? safetySettings, GenerationConfig? generationConfig, }) async { final resolvedModel = await _modelManager.resolveModelName( userModel: modelName, expectedModel: 'gemini-1.5-flash'); return _requestHandler.executeRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$resolvedModel:${Constants.defaultGenerateType}', data: GeminiDataBuilder.buildTextAndImageData(text, images), responseParser: GeminiResponseParser.parseGenerateResponse, ); } @override Future prompt({ required List parts, String? model, List? safetySettings, GenerationConfig? generationConfig, }) async { final resolvedModel = await _modelManager.resolveModelName( userModel: model, expectedModel: Constants.defaultModel); return _requestHandler.executeRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$resolvedModel:${Constants.defaultGenerateType}', data: GeminiDataBuilder.buildPromptData(parts), responseParser: GeminiResponseParser.parseGenerateResponse, ); } @override Stream streamChat( List chats, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }) async* { final resolvedModel = await _modelManager.resolveModelName( userModel: modelName, expectedModel: Constants.defaultModel); yield* _requestHandler.executeStreamRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$resolvedModel:streamGenerateContent', data: GeminiDataBuilder.buildChatData(chats, null), ); } @override Stream streamGenerateContent( String text, { List? images, String? modelName, List? safetySettings, GenerationConfig? generationConfig, }) async* { final resolvedModel = await _modelManager.resolveModelName( userModel: modelName, expectedModel: Constants.defaultModel); yield* _requestHandler.executeStreamRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$resolvedModel:streamGenerateContent', data: GeminiDataBuilder.buildTextAndImageData(text, images), ); } @override Stream promptStream({ required List parts, String? model, List? safetySettings, GenerationConfig? generationConfig, }) async* { final resolvedModel = await _modelManager.resolveModelName( userModel: model, expectedModel: Constants.defaultModel); yield* _requestHandler.executeStreamRequest( endpoint: '${Constants.baseUrl}${Constants.defaultVersion}/$resolvedModel:streamGenerateContent', data: GeminiDataBuilder.buildPromptData(parts), ); } @override Future cancelRequest() => _api.cancelRequest(); } ================================================ FILE: lib/src/implement/gemini_service.dart ================================================ import 'dart:convert'; import 'package:dio/dio.dart'; import 'package:flutter_gemini/src/repository/api_interface.dart'; import 'package:flutter_gemini/src/utils/gemini_exception_handler_mixin.dart'; import '../init.dart'; import '../models/gemini_safety/gemini_safety.dart'; import '../models/generation_config/generation_config.dart'; /// [GeminiService] is an API helper service class that extends [ApiInterface] and mixes in [GeminiExceptionHandler]. /// This service is used for making HTTP requests (POST, GET) to interact with the Gemini API. class GeminiService extends ApiInterface with GeminiExceptionHandler { final Dio dio; // Dio instance for making HTTP requests. final String apiKey; // The API key for authenticating requests. CancelToken? cancelToken; // Token used to cancel HTTP requests. /// Constructor for [GeminiService]. Optionally enables logging for debugging. GeminiService(this.dio, {required this.apiKey}) { if ((Gemini.enableDebugging ?? false)) { dio.interceptors.add(LogInterceptor( requestBody: true, responseBody: true)); // Adds logging if debugging is enabled. } } /// Sends a POST request to the Gemini API. /// /// [route] is the endpoint route. /// [data] contains the body of the request. /// [generationConfig] configures generation parameters for the request. /// [safetySettings] configures safety settings for the request. /// [isStreamResponse] determines whether the response should be streamed. @override Future post( String route, { required Map? data, GenerationConfig? generationConfig, List? safetySettings, bool isStreamResponse = false, }) async { cancelToken ??= CancelToken(); // Ensure cancelToken is initialized. // If safetySettings are provided, include them in the request data. if (safetySettings != null || this.safetySettings != null) { final listSafetySettings = safetySettings ?? this.safetySettings ?? []; final items = []; for (final safetySetting in listSafetySettings) { items.add({ 'category': safetySetting.category.value, 'threshold': safetySetting.threshold.value, }); } data?['safetySettings'] = items; // Add safety settings to data. } // If generationConfig is provided, include it in the request data. if (generationConfig != null || this.generationConfig != null) { data?['generationConfig'] = generationConfig?.toJson() ?? this.generationConfig?.toJson() ?? {}; } // Make the POST request using Dio. return handler(() => dio.post( route, data: jsonEncode(data), // Encode the data as JSON. queryParameters: { 'key': apiKey }, // Include the API key in the query parameters. options: Options( responseType: isStreamResponse == true ? ResponseType.stream : null), // Set response type if streaming is enabled. cancelToken: cancelToken, // Attach the cancel token. )); } /// Sends a GET request to the Gemini API. /// /// [route] is the endpoint route. @override Future get(String route) async { cancelToken ??= CancelToken(); // Ensure cancelToken is initialized. // Make the GET request using Dio. return handler(() => dio.get(route, queryParameters: { 'key': apiKey }, // Include the API key in the query parameters. cancelToken: cancelToken)); // Attach the cancel token. } /// Cancels an ongoing request if it exists. Future cancelRequest() async { if (cancelToken != null) { cancelToken!.cancel(); // Cancel the request. cancelToken = null; // Nullify the cancel token. } } } ================================================ FILE: lib/src/init.dart ================================================ import 'dart:async'; import 'dart:typed_data'; import 'package:flutter_gemini/src/models/candidates/candidates.dart'; import 'package:flutter_gemini/src/models/part/part.dart'; import 'config/constants.dart'; import 'implement/gemini_service.dart'; import 'models/content/content.dart'; import 'models/gemini_model/gemini_model.dart'; import 'models/generation_config/generation_config.dart'; import 'repository/gemini_interface.dart'; import 'package:dio/dio.dart'; import 'implement/gemini_implement.dart'; import 'models/gemini_safety/gemini_safety.dart'; /// [Gemini] /// Flutter Google Gemini SDK. Google Gemini is a set of cutting-edge large language models /// (LLMs) designed to be the driving force behind Google's future AI initiatives. /// implements [GeminiInterface] /// and [GeminiInterface] defines all methods of Gemini /// Here's a simple example of using this API: /// /// ```dart /// const apiKey = 'AIza...'; /// /// void main() async { /// Gemini.init(apiKey: apiKey); /// final prompt = Gemini.instance.prompt(parts: [ /// Part.text('Write a story about a magic backpack.'), /// ]); /// print(prompt?.output); /// } /// ``` class Gemini implements GeminiInterface { /// [enableDebugging] /// to see request progress static bool? enableDebugging = false; /// Private constructor for initializing the Gemini instance. This constructor /// is used internally to configure the Gemini service with the necessary API key, /// optional configuration settings, and safety options. /// /// **Parameters:** /// - `apiKey` (required String): The API key required to authenticate requests. /// - `baseURL` (optional String): The base URL for the API, defaults to a predefined constant if not provided. /// - `headers` (optional Map): Custom headers to include in the API requests. /// - `safetySettings` (optional List): Optional safety settings to apply to the API requests. /// - `generationConfig` (optional GenerationConfig): Configuration related to text generation, such as model parameters. /// - `version` (optional String): The API version to use. Defaults to a predefined constant if not provided. /// - `disableAutoUpdateModelName` (optional bool, default false): Flag to disable auto-updating of the model name. Gemini._({ /// [apiKey] is required property required String apiKey, String? baseURL, Map? headers, /// theses properties are optional List? safetySettings, GenerationConfig? generationConfig, String? version, this.disableAutoUpdateModelName = false, }) : _impl = GeminiImpl( api: GeminiService( Dio(BaseOptions( baseUrl: '${baseURL ?? Constants.baseUrl}${version ?? Constants.defaultVersion}/', contentType: 'application/json', headers: headers, )), apiKey: apiKey), safetySettings: safetySettings, generationConfig: generationConfig, ); /// singleton [instance] from main [Gemini] class static late Gemini instance; static bool _firstInit = true; /// initial properties /// - [_impl] functions logic GeminiImpl _impl; /// [Gemini] /// Flutter Google Gemini SDK. Google Gemini is a set of cutting-edge large language models /// (LLMs) designed to be the driving force behind Google's future AI initiatives. /// implements [GeminiInterface] /// and [GeminiInterface] defines all methods of Gemini /// Here's a simple example of using this API: /// /// ```dart /// const apiKey = 'AIza...'; /// /// void main() async { /// Gemini.init(apiKey: apiKey); /// final prompt = Gemini.instance.prompt(parts: [ /// Part.text('Write a story about a magic backpack.'), /// ]); /// print(prompt?.output); /// } /// ``` /// /// Factory method to initialize and return a singleton instance of `Gemini`. /// This method is used to configure and initialize the Gemini instance for the first time. /// It ensures that only one instance of `Gemini` is created throughout the lifecycle of the application. /// /// **Parameters:** /// - `apiKey` (required String): The API key for authenticating requests. /// - `baseURL` (optional String): The base URL for the API. /// - `headers` (optional Map): Custom headers for API requests. /// - `safetySettings` (optional List): Safety settings to configure content filtering. /// - `generationConfig` (optional GenerationConfig): Configuration for text generation. /// - `enableDebugging` (optional bool): Flag to enable debugging (logs, verbose output). /// - `version` (optional String): The API version to use. /// - `disableAutoUpdateModelName` (default false): Flag to disable automatic model name updates. factory Gemini.init({ required String apiKey, String? baseURL, Map? headers, List? safetySettings, GenerationConfig? generationConfig, bool? enableDebugging, String? version, bool disableAutoUpdateModelName = false, }) { Gemini.enableDebugging = enableDebugging; if (_firstInit) { _firstInit = false; instance = Gemini._( apiKey: apiKey, baseURL: baseURL, headers: headers, safetySettings: safetySettings, generationConfig: generationConfig, version: version, disableAutoUpdateModelName: disableAutoUpdateModelName, ); } return instance; } factory Gemini.reInitialize({ required String apiKey, String? baseURL, Map? headers, List? safetySettings, GenerationConfig? generationConfig, bool? enableDebugging, String? version, bool disableAutoUpdateModelName = false, }) { Gemini.enableDebugging = enableDebugging; instance = Gemini._( apiKey: apiKey, baseURL: baseURL, headers: headers, safetySettings: safetySettings, generationConfig: generationConfig, version: version, disableAutoUpdateModelName: disableAutoUpdateModelName, ); return instance; } /// Facilitates a chat interaction by processing a list of `Content` objects /// (representing chat messages) and generating a response. /// /// **Parameters:** /// - `chats` (List): A list of chat messages in the conversation. Each /// message is represented as a `Content` object. /// - `modelName` (String?, optional): The name of the AI model to use for the /// chat. Defaults to the system's preferred model if not provided. /// - `safetySettings` (List?, optional): Configures safety /// settings for the response, such as filtering sensitive content. /// - `generationConfig` (GenerationConfig?, optional): Controls the response /// generation behavior, like maximum length, temperature, etc. /// - `systemPrompt` (String?, optional): A custom system-level prompt to guide /// the AI's behavior throughout the conversation. /// /// **Returns:** /// - `Future`: A future that resolves to a `Candidates` object /// containing the AI's response. Returns `null` if the process fails. /// /// **Example Usage:** /// ```dart /// final response = await Gemini.instance.chat([ /// Content(role: "user", parts: [Part.text("Tell me a joke.")]), /// ]); /// print(response?.content?.parts.first); /// ``` @override Future chat(List chats, {String? modelName, List? safetySettings, GenerationConfig? generationConfig, String? systemPrompt}) => _impl.chat(chats, generationConfig: generationConfig, safetySettings: safetySettings, modelName: modelName, systemPrompt: systemPrompt); /// Streams the ongoing chat interactions and responses in real-time. This method /// allows you to send a list of chat messages (contents) and receive responses as a stream, /// enabling real-time communication or processing of chat-like conversations. /// /// **Usage:** /// This method provides a continuous stream of responses for each chat input. You can use it /// to implement real-time conversational AI systems where the response is processed as it arrives. /// /// **Example:** /// ```dart /// Gemini.instance.streamChat([ /// Content(parts: [Part.text('Hello, how are you?')]), /// ]).listen((response) { /// print(response.output); // Handle real-time responses here. /// }); /// ``` @override Stream streamChat( List chats, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }) => _impl.streamChat(chats, modelName: modelName, safetySettings: safetySettings, generationConfig: generationConfig); /// [countTokens] When using long prompts, it might be useful to count tokens /// before sending any content to the model. /// * not implemented yet @override Future countTokens(String text, {String? modelName, List? safetySettings, GenerationConfig? generationConfig}) => _impl.countTokens(text, generationConfig: generationConfig, safetySettings: safetySettings, modelName: modelName); /// [info] /// If you `GET` a model's URL, the API used the `get` method to return /// information about that model such as version, display name, input token limit, etc. @override Future info({required String model}) => _impl.info(model: model); /// [listModels] /// If you `GET` the `models` directory, it used the `list` method to list /// all of the models available through the API, including both the Gemini and PaLM family models. @override Future> listModels() => _impl.listModels(); /// [streamGenerateContent] By default, the model returns a response after /// completing the entire generation process. /// You can achieve faster interactions by not waiting /// for the entire result, and instead use streaming to handle partial results. @Deprecated('Please use `prompt` or `promptStream` instead') @override Stream streamGenerateContent(String text, {List? images, String? modelName, List? safetySettings, GenerationConfig? generationConfig}) => _impl.streamGenerateContent(text, images: images, generationConfig: generationConfig, safetySettings: safetySettings, modelName: modelName); /// [textAndImage] If the input contains both text and image, use /// the `gemini-1.5-flash` model. The following snippets help you build a request and send it to the REST API. @Deprecated('Please use `prompt` or `promptStream` instead') @override Future textAndImage( {required String text, required List images, String? modelName, List? safetySettings, GenerationConfig? generationConfig}) => _impl.textAndImage( text: text, images: images, generationConfig: generationConfig, safetySettings: safetySettings, modelName: modelName); /// This method is deprecated. Please use `prompt` or `promptStream` instead. /// /// Processes the provided text input to generate AI responses based on the /// specified model and configuration settings. /// /// **Parameters:** /// - `text` (String): The input text to process. This is the main content /// for which a response will be generated. /// - `modelName` (String?, optional): The name of the AI model to be used /// for generating the response. If not provided, the default model is used. /// - `safetySettings` (List?, optional): A list of safety /// settings to customize the response generation, such as filtering /// inappropriate content. /// - `generationConfig` (GenerationConfig?, optional): Configuration /// settings to control the response generation behavior, like maximum /// length, temperature, and more. /// /// **Returns:** /// - `Future`: A future that resolves to a `Candidates` object, /// containing the generated AI responses. Returns `null` if the process fails. /// /// **Note:** This method is deprecated and will be removed in future versions. /// Use the `prompt` or `promptStream` methods for enhanced functionality and /// greater flexibility. @Deprecated('Please use `prompt` or `promptStream` instead') @override Future text(String text, {String? modelName, List? safetySettings, GenerationConfig? generationConfig}) => _impl.text(text, generationConfig: generationConfig, safetySettings: safetySettings, modelName: modelName); /// [Embedding] is a technique used to represent information as a /// list of floating point numbers in an array. /// With Gemini, you can represent text (words, sentences, and blocks of text) /// in a vectorized form, making it easier to compare and contrast embeddings. /// For example, two texts that share a similar subject matter or sentiment /// should have similar embeddings, which can be identified through mathematical /// comparison techniques such as cosine similarity. /// /// Use the `embedding-001` model with either [embedContent] or [batchEmbedContents] @override Future?>?> batchEmbedContents(List texts, {String? modelName, List? safetySettings, GenerationConfig? generationConfig}) => _impl.batchEmbedContents(texts, safetySettings: safetySettings, generationConfig: generationConfig, modelName: modelName); /// Embeds the provided text content into a vector representation, typically used for /// similarity search, semantic analysis, or other tasks that require a vectorized /// representation of the input text. /// /// **Usage:** /// This method takes a string of text and returns its vectorized embedding (a list of numbers), /// which can be used for various machine learning tasks such as search, clustering, or recommendation. /// /// **Example:** /// ```dart /// final embedding = await Gemini.instance.embedContent('This is a sample text'); /// print(embedding); // A list of numbers representing the text's embedding. /// ``` @override Future?> embedContent(String text, {String? modelName, List? safetySettings, GenerationConfig? generationConfig}) => _impl.embedContent(text, safetySettings: safetySettings, generationConfig: generationConfig, modelName: modelName); dynamic typeProvider; bool disableAutoUpdateModelName; @override Future cancelRequest() => _impl.cancelRequest(); /// Sends a request to the AI and receives a single response. This is the /// standard method for one-off prompts. /// /// **Parameters:** /// - `parts` (List, required): A list of `Part` objects representing the /// input data (e.g., text, files, binary data). /// - `model` (String?, optional): The name of the AI model to use. Defaults /// to the system's preferred model if not provided. /// - `safetySettings` (List?, optional): Configures safety /// settings for the response generation. /// - `generationConfig` (GenerationConfig?, optional): Controls the response /// generation behavior, like maximum length, temperature, etc. /// /// **Returns:** /// - `Future`: A future that resolves to a `Candidates` object /// containing the generated response. /// /// **Example Usage:** /// ```dart /// Gemini.instance.prompt(parts: [ /// Part.text('What are the benefits of renewable energy?'), /// ]).then((value) { /// print(value?.content?.parts.first); /// }); /// ``` @override Future prompt({ required List parts, String? model, List? safetySettings, GenerationConfig? generationConfig, }) => _impl.prompt( parts: parts, generationConfig: generationConfig, model: model, safetySettings: safetySettings, ); /// Sends a request to the AI and listens to a real-time stream of responses. /// Ideal for scenarios requiring immediate feedback or partial results. /// /// **Parameters:** /// - `parts` (List, required): A list of `Part` objects representing the /// input data (e.g., text, files, binary data). /// - `model` (String?, optional): The name of the AI model to use. Defaults /// to the system's preferred model if not provided. /// - `safetySettings` (List?, optional): Configures safety /// settings for the response generation. /// - `generationConfig` (GenerationConfig?, optional): Controls the response /// generation behavior, like maximum length, temperature, etc. /// /// **Returns:** /// - `Stream`: A stream that emits `Candidates` objects containing /// the generated responses. /// /// **Example Usage:** /// ```dart /// Gemini.instance.promptStream(parts: [ /// Part.text('Describe the future of AI in 50 years.'), /// ]).listen((value) { /// print(value?.content?.parts.first); /// }); /// ``` @override Stream promptStream( {required List parts, String? model, List? safetySettings, GenerationConfig? generationConfig}) => _impl.promptStream( parts: parts, generationConfig: generationConfig, model: model, safetySettings: safetySettings, ); } ================================================ FILE: lib/src/models/candidates/candidates.dart ================================================ import '../content/content.dart'; import '../safety_ratings/safety_ratings.dart'; /// [Candidates] is the value in request response /// A class representing the AI-generated response, including content, /// metadata, and safety-related information. class Candidates { /// The main content of the response generated by the AI. Content? content; /// The reason why the generation process ended. Possible values might /// include "stop", "length", or other reasons depending on the model. String? finishReason; /// The index of the candidate in the response list, useful when multiple /// responses are generated in a single request. int? index; /// A list of safety ratings for the content, indicating whether it adheres /// to safety standards, such as filtering offensive or inappropriate content. List? safetyRatings; /// Creates a new `Candidates` object with optional parameters. Candidates({ this.content, this.finishReason, this.index, this.safetyRatings, }); /// Factory constructor to create a `Candidates` instance from a JSON object. factory Candidates.fromJson(Map json) { return Candidates( content: json['content'] == null ? null : Content.fromJson(json['content'] as Map), finishReason: json['finishReason'] as String?, index: (json['index'] as num?)?.toInt(), safetyRatings: (json['safetyRatings'] as List?) ?.map((e) => SafetyRatings.fromJson(e as Map)) .toList(), ); } /// Converts the `Candidates` object to a JSON object. Map toJson(Map json) => { 'content': content?.toJson(), 'finishReason': finishReason, 'index': index, 'safetyRatings': safetyRatings?.map((e) => e.toJson()).toList(), }; /// Creates a copy of the current `Candidates` object with optional updated fields. Candidates copyWith( Content? content, String? finishReason, int? index, List? safetyRatings, ) => Candidates( safetyRatings: safetyRatings ?? this.safetyRatings, index: index ?? this.index, finishReason: finishReason ?? this.finishReason, content: content ?? this.content, ); /// Converts a JSON list into a list of `Candidates` objects. static List jsonToList(List list) => list.map((e) => Candidates.fromJson(e as Map)).toList(); } ================================================ FILE: lib/src/models/content/content.dart ================================================ import '../part/part.dart'; /// Represents the content of an AI response, including its components (parts) /// and the role associated with it, such as "user" or "model". class Content { /// A list of `Part` objects that make up the content. Each `Part` can /// represent text, files, or binary data. List? parts; /// The role associated with this content, indicating who or what generated /// the content (e.g., "model" or "user"). String? role; /// Creates a new `Content` object with optional parts and role. Content({ this.parts, this.role, }); /// Factory constructor to create a `Content` instance from a JSON object. factory Content.fromJson(Map json) => Content( parts: (json['parts'] as List?) ?.map((e) => Part.fromJson(e as Map)) .toList(), role: json['role'] as String?, ); /// Converts a JSON list into a list of `Content` objects. static List jsonToList(List list) => list.map((e) => Content.fromJson(e as Map)).toList(); /// Converts the `Content` object to a JSON object. Map toJson() => { 'parts': parts?.map((e) => Part.toJson(e)).toList(), 'role': role, }; } ================================================ FILE: lib/src/models/gemini_file/gemini_file_part.dart ================================================ /// Represents a file part in the Gemini system with metadata like name, size, /// state, and additional details such as error information and video metadata. class GeminiFilePart { /// The name of the file. String? name; /// The display name of the file. String? displayName; /// The MIME type of the file. String? mimeType; /// The size of the file in bytes. String? sizeBytes; /// The creation time of the file. String? createTime; /// The last update time of the file. String? updateTime; /// The expiration time of the file. String? expirationTime; /// The SHA256 hash of the file for integrity verification. String? sha256Hash; /// The URI pointing to the location of the file. String? uri; /// The current state of the file. String? state; /// Any error information associated with the file, if applicable. Map? error; /// Metadata related to video files, if applicable. Map? videoMetadata; /// Constructor to initialize a [GeminiFilePart] instance with optional values for all fields. GeminiFilePart({ this.name, this.displayName, this.mimeType, this.sizeBytes, this.createTime, this.updateTime, this.expirationTime, this.sha256Hash, this.uri, this.state, this.error, this.videoMetadata, }); /// Creates a [GeminiFilePart] from a JSON object. factory GeminiFilePart.fromJson(Map json) => GeminiFilePart( name: json['name'] as String?, displayName: json['displayName'] as String?, mimeType: json['mimeType'] as String?, sizeBytes: json['sizeBytes'] as String?, createTime: json['createTime'] as String?, updateTime: json['updateTime'] as String?, expirationTime: json['expirationTime'] as String?, sha256Hash: json['sha256Hash'] as String?, uri: json['uri'] as String?, state: json['state'] as String?, error: json['error'] as Map?, videoMetadata: json['videoMetadata'] as Map?, ); /// Converts the current [GeminiFilePart] object back into a JSON object. Map toJson() => { 'name': name, 'displayName': displayName, 'mimeType': mimeType, 'sizeBytes': sizeBytes, 'createTime': createTime, 'updateTime': updateTime, 'expirationTime': expirationTime, 'sha256Hash': sha256Hash, 'uri': uri, 'state': state, 'error': error, 'videoMetadata': videoMetadata, }; /// Converts a list of JSON objects into a list of [GeminiFilePart] objects. static List jsonToList(List list) => list .map((e) => GeminiFilePart.fromJson(e as Map)) .toList(); } ================================================ FILE: lib/src/models/gemini_model/gemini_model.dart ================================================ /// Represents the Gemini model with properties such as name, version, /// description, and token limits, along with configuration for generation /// methods and sampling parameters. class GeminiModel { /// The name of the model. String? name; /// The version of the model. String? version; /// The display name for the model. String? displayName; /// A description of the model, providing more details about its functionality. String? description; /// The maximum number of input tokens the model can handle. int? inputTokenLimit; /// The maximum number of output tokens the model can generate. int? outputTokenLimit; /// A list of supported generation methods for the model. List? supportedGenerationMethods; /// The temperature used for controlling the randomness of the model's output. /// A value between 0 and 1. Higher values make the output more random. double? temperature; /// The top-P sampling parameter used to control the diversity of the model's /// output. A value between 0 and 1. double? topP; /// The top-K sampling parameter used to limit the number of possible outputs /// considered at each step. int? topK; /// Constructor to initialize a [GeminiModel] instance with optional values for all fields. GeminiModel({ this.name, this.version, this.displayName, this.description, this.inputTokenLimit, this.outputTokenLimit, this.supportedGenerationMethods, this.temperature, this.topP, this.topK, }); /// Converts a list of JSON objects into a list of [GeminiModel] objects. static List jsonToList(List list) => list.map((e) => GeminiModel.fromJson(e as Map)).toList(); /// Creates a [GeminiModel] from a JSON object. factory GeminiModel.fromJson(Map json) => GeminiModel( name: json['name'] as String?, version: json['version'] as String?, displayName: json['displayName'] as String?, description: json['description'] as String?, inputTokenLimit: (json['inputTokenLimit'] as num?)?.toInt(), outputTokenLimit: (json['outputTokenLimit'] as num?)?.toInt(), supportedGenerationMethods: (json['supportedGenerationMethods'] as List?) ?.map((e) => e as String) .toList(), temperature: (json['temperature'] as num?)?.toDouble(), topP: (json['topP'] as num?)?.toDouble(), topK: (json['topK'] as num?)?.toInt(), ); /// Converts the current [GeminiModel] object back into a JSON object. Map toJson() => { 'name': name, 'version': version, 'displayName': displayName, 'description': description, 'inputTokenLimit': inputTokenLimit, 'outputTokenLimit': outputTokenLimit, 'supportedGenerationMethods': supportedGenerationMethods, 'temperature': temperature, 'topP': topP, 'topK': topK, }; } ================================================ FILE: lib/src/models/gemini_response/gemini_response.dart ================================================ import '../candidates/candidates.dart'; import '../prompt_feedback/prompt_feedback.dart'; class GeminiResponse { List? candidates; // List of candidates, possibly empty or null PromptFeedback? promptFeedback; // Optional feedback related to the prompt // Constructor for GeminiResponse GeminiResponse({ this.candidates, this.promptFeedback, }); // Factory constructor to create a GeminiResponse object from a JSON map factory GeminiResponse.fromJson(Map json) => GeminiResponse( candidates: (json['candidates'] as List?) ?.map((e) => Candidates.fromJson(e as Map)) .toList(), // Converts the candidates list from JSON to Candidate objects promptFeedback: json['promptFeedback'] == null ? null : PromptFeedback.fromJson(json['promptFeedback'] as Map), // Converts prompt feedback if it exists ); // Method to convert a GeminiResponse object back to JSON Map toJson() => { 'candidates': candidates, // Serializes candidates list to JSON 'promptFeedback': promptFeedback, // Serializes prompt feedback to JSON }; // Static method to convert a list of JSON objects to a list of GeminiResponse objects static List jsonToList(List list) => list .map((e) => GeminiResponse.fromJson(e as Map)) .toList(); } ================================================ FILE: lib/src/models/gemini_safety/gemini_safety.dart ================================================ import 'gemini_safety_category.dart'; import 'gemini_safety_threshold.dart'; /// [SafetySetting] /// Safety settings are part of the request you send to the text service. /// It can be adjusted for each request you make to the API. /// The following table lists the categories that you can set and describes the type of harm that each category encompasses. /// A configuration for setting safety measures, including a category and threshold. /// This class helps define the safety parameters to assess or control the behavior of the AI model's outputs. /// /// **Parameters:** /// - `category`: The safety category that specifies the type of content safety being controlled (e.g., toxic content, explicit material). /// - `threshold`: The threshold for safety within the specified category. This defines the level at which the content is considered unsafe or acceptable. /// /// **Usage:** /// This class is used when you want to specify the level of safety to be applied during content generation or filtering. It can be used in AI systems to enforce content moderation, ensuring that the generated content adheres to certain safety standards. /// /// **Example:** /// ```dart /// var safetySetting = SafetySetting( /// category: SafetyCategory.explosive, /// threshold: SafetyThreshold.high, /// ); /// ``` class SafetySetting { final SafetyCategory category; // The category of safety being controlled (e.g., toxic content). final SafetyThreshold threshold; // The threshold for safety within the category. // Constructor to initialize the SafetySetting with required category and threshold. SafetySetting({ required this.category, required this.threshold, }); } ================================================ FILE: lib/src/models/gemini_safety/gemini_safety_category.dart ================================================ /// An enumeration representing various safety categories for content moderation. /// Each category corresponds to a type of potentially harmful content that can be flagged, /// restricted, or filtered based on specific safety settings. /// /// **Enum Values:** /// - `harassment`: Content that involves negative or harmful comments targeting someone's identity, protected attributes, or groups. /// - `hateSpeech`: Content that is rude, offensive, or profane. Includes derogatory, dehumanizing, or discriminatory language. /// - `sexuallyExplicit`: Content that includes sexual acts or other sexually suggestive material. /// - `dangerous`: Content that promotes, encourages, or facilitates harmful or dangerous actions, such as violence, self-harm, etc. /// /// **Usage:** /// The `SafetyCategory` enum is used as part of content moderation or filtering systems to ensure that AI-generated content adheres to safety standards. When setting up safety measures, users can select the appropriate category to monitor or control content in a more focused way. /// /// **Example:** /// ```dart /// var safetySetting = SafetySetting( /// category: SafetyCategory.hateSpeech, // Flag hate speech content. /// threshold: SafetyThreshold.high, // Apply a high-level safety threshold. /// ); /// ``` enum SafetyCategory { /// [harassment] /// Negative or harmful comments targeting identity and/or protected attributes. harassment('HARM_CATEGORY_HARASSMENT'), /// [hateSpeech] /// Content that is rude, disrespectful, or profane. hateSpeech('HARM_CATEGORY_HATE_SPEECH'), /// [sexuallyExplicit] /// Contains references to sexual acts or other lewd content. sexuallyExplicit('HARM_CATEGORY_SEXUALLY_EXPLICIT'), /// [dangerous] /// Promotes, facilitates, or encourages harmful acts. dangerous('HARM_CATEGORY_DANGEROUS_CONTENT'); const SafetyCategory(this.value); /// The string value that represents the safety category for backend processing or API use. final String value; } ================================================ FILE: lib/src/models/gemini_safety/gemini_safety_threshold.dart ================================================ /// An enumeration representing various safety thresholds for content moderation. /// Each threshold defines a level of risk associated with potentially unsafe content, /// dictating whether content should be blocked or flagged based on its probability of being harmful. /// /// **Enum Values:** /// - `blockNone`: Content is always shown, regardless of the probability of unsafe content. /// - `blockOnlyHigh`: Content is blocked only if there is a high probability of unsafe content. /// - `blockMediumAndAbove`: Content is blocked if there is a medium or high probability of unsafe content. /// - `blockLowAndAbove`: Content is blocked if there is a low, medium, or high probability of unsafe content. /// - `harmBlockThresholdUnspecified`: The threshold is unspecified, and the system uses a default block threshold. /// /// **Usage:** /// The `SafetyThreshold` enum is used to configure how strict the moderation system should be when evaluating content. Depending on the chosen threshold, content with varying levels of unsafe probability can be blocked or allowed. /// /// **Example:** /// ```dart /// var safetySetting = SafetySetting( /// category: SafetyCategory.dangerous, // Flag dangerous content. /// threshold: SafetyThreshold.blockMediumAndAbove, // Block if content has medium or high risk. /// ); /// ``` enum SafetyThreshold { /// [blockNone] /// Always show regardless of probability of unsafe content blockNone('BLOCK_NONE'), /// [blockOnlyHigh] /// Block when high probability of unsafe content blockOnlyHigh('BLOCK_ONLY_HIGH'), /// [blockMediumAndAbove] /// Block when medium or high probability of unsafe content blockMediumAndAbove('BLOCK_MEDIUM_AND_ABOVE'), /// [blockLowAndAbove] /// Block when low, medium or high probability of unsafe content blockLowAndAbove('BLOCK_LOW_AND_ABOVE'), /// [harmBlockThresholdUnspecified] /// Threshold is unspecified, block using default threshold harmBlockThresholdUnspecified('HARM_BLOCK_THRESHOLD_UNSPECIFIED'); const SafetyThreshold(this.value); /// The string value that represents the safety threshold for backend processing or API use. final String value; } ================================================ FILE: lib/src/models/generation_config/generation_config.dart ================================================ /// Configuration for controlling the behavior of content generation, /// including various parameters such as stop sequences, temperature, and token limits. /// /// **Parameters:** /// - `stopSequences`: A list of strings that the model should stop generating upon encountering. /// - `temperature`: A floating-point value that controls the randomness of the output. /// A higher temperature makes the output more random, while a lower temperature makes it more deterministic. /// - `maxOutputTokens`: The maximum number of tokens the model should generate in its response. /// - `topP`: A parameter used for nucleus sampling. It controls the cumulative probability distribution /// from which the model samples, helping to make the output more diverse. /// - `topK`: The number of highest probability tokens to consider during sampling. /// /// **Usage:** /// This class is used to define and configure the generation behavior of a model when generating text or content. /// It allows customization of parameters that control the creativity and structure of the generated output. /// /// **Example:** /// ```dart /// var config = GenerationConfig( /// stopSequences: ['\n'], /// temperature: 0.7, /// maxOutputTokens: 100, /// ); /// ``` class GenerationConfig { List? stopSequences; // A list of stop sequences to halt generation. double? temperature; // A value between 0 and 1 controlling output randomness. int? maxOutputTokens; // Maximum number of tokens to be generated. double? topP; // Nucleus sampling parameter. int? topK; // The number of top tokens to sample from. // Constructor to initialize the GenerationConfig instance with optional parameters. GenerationConfig({ this.stopSequences, this.temperature, this.maxOutputTokens, this.topP, this.topK, }); /// Factory method to create a GenerationConfig instance from JSON data. /// It converts JSON fields like `stopSequences`, `temperature`, `maxOutputTokens`, /// `topP`, and `topK` to their corresponding properties in the `GenerationConfig` class. /// /// **Example:** /// ```dart /// var config = GenerationConfig.fromJson(jsonData); /// ``` factory GenerationConfig.fromJson(Map json) => GenerationConfig( stopSequences: (json['stopSequences'] as List?) ?.map((e) => e as String) .toList(), temperature: (json['temperature'] as num?)?.toDouble(), maxOutputTokens: (json['maxOutputTokens'] as num?)?.toInt(), topP: (json['topP'] as num?)?.toDouble(), topK: (json['topK'] as num?)?.toInt(), ); /// Converts the GenerationConfig instance into a JSON map. This is useful for /// serializing the configuration to be sent in API requests or stored in a database. /// /// **Example:** /// ```dart /// var json = config.toJson(); /// ``` Map toJson() => { 'stopSequences': stopSequences, 'temperature': temperature, 'maxOutputTokens': maxOutputTokens, 'topP': topP, 'topK': topK, }; /// Converts a list of JSON objects into a list of `GenerationConfig` instances. /// This is helpful when handling an array of generation configurations in a JSON response. /// /// **Example:** /// ```dart /// var configsList = GenerationConfig.jsonToList(jsonList); /// ``` static List jsonToList(List list) => list .map((e) => GenerationConfig.fromJson(e as Map)) .toList(); } ================================================ FILE: lib/src/models/part/file_data_part.dart ================================================ part of 'part.dart'; /// Represents a part of a file, including metadata like MIME type and URI pointing to the file. /// This class is used when a file is included in the conversation or request, allowing the system /// to handle files alongside other content types (such as text or inline data). /// /// **Parameters:** /// - `mimeType` (optional String): The MIME type of the file (e.g., 'image/png', 'application/pdf'). /// - `fileUri` (optional String): The URI pointing to the location of the file. /// /// **Usage:** /// The `FileDataPart` is typically used when you need to send or process file data as part of a request. /// It contains the necessary information to identify and handle the file correctly, such as its type /// and location. For example, it can be used in chat-based applications where users send files. class FileDataPart { String? mimeType; // The MIME type of the file (e.g., image/jpeg, text/plain) String? fileUri; // The URI of the file, which points to its location. // Constructor for initializing the FileDataPart with optional mimeType and fileUri FileDataPart({this.mimeType, this.fileUri}); /// Factory method to create a FileDataPart object from a JSON map. /// This is useful for deserializing a JSON response that includes file data. /// /// **Example:** /// ```dart /// var fileDataPart = FileDataPart.fromJson(jsonData); /// ``` factory FileDataPart.fromJson(Map json) => FileDataPart( mimeType: json['mime_type'] as String?, // Extract mimeType from JSON fileUri: json['file_uri'] as String?, // Extract fileUri from JSON ); /// Converts the FileDataPart object into a JSON map, which can be used for serializing the data. /// This is useful for sending file data in API requests or saving it in a file format. /// /// **Example:** /// ```dart /// var jsonData = fileDataPart.toJson(); /// ``` Map toJson() => { 'mime_type': mimeType, // Add mimeType to JSON map 'file_uri': fileUri, // Add fileUri to JSON map }; } ================================================ FILE: lib/src/models/part/file_part.dart ================================================ part of 'part.dart'; /// Represents a part of a request or response that contains file data. This class implements /// the `Part` interface and is used when a file is included in the conversation, allowing /// for seamless handling of file-based content alongside other parts such as text or inline data. /// /// **Parameters:** /// - `fileData` (optional FileDataPart): Contains the actual file data and associated metadata, /// such as MIME type and file URI. /// /// **Usage:** /// `FilePart` is used when you need to send or receive file data as part of an API request or /// response. It encapsulates the file-related information within the context of a larger content /// structure, like a conversation or message. class FilePart implements Part { FileDataPart? fileData; // The file data and its associated metadata (e.g., mimeType, fileUri) // Constructor for initializing the FilePart with a FileDataPart FilePart(this.fileData); /// Converts a list of JSON objects into a list of FilePart instances. /// This is useful for deserializing a response that contains multiple file parts. /// /// **Example:** /// ```dart /// var filePartsList = FilePart.jsonToList(jsonList); /// ``` static List jsonToList(List list) => list.map((e) => FilePart.fromJson(e as Map)).toList(); /// Converts the FilePart instance into a JSON map. This is used when serializing /// the FilePart to be sent as part of an API request or saving it to storage. /// /// **Example:** /// ```dart /// var jsonData = filePart.toJson(); /// ``` Map toJson() => { 'fileData': fileData?.toJson(), // Serialize fileData to JSON if available }; /// Factory method to create a FilePart instance from a JSON map. This is used for /// deserializing a JSON response that includes a file part. /// /// **Example:** /// ```dart /// var filePart = FilePart.fromJson(jsonData); /// ``` factory FilePart.fromJson(Map json) => FilePart(json['file_data'] == null ? null : FileDataPart.fromJson(json['file_data'])); // Deserialize file data } ================================================ FILE: lib/src/models/part/inline_data.dart ================================================ part of 'part.dart'; /// Represents inline data used in requests or responses, including metadata like MIME type /// and the actual data, which is often encoded as a Base64 string. This class is useful for /// handling in-line binary data such as images, audio files, or any data that needs to be /// transmitted in the body of a message. /// /// **Parameters:** /// - `mimeType` (optional String): The MIME type of the data (e.g., 'image/png', 'application/pdf'). /// - `data` (optional String): The Base64-encoded data representing the binary content. /// /// **Usage:** /// `InlineData` is commonly used when binary data needs to be transmitted in a format suitable /// for text-based protocols (e.g., JSON). It is especially useful for sending media or other /// non-text data in API requests or responses. class InlineData { String? mimeType; // MIME type of the inline data (e.g., 'image/png', 'application/json') String? data; // Base64-encoded data representing the file or binary content // Constructor to initialize the InlineData with optional mimeType and data InlineData({this.mimeType, this.data}); /// Factory method to create an InlineData instance from a JSON map. /// This is used for deserializing JSON responses that contain inline data. /// /// **Example:** /// ```dart /// var inlineData = InlineData.fromJson(jsonData); /// ``` factory InlineData.fromJson(Map json) => InlineData( mimeType: json['mime_type'] as String?, // Extract mimeType from JSON data: json['data'] as String?, // Extract Base64-encoded data from JSON ); /// Factory method to create an InlineData instance from raw bytes (Uint8List). /// The raw bytes are Base64-encoded, and the MIME type is inferred from the data /// using the `mime` package. /// /// **Example:** /// ```dart /// var inlineData = InlineData.fromUint8List(bytes); /// ``` factory InlineData.fromUint8List(Uint8List bytes) => InlineData( mimeType: mime.lookupMimeType('', headerBytes: bytes) ?? "image/jpg", // Try to infer MIME type from bytes data: base64Encode(bytes), // Encode bytes into Base64 format ); /// Converts the InlineData instance into a JSON map. This method is useful for /// serializing the inline data to be sent in an API request or stored. /// /// **Example:** /// ```dart /// var jsonData = inlineData.toJson(); /// ``` Map toJson() => { 'mime_type': mimeType, // Add mimeType to the JSON map 'data': data, // Add Base64-encoded data to the JSON map }; } ================================================ FILE: lib/src/models/part/inline_part.dart ================================================ part of 'part.dart'; /// Represents an inline part of a request or response, specifically used for /// handling binary data that is transmitted inline, such as images, audio, or other /// media types. This class wraps the `InlineData` object, which contains the actual /// binary content along with its metadata (like MIME type and Base64-encoded data). /// /// **Parameters:** /// - `inlineData` (optional InlineData): The inline data associated with this part, typically /// representing binary data (e.g., an image or file content). /// /// **Usage:** /// `InlinePart` is used when the system needs to handle inline data in the form of /// binary content. It is often used in conjunction with the `Part` interface to represent /// different types of parts in a larger message (e.g., for multi-part data like in a chat or /// file upload). class InlinePart implements Part { InlineData? inlineData; // The inline data, typically a Base64-encoded file or binary content. // Constructor to initialize the InlinePart with the given InlineData. InlinePart(this.inlineData); /// Converts a list of JSON objects into a list of InlinePart instances. /// This is useful for parsing an array of inline parts from a JSON response. /// /// **Example:** /// ```dart /// var inlineParts = InlinePart.jsonToList(jsonList); /// ``` static List jsonToList(List list) => list.map((e) => InlinePart.fromJson(e as Map)).toList(); /// Converts the InlinePart instance into a JSON map. This is used for serializing /// the inline part data (including its inline data) to be sent in an API request or /// stored in a database. /// /// **Example:** /// ```dart /// var jsonData = inlinePart.toJson(); /// ``` Map toJson() => { 'inline_data': inlineData?.toJson(), // Add inlineData to the JSON map if available }; /// Factory method to create an InlinePart instance from a JSON map. /// This is used to deserialize JSON responses containing inline part data. /// /// **Example:** /// ```dart /// var inlinePart = InlinePart.fromJson(jsonData); /// ``` factory InlinePart.fromJson(Map json) => InlinePart(json['inline_data'] == null ? null : InlineData.fromJson( json['inline_data'])); // Extract inline data from the JSON } ================================================ FILE: lib/src/models/part/part.dart ================================================ import 'dart:convert'; import 'dart:typed_data'; import 'package:mime/mime.dart' as mime; part 'text_part.dart'; part 'file_data_part.dart'; part 'file_part.dart'; part 'inline_data.dart'; part 'inline_part.dart'; /// Represents a flexible data part that can hold text, file, or binary data. /// This is an abstract interface class with factory constructors for specific /// implementations like `TextPart`, `FilePart`, and `InlinePart`. abstract interface class Part { /// Factory constructor to create a `Part` object containing text data. factory Part.text(String text) => TextPart(text); /// Factory constructor to create a `Part` object containing file data. factory Part.file(FileDataPart fileData) => FilePart(fileData); /// Factory constructor to create a `Part` object containing inline binary data. factory Part.inline(InlineData inlineData) => InlinePart(inlineData); /// Factory constructor to create a `Part` object from raw binary data. factory Part.bytes(Uint8List bytes) => InlinePart(InlineData.fromUint8List(bytes)); /// Factory constructor to create a `Part` object from a `Uint8List`. factory Part.uint8List(Uint8List list) => InlinePart(InlineData.fromUint8List(list)); /// Factory constructor to create a `Part` object from a JSON object. /// Automatically detects the part type based on the keys in the JSON. factory Part.fromJson(Map json) { if (json.containsKey('file_data')) { return Part.file( FileDataPart.fromJson(json['file_data'] as Map)); } else if (json.containsKey('inline_data')) { return Part.inline( InlineData.fromJson(json['inline_data'] as Map)); } return Part.text(json['text'] as String); } /// Converts a JSON list into a list of `Part` objects. static List jsonToList(List list) => list.map((e) => Part.fromJson(e as Map)).toList(); /// Converts the `Part` object to a JSON object, automatically identifying /// its specific type (`TextPart`, `FilePart`, or `InlinePart`). static Map toJson(Part e) { if (e is TextPart) { return e.toJson(); } else if (e is FilePart) { return e.toJson(); } else if (e is InlinePart) { return e.toJson(); } throw UnsupportedError('${e.runtimeType} not supported!'); } } ================================================ FILE: lib/src/models/part/text_part.dart ================================================ part of 'part.dart'; /// Represents a text part of a request or response, used for handling plain text /// content within a message. This class encapsulates the text content, which can /// be transmitted as part of a multi-part message or response. /// /// **Parameters:** /// - `text`: The plain text content that will be included as part of the message. /// /// **Usage:** /// `TextPart` is used when the system needs to handle textual data, such as strings, /// that will be part of a larger message or request. It is commonly used for generating /// text-based responses or prompts in AI models. class TextPart implements Part { String text; /// The text content to be included in this part. /// Constructor to initialize the TextPart with the given text content. TextPart(this.text); /// Converts a list of JSON objects into a list of TextPart instances. /// This is useful for parsing an array of text parts from a JSON response. /// /// **Example:** /// ```dart /// var textParts = TextPart.jsonToList(jsonList); /// ``` static List jsonToList(List list) => list.map((e) => Part.fromJson(e as Map)).toList(); /// Converts the TextPart instance into a JSON map. This is used for serializing /// the text content to be sent in an API request or stored in a database. /// /// **Example:** /// ```dart /// var jsonData = textPart.toJson(); /// ``` Map toJson() => { 'text': text, // Add text content to the JSON map }; } ================================================ FILE: lib/src/models/parts/parts.dart ================================================ import '../../../flutter_gemini.dart'; /// **DEPRECATED**: Please use `Part` instead. This class has been replaced by /// `Part` for better structure and flexibility in handling different types of /// content. The `Parts` class was originally designed to hold textual content, /// but has been superseded by the more general `Part` class, which supports /// multiple content types, such as text, files, and inline data. /// /// This class is kept for backward compatibility, but it is recommended to /// migrate to the `Part` class for future-proofing your code. /// /// **Parameters:** /// - `text`: A plain text string that will be included as part of the message. /// /// **Usage:** /// The `Parts` class was used for handling plain text content in earlier versions /// of the package. However, it is now deprecated in favor of the `Part` interface, /// which supports multiple types of data (e.g., text, files, and bytes). /// /// **Example:** /// ```dart /// var oldPart = Parts(text: 'Some text content'); /// ``` /// @Deprecated('Please use Part instead.') class Parts implements Part { String? text; // The text content that is part of this object. // Constructor to initialize the Parts class with optional text. Parts({ this.text, }); /// Factory method to create a Parts instance from JSON data. This was used /// to parse plain text content from a JSON object. /// /// **Example:** /// ```dart /// var part = Parts.fromJson(jsonData); /// ``` factory Parts.fromJson(Map json) => Parts(text: json['text'] as String?); /// Converts the Parts instance into a JSON map, serializing the text content /// into a structured format for use in API requests or responses. /// /// **Example:** /// ```dart /// var json = part.toJson(); /// ``` Map toJson() => {'text': text}; /// Converts a list of JSON objects into a list of Parts instances. /// This was useful when parsing an array of text-based content from a JSON /// response. /// /// **Example:** /// ```dart /// var partsList = Parts.jsonToList(jsonList); /// ``` static List jsonToList(List list) => list.map((e) => Parts.fromJson(e as Map)).toList(); } ================================================ FILE: lib/src/models/prompt_feedback/prompt_feedback.dart ================================================ import '../safety_ratings/safety_ratings.dart'; /// Represents feedback related to a prompt, specifically focusing on safety ratings. /// This class holds a list of `SafetyRatings` objects, which evaluate the safety /// of the generated content based on predefined criteria or custom settings. /// /// **Parameters:** /// - `safetyRatings`: A list of `SafetyRatings` objects, which provide an evaluation /// of the content's safety based on the model's output. /// /// **Usage:** /// This class is used to encapsulate feedback on the safety of a generated response. /// It may include various safety assessments such as whether the content contains /// harmful or inappropriate material. /// /// **Example:** /// ```dart /// var feedback = PromptFeedback(safetyRatings: [SafetyRatings(...), SafetyRatings(...)]); /// ``` class PromptFeedback { List? safetyRatings; // List of safety ratings for the generated content. // Constructor to initialize a PromptFeedback instance with optional safetyRatings. PromptFeedback({ this.safetyRatings, }); /// Factory method to create a PromptFeedback instance from JSON data. This method /// extracts the `safetyRatings` from the JSON and maps each to a `SafetyRatings` object. /// /// **Example:** /// ```dart /// var feedback = PromptFeedback.fromJson(jsonData); /// ``` factory PromptFeedback.fromJson(Map json) => PromptFeedback( safetyRatings: (json['safetyRatings'] as List?) ?.map((e) => SafetyRatings.fromJson(e as Map)) .toList(), ); /// Converts the PromptFeedback instance into a JSON map. This is useful for /// serializing the feedback to be sent in API requests or responses. /// /// **Example:** /// ```dart /// var json = feedback.toJson(); /// ``` Map toJson() => { 'safetyRatings': safetyRatings, }; /// Converts a list of JSON objects into a list of `PromptFeedback` instances. /// This is helpful when handling an array of feedback objects in a JSON response. /// /// **Example:** /// ```dart /// var feedbackList = PromptFeedback.jsonToList(jsonList); /// ``` static List jsonToList(List list) => list .map((e) => PromptFeedback.fromJson(e as Map)) .toList(); } ================================================ FILE: lib/src/models/safety_ratings/safety_ratings.dart ================================================ /// Represents a safety rating for generated content, which includes a category and /// a probability score. The category indicates the type of safety issue (e.g., /// harmful, inappropriate), and the probability is a confidence score indicating /// how likely the content falls into that category. /// /// **Parameters:** /// - `category`: The category of the safety rating (e.g., "Harmful", "Inappropriate"). /// - `probability`: The probability or confidence level that the content falls under /// the specified safety category (expressed as a string, often a percentage or score). /// /// **Usage:** /// This class is used to evaluate the safety of AI-generated content. For example, /// a system could generate content and then evaluate its safety with respect to various /// categories such as offensive language, harmful behavior, or misleading information. /// /// **Example:** /// ```dart /// var safetyRating = SafetyRatings(category: "Harmful", probability: "0.85"); /// print(safetyRating.category); // Outputs: Harmful /// ``` class SafetyRatings { String? category; // The safety category (e.g., "Harmful", "Offensive"). String? probability; // The probability score indicating how likely the content is harmful. // Constructor to initialize a SafetyRatings instance with optional category and probability. SafetyRatings({ this.category, this.probability, }); /// Factory method to create a SafetyRatings instance from JSON data. /// It extracts the `category` and `probability` fields from the JSON and assigns them /// to the class's properties. /// /// **Example:** /// ```dart /// var safetyRating = SafetyRatings.fromJson(jsonData); /// ``` factory SafetyRatings.fromJson(Map json) => SafetyRatings( category: json['category'] as String?, probability: json['probability'] as String?, ); /// Converts the SafetyRatings instance into a JSON map. This is useful for /// serializing the safety rating to be sent in API requests or responses. /// /// **Example:** /// ```dart /// var json = safetyRating.toJson(); /// ``` Map toJson() => { 'category': category, 'probability': probability, }; /// Converts a list of JSON objects into a list of `SafetyRatings` instances. /// This is helpful when handling an array of safety ratings in a JSON response. /// /// **Example:** /// ```dart /// var safetyRatingsList = SafetyRatings.jsonToList(jsonList); /// ``` static List jsonToList(List list) => list .map((e) => SafetyRatings.fromJson(e as Map)) .toList(); } ================================================ FILE: lib/src/repository/api_interface.dart ================================================ import 'package:dio/dio.dart'; import '../models/gemini_safety/gemini_safety.dart'; import '../models/generation_config/generation_config.dart'; /// [ApiInterface] is an API helper service class. /// /// This class defines the contract for making API requests. It includes methods /// for `POST` and `GET` requests, and allows the passing of configuration settings /// such as `generationConfig` and `safetySettings` for controlling API behavior. abstract class ApiInterface { /// Optional configuration for generation parameters. GenerationConfig? generationConfig; /// Optional list of safety settings to apply during the API request. List? safetySettings; /// Sends a `POST` request to the specified route with the given data. /// /// Parameters: /// - `route`: The API endpoint to which the request will be sent. /// - `data`: A map of data to send with the request. The keys are strings and the values are objects. /// - `generationConfig`: An optional configuration for controlling the generation behavior. /// - `safetySettings`: An optional list of safety settings to apply during the request. /// /// Returns: /// A `Response` object representing the outcome of the HTTP request. Future post( String route, { required Map? data, GenerationConfig? generationConfig, List? safetySettings, }); /// Sends a `GET` request to the specified route. /// /// Parameters: /// - `route`: The API endpoint to which the request will be sent. /// /// Returns: /// A `Response` object representing the outcome of the HTTP request. Future get(String route); } ================================================ FILE: lib/src/repository/gemini_interface.dart ================================================ import 'dart:async'; import 'dart:typed_data'; import '../../flutter_gemini.dart'; abstract class GeminiInterface { /// [listModels] /// If you `GET` the `models` directory, it used the `list` method to list /// all of the models available through the API, including both the Gemini and PaLM family models. Future> listModels(); /// [info] /// If you `GET` a model's URL, the API used the `get` method to return /// information about that model such as version, display name, input token limit, etc. Future info({required String model}); /// [text] Use the `generateContent` method to generate a response /// from the model given an input message. /// If the input contains only text, use the `gemini-pro` model. @Deprecated('Please use the `prompt` or `promptStream` method') Future text( String text, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }); /// [Embedding] is a technique used to represent information as a /// list of floating point numbers in an array. /// With Gemini, you can represent text (words, sentences, and blocks of text) /// in a vectorized form, making it easier to compare and contrast embeddings. /// For example, two texts that share a similar subject matter or sentiment /// should have similar embeddings, which can be identified through mathematical /// comparison techniques such as cosine similarity. /// /// Use the `embedding-001` model with either [embedContent] or [batchEmbedContents] Future?>?> batchEmbedContents( List texts, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }); /// [embedContent] description in upper comments Future?> embedContent( String text, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }); /// [countTokens] When using long prompts, it might be useful to count tokens /// before sending any content to the model. Future countTokens( String text, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }); /// [streamGenerateContent] By default, the model returns a response after /// completing the entire generation process. /// You can achieve faster interactions by not waiting /// for the entire result, and instead use streaming to handle partial results. @Deprecated('Please use the `prompt` or `promptStream` method') Stream streamGenerateContent( String text, { List? images, String? modelName, List? safetySettings, GenerationConfig? generationConfig, }); @Deprecated('Please use the `prompt` or `promptStream` method') Stream streamChat( List chats, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }); /// [chat] or `Multi-turn conversations` /// Using Gemini, you can build freeform conversations across multiple turns. @Deprecated('Please use the `prompt` or `promptStream` method') Future chat( List chats, { String? modelName, List? safetySettings, GenerationConfig? generationConfig, }); /// [textAndImage] If the input contains both text and image, use /// the `gemini-1.5-flash` model. The following snippets help you build a request and send it to the REST API. Future textAndImage({ required String text, required List images, String? modelName, List? safetySettings, GenerationConfig? generationConfig, }); // cancel request Future cancelRequest(); /// [prompt] If the input contains both text and image, use /// the `gemini-1.5-flash` model. The following snippets help you build a request and send it to the REST API. Future prompt({ required List parts, String? model, List? safetySettings, GenerationConfig? generationConfig, }); /// [prompt] If the input contains both text and image, use /// the `gemini-1.5-flash` model. The following snippets help you build a request and send it to the REST API. Stream promptStream({ required List parts, String? model, List? safetySettings, GenerationConfig? generationConfig, }); } ================================================ FILE: lib/src/utils/candidate_extension.dart ================================================ import 'package:flutter_gemini/src/models/candidates/candidates.dart'; import 'package:flutter_gemini/src/models/part/part.dart'; /// [CandidateExtension] used when wanna get [output] simply /// Extension for the `Candidates` class that provides convenient getters /// to access the last part of the `content` in different formats (text, file, or generic part). /// This extension is useful for extracting the relevant output from the `Candidates` /// object based on the response type (text, file, or other parts). extension CandidateExtension on Candidates { /// Retrieves the last `TextPart` from the content and returns the `text` property. /// This is useful for getting the AI-generated text response from the `Candidates` object. /// /// **Returns:** /// - `String?`: The text of the last part if it is a `TextPart`, or `null` if not found. String? get output => (content?.parts?.lastOrNull as TextPart?)?.text; /// Retrieves the last `FilePart` from the content and returns its `fileData`. /// This is useful for handling file responses (such as images or documents) from the AI. /// /// **Returns:** /// - `FileDataPart?`: The `FileDataPart` object containing the file data, or `null` if not found. FileDataPart? get outputFile => (content?.parts?.lastOrNull as FilePart?)?.fileData; /// Retrieves the last `Part` from the content, regardless of its type (text, file, etc.). /// This provides a more generic access to the last part of the response. /// /// **Returns:** /// - `Part?`: The last `Part` object, or `null` if not found. Part? get outputPart => content?.parts?.lastOrNull; } ================================================ FILE: lib/src/utils/gemini_data_builder.dart ================================================ import 'dart:convert'; import 'dart:typed_data'; import 'package:flutter_gemini/src/models/content/content.dart'; import 'package:flutter_gemini/src/models/part/part.dart'; import 'package:mime/mime.dart'; class GeminiDataBuilder { static Map buildTextData(String text) => { 'contents': [ { 'parts': [ {'text': text} ] } ] }; static Map buildTextAndImageData( String text, List? images) { final parts = >[ {'text': text}, if (images != null) ...images.map((image) => { 'inline_data': { 'mime_type': lookupMimeType('', headerBytes: image) ?? 'image/jpeg', 'data': base64Encode(image), } }) ]; return { 'contents': [ {'parts': parts} ] }; } static Map buildChatData( List chats, String? systemPrompt) { final data = { 'contents': chats.map((e) => e.toJson()).toList(), }; if (systemPrompt != null) { data['system_instruction'] = { 'parts': [ {'text': systemPrompt} ] }; } return data; } static Map buildPromptData(List parts) => { 'contents': [ {'parts': parts.map((e) => Part.toJson(e)).toList()} ] }; static Map buildEmbedData(String text) => { 'model': 'embedding-001', 'content': { 'parts': [ {'text': text} ] } }; static Map buildBatchEmbedData(List texts) => { 'requests': texts .map((text) => { 'model': 'models/embedding-001', 'content': { 'parts': [ {'text': text} ] } }) .toList() }; } ================================================ FILE: lib/src/utils/gemini_exception.dart ================================================ /// A custom exception class to represent errors that occur during Gemini API interactions. /// This exception is used to capture error messages and status codes from the API response, /// providing more context for error handling. /// /// **Usage:** /// You can throw a `GeminiException` when an API request fails or encounters an unexpected issue. /// /// **Example:** /// ```dart /// if (response.statusCode != 200) { /// throw GeminiException('Failed to fetch data', statusCode: response.statusCode); /// } /// ``` class GeminiException implements Exception { /// A message describing the error that occurred. This can be a string or any other object /// containing details about the error (e.g., error description, API message). final Object message; /// The HTTP response status code from the API request. It provides context for the error, /// such as whether it was a client error (4xx) or server error (5xx). final int? statusCode; /// Constructs a [GeminiException] with an error message and optional status code. /// /// **Parameters:** /// - `message` (Object): The message describing the error. /// - `statusCode` (int?, optional): The HTTP status code associated with the error (e.g., 404, 500). const GeminiException( this.message, { this.statusCode, }); @override String toString() { // Returns a string representation of the exception, including the error message and status code. return '**GeminiException** => $message\n\tStatus Code: $statusCode'; } } ================================================ FILE: lib/src/utils/gemini_exception_handler_mixin.dart ================================================ import 'package:dio/dio.dart'; import 'package:flutter_gemini/src/repository/api_interface.dart'; import 'package:flutter_gemini/src/utils/gemini_exception.dart'; /// A mixin that provides centralized exception handling for API requests. /// This is designed to simplify error management by wrapping requests /// with a handler that detects and processes exceptions. /// /// **Usage:** /// Add this mixin to a class implementing `ApiInterface` to gain access /// to the `handler` method for streamlined API call management. /// /// **Example:** /// ```dart /// class ApiService with GeminiExceptionHandler implements ApiInterface { /// Future fetchData() async { /// return await handler(() async { /// return await dio.get('/endpoint'); /// }); /// } /// } /// ``` mixin GeminiExceptionHandler on ApiInterface { /// Wraps an API request and handles potential exceptions. /// /// **Parameters:** /// - `request` (Future Function()): A function that executes /// the actual API request and returns a `Future`. /// /// **Returns:** /// - `Future`: The API response if the request succeeds. /// /// **Throws:** /// - `GeminiException`: If the response indicates an error or if a /// DioException occurs. Future handler(Future Function() request) async { try { // Execute the API request. final res = await request(); // Extract the HTTP status code. int statusCode = res.statusCode ?? 200; // If the status code indicates success, return the response. if (statusCode >= 200 && statusCode < 300) { return res; } // Throw a GeminiException if the status code indicates failure. throw GeminiException(res.data?['error'], statusCode: statusCode); } catch (e) { // Handle Dio-specific exceptions. if (e is DioException) { final data = e.response?.data; // Check if the response contains a raw `ResponseBody`. if (data is ResponseBody) { throw GeminiException( e.message ?? 'Something went wrong!', statusCode: e.response!.statusCode, ); } // For other DioExceptions, throw a GeminiException with status -1. throw GeminiException(e.message ?? 'Something went wrong!', statusCode: -1); } // For all other exceptions, wrap them in a GeminiException. throw GeminiException(e, statusCode: -1); } } } ================================================ FILE: lib/src/utils/gemini_model_manager.dart ================================================ import 'dart:developer'; import 'package:flutter_gemini/src/config/constants.dart'; import 'package:flutter_gemini/src/init.dart'; import 'package:flutter_gemini/src/models/gemini_model/gemini_model.dart'; import '../implement/gemini_service.dart'; class GeminiModelManager { final GeminiService _api; List? _models; GeminiModelManager(this._api); Future resolveModelName({ required String? userModel, required String expectedModel, }) async { if (Gemini.instance.disableAutoUpdateModelName) { return userModel ?? expectedModel; } _models ??= await _listModels(); if (userModel != null) { final resolved = _findModel(userModel); if (resolved != null) return resolved; _logModelNotFound(userModel); } final resolvedExpected = _findModel(expectedModel); if (resolvedExpected != null) return resolvedExpected; return _findFallbackModel(userModel, expectedModel); } Future> _listModels() async { final response = await _api .get('${Constants.baseUrl}${Constants.defaultVersion}/models'); return GeminiModel.jsonToList(response.data['models']); } String? _findModel(String modelName) { final models = _models!; if (models.any((m) => m.name == modelName)) return modelName; final withPrefix = 'models/$modelName'; if (models.any((m) => m.name == withPrefix)) return withPrefix; final partialMatches = models .where((m) => m.name?.toLowerCase().contains(modelName.toLowerCase()) ?? false) .toList(); if (partialMatches.isNotEmpty) { partialMatches.sort(_compareModelVersions); final bestMatch = partialMatches.first.name!; log('Using partial match "$bestMatch" for requested model "$modelName"', name: 'GEMINI_INFO'); return bestMatch; } return null; } String _findFallbackModel(String? userModel, String expectedModel) { log('Expected model "$expectedModel" not found. Searching for alternatives...', name: 'GEMINI_WARNING'); final fallback = _findBestFallback(userModel, expectedModel); if (fallback != null) { log('Using fallback model: $fallback', name: 'GEMINI_INFO'); return fallback; } log('No suitable model found. Using default: ${Constants.defaultModel}', name: 'GEMINI_WARNING'); return Constants.defaultModel; } void _logModelNotFound(String modelName) { log('Model "$modelName" not found. Available: ${_models?.map((e) => e.name).join(", ")}', name: 'GEMINI_WARNING'); } int _compareModelVersions(GeminiModel a, GeminiModel b) { final versionA = _extractVersion(a.name ?? ''); final versionB = _extractVersion(b.name ?? ''); return versionB.compareTo(versionA); } double _extractVersion(String name) { final match = RegExp(r'(\d+\.?\d*)').firstMatch(name); return double.tryParse(match?.group(1) ?? '0') ?? 0; } String? _findBestFallback(String? userModel, String expectedModel) { if (_models == null || _models!.isEmpty) return null; final fallbackPriority = ['gemini-2.5-pro', 'gemini-2.5-flash']; final userHint = userModel?.toLowerCase(); final expectedHint = expectedModel.toLowerCase(); if (userHint?.contains('pro') ?? expectedHint.contains('pro')) { return _findModelByPatterns(['pro', ...fallbackPriority]); } if (userHint?.contains('flash') ?? expectedHint.contains('flash')) { return _findModelByPatterns(['flash', ...fallbackPriority]); } return _findModelByPatterns(fallbackPriority); } String? _findModelByPatterns(List patterns) { for (final pattern in patterns) { final matches = _models! .where((m) => m.name?.toLowerCase().contains(pattern) ?? false) .toList(); if (matches.isNotEmpty) { matches.sort(_compareModelVersions); return matches.first.name; } } return null; } } ================================================ FILE: lib/src/utils/gemini_request_handler.dart ================================================ import 'package:dio/dio.dart'; import 'package:flutter_gemini/src/utils/gemini_response_parser.dart'; import 'package:flutter_gemini/src/implement/gemini_service.dart'; import 'package:flutter_gemini/src/init.dart'; import 'package:flutter_gemini/src/models/candidates/candidates.dart'; class GeminiRequestHandler { final GeminiService _api; GeminiRequestHandler(this._api); /// Executes a standard API request. Future executeRequest({ required String endpoint, Map? data, required T Function(Map) responseParser, bool isGetRequest = false, }) async { _clearTypeProvider(); try { final Response response = isGetRequest ? await _api.get(endpoint) : await _api.post(endpoint, data: data); return responseParser(response.data); } finally { _setTypeProviderLoading(false); } } /// Executes a streaming API request. Stream executeStreamRequest({ required String endpoint, required Map data, }) async* { _clearTypeProvider(); try { final response = await _api.post( endpoint, data: data, isStreamResponse: true, ); if (response.statusCode == 200) { yield* GeminiResponseParser.processStreamResponse(response.data); } } finally { _setTypeProviderLoading(false); } } void _clearTypeProvider() => Gemini.instance.typeProvider?.clear(); void _setTypeProviderLoading(bool loading) => Gemini.instance.typeProvider?.loading = loading; } ================================================ FILE: lib/src/utils/gemini_response_parser.dart ================================================ import 'dart:convert'; import 'dart:developer'; import 'package:dio/dio.dart'; import 'package:flutter_gemini/src/init.dart'; import 'package:flutter_gemini/src/models/candidates/candidates.dart'; import 'package:flutter_gemini/src/models/gemini_response/gemini_response.dart'; import 'package:flutter_gemini/src/utils/candidate_extension.dart'; class GeminiResponseParser { static const _splitter = LineSplitter(); static Candidates? parseGenerateResponse(Map responseData) => GeminiResponse.fromJson(responseData).candidates?.lastOrNull; static List?>? parseBatchEmbeddingResponse( Map responseData) { return (responseData['embeddings'] as List) .map((e) => (e['values'] as List).cast()) .toList(); } static Stream processStreamResponse( ResponseBody responseBody) async* { int index = 0; String modelStr = ''; List cacheUnits = []; await for (final itemList in responseBody.stream) { final list = cacheUnits + itemList; cacheUnits.clear(); String res; try { res = utf8.decode(list); } catch (e) { log('Error in parsing chunk', error: e, name: 'Gemini_Exception'); cacheUnits = list; continue; } res = _cleanStreamResponse(res, index == 0); yield* _parseStreamLines( res, modelStr, (newModelStr) => modelStr = newModelStr); index++; } } static Stream _parseStreamLines(String response, String currentModelStr, void Function(String) updateModelStr) async* { String modelStr = currentModelStr; for (final line in _splitter.convert(response)) { if (modelStr.isEmpty && line == ',') continue; modelStr += line; final candidate = _tryParseCandidate(modelStr); if (candidate != null) { yield candidate; Gemini.instance.typeProvider?.add(candidate.output); modelStr = ''; } } updateModelStr(modelStr); } static Candidates? _tryParseCandidate(String jsonStr) { try { final candidateData = (jsonDecode(jsonStr)['candidates'] as List?)?.firstOrNull; return candidateData != null ? Candidates.fromJson(candidateData) : null; } catch (e) { return null; } } static String _cleanStreamResponse(String response, bool isFirst) { String cleaned = response.trim(); if (isFirst && cleaned.startsWith('[')) cleaned = cleaned.substring(1); if (cleaned.startsWith(',')) cleaned = cleaned.substring(1); if (cleaned.endsWith(']')) { cleaned = cleaned.substring(0, cleaned.length - 1); } return cleaned.trim(); } } ================================================ FILE: pubspec.yaml ================================================ name: flutter_gemini description: Flutter Google Gemini SDK. Google Gemini is a set of cutting-edge large language models (LLMs) designed to be the driving force behind Google's future AI initiatives. version: 3.0.0 repository: https://github.com/babakcode/flutter_gemini topics: - gemini - ai - google-gemini - flutter-gemini screenshots: - description: Flutter_Gemini example screenshot path: screenshots/gemini_screenshot.png - description: Flutter_Gemini example path: screenshots/gemini_cover.jpeg platforms: android: ios: web: linux: windows: macos: environment: sdk: '>=3.0.0 <4.0.0' dependencies: dio: ^5.7.0 mime: ^2.0.0 dev_dependencies: test: ^1.24.0 flutter_lints: ^2.0.0 json_convert: ^1.1.0 build_runner: ^2.4.7 ================================================ FILE: test/features/chat_test.dart ================================================ import 'dart:developer'; import 'package:test/test.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import '../flutter_gemini_test.dart'; void main() { Gemini.init(apiKey: apiKey, enableDebugging: true); test('Check Gemini\'s generated simple chat responding', () async { /// an instance final gemini = Gemini.instance; await gemini .chat([ Content(parts: [ Parts( text: 'Write the first line of a story about a magic backpack.') ], role: 'user'), Content(parts: [ Parts( text: 'In the bustling city of Meadow brook, lived a young girl named Sophie. She was a bright and curious soul with an imaginative mind.') ], role: 'model'), Content(parts: [ Parts(text: 'Can you set it in a quiet village in 1600s France?') ], role: 'user'), ]) .then((value) => log(value?.output ?? 'without output')) .catchError((e) => log('chat', error: e)); }); } ================================================ FILE: test/features/count_tokens_test.dart ================================================ import 'dart:developer'; import 'package:flutter_gemini/flutter_gemini.dart'; import '../flutter_gemini_test.dart'; import 'package:test/test.dart'; void main() { Gemini.init(apiKey: apiKey, enableDebugging: true); test('check gemini to generate simple text', () async { /// an instance final gemini = Gemini.instance; await gemini .countTokens("Write a story about a magic backpack.") .then((value) => log((value ?? 0).toString())) .catchError((e) => log('text input exception', error: e)); }); } ================================================ FILE: test/features/info_test.dart ================================================ import 'dart:developer'; import 'package:test/test.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import '../flutter_gemini_test.dart'; void main() { Gemini.init(apiKey: apiKey, enableDebugging: true); test('Check Gemini\'s generated model info', () async { /// an instance final gemini = Gemini.instance; await gemini .info(model: 'gemini-pro') .then((info) => log(info.toString())) .catchError((e) => log('text input exception', error: e)); }); } ================================================ FILE: test/features/list_models_test.dart ================================================ import 'dart:developer'; import 'package:test/test.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import '../flutter_gemini_test.dart'; void main() { Gemini.init(apiKey: apiKey, enableDebugging: true); test('Check Gemini\'s generated model list', () async { /// an instance final gemini = Gemini.instance; await gemini .listModels() .then((models) => log(models.toString())) .catchError((e) => log('listModels', error: e)); }); } ================================================ FILE: test/features/text_test.dart ================================================ import 'dart:developer'; import 'package:test/test.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; import '../flutter_gemini_test.dart'; void main() { Gemini.init(apiKey: apiKey, enableDebugging: true); test('check gemini to generate simple text', () async { /// an instance final gemini = Gemini.instance; await gemini .text("Write a story about a magic backpack.") .then((value) => log(value?.output ?? '')) .catchError((e) => log('text input exception', error: e)); }); } ================================================ FILE: test/flutter_gemini_test.dart ================================================ import 'dart:developer'; import 'package:test/test.dart'; import 'package:flutter_gemini/flutter_gemini.dart'; const apiKey = '--- Your Gemini Api Key ---'; void main() { Gemini.init(apiKey: apiKey, enableDebugging: true); test('check gemini to generate simple text', () async { /// an instance final gemini = Gemini.instance; await gemini .chat([ Content(parts: [ Parts( text: 'Write the first line of a story about a magic backpack.') ], role: 'user'), Content(parts: [ Parts( text: 'In the bustling city of Meadow brook, lived a young girl named Sophie. She was a bright and curious soul with an imaginative mind.') ], role: 'model'), Content(parts: [ Parts(text: 'Can you set it in a quiet village in 1600s France?') ], role: 'user'), ]) .then((value) => log(value?.output ?? 'without output')) .catchError((e) => log('chat', error: e)); }); }