Showing preview only (9,543K chars total). Download the full file or copy to clipboard to get everything.
Repository: simolus3/sqlite3.dart
Branch: main
Commit: 366921dae224
Files: 359
Total size: 9.0 MB
Directory structure:
gitextract_d7om4gvc/
├── .gitattributes
├── .github/
│ ├── dependabot.yml
│ └── workflows/
│ ├── compile_sqlite.yml
│ ├── main.yml
│ └── release.yml
├── .gitignore
├── .gitmodules
├── .vscode/
│ └── settings.json
├── LICENSE
├── README.md
├── UPGRADING_TO_V3.md
├── examples/
│ ├── flutter_integration_tests/
│ │ ├── .gitignore
│ │ ├── .metadata
│ │ ├── README.md
│ │ ├── analysis_options.yaml
│ │ ├── android/
│ │ │ ├── .gitignore
│ │ │ ├── app/
│ │ │ │ ├── build.gradle.kts
│ │ │ │ └── src/
│ │ │ │ ├── debug/
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ │ ├── main/
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ ├── kotlin/
│ │ │ │ │ │ └── com/
│ │ │ │ │ │ └── example/
│ │ │ │ │ │ └── flutter_integration_tests/
│ │ │ │ │ │ └── MainActivity.kt
│ │ │ │ │ └── res/
│ │ │ │ │ ├── drawable/
│ │ │ │ │ │ └── launch_background.xml
│ │ │ │ │ ├── drawable-v21/
│ │ │ │ │ │ └── launch_background.xml
│ │ │ │ │ ├── values/
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ └── values-night/
│ │ │ │ │ └── styles.xml
│ │ │ │ └── profile/
│ │ │ │ └── AndroidManifest.xml
│ │ │ ├── build.gradle.kts
│ │ │ ├── gradle/
│ │ │ │ └── wrapper/
│ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── gradle.properties
│ │ │ └── settings.gradle.kts
│ │ ├── integration_test/
│ │ │ └── integration_test.dart
│ │ ├── 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
│ │ ├── linux/
│ │ │ ├── .gitignore
│ │ │ ├── CMakeLists.txt
│ │ │ ├── flutter/
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── generated_plugin_registrant.cc
│ │ │ │ ├── generated_plugin_registrant.h
│ │ │ │ └── generated_plugins.cmake
│ │ │ └── runner/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── 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
│ │ └── 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
│ ├── multiplatform/
│ │ ├── analysis_options.yaml
│ │ ├── db/
│ │ │ ├── db.dart
│ │ │ └── sqlite3/
│ │ │ ├── native.dart
│ │ │ ├── sqlite3.dart
│ │ │ ├── unsupported.dart
│ │ │ └── web.dart
│ │ ├── main.dart
│ │ └── pubspec.yaml
│ └── pubspec.yaml
├── legacy/
│ ├── sqlcipher_flutter_libs/
│ │ ├── CHANGELOG.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── lib/
│ │ │ └── sqlcipher_flutter_libs.dart
│ │ └── pubspec.yaml
│ └── sqlite3_flutter_libs/
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── lib/
│ │ └── sqlite3_flutter_libs.dart
│ └── pubspec.yaml
├── native_tests/
│ ├── all_native_tests.dart
│ ├── analysis_options.yaml
│ ├── ignorelist.txt
│ ├── pubspec.yaml
│ └── run.dart
├── pubspec.yaml
├── sqlite3/
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── analysis_options.yaml
│ ├── assets/
│ │ ├── sqlite3.h
│ │ └── sqlite3_dart_wasm.h
│ ├── build.yaml
│ ├── dart_test.yaml
│ ├── dartdoc_options.yaml
│ ├── doc/
│ │ ├── common.md
│ │ ├── hook.md
│ │ ├── native.md
│ │ ├── releasing.md
│ │ └── wasm.md
│ ├── example/
│ │ ├── custom_extension/
│ │ │ ├── README.md
│ │ │ ├── example/
│ │ │ │ └── main.dart
│ │ │ ├── hook/
│ │ │ │ └── build.dart
│ │ │ ├── lib/
│ │ │ │ └── sqlite_vec.dart
│ │ │ ├── pubspec.yaml
│ │ │ └── test/
│ │ │ └── extension_test.dart
│ │ ├── custom_wasm_build/
│ │ │ ├── .cargo/
│ │ │ │ └── config.toml
│ │ │ ├── .gitignore
│ │ │ ├── Cargo.toml
│ │ │ ├── README.md
│ │ │ ├── build.rs
│ │ │ ├── link.dart
│ │ │ └── src/
│ │ │ └── lib.rs
│ │ ├── jsonb.dart
│ │ ├── main.dart
│ │ └── web/
│ │ ├── README.md
│ │ ├── index.html
│ │ ├── main.dart
│ │ └── worker.dart
│ ├── hook/
│ │ └── build.dart
│ ├── lib/
│ │ ├── common.dart
│ │ ├── sqlite3.dart
│ │ ├── src/
│ │ │ ├── constants.dart
│ │ │ ├── database.dart
│ │ │ ├── exception.dart
│ │ │ ├── ffi/
│ │ │ │ ├── api.dart
│ │ │ │ ├── bindings.dart
│ │ │ │ ├── implementation.dart
│ │ │ │ ├── libsqlite3.g.dart
│ │ │ │ └── memory.dart
│ │ │ ├── functions.dart
│ │ │ ├── hook/
│ │ │ │ ├── asset_hashes.dart
│ │ │ │ ├── assets.dart
│ │ │ │ ├── description.dart
│ │ │ │ ├── used_symbols.dart
│ │ │ │ └── utils.dart
│ │ │ ├── implementation/
│ │ │ │ ├── bindings.dart
│ │ │ │ ├── database.dart
│ │ │ │ ├── exception.dart
│ │ │ │ ├── session.dart
│ │ │ │ ├── sqlite3.dart
│ │ │ │ ├── statement.dart
│ │ │ │ └── utils.dart
│ │ │ ├── in_memory_vfs.dart
│ │ │ ├── jsonb.dart
│ │ │ ├── result_set.dart
│ │ │ ├── session.dart
│ │ │ ├── sqlite3.dart
│ │ │ ├── statement.dart
│ │ │ ├── utils.dart
│ │ │ ├── vfs.dart
│ │ │ └── wasm/
│ │ │ ├── bindings.dart
│ │ │ ├── injected_values.dart
│ │ │ ├── js_interop/
│ │ │ │ ├── atomics.dart
│ │ │ │ ├── core.dart
│ │ │ │ ├── fetch.dart
│ │ │ │ ├── file_system_access.dart
│ │ │ │ ├── indexed_db.dart
│ │ │ │ ├── new_file_system_access.dart
│ │ │ │ └── typed_data.dart
│ │ │ ├── js_interop.dart
│ │ │ ├── loader.dart
│ │ │ ├── sqlite3.dart
│ │ │ ├── sqlite3_wasm.g.dart
│ │ │ ├── vfs/
│ │ │ │ ├── async_opfs/
│ │ │ │ │ ├── client.dart
│ │ │ │ │ ├── sync_channel.dart
│ │ │ │ │ └── worker.dart
│ │ │ │ ├── indexed_db.dart
│ │ │ │ └── simple_opfs.dart
│ │ │ └── wasm_interop.dart
│ │ ├── unstable/
│ │ │ └── ffi_bindings.dart
│ │ └── wasm.dart
│ ├── pubspec.yaml
│ ├── test/
│ │ ├── common/
│ │ │ ├── database.dart
│ │ │ ├── prepared_statement.dart
│ │ │ ├── session.dart
│ │ │ ├── utils.dart
│ │ │ └── vfs.dart
│ │ ├── ffi/
│ │ │ ├── common_database_test.dart
│ │ │ ├── database_test.dart
│ │ │ ├── errors_test.dart
│ │ │ ├── ffi_test.dart
│ │ │ ├── prepared_statement_test.dart
│ │ │ ├── sqlite3_test.dart
│ │ │ └── vfs_test.dart
│ │ ├── hook/
│ │ │ ├── assets_test.dart
│ │ │ └── description_test.dart
│ │ ├── jsonb_test.dart
│ │ ├── source_code_test.dart
│ │ └── wasm/
│ │ ├── asset_server.dart
│ │ ├── common_database_test.dart
│ │ ├── encryption_test.dart
│ │ ├── file_system_test.dart
│ │ ├── prepared_statement_test.dart
│ │ ├── sqlite3_test.dart
│ │ ├── utils.dart
│ │ ├── worker.dart
│ │ └── worker_server.dart
│ └── tool/
│ ├── check_compile_time_option.dart
│ ├── example_server.dart
│ ├── format_native.sh
│ └── generate_bindings.dart
├── sqlite3_connection_pool/
│ ├── .cargo/
│ │ └── config.toml
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── Cargo.toml
│ ├── LICENSE
│ ├── README.md
│ ├── analysis_options.yaml
│ ├── example/
│ │ └── main.dart
│ ├── hook/
│ │ └── build.dart
│ ├── lib/
│ │ ├── sqlite3_connection_pool.dart
│ │ └── src/
│ │ ├── abort_exception.dart
│ │ ├── connection.dart
│ │ ├── ffi.g.dart
│ │ ├── mutex.dart
│ │ ├── pool.dart
│ │ └── raw.dart
│ ├── pubspec.yaml
│ ├── src/
│ │ ├── client.rs
│ │ ├── connection.rs
│ │ ├── dart.rs
│ │ ├── headers.h
│ │ ├── lib.rs
│ │ ├── pool.rs
│ │ ├── registry.rs
│ │ └── update_hook.rs
│ ├── test/
│ │ └── pool_test.dart
│ └── tool/
│ ├── build_apple.sh
│ ├── build_linux.sh
│ ├── build_linux_sanitizer.sh
│ └── generate_bindings.dart
├── sqlite3_test/
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── analysis_options.yaml
│ ├── example/
│ │ └── sqlite3_test_example.dart
│ ├── lib/
│ │ └── sqlite3_test.dart
│ ├── pubspec.yaml
│ └── test/
│ └── sqlite3_test_test.dart
├── sqlite3_wasm_build/
│ ├── README.md
│ ├── pubspec.yaml
│ ├── src/
│ │ ├── CMakeLists.txt
│ │ ├── bridge.h
│ │ ├── external_objects.c
│ │ ├── external_objects.h
│ │ ├── getentropy.c
│ │ ├── helpers.c
│ │ ├── os_web.c
│ │ └── sqlite_cfg.h
│ └── tool/
│ └── wasm_symbols.dart
├── sqlite3_web/
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── analysis_options.yaml
│ ├── benchmark/
│ │ ├── benchmark.dart
│ │ ├── index.html
│ │ ├── main.dart
│ │ ├── message.dart
│ │ ├── sql/
│ │ │ ├── benchmark1.sql
│ │ │ ├── benchmark10.sql
│ │ │ ├── benchmark11.sql
│ │ │ ├── benchmark12.sql
│ │ │ ├── benchmark13.sql
│ │ │ ├── benchmark14.sql
│ │ │ ├── benchmark15.sql
│ │ │ ├── benchmark16.sql
│ │ │ ├── benchmark2.sql
│ │ │ ├── benchmark3.sql
│ │ │ ├── benchmark4.sql
│ │ │ ├── benchmark5.sql
│ │ │ ├── benchmark6.sql
│ │ │ ├── benchmark7.sql
│ │ │ ├── benchmark8.sql
│ │ │ └── benchmark9.sql
│ │ └── worker.dart
│ ├── build.yaml
│ ├── dart_test.yaml
│ ├── example/
│ │ ├── controller.dart
│ │ ├── index.html
│ │ ├── main.dart
│ │ ├── main.js
│ │ └── worker.dart
│ ├── lib/
│ │ ├── protocol_utils.dart
│ │ ├── sqlite3_web.dart
│ │ └── src/
│ │ ├── channel.dart
│ │ ├── client.dart
│ │ ├── database.dart
│ │ ├── locks.dart
│ │ ├── protocol/
│ │ │ ├── compatibility_result.dart
│ │ │ ├── dsl.dart
│ │ │ ├── extensions.dart
│ │ │ ├── helper.g.dart
│ │ │ └── messages.dart
│ │ ├── protocol.dart
│ │ ├── shared.dart
│ │ ├── types.dart
│ │ ├── worker.dart
│ │ └── worker_connector.dart
│ ├── pubspec.yaml
│ ├── test/
│ │ ├── asset_server.dart
│ │ ├── client_test.dart
│ │ ├── integration_test.dart
│ │ ├── protocol_test.dart
│ │ └── worker_test.dart
│ ├── tool/
│ │ ├── protocol_generator.dart
│ │ └── server.dart
│ └── web/
│ ├── controller.dart
│ ├── index.html
│ ├── main.dart
│ ├── main.js
│ └── worker.dart
└── tool/
├── build_sqlite.dart
├── build_with_sanitizers.dart
├── download_sqlite.dart
├── hook_overrides.dart
└── write_asset_hashes.dart
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
sqlite3_web/benchmark/sql/* -linguist-detectable
================================================
FILE: .github/dependabot.yml
================================================
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
groups:
all-github-actions:
patterns:
- "*"
- package-ecosystem: "pub"
versioning-strategy: "increase-if-necessary"
directory: "/"
schedule:
interval: "weekly"
groups:
all-pub-dependencies:
patterns:
- "*"
================================================
FILE: .github/workflows/compile_sqlite.yml
================================================
name: Download and compile SQLite
on:
workflow_call:
outputs:
artifact_id:
description: "ID of the artifact containing prebuilt SQLite libraries"
value: ${{ jobs.merge_assets.outputs.sqlite_merged }}
pool_libs_artifact_id:
description: "ID of the artifact containing libraries for sqlite3_connection_pool"
value: ${{ jobs.merge_assets.outputs.pool_libs }}
sanitized_artifact_id:
description: "ID of the artifact containing libraries compiled with sanitizers"
value: ${{ jobs.build_with_sanitizers.outputs.libs }}
jobs:
download_sqlite:
runs-on: ubuntu-latest
name: Download SQLite sources
steps:
- uses: actions/checkout@v6
- uses: actions/cache@v5
id: cache_build
with:
path: sqlite-src/
key: sqlite-src-${{ hashFiles('tool/download_sqlite.dart') }}
- uses: dart-lang/setup-dart@v1
if: steps.cache_build.outputs.cache-hit != 'true'
- name: Download sqlite3
if: steps.cache_build.outputs.cache-hit != 'true'
run: |
dart run tool/download_sqlite.dart
- name: Upload sqlite3 sources
uses: actions/upload-artifact@v7
with:
name: sqlite-src
path: sqlite-src/
if-no-files-found: error
retention-days: 1
build_sqlite:
needs: [download_sqlite]
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
name: Compile sqlite3
steps:
- uses: actions/checkout@v6
- uses: actions/cache@v5
id: cache_build
with:
path: sqlite-compiled
key: sqlite-prebuilt-${{ runner.os }}-${{ hashFiles('tool/**', 'sqlite3/lib/src/hook/description.dart', 'sqlite3/lib/src/hook/used_symbols.dart') }}
- name: Download sqlite3 sources
if: steps.cache_build.outputs.cache-hit != 'true'
uses: actions/download-artifact@v8
with:
name: sqlite-src
path: sqlite-src
- uses: dart-lang/setup-dart@v1
if: steps.cache_build.outputs.cache-hit != 'true'
- name: Install cross-compiling GCC
shell: bash
if: runner.os == 'Linux' && steps.cache_build.outputs.cache-hit != 'true'
run: |
sudo apt update
sudo apt install -y gcc-aarch64-linux-gnu gcc-riscv64-linux-gnu gcc-arm-linux-gnueabihf gcc-i686-linux-gnu
- name: Compile sqlite3
if: steps.cache_build.outputs.cache-hit != 'true'
run: |
dart pub get
dart run tool/build_sqlite.dart
- name: Upload sqlite3 binaries
uses: actions/upload-artifact@v7
with:
name: sqlite3-libs-${{ runner.os }}
path: sqlite-compiled
if-no-files-found: error
retention-days: 1
build_with_sanitizers:
needs: [download_sqlite]
runs-on: ubuntu-latest
outputs:
libs: ${{ steps.upload.outputs.artifact-id }}
steps:
- uses: actions/checkout@v6
- uses: actions/cache@v5
id: cache_build
with:
path: sqlite-sanitized
key: sqlite-sanitizers-${{ runner.os }}-${{ hashFiles('tool/**', 'sqlite3/lib/src/hook/description.dart', 'sqlite3_connection_pool/src/**') }}
- name: Download sqlite3 sources
if: steps.cache_build.outputs.cache-hit != 'true'
uses: actions/download-artifact@v8
with:
name: sqlite-src
path: sqlite-src
- uses: dart-lang/setup-dart@v1
if: steps.cache_build.outputs.cache-hit != 'true'
- uses: dtolnay/rust-toolchain@stable
if: steps.cache_build.outputs.cache-hit != 'true'
with:
toolchain: nightly
components: rust-src
- name: Install LLVM toolchain
shell: bash
if: steps.cache_build.outputs.cache-hit != 'true'
run: |
sudo apt update
sudo apt install -y llvm clang lld
- name: Compile sqlite3
if: steps.cache_build.outputs.cache-hit != 'true'
run: |
dart pub get
dart run tool/build_with_sanitizers.dart
- name: Compile pool libraries
if: steps.cache_build.outputs.cache-hit != 'true'
working-directory: sqlite3_connection_pool
run: ./tool/build_linux_sanitizer.sh
- name: Upload binaries
uses: actions/upload-artifact@v7
id: upload
with:
name: sqlite3-sanitized
path: sqlite-sanitized
if-no-files-found: error
retention-days: 1
compile_wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/cache@v5
id: cache_build
with:
path: sqlite3_wasm_build/out/
key: sqlite-prebuilt-wasm-${{ hashFiles('sqlite3_wasm_build/src/**') }}
# clang 18 that ships on ubuntu crashes when compiling the wasm sources
- name: Install LLVM and Clang
if: steps.cache_build.outputs.cache-hit != 'true'
uses: KyleMayes/install-llvm-action@v2.0.9
with:
version: "21"
- name: Download WASI SDK
if: steps.cache_build.outputs.cache-hit != 'true'
run: |
ls -al ${{ env.LLVM_PATH }}
curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-27/wasi-sdk-27.0-x86_64-linux.deb -o wasi-sdk.deb
sudo dpkg -i wasi-sdk.deb
sudo mkdir /usr/lib/llvm-18/lib/clang/18/lib/wasi
sudo cp -r /opt/wasi-sdk/lib/clang/20/lib/* ${{ env.LLVM_PATH }}/lib/clang/21/lib/
curl -L https://github.com/WebAssembly/binaryen/releases/download/version_124/binaryen-version_124-x86_64-linux.tar.gz -o binaryen.tar.gz
tar --extract --gzip --file binaryen.tar.gz
sudo mv binaryen-version_124/bin/* /usr/local/bin
- uses: dart-lang/setup-dart@v1
if: steps.cache_build.outputs.cache-hit != 'true'
- name: Compile WASM binaries
if: steps.cache_build.outputs.cache-hit != 'true'
working-directory: sqlite3_wasm_build/
run: |
cmake -Dwasi_sysroot=/opt/wasi-sdk/share/wasi-sysroot/ -S src -B .dart_tool/sqlite_build
cmake --build .dart_tool/sqlite_build/ -t output -j
- name: Upload sqlite3 binaries
uses: actions/upload-artifact@v7
with:
name: sqlite3-libs-wasm
path: sqlite3_wasm_build/out/
if-no-files-found: error
retention-days: 1
compile_pool_linux_android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/cache@v5
id: cache_build
with:
path: sqlite3_connection_pool/out
key: pool-helper-${{ runner.os }}-${{ hashFiles('sqlite3_connection_pool/src/**', 'sqlite3_connection_pool/Cargo.toml', 'sqlite3_connection_pool/.cargo/**') }}
- uses: dtolnay/rust-toolchain@stable
if: steps.cache_build.outputs.cache-hit != 'true'
with:
toolchain: nightly
components: rust-src
targets: aarch64-unknown-linux-gnu,x86_64-unknown-linux-gnu,riscv64gc-unknown-linux-gnu,armv7-unknown-linux-gnueabihf,aarch64-linux-android,armv7-linux-androideabi,x86_64-linux-android
- run: cargo install cargo-ndk
if: steps.cache_build.outputs.cache-hit != 'true'
- name: Install cross-compiling GCC
if: steps.cache_build.outputs.cache-hit != 'true'
run: |
sudo apt update
sudo apt install -y gcc-aarch64-linux-gnu gcc-riscv64-linux-gnu gcc-arm-linux-gnueabihf
- name: Build for Linux
if: steps.cache_build.outputs.cache-hit != 'true'
working-directory: sqlite3_connection_pool
run: |
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
./tool/build_linux.sh
- name: Build Android libs
if: steps.cache_build.outputs.cache-hit != 'true'
working-directory: sqlite3_connection_pool
env:
RUSTFLAGS: "-Zlocation-detail=none -Zfmt-debug=none -Zunstable-options -Cpanic=immediate-abort"
run: cargo +nightly ndk -t armeabi-v7a -t arm64-v8a -t x86_64 -o target/android build --release -Zbuild-std=std,panic_abort -Zbuild-std-features=
- name: Copy libraries
if: steps.cache_build.outputs.cache-hit != 'true'
working-directory: sqlite3_connection_pool
run: |
mkdir out
cp target/x86_64-unknown-linux-gnu/release/libsqlite3_connection_pool.so out/libsqlite3_connection_pool.linux_x64.so
cp target/aarch64-unknown-linux-gnu/release/libsqlite3_connection_pool.so out/libsqlite3_connection_pool.linux_aarch64.so
cp target/armv7-unknown-linux-gnueabihf/release/libsqlite3_connection_pool.so out/libsqlite3_connection_pool.linux_arm7.so
cp target/riscv64gc-unknown-linux-gnu/release/libsqlite3_connection_pool.so out/libsqlite3_connection_pool.linux_riscv.so
cp target/android/x86_64/libsqlite3_connection_pool.so out/libsqlite3_connection_pool.android_x86_64.so
cp target/android/armeabi-v7a/libsqlite3_connection_pool.so out/libsqlite3_connection_pool.android_v7a.so
cp target/android/arm64-v8a/libsqlite3_connection_pool.so out/libsqlite3_connection_pool.android_v8a.so
- uses: actions/upload-artifact@v7
with:
name: connection-pool-linux
retention-days: 1
path: sqlite3_connection_pool/out
compile_pool_apple:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- uses: actions/cache@v5
id: cache_build
with:
path: sqlite3_connection_pool/out
key: pool-helper-${{ runner.os }}-${{ hashFiles('sqlite3_connection_pool/src/**', 'sqlite3_connection_pool/Cargo.toml', 'sqlite3_connection_pool/.cargo/**') }}
- uses: dtolnay/rust-toolchain@stable
if: steps.cache_build.outputs.cache-hit != 'true'
with:
toolchain: nightly
components: rust-src
targets: x86_64-apple-darwin,aarch64-apple-darwin
- name: Build for macOS and iOS
if: steps.cache_build.outputs.cache-hit != 'true'
working-directory: sqlite3_connection_pool
run: |
rustup component add rust-src --toolchain nightly-aarch64-apple-darwin
./tool/build_apple.sh
- name: Copy libraries
if: steps.cache_build.outputs.cache-hit != 'true'
working-directory: sqlite3_connection_pool
run: |
mkdir out
cp target/x86_64-apple-darwin/release/libsqlite3_connection_pool.dylib out/libsqlite3_connection_pool.macos_x64.dylib
cp target/aarch64-apple-darwin/release/libsqlite3_connection_pool.dylib out/libsqlite3_connection_pool.macos_aarch64.dylib
cp target/aarch64-apple-ios/release/libsqlite3_connection_pool.dylib out/libsqlite3_connection_pool.ios_aarch64.dylib
cp target/aarch64-apple-ios-sim/release/libsqlite3_connection_pool.dylib out/libsqlite3_connection_pool.ios_sim_aarch64.dylib
cp target/x86_64-apple-ios/release/libsqlite3_connection_pool.dylib out/libsqlite3_connection_pool.ios_sim_x64.dylib
- uses: actions/upload-artifact@v7
with:
name: connection-pool-apple
retention-days: 1
path: sqlite3_connection_pool/out
compile_pool_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: actions/cache@v5
id: cache_build
with:
path: sqlite3_connection_pool/out
key: pool-helper-${{ runner.os }}-${{ hashFiles('sqlite3_connection_pool/src/**', 'sqlite3_connection_pool/Cargo.toml', 'sqlite3_connection_pool/.cargo/**') }}
- uses: dtolnay/rust-toolchain@stable
if: steps.cache_build.outputs.cache-hit != 'true'
with:
toolchain: nightly
components: rust-src
targets: x86_64-pc-windows-msvc,aarch64-pc-windows-msvc
- name: Build for Windows
if: steps.cache_build.outputs.cache-hit != 'true'
working-directory: sqlite3_connection_pool
env:
toolchain: nightly
components: rust-src
RUSTFLAGS: "-Zlocation-detail=none -Zfmt-debug=none -Zunstable-options -Cpanic=immediate-abort"
run: |
rustup component add rust-src --toolchain nightly-x86_64-pc-windows-msvc
cargo +nightly build --release -Z build-std=std,panic_abort -Z build-std-features= --target x86_64-pc-windows-msvc
cargo +nightly build --release -Z build-std=std,panic_abort -Z build-std-features= --target aarch64-pc-windows-msvc
- name: Copy libraries
if: steps.cache_build.outputs.cache-hit != 'true'
working-directory: sqlite3_connection_pool
run: |
mkdir out
cp target/x86_64-pc-windows-msvc/release/sqlite3_connection_pool.dll out/sqlite3_connection_pool.win_x64.dll
cp target/aarch64-pc-windows-msvc/release/sqlite3_connection_pool.dll out/sqlite3_connection_pool.win_aarch64.dll
- uses: actions/upload-artifact@v7
with:
name: connection-pool-windows
retention-days: 1
path: sqlite3_connection_pool/out
merge_assets:
runs-on: ubuntu-latest
needs:
- build_sqlite
- compile_wasm
- compile_pool_linux_android
- compile_pool_apple
- compile_pool_windows
name: Merge prebuilt libraries into single directory
outputs:
sqlite_merged: ${{ steps.upload.outputs.artifact-id }}
pool_libs: ${{ steps.upload_pool.outputs.artifact-id }}
steps:
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
path: out/
merge-multiple: true
pattern: sqlite3-libs-*
- uses: actions/download-artifact@v8
with:
path: sqlite3_connection_pool/lib/src/precompiled
merge-multiple: true
pattern: connection-pool-*
- run: ls -al out/
- run: ls -al sqlite3_connection_pool/lib/src/precompiled/
- name: Upload sqlite3 binaries
uses: actions/upload-artifact@v7
id: upload
with:
name: sqlite3-precompiled
path: out/
if-no-files-found: error
retention-days: 1
- name: Upload pool helper binaries
uses: actions/upload-artifact@v7
id: upload_pool
with:
name: connection-pool-libs
path: sqlite3_connection_pool/lib/src/precompiled/
if-no-files-found: error
retention-days: 1
================================================
FILE: .github/workflows/main.yml
================================================
name: CI
on:
push:
branches: ['**']
pull_request:
branches: [ main ]
jobs:
fetch_sqlite:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
uses: ./.github/workflows/compile_sqlite.yml
analyze:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
timeout-minutes: 5
strategy:
matrix:
dart: [stable]
name: Analyze ${{ matrix.package }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.dart }}
- uses: actions/cache@v5
with:
path: "${{ env.PUB_CACHE }}"
key: dart-dependencies-${{ matrix.dart }}-${{ runner.os }}
restore-keys: |
dart-dependencies-${{ matrix.dart }}-
dart-dependencies-
- name: Pub get
run: dart pub get
- name: Format dart
run: |
dart format --set-exit-if-changed sqlite3
dart format --set-exit-if-changed sqlite3_test
dart format --set-exit-if-changed sqlite3_web
- name: Format native
run: clang-format --Werror --dry-run --style=google assets/*.h
working-directory: sqlite3
- name: Format native
run: clang-format --Werror --dry-run --style=google src/*{.h,.c}
working-directory: sqlite3_wasm_build
- name: Analyze
run: dart analyze --fatal-infos sqlite3 sqlite3_web sqlite3_test
test:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
timeout-minutes: 5
needs: [analyze, fetch_sqlite]
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
dart: [stable, dev]
name: Unit tests with Dart ${{ matrix.dart }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.dart }}
- name: Download compiled sqlite3
uses: actions/download-artifact@v8
with:
artifact-ids: ${{ needs.fetch_sqlite.outputs.artifact_id }}
path: sqlite-compiled
- name: Download connection pool libraries
uses: actions/download-artifact@v8
with:
artifact-ids: ${{ needs.fetch_sqlite.outputs.pool_libs_artifact_id }}
path: sqlite3_connection_pool/lib/src/precompiled/
- name: Download libraries compiled with sanitizers
uses: actions/download-artifact@v8
with:
artifact-ids: ${{ needs.fetch_sqlite.outputs.sanitized_artifact_id }}
path: sqlite-sanitized/
- uses: actions/cache@v5
with:
path: "${{ env.PUB_CACHE }}"
key: dart-dependencies-${{ matrix.dart }}-${{ runner.os }}
restore-keys: |
dart-dependencies-${{ matrix.dart }}-
dart-dependencies-
- name: Get Dart dependencies
run: |
dart pub get
- name: Write asset hashes
run: dart run tool/write_asset_hashes.dart
- name: Prepare for tests with pre-compiled SQLite
run: |
dart run tool/hook_overrides.dart compiled
- name: Test sqlite3 package
run: |
dart test --test-randomize-ordering-seed "random" -P ci
working-directory: sqlite3/
- name: Test sqlite3_connection_pool package
run: |
dart test
working-directory: sqlite3_connection_pool/
- name: Test sqlite3_test package
run: dart test
if: ${{ runner.os != 'windows' }} # TODO: Investigate crashes on Windows
working-directory: sqlite3_test/
- name: Test extension example
run: dart test
working-directory: sqlite3/example/custom_extension
- name: Run tests with AOT executable
run: dart run run.dart
working-directory: native_tests/
- name: Run tests AddressSanitizer and MemorySanitizer
if: runner.os == 'Linux'
run: |
dart run.dart --sanitizer=asan
dart run.dart --sanitizer=msan
dart run.dart --sanitizer=tsan
working-directory: native_tests/
- name: Enable sqlite3mc
run: |
dart run tool/hook_overrides.dart compiled-ciphers
- name: Test sqlite3 package with sqlite3mc
run: |
dart test --test-randomize-ordering-seed "random" -P ci
working-directory: sqlite3/
- name: Prepare for tests with system SQLite
run: |
dart run tool/hook_overrides.dart system-os-specific
- name: Test sqlite3 package
run: |
dart test --test-randomize-ordering-seed "random" -P ci
working-directory: sqlite3/
- name: Test sqlite3_connection_pool package
run: |
dart test
working-directory: sqlite3_connection_pool/
- name: Test sqlite3_test package
run: dart test
if: ${{ runner.os != 'windows' }} # TODO: Investigate crashes on Windows
working-directory: sqlite3_test/
- name: Web tests
run: |
cp ../sqlite-compiled/*.wasm example/web
dart test -P web -r expanded
# If browsers behave differently on different platforms, surely that's not our fault...
# So, only run browser tests on Linux to be faster.
if: runner.os == 'Linux'
working-directory: sqlite3/
upload_asset_hashes:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
timeout-minutes: 5
needs: [test, fetch_sqlite]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dart-lang/setup-dart@v1
- name: Download compiled sqlite3
uses: actions/download-artifact@v8
with:
artifact-ids: ${{ needs.fetch_sqlite.outputs.artifact_id }}
path: sqlite-compiled
- uses: actions/cache@v5
with:
path: "${{ env.PUB_CACHE }}"
key: dart-dependencies-beta-${{ runner.os }}
restore-keys: |
dart-dependencies-beta-
dart-dependencies-
- name: Get Dart dependencies
run: |
dart pub get
- name: Write asset hashes
run: dart run tool/write_asset_hashes.dart
- name: Upload asset hashes
uses: actions/upload-artifact@v7
id: upload
with:
name: asset-hashes
path: sqlite3/lib/src/hook/asset_hashes.dart
if-no-files-found: error
retention-days: 1
integration_test_web:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
timeout-minutes: 10
needs: [analyze, fetch_sqlite]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dart-lang/setup-dart@v1
- name: Download compiled sqlite3
uses: actions/download-artifact@v8
with:
artifact-ids: ${{ needs.fetch_sqlite.outputs.artifact_id }}
path: sqlite-compiled
- uses: actions/cache@v5
with:
path: "${{ env.PUB_CACHE }}"
key: dart-dependencies-${{ matrix.dart }}-${{ runner.os }}
restore-keys: |
dart-dependencies-${{ matrix.dart }}-
dart-dependencies-
- name: Prepare for tests
run: |
dart run tool/write_asset_hashes.dart
dart run tool/hook_overrides.dart compiled
- name: Web tests
run: |
cp ../sqlite-compiled/*.wasm web/
dart pub get
dart test -P gh_actions -r expanded
working-directory: sqlite3_web
# The integration tests for android are currently broken (the emulator doesn't want to
# start up...)
#
# integration_test_android:
# runs-on: macos-latest
# needs: [test]
# strategy:
# matrix:
# test:
# - flutter_libs
# - sqlcipher_flutter
# steps:
# - uses: actions/checkout@v6
# - uses: subosito/flutter-action@v2
# with:
# channel: dev
# - name: pub get
# working-directory: "integration_tests/${{ matrix.test }}"
# run: flutter pub get
#
# - name: run tests
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: 29
# script: flutter test integration_test
# working-directory: "integration_tests/${{ matrix.test }}"
# Shamelessly stolen from https://medium.com/flutter-community/run-flutter-driver-tests-on-github-actions-13c639c7e4ab
integration_test:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
strategy:
matrix:
runner: [ubuntu-latest, macos-latest]
needs: [test, fetch_sqlite]
runs-on: ${{ matrix.runner }}
timeout-minutes: 30
env:
AVD_NAME: ubuntu-avd-x86_64-34
steps:
- name: List simulators
if: runner.os == 'macos'
run: "xcrun xctrace list devices"
- name: Start simulator
if: runner.os == 'macos'
run: |
IPHONE=$(xcrun xctrace list devices 2>&1 | grep -m 1 "iPhone" | awk -F'[()]' '{print $4}')
xcrun simctl boot $IPHONE
- uses: actions/checkout@v6
- uses: subosito/flutter-action@v2
- name: Flutter version
run: flutter --version
- name: Setup runner
if: runner.os == 'linux'
# https://github.com/ReactiveCircus/android-emulator-runner?tab=readme-ov-file#usage--examples
run: |
sudo apt-get update
sudo apt-get install -y cmake ninja-build pkg-config libgtk-3-dev libstdc++-12-dev
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: AVD Cache
uses: actions/cache@v5
id: avd-cache
if: runner.os == 'linux'
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-35
- name: Download compiled sqlite3
uses: actions/download-artifact@v8
with:
artifact-ids: ${{ needs.fetch_sqlite.outputs.artifact_id }}
path: sqlite-compiled
- name: Download connection pool libraries
uses: actions/download-artifact@v8
with:
artifact-ids: ${{ needs.fetch_sqlite.outputs.pool_libs_artifact_id }}
path: sqlite3_connection_pool/lib/src/precompiled/
- uses: actions/cache@v5
with:
path: "${{ env.PUB_CACHE }}"
key: dart-dependencies-${{ matrix.dart }}-${{ runner.os }}
restore-keys: |
dart-dependencies-${{ matrix.dart }}-
dart-dependencies-
- name: Write asset hashes
run: |
dart pub get
dart run tool/write_asset_hashes.dart
dart run tool/hook_overrides.dart compiled
- name: Flutter sqlite3 tests on macOS
if: runner.os == 'macos'
working-directory: examples/flutter_integration_tests
run: |
flutter config --enable-swift-package-manager
flutter test integration_test
flutter test integration_test -d macos
- name: Flutter sqlite3 tests on Linux
if: false # runner.os == 'linux' currently broken in ci, can't reproduce locally or in Ubuntu VM
working-directory: examples/flutter_integration_tests
run: |
flutter test integration_test -d linux
- name: SQLite Android emulator tests
uses: reactivecircus/android-emulator-runner@v2
if: runner.os == 'linux'
with:
api-level: 34
force-avd-creation: false
target: google_apis
arch: x86_64
disable-animations: false
avd-name: $AVD_NAME
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
script: flutter test integration_test
working-directory: "examples/flutter_integration_tests"
- name: Enable sqlite3mc
run: |
dart run tool/hook_overrides.dart compiled-ciphers
- name: Flutter sqlite3mc tests on macOS
if: runner.os == 'macos'
working-directory: examples/flutter_integration_tests
run: |
flutter config --enable-swift-package-manager
flutter test integration_test -Dsqlite3.multipleciphers=true
flutter test integration_test -Dsqlite3.multipleciphers=true -d macos
- name: sqlite3mc Android emulator tests
uses: reactivecircus/android-emulator-runner@v2
if: runner.os == 'linux'
with:
api-level: 34
force-avd-creation: false
target: google_apis
arch: x86_64
disable-animations: false
avd-name: $AVD_NAME
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
script: flutter test integration_test -Dsqlite3.multipleciphers=true
working-directory: "examples/flutter_integration_tests"
================================================
FILE: .github/workflows/release.yml
================================================
name: Publish to pub.dev
on:
push:
tags:
- 'sqlite3-[0-9]+.[0-9]+.[0-9]+*'
- 'sqlite3_test-[0-9]+.[0-9]+.[0-9]+*'
- 'sqlite3_web-[0-9]+.[0-9]+.[0-9]+*'
- 'sqlite3_connection_pool-[0-9]+.[0-9]+.[0-9]+*'
jobs:
fetch_sqlite:
uses: ./.github/workflows/compile_sqlite.yml
prepare_release:
needs: [fetch_sqlite]
permissions:
packages: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dart-lang/setup-dart@v1
- name: Pub get
run: dart pub get
- name: Download compiled sqlite3
uses: actions/download-artifact@v8
with:
github-token: ${{ github.token }}
artifact-ids: ${{ needs.fetch_sqlite.outputs.artifact_id }}
path: sqlite-compiled
- name: Set tag name
if: "${{ startsWith(github.ref_name, 'sqlite3-') }}"
id: tag
run: |
tag=$(basename "${{ github.ref }}")
echo "tag=$tag" >> $GITHUB_OUTPUT
- name: Verify asset hashes
if: "${{ startsWith(github.ref_name, 'sqlite3-') }}"
run: dart run tool/write_asset_hashes.dart "${{ steps.tag.outputs.tag }}"
- name: List libraries
run: ls -al sqlite-compiled
- name: Create Release
if: "${{ startsWith(github.ref_name, 'sqlite3-') }}"
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
tag="${{ steps.tag.outputs.tag }}"
body="Pending release for $tag"
gh release create --draft "$tag" --title "$tag" --notes "$body"
gh release upload "$tag" sqlite-compiled/*
publish_sqlite3:
needs: [prepare_release]
permissions:
id-token: write
if: "${{ startsWith(github.ref_name, 'sqlite3-') }}"
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
environment: 'pub.dev'
working-directory: sqlite3/
publish_sqlite3_test:
needs: [prepare_release]
permissions:
id-token: write
if: "${{ startsWith(github.ref_name, 'sqlite3_test-') }}"
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
environment: 'pub.dev'
working-directory: sqlite3_test/
publish_sqlite3_web:
needs: [prepare_release]
permissions:
id-token: write
if: "${{ startsWith(github.ref_name, 'sqlite3_web-') }}"
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
environment: 'pub.dev'
working-directory: sqlite3_web/
publish_sqlite3_connection_pool:
needs: [fetch_sqlite, prepare_release]
permissions:
id-token: write
if: "${{ startsWith(github.ref_name, 'sqlite3_connection_pool-') }}"
runs-on: ubuntu-latest
environment: 'pub.dev'
# This can't use the workflow because we need to download assets to include in
# the package.
steps:
- uses: actions/checkout@v6
- uses: dart-lang/setup-dart@v1 # This will request an OIDC token for pub.dev
- name: Download connection pool libraries
uses: actions/download-artifact@v8
with:
artifact-ids: ${{ needs.fetch_sqlite.outputs.pool_libs_artifact_id }}
path: sqlite3_connection_pool/lib/src/precompiled/
- name: Pub get
run: dart pub get
- name: Publish - dry run
run: dart pub publish --dry-run
working-directory: sqlite3_connection_pool
- name: Publish to pub.dev
run: dart pub publish -f
working-directory: sqlite3_connection_pool
================================================
FILE: .gitignore
================================================
# Created by https://www.toptal.com/developers/gitignore/api/flutter,dart
# Edit at https://www.toptal.com/developers/gitignore?templates=flutter,dart
### Dart ###
# See https://www.dartlang.org/guides/libraries/private-files
# Files and directories created by pub
.dart_tool/
.packages
build/
# If you're building an application, you may want to check-in your pubspec.lock
pubspec.lock
# Directory created by dartdoc
# If you don't generate documentation locally you can remove this line.
doc/api/
# dotenv environment variables file
.env*
# Avoid committing generated Javascript files:
*.dart.js
*.info.json # Produced by the --dump-info flag.
*.js # When generated by dart2js. Don't specify *.js if your
# project includes source files written in JavaScript.
*.js_
*.js.deps
*.js.map
.flutter-plugins
.flutter-plugins-dependencies
### Dart Patch ###
# dotenv environment variables file
.env
### Flutter ###
# Flutter/Dart/Pub related
**/doc/api/
.fvm/
.pub-cache/
.pub/
coverage/
lib/generated_plugin_registrant.dart
# For library packages, don’t commit the pubspec.lock file.
# Regenerating the pubspec.lock file lets you test your package against the latest compatible versions of its dependencies.
# See https://dart.dev/guides/libraries/private-files#pubspeclock
#pubspec.lock
# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/key.properties
**/.idea/
*.iml
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java
# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/.last_build_id
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*
# Exceptions to above rules.
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
# End of https://www.toptal.com/developers/gitignore/api/flutter,dart
*.wasm
sqlite-src
sqlite-compiled
tmp
================================================
FILE: .gitmodules
================================================
[submodule "sqlite3_android"]
path = sqlite3_android
url = https://github.com/rodydavis/sqlite-native-libraries
[submodule "sqlite_swift_package"]
path = sqlite_swift_package
url = https://github.com/rodydavis/CSQLite
================================================
FILE: .vscode/settings.json
================================================
{
"rust-analyzer.linkedProjects": [
"sqlite3/example/custom_wasm_build/Cargo.toml"
],
"cSpell.words": [
"Patchset"
]
}
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2020 Simon Binder
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
# sqlite3.dart
This project contains Dart packages to use SQLite from Dart via `dart:ffi`.
The main package in this repository is [`sqlite3`](sqlite3), which contains all the Dart apis and their implementation.
`package:sqlite3` is a pure-Dart package without a dependency on Flutter.
It can be used both in Flutter apps or in standalone Dart applications.
`package:sqlite3_test` contains utilities that make integrating SQLite databases into Dart tests easier.
In particular, they patch `CURRENT_TIMESTAMP` and related constructs to return the (potentially faked) time
returned by `package:clock`.
`package:sqlite3_web` contains helpers for running SQLite on the web, including code to compile web workers
that help with the process.
`package:sqlite3_connection_pool` provides an asynchronous connection pool for SQLite that works well across
isolates.
## Example Usage
A file with basic usage examples for pure Dart can be found [here](sqlite3/example/main.dart).
================================================
FILE: UPGRADING_TO_V3.md
================================================
## Upgrading `package:sqlite3`.
This document collects notes on upgrading the `sqlite3` package from version
2.x to version 3.x.
For almost all users, upgrading should be very simple:
1. If you depend on `sqlite3_flutter_libs`, stop doing that.
2. If you depend on `sqlcipher_flutter_libs`, stop doing that and read
[encryption](#encryption).
3. Upgrade to `sqlite3: ^3.0.0`.
4. Make sure you update your `sqlite3.wasm` by downloading it from the
[latest releases](https://github.com/simolus3/sqlite3.dart/releases).
5. If you had `open.overrideFor` code to customize how SQLite is loaded, that needs
to be removed. The package exclusively uses hooks now.
This includes calls to `applyWorkaroundToOpenSqlite3OnOldAndroidVersions` which can
be removed after upgrading.
Version 3.x relies on [hooks](https://dart.dev/tools/hooks) to automatically bundle
a pre-compiled version of SQLite with your application. By default, these binaries
are downloaded from the GitHub releases of this package.
This mechanism replaces the earlier scheme based on platform-specific build
scripts.
If you want to compile SQLite yourself instead of relying on those downloaded
binaries, see [custom SQLite builds](#custom-sqlite-builds).
Also note that the build definition for `sqlite3.wasm` has changed. New sources
are available in [sqlite3_wasm_build](./sqlite3_wasm_build/).
## Encryption
If you've been using SQLCipher to use encrypted databases, note that SQLCipher is
no longer available with version 3. However, a precompiled version of SQLite3MultipleCiphers
can easily be enabled by adding this to your pubspec:
```yaml
hooks:
user_defines:
sqlite3:
source: sqlite3mc
```
SQLite3MultipleCiphers should be compatible with existing databases created by SQLCipher when running the following statements from SQLite3MultipleCiphers:
```
pragma cipher = 'sqlcipher';
pragma legacy = 4;
pragma key = '...your key...';
```
For details, see [hook options](./sqlite3/doc/hook.md) and [sqlite3mc documentation](https://utelle.github.io/SQLite3MultipleCiphers/docs/ciphers/cipher_sqlcipher/).
## Custom SQLite builds
If you want to customize the SQLite build for `package:sqlite3`, there are two options:
1. Downloading `sqlite3.c` into your project and then following the "Custom SQLite builds"
section of [hook options](./sqlite3/doc/hook.md).
2. Using external build scripts (such as SwiftPM or CMake) to statically link SQLite into your
Flutter application, and then following the "Alternatives" section of [hook options](./sqlite3/doc/hook.md).
For details, see [hook options](./sqlite3/doc/hook.md).
If these customization options don't meet your needs, please open an issue!
================================================
FILE: examples/flutter_integration_tests/.gitignore
================================================
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
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-dependencies
.pub-cache/
.pub/
/build/
/coverage/
# 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: examples/flutter_integration_tests/.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: "465e421f53c05f8f33f83a243c10c55f9f6efbc2"
channel: "beta"
project_type: app
# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
base_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
- platform: android
create_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
base_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
- platform: ios
create_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
base_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
- platform: linux
create_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
base_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
- platform: macos
create_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
base_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
- platform: web
create_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
base_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
- platform: windows
create_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
base_revision: 465e421f53c05f8f33f83a243c10c55f9f6efbc2
# 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: examples/flutter_integration_tests/README.md
================================================
# flutter_integration_tests
Integration tests for the `sqlite3` package embedded Flutter projects.
================================================
FILE: examples/flutter_integration_tests/analysis_options.yaml
================================================
include: package:flutter_lints/flutter.yaml
================================================
FILE: examples/flutter_integration_tests/android/.gitignore
================================================
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
.cxx/
# Remember to never publicly share your keystore.
# See https://flutter.dev/to/reference-keystore
key.properties
**/*.keystore
**/*.jks
================================================
FILE: examples/flutter_integration_tests/android/app/build.gradle.kts
================================================
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.flutter_integration_tests"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.flutter_integration_tests"
// 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.getByName("debug")
}
}
}
flutter {
source = "../.."
}
================================================
FILE: examples/flutter_integration_tests/android/app/src/debug/AndroidManifest.xml
================================================
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
================================================
FILE: examples/flutter_integration_tests/android/app/src/main/AndroidManifest.xml
================================================
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="flutter_integration_tests"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:taskAffinity=""
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
<!-- Required to query activities that can process text, see:
https://developer.android.com/training/package-visibility and
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
<queries>
<intent>
<action android:name="android.intent.action.PROCESS_TEXT"/>
<data android:mimeType="text/plain"/>
</intent>
</queries>
</manifest>
================================================
FILE: examples/flutter_integration_tests/android/app/src/main/kotlin/com/example/flutter_integration_tests/MainActivity.kt
================================================
package com.example.flutter_integration_tests
import io.flutter.embedding.android.FlutterActivity
class MainActivity : FlutterActivity()
================================================
FILE: examples/flutter_integration_tests/android/app/src/main/res/drawable/launch_background.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" />
<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
================================================
FILE: examples/flutter_integration_tests/android/app/src/main/res/drawable-v21/launch_background.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="?android:colorBackground" />
<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
================================================
FILE: examples/flutter_integration_tests/android/app/src/main/res/values/styles.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
================================================
FILE: examples/flutter_integration_tests/android/app/src/main/res/values-night/styles.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
================================================
FILE: examples/flutter_integration_tests/android/app/src/profile/AndroidManifest.xml
================================================
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
================================================
FILE: examples/flutter_integration_tests/android/build.gradle.kts
================================================
allprojects {
repositories {
google()
mavenCentral()
}
}
val newBuildDir: Directory =
rootProject.layout.buildDirectory
.dir("../../build")
.get()
rootProject.layout.buildDirectory.value(newBuildDir)
subprojects {
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
project.layout.buildDirectory.value(newSubprojectBuildDir)
}
subprojects {
project.evaluationDependsOn(":app")
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
================================================
FILE: examples/flutter_integration_tests/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.12-all.zip
================================================
FILE: examples/flutter_integration_tests/android/gradle.properties
================================================
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
================================================
FILE: examples/flutter_integration_tests/android/settings.gradle.kts
================================================
pluginManagement {
val flutterSdkPath =
run {
val properties = java.util.Properties()
file("local.properties").inputStream().use { properties.load(it) }
val flutterSdkPath = properties.getProperty("flutter.sdk")
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
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.9.1" apply false
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
}
include(":app")
================================================
FILE: examples/flutter_integration_tests/integration_test/integration_test.dart
================================================
// ignore_for_file: avoid_print
import 'package:integration_test/integration_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:sqlite3/sqlite3.dart';
import 'package:sqlite3_connection_pool/sqlite3_connection_pool.dart';
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
test('can open sqlite3', () {
print(sqlite3.version);
final db = sqlite3.openInMemory()..closeWhenDone();
print(db.select('pragma compile_options'));
});
test('pool smoke test', () async {
final pool = SqliteConnectionPool.open(
name: 'test-pool',
openConnections: () => PoolConnections(sqlite3.openInMemory(), []),
);
pool.execute('CREATE TABLE foo (bar TEXT)');
pool.close();
});
test('can open databases', () {
final db = sqlite3.openInMemory()
..closeWhenDone()
..execute('CREATE TABLE foo (bar)')
..execute('INSERT INTO foo VALUES (1), (2)');
expect(db.select('SELECT * FROM foo'), [
{'bar': 1},
{'bar': 2},
]);
});
test('has json support', () {
final db = sqlite3.openInMemory()..closeWhenDone();
expect(db.select("SELECT json('[1, 2, 3]') AS r;"), [
{'r': '[1,2,3]'},
]);
});
test('has fts5 support', () {
final db = sqlite3.openInMemory()..closeWhenDone();
db.execute('CREATE VIRTUAL TABLE foo USING fts5 (a,b,c);');
});
test('can create collation', () {
final db = sqlite3.openInMemory()
..closeWhenDone()
..execute('CREATE TABLE foo2 (bar)')
..execute(
"INSERT INTO foo2 VALUES ('AaAaaaAA'), ('BBBbBb'),('cCCCcc '), (' dD ')",
);
/// Create a collation to compare String without extra-blank to the right and
/// ignoring case
db.createCollation(
name: "RTRIMNOCASE",
function: (String? a, String? b) {
// Combining nocase and rtrim
//
String? compareA = a?.toLowerCase().trimRight();
String? compareB = b?.toLowerCase().trimRight();
if (compareA == null && compareB == null) {
return 0;
} else if (compareA == null) {
// a < b
return -1;
} else if (compareB == null) {
// a > b
return 1;
} else {
return compareA.compareTo(compareB);
}
},
);
expect(
db.select(
"SELECT * FROM foo2 WHERE bar = 'aaaaAaAa ' COLLATE RTRIMNOCASE",
),
[
{'bar': 'AaAaaaAA'},
],
);
expect(
db.select("SELECT * FROM foo2 WHERE bar = 'bbbbbb' COLLATE RTRIMNOCASE"),
[
{'bar': 'BBBbBb'},
],
);
expect(
db.select("SELECT * FROM foo2 WHERE bar = 'cCcccC' COLLATE RTRIMNOCASE"),
[
{'bar': 'cCCCcc '},
],
);
expect(
db.select("SELECT * FROM foo2 WHERE bar = 'dd' COLLATE RTRIMNOCASE"),
[],
);
});
const ciphers = bool.fromEnvironment('sqlite3.multipleciphers');
if (ciphers) {
test('contains sqlite3multipleciphers', () {
final db = sqlite3.openInMemory()..closeWhenDone();
print(db.select('select sqlite3mc_config(?)', ['cipher']));
});
}
}
extension on Database {
void closeWhenDone() => addTearDown(close);
}
================================================
FILE: examples/flutter_integration_tests/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: examples/flutter_integration_tests/ios/Flutter/AppFrameworkInfo.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>App</string>
<key>CFBundleIdentifier</key>
<string>io.flutter.flutter.app</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>App</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>13.0</string>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/ios/Flutter/Debug.xcconfig
================================================
#include "Generated.xcconfig"
================================================
FILE: examples/flutter_integration_tests/ios/Flutter/Release.xcconfig
================================================
#include "Generated.xcconfig"
================================================
FILE: examples/flutter_integration_tests/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: examples/flutter_integration_tests/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: examples/flutter_integration_tests/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: examples/flutter_integration_tests/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: examples/flutter_integration_tests/ios/Runner/Base.lproj/LaunchScreen.storyboard
================================================
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Ydg-fD-yQy"/>
<viewControllerLayoutGuide type="bottom" id="xbc-2k-c8Z"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4">
</imageView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="1a2-6s-vTC"/>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="4X2-HB-R7a"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
<resources>
<image name="LaunchImage" width="168" height="185"/>
</resources>
</document>
================================================
FILE: examples/flutter_integration_tests/ios/Runner/Base.lproj/Main.storyboard
================================================
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
<scenes>
<!--Flutter View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="FlutterViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
</scene>
</scenes>
</document>
================================================
FILE: examples/flutter_integration_tests/ios/Runner/Info.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Flutter Integration Tests</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>flutter_integration_tests</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/ios/Runner/Runner-Bridging-Header.h
================================================
#import "GeneratedPluginRegistrant.h"
================================================
FILE: examples/flutter_integration_tests/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 */; };
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
/* 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 = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
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 = "<group>"; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
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 = "<group>"; };
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
97C146EB1CF9000F007C117D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
331C8082294A63A400263BE5 /* RunnerTests */ = {
isa = PBXGroup;
children = (
331C807B294A618700263BE5 /* RunnerTests.swift */,
);
path = RunnerTests;
sourceTree = "<group>";
};
9740EEB11CF90186004384FC /* Flutter */ = {
isa = PBXGroup;
children = (
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */,
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
9740EEB21CF90195004384FC /* Debug.xcconfig */,
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
9740EEB31CF90195004384FC /* Generated.xcconfig */,
);
name = Flutter;
sourceTree = "<group>";
};
97C146E51CF9000F007C117D = {
isa = PBXGroup;
children = (
9740EEB11CF90186004384FC /* Flutter */,
97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */,
331C8082294A63A400263BE5 /* RunnerTests */,
);
sourceTree = "<group>";
};
97C146EF1CF9000F007C117D /* Products */ = {
isa = PBXGroup;
children = (
97C146EE1CF9000F007C117D /* Runner.app */,
331C8081294A63A400263BE5 /* RunnerTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
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 = "<group>";
};
/* 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 */ = {
packageProductDependencies = (
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */,
);
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 */ = {
packageReferences = (
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */,
);
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 = "<group>";
};
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
97C147001CF9000F007C117D /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* 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 = 13.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.flutterIntegrationTests;
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.flutterIntegrationTests.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.flutterIntegrationTests.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.flutterIntegrationTests.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 = 13.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 = 13.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.flutterIntegrationTests;
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.flutterIntegrationTests;
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 */
/* Begin XCLocalSwiftPackageReference section */
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
};
/* End XCLocalSwiftPackageReference section */
/* Begin XCSwiftPackageProductDependency section */
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */ = {
isa = XCSwiftPackageProductDependency;
productName = FlutterGeneratedPluginSwiftPackage;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
================================================
FILE: examples/flutter_integration_tests/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
================================================
FILE: examples/flutter_integration_tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreviewsEnabled</key>
<false/>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Prepare Flutter Framework Script"
scriptText = "/bin/sh "$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" prepare ">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PreActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "331C8080294A63A400263BE5"
BuildableName = "RunnerTests.xctest"
BlueprintName = "RunnerTests"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
enableGPUValidationMode = "1"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Profile"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: examples/flutter_integration_tests/ios/Runner.xcworkspace/contents.xcworkspacedata
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Runner.xcodeproj">
</FileRef>
</Workspace>
================================================
FILE: examples/flutter_integration_tests/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreviewsEnabled</key>
<false/>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/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: examples/flutter_integration_tests/lib/main.dart
================================================
import 'package:flutter/material.dart';
import 'package:sqlite3/sqlite3.dart';
void main() {
runApp(SqliteDiagnostics());
}
class SqliteDiagnostics extends StatelessWidget {
const SqliteDiagnostics({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SafeArea(
child: SingleChildScrollView(child: const _SqliteDiagnosticText()),
),
),
);
}
}
class _SqliteDiagnosticText extends StatefulWidget {
const _SqliteDiagnosticText();
@override
State<_SqliteDiagnosticText> createState() => _SqliteDiagnosticTextState();
}
class _SqliteDiagnosticTextState extends State<_SqliteDiagnosticText> {
var _text = 'Loading';
@override
void initState() {
super.initState();
final db = sqlite3.openInMemory();
final options = db.select('pragma compile_options');
setState(() {
_text = 'Version: ${sqlite3.version}\nOptions: $options';
});
db.close();
}
@override
Widget build(BuildContext context) {
return Text(_text);
}
}
================================================
FILE: examples/flutter_integration_tests/linux/.gitignore
================================================
flutter/ephemeral
================================================
FILE: examples/flutter_integration_tests/linux/CMakeLists.txt
================================================
# Project-level configuration.
cmake_minimum_required(VERSION 3.13)
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 "flutter_integration_tests")
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "com.example.flutter_integration_tests")
# 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 "$<$<NOT:$<CONFIG:Debug>>:-O3>")
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>: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)
# Application build; see runner/CMakeLists.txt.
add_subdirectory("runner")
# 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: examples/flutter_integration_tests/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: examples/flutter_integration_tests/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: examples/flutter_integration_tests/linux/flutter/generated_plugin_registrant.h
================================================
//
// Generated file. Do not edit.
//
// clang-format off
#ifndef GENERATED_PLUGIN_REGISTRANT_
#define GENERATED_PLUGIN_REGISTRANT_
#include <flutter_linux/flutter_linux.h>
// Registers Flutter plugins.
void fl_register_plugins(FlPluginRegistry* registry);
#endif // GENERATED_PLUGIN_REGISTRANT_
================================================
FILE: examples/flutter_integration_tests/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 $<TARGET_FILE:${plugin}_plugin>)
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: examples/flutter_integration_tests/linux/runner/CMakeLists.txt
================================================
cmake_minimum_required(VERSION 3.13)
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}
"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 preprocessor definitions for the application ID.
add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}")
# Add dependency libraries. Add any application-specific dependencies here.
target_link_libraries(${BINARY_NAME} PRIVATE flutter)
target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK)
target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")
================================================
FILE: examples/flutter_integration_tests/linux/runner/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: examples/flutter_integration_tests/linux/runner/my_application.cc
================================================
#include "my_application.h"
#include <flutter_linux/flutter_linux.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
#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)
// Called when first Flutter frame received.
static void first_frame_cb(MyApplication* self, FlView *view)
{
gtk_widget_show(gtk_widget_get_toplevel(GTK_WIDGET(view)));
}
// 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, "flutter_integration_tests");
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, "flutter_integration_tests");
}
gtk_window_set_default_size(window, 1280, 720);
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);
GdkRGBA background_color;
// Background defaults to black, override it here if necessary, e.g. #00000000 for transparent.
gdk_rgba_parse(&background_color, "#000000");
fl_view_set_background_color(view, &background_color);
gtk_widget_show(GTK_WIDGET(view));
gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view));
// Show the window when Flutter renders.
// Requires the view to be realized so we can start rendering.
g_signal_connect_swapped(view, "first-frame", G_CALLBACK(first_frame_cb), self);
gtk_widget_realize(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() {
// Set the program name to the application ID, which helps various systems
// like GTK and desktop environments map this running application to its
// corresponding .desktop file. This ensures better integration by allowing
// the application to be recognized beyond its binary name.
g_set_prgname(APPLICATION_ID);
return MY_APPLICATION(g_object_new(my_application_get_type(),
"application-id", APPLICATION_ID,
"flags", G_APPLICATION_NON_UNIQUE,
nullptr));
}
================================================
FILE: examples/flutter_integration_tests/linux/runner/my_application.h
================================================
#ifndef FLUTTER_MY_APPLICATION_H_
#define FLUTTER_MY_APPLICATION_H_
#include <gtk/gtk.h>
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: examples/flutter_integration_tests/macos/.gitignore
================================================
# Flutter-related
**/Flutter/ephemeral/
**/Pods/
# Xcode-related
**/dgph
**/xcuserdata/
================================================
FILE: examples/flutter_integration_tests/macos/Flutter/Flutter-Debug.xcconfig
================================================
#include "ephemeral/Flutter-Generated.xcconfig"
================================================
FILE: examples/flutter_integration_tests/macos/Flutter/Flutter-Release.xcconfig
================================================
#include "ephemeral/Flutter-Generated.xcconfig"
================================================
FILE: examples/flutter_integration_tests/macos/Flutter/GeneratedPluginRegistrant.swift
================================================
//
// Generated file. Do not edit.
//
import FlutterMacOS
import Foundation
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
}
================================================
FILE: examples/flutter_integration_tests/macos/Runner/AppDelegate.swift
================================================
import Cocoa
import FlutterMacOS
@main
class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
return true
}
}
================================================
FILE: examples/flutter_integration_tests/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: examples/flutter_integration_tests/macos/Runner/Base.lproj/MainMenu.xib
================================================
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.70"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
<connections>
<outlet property="delegate" destination="Voe-Tx-rLC" id="GzC-gU-4Uq"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="Runner" customModuleProvider="target">
<connections>
<outlet property="applicationMenu" destination="uQy-DD-JDr" id="XBo-yE-nKs"/>
<outlet property="mainFlutterWindow" destination="QvC-M9-y7g" id="gIp-Ho-8D9"/>
</connections>
</customObject>
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
<menu title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
<items>
<menuItem title="APP_NAME" id="1Xt-HY-uBw">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="APP_NAME" systemMenu="apple" id="uQy-DD-JDr">
<items>
<menuItem title="About APP_NAME" id="5kV-Vb-QxS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="orderFrontStandardAboutPanel:" target="-1" id="Exp-CZ-Vem"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="VOq-y0-SEH"/>
<menuItem title="Preferences…" keyEquivalent="," id="BOF-NM-1cW"/>
<menuItem isSeparatorItem="YES" id="wFC-TO-SCJ"/>
<menuItem title="Services" id="NMo-om-nkz">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Services" systemMenu="services" id="hz9-B4-Xy5"/>
</menuItem>
<menuItem isSeparatorItem="YES" id="4je-JR-u6R"/>
<menuItem title="Hide APP_NAME" keyEquivalent="h" id="Olw-nP-bQN">
<connections>
<action selector="hide:" target="-1" id="PnN-Uc-m68"/>
</connections>
</menuItem>
<menuItem title="Hide Others" keyEquivalent="h" id="Vdr-fp-XzO">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="hideOtherApplications:" target="-1" id="VT4-aY-XCT"/>
</connections>
</menuItem>
<menuItem title="Show All" id="Kd2-mp-pUS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="unhideAllApplications:" target="-1" id="Dhg-Le-xox"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/>
<menuItem title="Quit APP_NAME" keyEquivalent="q" id="4sb-4s-VLi">
<connections>
<action selector="terminate:" target="-1" id="Te7-pn-YzF"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Edit" id="5QF-Oa-p0T">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Edit" id="W48-6f-4Dl">
<items>
<menuItem title="Undo" keyEquivalent="z" id="dRJ-4n-Yzg">
<connections>
<action selector="undo:" target="-1" id="M6e-cu-g7V"/>
</connections>
</menuItem>
<menuItem title="Redo" keyEquivalent="Z" id="6dh-zS-Vam">
<connections>
<action selector="redo:" target="-1" id="oIA-Rs-6OD"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="WRV-NI-Exz"/>
<menuItem title="Cut" keyEquivalent="x" id="uRl-iY-unG">
<connections>
<action selector="cut:" target="-1" id="YJe-68-I9s"/>
</connections>
</menuItem>
<menuItem title="Copy" keyEquivalent="c" id="x3v-GG-iWU">
<connections>
<action selector="copy:" target="-1" id="G1f-GL-Joy"/>
</connections>
</menuItem>
<menuItem title="Paste" keyEquivalent="v" id="gVA-U4-sdL">
<connections>
<action selector="paste:" target="-1" id="UvS-8e-Qdg"/>
</connections>
</menuItem>
<menuItem title="Paste and Match Style" keyEquivalent="V" id="WeT-3V-zwk">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="pasteAsPlainText:" target="-1" id="cEh-KX-wJQ"/>
</connections>
</menuItem>
<menuItem title="Delete" id="pa3-QI-u2k">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="delete:" target="-1" id="0Mk-Ml-PaM"/>
</connections>
</menuItem>
<menuItem title="Select All" keyEquivalent="a" id="Ruw-6m-B2m">
<connections>
<action selector="selectAll:" target="-1" id="VNm-Mi-diN"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="uyl-h8-XO2"/>
<menuItem title="Find" id="4EN-yA-p0u">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Find" id="1b7-l0-nxx">
<items>
<menuItem title="Find…" tag="1" keyEquivalent="f" id="Xz5-n4-O0W">
<connections>
<action selector="performFindPanelAction:" target="-1" id="cD7-Qs-BN4"/>
</connections>
</menuItem>
<menuItem title="Find and Replace…" tag="12" keyEquivalent="f" id="YEy-JH-Tfz">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="performFindPanelAction:" target="-1" id="WD3-Gg-5AJ"/>
</connections>
</menuItem>
<menuItem title="Find Next" tag="2" keyEquivalent="g" id="q09-fT-Sye">
<connections>
<action selector="performFindPanelAction:" target="-1" id="NDo-RZ-v9R"/>
</connections>
</menuItem>
<menuItem title="Find Previous" tag="3" keyEquivalent="G" id="OwM-mh-QMV">
<connections>
<action selector="performFindPanelAction:" target="-1" id="HOh-sY-3ay"/>
</connections>
</menuItem>
<menuItem title="Use Selection for Find" tag="7" keyEquivalent="e" id="buJ-ug-pKt">
<connections>
<action selector="performFindPanelAction:" target="-1" id="U76-nv-p5D"/>
</connections>
</menuItem>
<menuItem title="Jump to Selection" keyEquivalent="j" id="S0p-oC-mLd">
<connections>
<action selector="centerSelectionInVisibleArea:" target="-1" id="IOG-6D-g5B"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Spelling and Grammar" id="Dv1-io-Yv7">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Spelling" id="3IN-sU-3Bg">
<items>
<menuItem title="Show Spelling and Grammar" keyEquivalent=":" id="HFo-cy-zxI">
<connections>
<action selector="showGuessPanel:" target="-1" id="vFj-Ks-hy3"/>
</connections>
</menuItem>
<menuItem title="Check Document Now" keyEquivalent=";" id="hz2-CU-CR7">
<connections>
<action selector="checkSpelling:" target="-1" id="fz7-VC-reM"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="bNw-od-mp5"/>
<menuItem title="Check Spelling While Typing" id="rbD-Rh-wIN">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleContinuousSpellChecking:" target="-1" id="7w6-Qz-0kB"/>
</connections>
</menuItem>
<menuItem title="Check Grammar With Spelling" id="mK6-2p-4JG">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleGrammarChecking:" target="-1" id="muD-Qn-j4w"/>
</connections>
</menuItem>
<menuItem title="Correct Spelling Automatically" id="78Y-hA-62v">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticSpellingCorrection:" target="-1" id="2lM-Qi-WAP"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Substitutions" id="9ic-FL-obx">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Substitutions" id="FeM-D8-WVr">
<items>
<menuItem title="Show Substitutions" id="z6F-FW-3nz">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="orderFrontSubstitutionsPanel:" target="-1" id="oku-mr-iSq"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="gPx-C9-uUO"/>
<menuItem title="Smart Copy/Paste" id="9yt-4B-nSM">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleSmartInsertDelete:" target="-1" id="3IJ-Se-DZD"/>
</connections>
</menuItem>
<menuItem title="Smart Quotes" id="hQb-2v-fYv">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticQuoteSubstitution:" target="-1" id="ptq-xd-QOA"/>
</connections>
</menuItem>
<menuItem title="Smart Dashes" id="rgM-f4-ycn">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticDashSubstitution:" target="-1" id="oCt-pO-9gS"/>
</connections>
</menuItem>
<menuItem title="Smart Links" id="cwL-P1-jid">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticLinkDetection:" target="-1" id="Gip-E3-Fov"/>
</connections>
</menuItem>
<menuItem title="Data Detectors" id="tRr-pd-1PS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticDataDetection:" target="-1" id="R1I-Nq-Kbl"/>
</connections>
</menuItem>
<menuItem title="Text Replacement" id="HFQ-gK-NFA">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticTextReplacement:" target="-1" id="DvP-Fe-Py6"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Transformations" id="2oI-Rn-ZJC">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Transformations" id="c8a-y6-VQd">
<items>
<menuItem title="Make Upper Case" id="vmV-6d-7jI">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="uppercaseWord:" target="-1" id="sPh-Tk-edu"/>
</connections>
</menuItem>
<menuItem title="Make Lower Case" id="d9M-CD-aMd">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="lowercaseWord:" target="-1" id="iUZ-b5-hil"/>
</connections>
</menuItem>
<menuItem title="Capitalize" id="UEZ-Bs-lqG">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="capitalizeWord:" target="-1" id="26H-TL-nsh"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Speech" id="xrE-MZ-jX0">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Speech" id="3rS-ZA-NoH">
<items>
<menuItem title="Start Speaking" id="Ynk-f8-cLZ">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="startSpeaking:" target="-1" id="654-Ng-kyl"/>
</connections>
</menuItem>
<menuItem title="Stop Speaking" id="Oyz-dy-DGm">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="stopSpeaking:" target="-1" id="dX8-6p-jy9"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="View" id="H8h-7b-M4v">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="View" id="HyV-fh-RgO">
<items>
<menuItem title="Enter Full Screen" keyEquivalent="f" id="4J7-dP-txa">
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
<connections>
<action selector="toggleFullScreen:" target="-1" id="dU3-MA-1Rq"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Window" id="aUF-d1-5bR">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Window" systemMenu="window" id="Td7-aD-5lo">
<items>
<menuItem title="Minimize" keyEquivalent="m" id="OY7-WF-poV">
<connections>
<action selector="performMiniaturize:" target="-1" id="VwT-WD-YPe"/>
</connections>
</menuItem>
<menuItem title="Zoom" id="R4o-n2-Eq4">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="performZoom:" target="-1" id="DIl-cC-cCs"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="eu3-7i-yIM"/>
<menuItem title="Bring All to Front" id="LE2-aR-0XJ">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="arrangeInFront:" target="-1" id="DRN-fu-gQh"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Help" id="EPT-qC-fAb">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Help" systemMenu="help" id="rJ0-wn-3NY"/>
</menuItem>
</items>
<point key="canvasLocation" x="142" y="-258"/>
</menu>
<window title="APP_NAME" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g" customClass="MainFlutterWindow" customModule="Runner" customModuleProvider="target">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<rect key="contentRect" x="335" y="390" width="800" height="600"/>
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1577"/>
<view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ">
<rect key="frame" x="0.0" y="0.0" width="800" height="600"/>
<autoresizingMask key="autoresizingMask"/>
</view>
</window>
</objects>
</document>
================================================
FILE: examples/flutter_integration_tests/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 = flutter_integration_tests
// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterIntegrationTests
// The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright © 2025 com.example. All rights reserved.
================================================
FILE: examples/flutter_integration_tests/macos/Runner/Configs/Debug.xcconfig
================================================
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
================================================
FILE: examples/flutter_integration_tests/macos/Runner/Configs/Release.xcconfig
================================================
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
================================================
FILE: examples/flutter_integration_tests/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: examples/flutter_integration_tests/macos/Runner/DebugProfile.entitlements
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/macos/Runner/Info.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>$(PRODUCT_COPYRIGHT)</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/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: examples/flutter_integration_tests/macos/Runner/Release.entitlements
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/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 = "<group>"; };
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
33CC10ED2044A3C60003C045 /* flutter_integration_tests.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "flutter_integration_tests.app"; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = "<group>"; };
33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = "<group>"; };
33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = "<group>"; };
33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = "<group>"; };
33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = "<group>"; };
33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = "<group>"; };
33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; };
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
/* 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 = "<group>";
};
33BA886A226E78AF003329D5 /* Configs */ = {
isa = PBXGroup;
children = (
33E5194F232828860026EE4D /* AppInfo.xcconfig */,
9740EEB21CF90195004384FC /* Debug.xcconfig */,
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
333000ED22D3DE5D00554162 /* Warnings.xcconfig */,
);
path = Configs;
sourceTree = "<group>";
};
33CC10E42044A3C60003C045 = {
isa = PBXGroup;
children = (
33FAB671232836740065AC1E /* Runner */,
33CEB47122A05771004F2AC0 /* Flutter */,
331C80D6294CF71000263BE5 /* RunnerTests */,
33CC10EE2044A3C60003C045 /* Products */,
D73912EC22F37F3D000D13A0 /* Frameworks */,
);
sourceTree = "<group>";
};
33CC10EE2044A3C60003C045 /* Products */ = {
isa = PBXGroup;
children = (
33CC10ED2044A3C60003C045 /* flutter_integration_tests.app */,
331C80D5294CF71000263BE5 /* RunnerTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
33CC11242044D66E0003C045 /* Resources */ = {
isa = PBXGroup;
children = (
33CC10F22044A3C60003C045 /* Assets.xcassets */,
33CC10F42044A3C60003C045 /* MainMenu.xib */,
33CC10F72044A3C60003C045 /* Info.plist */,
);
name = Resources;
path = ..;
sourceTree = "<group>";
};
33CEB47122A05771004F2AC0 /* Flutter */ = {
isa = PBXGroup;
children = (
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */,
33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */,
33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */,
33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */,
);
path = Flutter;
sourceTree = "<group>";
};
33FAB671232836740065AC1E /* Runner */ = {
isa = PBXGroup;
children = (
33CC10F02044A3C60003C045 /* AppDelegate.swift */,
33CC11122044BFA00003C045 /* MainFlutterWindow.swift */,
33E51913231747F40026EE4D /* DebugProfile.entitlements */,
33E51914231749380026EE4D /* Release.entitlements */,
33CC11242044D66E0003C045 /* Resources */,
33BA886A226E78AF003329D5 /* Configs */,
);
path = Runner;
sourceTree = "<group>";
};
D73912EC22F37F3D000D13A0 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
/* 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 /* flutter_integration_tests.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 = "<group>";
};
/* 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.flutterIntegrationTests.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/flutter_integration_tests.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/flutter_integration_tests";
};
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.flutterIntegrationTests.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/flutter_integration_tests.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/flutter_integration_tests";
};
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.flutterIntegrationTests.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/flutter_integration_tests.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/flutter_integration_tests";
};
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.15;
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.15;
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.15;
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: examples/flutter_integration_tests/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "flutter_integration_tests.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "flutter_integration_tests.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "331C80D4294CF70F00263BE5"
BuildableName = "RunnerTests.xctest"
BlueprintName = "RunnerTests"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
enableGPUValidationMode = "1"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "flutter_integration_tests.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Profile"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "flutter_integration_tests.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: examples/flutter_integration_tests/macos/Runner.xcworkspace/contents.xcworkspacedata
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Runner.xcodeproj">
</FileRef>
</Workspace>
================================================
FILE: examples/flutter_integration_tests/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
================================================
FILE: examples/flutter_integration_tests/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: examples/flutter_integration_tests/pubspec.yaml
================================================
name: flutter_integration_tests
publish_to: 'none'
version: 1.0.0+1
resolution: workspace
environment:
sdk: ^3.10.0-0
dependencies:
flutter:
sdk: flutter
sqlite3:
sqlite3_connection_pool:
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
flutter_lints: ^6.0.0
flutter:
uses-material-design: true
================================================
FILE: examples/flutter_integration_tests/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: examples/flutter_integration_tests/windows/CMakeLists.txt
================================================
# Project-level configuration.
cmake_minimum_required(VERSION 3.14)
project(flutter_integration_tests LANGUAGES CXX)
# The name of the executable created for the application. Change this to change
# the on-disk name of your application.
set(BINARY_NAME "flutter_integration_tests")
# 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 "$<$<CONFIG:Debug>:_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 "$<TARGET_FILE_DIR:${BINARY_NAME}>")
# 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: examples/flutter_integration_tests/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} $<CONFIG>
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: examples/flutter_integration_tests/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: examples/flutter_integration_tests/windows/flutter/generated_plugin_registrant.h
================================================
//
// Generated file. Do not edit.
//
// clang-format off
#ifndef GENERATED_PLUGIN_REGISTRANT_
#define GENERATED_PLUGIN_REGISTRANT_
#include <flutter/plugin_registry.h>
// Registers Flutter plugins.
void RegisterPlugins(flutter::PluginRegistry* registry);
#endif // GENERATED_PLUGIN_REGISTRANT_
================================================
FILE: examples/flutter_integration_tests/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 $<TARGET_FILE:${plugin}_plugin>)
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: examples/flutter_integration_tests/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 th
gitextract_d7om4gvc/
├── .gitattributes
├── .github/
│ ├── dependabot.yml
│ └── workflows/
│ ├── compile_sqlite.yml
│ ├── main.yml
│ └── release.yml
├── .gitignore
├── .gitmodules
├── .vscode/
│ └── settings.json
├── LICENSE
├── README.md
├── UPGRADING_TO_V3.md
├── examples/
│ ├── flutter_integration_tests/
│ │ ├── .gitignore
│ │ ├── .metadata
│ │ ├── README.md
│ │ ├── analysis_options.yaml
│ │ ├── android/
│ │ │ ├── .gitignore
│ │ │ ├── app/
│ │ │ │ ├── build.gradle.kts
│ │ │ │ └── src/
│ │ │ │ ├── debug/
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ │ ├── main/
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ ├── kotlin/
│ │ │ │ │ │ └── com/
│ │ │ │ │ │ └── example/
│ │ │ │ │ │ └── flutter_integration_tests/
│ │ │ │ │ │ └── MainActivity.kt
│ │ │ │ │ └── res/
│ │ │ │ │ ├── drawable/
│ │ │ │ │ │ └── launch_background.xml
│ │ │ │ │ ├── drawable-v21/
│ │ │ │ │ │ └── launch_background.xml
│ │ │ │ │ ├── values/
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ └── values-night/
│ │ │ │ │ └── styles.xml
│ │ │ │ └── profile/
│ │ │ │ └── AndroidManifest.xml
│ │ │ ├── build.gradle.kts
│ │ │ ├── gradle/
│ │ │ │ └── wrapper/
│ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── gradle.properties
│ │ │ └── settings.gradle.kts
│ │ ├── integration_test/
│ │ │ └── integration_test.dart
│ │ ├── 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
│ │ ├── linux/
│ │ │ ├── .gitignore
│ │ │ ├── CMakeLists.txt
│ │ │ ├── flutter/
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── generated_plugin_registrant.cc
│ │ │ │ ├── generated_plugin_registrant.h
│ │ │ │ └── generated_plugins.cmake
│ │ │ └── runner/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── 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
│ │ └── 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
│ ├── multiplatform/
│ │ ├── analysis_options.yaml
│ │ ├── db/
│ │ │ ├── db.dart
│ │ │ └── sqlite3/
│ │ │ ├── native.dart
│ │ │ ├── sqlite3.dart
│ │ │ ├── unsupported.dart
│ │ │ └── web.dart
│ │ ├── main.dart
│ │ └── pubspec.yaml
│ └── pubspec.yaml
├── legacy/
│ ├── sqlcipher_flutter_libs/
│ │ ├── CHANGELOG.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── lib/
│ │ │ └── sqlcipher_flutter_libs.dart
│ │ └── pubspec.yaml
│ └── sqlite3_flutter_libs/
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── lib/
│ │ └── sqlite3_flutter_libs.dart
│ └── pubspec.yaml
├── native_tests/
│ ├── all_native_tests.dart
│ ├── analysis_options.yaml
│ ├── ignorelist.txt
│ ├── pubspec.yaml
│ └── run.dart
├── pubspec.yaml
├── sqlite3/
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── analysis_options.yaml
│ ├── assets/
│ │ ├── sqlite3.h
│ │ └── sqlite3_dart_wasm.h
│ ├── build.yaml
│ ├── dart_test.yaml
│ ├── dartdoc_options.yaml
│ ├── doc/
│ │ ├── common.md
│ │ ├── hook.md
│ │ ├── native.md
│ │ ├── releasing.md
│ │ └── wasm.md
│ ├── example/
│ │ ├── custom_extension/
│ │ │ ├── README.md
│ │ │ ├── example/
│ │ │ │ └── main.dart
│ │ │ ├── hook/
│ │ │ │ └── build.dart
│ │ │ ├── lib/
│ │ │ │ └── sqlite_vec.dart
│ │ │ ├── pubspec.yaml
│ │ │ └── test/
│ │ │ └── extension_test.dart
│ │ ├── custom_wasm_build/
│ │ │ ├── .cargo/
│ │ │ │ └── config.toml
│ │ │ ├── .gitignore
│ │ │ ├── Cargo.toml
│ │ │ ├── README.md
│ │ │ ├── build.rs
│ │ │ ├── link.dart
│ │ │ └── src/
│ │ │ └── lib.rs
│ │ ├── jsonb.dart
│ │ ├── main.dart
│ │ └── web/
│ │ ├── README.md
│ │ ├── index.html
│ │ ├── main.dart
│ │ └── worker.dart
│ ├── hook/
│ │ └── build.dart
│ ├── lib/
│ │ ├── common.dart
│ │ ├── sqlite3.dart
│ │ ├── src/
│ │ │ ├── constants.dart
│ │ │ ├── database.dart
│ │ │ ├── exception.dart
│ │ │ ├── ffi/
│ │ │ │ ├── api.dart
│ │ │ │ ├── bindings.dart
│ │ │ │ ├── implementation.dart
│ │ │ │ ├── libsqlite3.g.dart
│ │ │ │ └── memory.dart
│ │ │ ├── functions.dart
│ │ │ ├── hook/
│ │ │ │ ├── asset_hashes.dart
│ │ │ │ ├── assets.dart
│ │ │ │ ├── description.dart
│ │ │ │ ├── used_symbols.dart
│ │ │ │ └── utils.dart
│ │ │ ├── implementation/
│ │ │ │ ├── bindings.dart
│ │ │ │ ├── database.dart
│ │ │ │ ├── exception.dart
│ │ │ │ ├── session.dart
│ │ │ │ ├── sqlite3.dart
│ │ │ │ ├── statement.dart
│ │ │ │ └── utils.dart
│ │ │ ├── in_memory_vfs.dart
│ │ │ ├── jsonb.dart
│ │ │ ├── result_set.dart
│ │ │ ├── session.dart
│ │ │ ├── sqlite3.dart
│ │ │ ├── statement.dart
│ │ │ ├── utils.dart
│ │ │ ├── vfs.dart
│ │ │ └── wasm/
│ │ │ ├── bindings.dart
│ │ │ ├── injected_values.dart
│ │ │ ├── js_interop/
│ │ │ │ ├── atomics.dart
│ │ │ │ ├── core.dart
│ │ │ │ ├── fetch.dart
│ │ │ │ ├── file_system_access.dart
│ │ │ │ ├── indexed_db.dart
│ │ │ │ ├── new_file_system_access.dart
│ │ │ │ └── typed_data.dart
│ │ │ ├── js_interop.dart
│ │ │ ├── loader.dart
│ │ │ ├── sqlite3.dart
│ │ │ ├── sqlite3_wasm.g.dart
│ │ │ ├── vfs/
│ │ │ │ ├── async_opfs/
│ │ │ │ │ ├── client.dart
│ │ │ │ │ ├── sync_channel.dart
│ │ │ │ │ └── worker.dart
│ │ │ │ ├── indexed_db.dart
│ │ │ │ └── simple_opfs.dart
│ │ │ └── wasm_interop.dart
│ │ ├── unstable/
│ │ │ └── ffi_bindings.dart
│ │ └── wasm.dart
│ ├── pubspec.yaml
│ ├── test/
│ │ ├── common/
│ │ │ ├── database.dart
│ │ │ ├── prepared_statement.dart
│ │ │ ├── session.dart
│ │ │ ├── utils.dart
│ │ │ └── vfs.dart
│ │ ├── ffi/
│ │ │ ├── common_database_test.dart
│ │ │ ├── database_test.dart
│ │ │ ├── errors_test.dart
│ │ │ ├── ffi_test.dart
│ │ │ ├── prepared_statement_test.dart
│ │ │ ├── sqlite3_test.dart
│ │ │ └── vfs_test.dart
│ │ ├── hook/
│ │ │ ├── assets_test.dart
│ │ │ └── description_test.dart
│ │ ├── jsonb_test.dart
│ │ ├── source_code_test.dart
│ │ └── wasm/
│ │ ├── asset_server.dart
│ │ ├── common_database_test.dart
│ │ ├── encryption_test.dart
│ │ ├── file_system_test.dart
│ │ ├── prepared_statement_test.dart
│ │ ├── sqlite3_test.dart
│ │ ├── utils.dart
│ │ ├── worker.dart
│ │ └── worker_server.dart
│ └── tool/
│ ├── check_compile_time_option.dart
│ ├── example_server.dart
│ ├── format_native.sh
│ └── generate_bindings.dart
├── sqlite3_connection_pool/
│ ├── .cargo/
│ │ └── config.toml
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── Cargo.toml
│ ├── LICENSE
│ ├── README.md
│ ├── analysis_options.yaml
│ ├── example/
│ │ └── main.dart
│ ├── hook/
│ │ └── build.dart
│ ├── lib/
│ │ ├── sqlite3_connection_pool.dart
│ │ └── src/
│ │ ├── abort_exception.dart
│ │ ├── connection.dart
│ │ ├── ffi.g.dart
│ │ ├── mutex.dart
│ │ ├── pool.dart
│ │ └── raw.dart
│ ├── pubspec.yaml
│ ├── src/
│ │ ├── client.rs
│ │ ├── connection.rs
│ │ ├── dart.rs
│ │ ├── headers.h
│ │ ├── lib.rs
│ │ ├── pool.rs
│ │ ├── registry.rs
│ │ └── update_hook.rs
│ ├── test/
│ │ └── pool_test.dart
│ └── tool/
│ ├── build_apple.sh
│ ├── build_linux.sh
│ ├── build_linux_sanitizer.sh
│ └── generate_bindings.dart
├── sqlite3_test/
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── analysis_options.yaml
│ ├── example/
│ │ └── sqlite3_test_example.dart
│ ├── lib/
│ │ └── sqlite3_test.dart
│ ├── pubspec.yaml
│ └── test/
│ └── sqlite3_test_test.dart
├── sqlite3_wasm_build/
│ ├── README.md
│ ├── pubspec.yaml
│ ├── src/
│ │ ├── CMakeLists.txt
│ │ ├── bridge.h
│ │ ├── external_objects.c
│ │ ├── external_objects.h
│ │ ├── getentropy.c
│ │ ├── helpers.c
│ │ ├── os_web.c
│ │ └── sqlite_cfg.h
│ └── tool/
│ └── wasm_symbols.dart
├── sqlite3_web/
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── analysis_options.yaml
│ ├── benchmark/
│ │ ├── benchmark.dart
│ │ ├── index.html
│ │ ├── main.dart
│ │ ├── message.dart
│ │ ├── sql/
│ │ │ ├── benchmark1.sql
│ │ │ ├── benchmark10.sql
│ │ │ ├── benchmark11.sql
│ │ │ ├── benchmark12.sql
│ │ │ ├── benchmark13.sql
│ │ │ ├── benchmark14.sql
│ │ │ ├── benchmark15.sql
│ │ │ ├── benchmark16.sql
│ │ │ ├── benchmark2.sql
│ │ │ ├── benchmark3.sql
│ │ │ ├── benchmark4.sql
│ │ │ ├── benchmark5.sql
│ │ │ ├── benchmark6.sql
│ │ │ ├── benchmark7.sql
│ │ │ ├── benchmark8.sql
│ │ │ └── benchmark9.sql
│ │ └── worker.dart
│ ├── build.yaml
│ ├── dart_test.yaml
│ ├── example/
│ │ ├── controller.dart
│ │ ├── index.html
│ │ ├── main.dart
│ │ ├── main.js
│ │ └── worker.dart
│ ├── lib/
│ │ ├── protocol_utils.dart
│ │ ├── sqlite3_web.dart
│ │ └── src/
│ │ ├── channel.dart
│ │ ├── client.dart
│ │ ├── database.dart
│ │ ├── locks.dart
│ │ ├── protocol/
│ │ │ ├── compatibility_result.dart
│ │ │ ├── dsl.dart
│ │ │ ├── extensions.dart
│ │ │ ├── helper.g.dart
│ │ │ └── messages.dart
│ │ ├── protocol.dart
│ │ ├── shared.dart
│ │ ├── types.dart
│ │ ├── worker.dart
│ │ └── worker_connector.dart
│ ├── pubspec.yaml
│ ├── test/
│ │ ├── asset_server.dart
│ │ ├── client_test.dart
│ │ ├── integration_test.dart
│ │ ├── protocol_test.dart
│ │ └── worker_test.dart
│ ├── tool/
│ │ ├── protocol_generator.dart
│ │ └── server.dart
│ └── web/
│ ├── controller.dart
│ ├── index.html
│ ├── main.dart
│ ├── main.js
│ └── worker.dart
└── tool/
├── build_sqlite.dart
├── build_with_sanitizers.dart
├── download_sqlite.dart
├── hook_overrides.dart
└── write_asset_hashes.dart
SYMBOL INDEX (2050 symbols across 176 files)
FILE: examples/flutter_integration_tests/integration_test/integration_test.dart
function main (line 8) | void main()
function closeWhenDone (line 124) | void closeWhenDone()
FILE: examples/flutter_integration_tests/lib/main.dart
function main (line 4) | void main()
class SqliteDiagnostics (line 8) | class SqliteDiagnostics extends StatelessWidget {
method build (line 12) | Widget build(BuildContext context)
class _SqliteDiagnosticText (line 23) | class _SqliteDiagnosticText extends StatefulWidget {
method createState (line 27) | State<_SqliteDiagnosticText> createState()
class _SqliteDiagnosticTextState (line 30) | class _SqliteDiagnosticTextState extends State<_SqliteDiagnosticText> {
method initState (line 34) | void initState()
method build (line 46) | Widget build(BuildContext context)
FILE: examples/flutter_integration_tests/linux/flutter/generated_plugin_registrant.cc
function fl_register_plugins (line 10) | void fl_register_plugins(FlPluginRegistry* registry) {
FILE: examples/flutter_integration_tests/linux/runner/main.cc
function main (line 3) | int main(int argc, char** argv) {
FILE: examples/flutter_integration_tests/linux/runner/my_application.cc
type _MyApplication (line 10) | struct _MyApplication {
function first_frame_cb (line 18) | static void first_frame_cb(MyApplication* self, FlView *view)
function my_application_activate (line 24) | static void my_application_activate(GApplication* application) {
function gboolean (line 80) | static gboolean my_application_local_command_line(GApplication* applicat...
function my_application_startup (line 99) | static void my_application_startup(GApplication* application) {
function my_application_shutdown (line 108) | static void my_application_shutdown(GApplication* application) {
function my_application_dispose (line 117) | static void my_application_dispose(GObject* object) {
function my_application_class_init (line 123) | static void my_application_class_init(MyApplicationClass* klass) {
function my_application_init (line 131) | static void my_application_init(MyApplication* self) {}
function MyApplication (line 133) | MyApplication* my_application_new() {
FILE: examples/flutter_integration_tests/windows/flutter/generated_plugin_registrant.cc
function RegisterPlugins (line 10) | void RegisterPlugins(flutter::PluginRegistry* registry) {
FILE: examples/flutter_integration_tests/windows/runner/flutter_window.cpp
function LRESULT (line 50) | LRESULT
FILE: examples/flutter_integration_tests/windows/runner/flutter_window.h
function class (line 12) | class FlutterWindow : public Win32Window {
FILE: examples/flutter_integration_tests/windows/runner/main.cpp
function wWinMain (line 8) | int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FILE: examples/flutter_integration_tests/windows/runner/utils.cpp
function CreateAndAttachConsole (line 10) | void CreateAndAttachConsole() {
function GetCommandLineArguments (line 24) | std::vector<std::string> GetCommandLineArguments() {
function Utf8FromUtf16 (line 44) | std::string Utf8FromUtf16(const wchar_t* utf16_string) {
FILE: examples/flutter_integration_tests/windows/runner/win32_window.cpp
function Scale (line 36) | int Scale(int source, double scale_factor) {
function EnableFullDpiSupportIfAvailable (line 42) | void EnableFullDpiSupportIfAvailable(HWND hwnd) {
class WindowClassRegistrar (line 59) | class WindowClassRegistrar {
method WindowClassRegistrar (line 64) | static WindowClassRegistrar* GetInstance() {
method WindowClassRegistrar (line 80) | WindowClassRegistrar() = default;
function wchar_t (line 89) | const wchar_t* WindowClassRegistrar::GetWindowClass() {
function LRESULT (line 157) | LRESULT CALLBACK Win32Window::WndProc(HWND const window,
function LRESULT (line 176) | LRESULT
function Win32Window (line 236) | Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept {
function RECT (line 252) | RECT Win32Window::GetClientArea() {
function HWND (line 258) | HWND Win32Window::GetHandle() {
FILE: examples/flutter_integration_tests/windows/runner/win32_window.h
type Size (line 21) | struct Size {
FILE: examples/multiplatform/db/db.dart
function openDb (line 6) | Future<void> openDb()
FILE: examples/multiplatform/db/sqlite3/native.dart
function openSqliteDb (line 7) | Future<CommonDatabase> openSqliteDb()
FILE: examples/multiplatform/db/sqlite3/unsupported.dart
function openSqliteDb (line 3) | Future<CommonDatabase> openSqliteDb()
FILE: examples/multiplatform/db/sqlite3/web.dart
function openSqliteDb (line 4) | Future<CommonDatabase> openSqliteDb()
FILE: examples/multiplatform/main.dart
function main (line 3) | Future<void> main()
FILE: native_tests/all_native_tests.dart
function main (line 18) | void main()
FILE: native_tests/run.dart
function main (line 21) | void main(List<String> args)
function _createNativeAssetsConfig (line 71) | Future<File> _createNativeAssetsConfig(
FILE: sqlite3/assets/sqlite3.h
type sqlite3_char (line 6) | typedef struct sqlite3_char sqlite3_char;
type sqlite3 (line 7) | typedef struct sqlite3 sqlite3;
type sqlite3_stmt (line 8) | typedef struct sqlite3_stmt sqlite3_stmt;
type sqlite3_backup (line 9) | typedef struct sqlite3_backup sqlite3_backup;
type sqlite3_api_routines (line 10) | typedef struct sqlite3_api_routines sqlite3_api_routines;
type sqlite3_session (line 11) | typedef struct sqlite3_session sqlite3_session;
type sqlite3_changeset_iter (line 12) | typedef struct sqlite3_changeset_iter sqlite3_changeset_iter;
type sqlite3_value (line 88) | typedef struct sqlite3_value sqlite3_value;
type sqlite3_context (line 100) | typedef struct sqlite3_context sqlite3_context;
type sqlite3_file (line 150) | typedef struct sqlite3_file sqlite3_file;
type sqlite3_io_methods (line 152) | struct sqlite3_io_methods {
type sqlite3_file (line 178) | struct sqlite3_file {
type sqlite3_vfs (line 182) | typedef struct sqlite3_vfs sqlite3_vfs;
type sqlite3_vfs (line 186) | struct sqlite3_vfs {
FILE: sqlite3/assets/sqlite3_dart_wasm.h
type externref (line 6) | typedef struct {
FILE: sqlite3/example/custom_extension/example/main.dart
function main (line 4) | void main()
FILE: sqlite3/example/custom_extension/hook/build.dart
function main (line 8) | void main(List<String> args)
FILE: sqlite3/example/custom_extension/lib/sqlite_vec.dart
function sqlite3_vec_init (line 8) | int sqlite3_vec_init(
function loadSqliteVectorExtension (line 15) | void loadSqliteVectorExtension()
FILE: sqlite3/example/custom_extension/test/extension_test.dart
function main (line 5) | void main()
FILE: sqlite3/example/custom_wasm_build/build.rs
function main (line 5) | fn main() {
function get_output_path (line 49) | fn get_output_path() -> PathBuf {
FILE: sqlite3/example/custom_wasm_build/link.dart
function main (line 3) | void main(List<String> args)
FILE: sqlite3/example/custom_wasm_build/src/lib.rs
function sqlite3_os_init (line 4) | pub extern "C" fn sqlite3_os_init() -> c_int {
function sqlite3_os_end (line 15) | pub extern "C" fn sqlite3_os_end() -> c_int {
function dartLogError (line 25) | pub fn dartLogError(msg: *const c_char);
FILE: sqlite3/example/jsonb.dart
function main (line 3) | void main()
FILE: sqlite3/example/main.dart
function main (line 5) | void main()
FILE: sqlite3/example/web/main.dart
function main (line 7) | Future<void> main()
FILE: sqlite3/example/web/worker.dart
function main (line 9) | void main()
function handleEvent (line 19) | Future<void> handleEvent(web.MessageEvent event)
FILE: sqlite3/hook/build.dart
function main (line 11) | void main(List<String> args)
FILE: sqlite3/lib/src/constants.dart
class SqlError (line 14) | final class SqlError {
class SqlExtendedError (line 117) | final class SqlExtendedError {
class SqlFlag (line 380) | final class SqlFlag {
class SqlPrepareFlag (line 445) | final class SqlPrepareFlag {
class SqlType (line 463) | final class SqlType {
class SqlTextEncoding (line 475) | final class SqlTextEncoding {
class SqlFileLockingLevels (line 498) | final class SqlFileLockingLevels {
class SqlSpecialDestructor (line 509) | final class SqlSpecialDestructor {
class SqlFunctionFlag (line 521) | final class SqlFunctionFlag {
class SqlDeviceCharacteristics (line 539) | final class SqlDeviceCharacteristics {
FILE: sqlite3/lib/src/database.dart
class CommonDatabase (line 9) | abstract class CommonDatabase {
method getUpdatedRows (line 37) | int getUpdatedRows()
method execute (line 128) | void execute(String sql, [List<Object?> parameters = const []])
method select (line 142) | ResultSet select(String sql, [List<Object?> parameters = const []])
method prepare (line 158) | CommonPreparedStatement prepare(
method prepareMultiple (line 174) | List<CommonPreparedStatement> prepareMultiple(
method createCollation (line 199) | void createCollation({
method createFunction (line 241) | void createFunction({
method createAggregateFunction (line 264) | void createAggregateFunction<V>({
method dispose (line 295) | void dispose()
method close (line 302) | void close()
type SqliteUpdateKind (line 309) | enum SqliteUpdateKind {
class SqliteUpdate (line 341) | final class SqliteUpdate {
method toString (line 365) | String toString()
class DatabaseConfig (line 376) | abstract base class DatabaseConfig {
method setIntConfig (line 379) | void setIntConfig(int key, int configValue)
FILE: sqlite3/lib/src/exception.dart
class SqliteException (line 9) | final class SqliteException implements Exception {
method toString (line 57) | String toString()
FILE: sqlite3/lib/src/ffi/api.dart
class Sqlite3 (line 17) | abstract interface class Sqlite3 implements CommonSqlite3 {
method open (line 19) | Database open(
method fromPointer (line 37) | Database fromPointer(Pointer<void> database, {bool borrowed = false})
method openInMemory (line 40) | Database openInMemory({String? vfs})
method copyIntoMemory (line 44) | Database copyIntoMemory(Database restoreFrom)
method ensureExtensionLoaded (line 50) | void ensureExtensionLoaded(SqliteExtension extension)
method usedCompileOption (line 57) | bool usedCompileOption(String name)
class SqliteExtension (line 94) | abstract interface class SqliteExtension {
class Database (line 117) | abstract class Database extends CommonDatabase {
method leak (line 138) | Pointer<void> leak()
method prepare (line 142) | PreparedStatement prepare(
method prepareMultiple (line 150) | List<PreparedStatement> prepareMultiple(
method statementFromPointer (line 164) | PreparedStatement statementFromPointer({
method backup (line 187) | Stream<double> backup(Database toDatabase, {int nPage = 5})
class PreparedStatement (line 193) | abstract class PreparedStatement implements CommonPreparedStatement {
method leak (line 214) | Pointer<void> leak()
FILE: sqlite3/lib/src/ffi/bindings.dart
class FfiBindings (line 52) | final class FfiBindings implements RawSqliteBindings {
method sqlite3session_create (line 56) | RawSqliteSession sqlite3session_create(RawSqliteDatabase db, String name)
method sqlite3changeset_apply (line 77) | int sqlite3changeset_apply(
method sqlite3changeset_start (line 123) | RawChangesetIterator sqlite3changeset_start(Uint8List changeset)
method sqlite3changeset_invert (line 148) | Uint8List sqlite3changeset_invert(Uint8List changeset)
method sqlite3_initialize (line 201) | int sqlite3_initialize()
method sqlite3_errstr (line 206) | String sqlite3_errstr(int extendedErrorCode)
method sqlite3_libversion (line 211) | String sqlite3_libversion()
method sqlite3_libversion_number (line 216) | int sqlite3_libversion_number()
method sqlite3_open_v2 (line 221) | SqliteResult<RawSqliteDatabase> sqlite3_open_v2(
method sqlite3_sourceid (line 253) | String sqlite3_sourceid()
method registerVirtualFileSystem (line 258) | void registerVirtualFileSystem(VirtualFileSystem vfs, int makeDefault)
method unregisterVirtualFileSystem (line 273) | void unregisterVirtualFileSystem(VirtualFileSystem vfs)
method sqlite3_compileoption_get (line 290) | String? sqlite3_compileoption_get(int n)
method sqlite3_compileoption_used (line 295) | int sqlite3_compileoption_used(String optName)
class _RegisteredVfs (line 304) | final class _RegisteredVfs {
method deallocate (line 352) | void deallocate()
method _runVfs (line 358) | int _runVfs(
method _xOpen (line 373) | int _xOpen(
method _xDelete (line 425) | int _xDelete(
method _xAccess (line 436) | int _xAccess(
method _xFullPathname (line 452) | int _xFullPathname(
method _xRandomness (line 472) | int _xRandomness(
method _xSleep (line 482) | int _xSleep(Pointer<sqlite3_vfs> vfsPtr, int microseconds)
method _xCurrentTime64 (line 489) | int _xCurrentTime64(Pointer<sqlite3_vfs> vfsPtr, Pointer<Int64> out)
method _runFile (line 500) | int _runFile(
method _xClose (line 516) | int _xClose(Pointer<sqlite3_file> ptr)
method _xRead (line 526) | int _xRead(
method _xWrite (line 538) | int _xWrite(
method _xTruncate (line 550) | int _xTruncate(Pointer<sqlite3_file> ptr, int size)
method _xSync (line 554) | int _xSync(Pointer<sqlite3_file> ptr, int flags)
method _xFileSize (line 558) | int _xFileSize(Pointer<sqlite3_file> ptr, Pointer<Int64> pSize)
method _xLock (line 566) | int _xLock(Pointer<sqlite3_file> ptr, int flags)
method _xUnlock (line 570) | int _xUnlock(Pointer<sqlite3_file> ptr, int flags)
method _xCheckReservedLock (line 574) | int _xCheckReservedLock(
method _xFileControl (line 585) | int _xFileControl(
method _xSectorSize (line 594) | int _xSectorSize(Pointer<sqlite3_file> ptr)
method _xDeviveCharacteristics (line 599) | int _xDeviveCharacteristics(Pointer<sqlite3_file> ptr)
class _DartFile (line 604) | final class _DartFile extends Struct {
class FfiSession (line 612) | final class FfiSession implements RawSqliteSession, Finalizable {
method sqlite3session_attach (line 621) | int sqlite3session_attach([String? name])
method _handleChangesetResult (line 632) | Uint8List _handleChangesetResult(int result, int size, Pointer<Void> b...
method sqlite3session_changeset (line 644) | Uint8List sqlite3session_changeset()
method sqlite3session_patchset (line 662) | Uint8List sqlite3session_patchset()
method sqlite3session_delete (line 680) | void sqlite3session_delete()
method sqlite3session_diff (line 686) | int sqlite3session_diff(String fromDb, String table)
method sqlite3session_enable (line 701) | int sqlite3session_enable(int enable)
method sqlite3session_indirect (line 706) | int sqlite3session_indirect(int indirect)
method sqlite3session_isempty (line 711) | int sqlite3session_isempty()
class FfiChangesetIterator (line 716) | final class FfiChangesetIterator implements RawChangesetIterator, Finali...
method sqlite3changeset_finalize (line 741) | int sqlite3changeset_finalize()
method sqlite3changeset_new (line 748) | SqliteResult<RawSqliteValue?> sqlite3changeset_new(int columnNumber)
method sqlite3changeset_next (line 765) | int sqlite3changeset_next()
method sqlite3changeset_old (line 770) | SqliteResult<RawSqliteValue?> sqlite3changeset_old(int columnNumber)
method sqlite3changeset_op (line 787) | RawChangeSetOp sqlite3changeset_op()
class _FunctionFinalizers (line 843) | final class _FunctionFinalizers {
method closeAll (line 846) | void closeAll()
class FfiDatabase (line 857) | final class FfiDatabase implements RawSqliteDatabase, Finalizable {
method sqlite3_close_v2 (line 881) | int sqlite3_close_v2()
method detachFinalizer (line 891) | void detachFinalizer()
method sqlite3_errmsg (line 896) | String sqlite3_errmsg()
method sqlite3_extended_errcode (line 901) | int sqlite3_extended_errcode()
method sqlite3_error_offset (line 906) | int sqlite3_error_offset()
method sqlite3_extended_result_codes (line 915) | void sqlite3_extended_result_codes(int onoff)
method sqlite3_changes (line 920) | int sqlite3_changes()
method sqlite3_exec (line 923) | int sqlite3_exec(String sql)
method sqlite3_last_insert_rowid (line 938) | int sqlite3_last_insert_rowid()
method sqlite3_create_collation_v2 (line 943) | int sqlite3_create_collation_v2({
method sqlite3_create_window_function (line 965) | int sqlite3_create_window_function({
method sqlite3_create_function_v2 (line 998) | int sqlite3_create_function_v2({
method sqlite3_update_hook (line 1028) | void sqlite3_update_hook(RawUpdateHook? hook)
method sqlite3_commit_hook (line 1043) | void sqlite3_commit_hook(RawCommitHook? hook)
method sqlite3_rollback_hook (line 1058) | void sqlite3_rollback_hook(RawRollbackHook? hook)
method sqlite3_db_config (line 1072) | int sqlite3_db_config(int op, int value)
method sqlite3_get_autocommit (line 1078) | int sqlite3_get_autocommit()
method sqlite3_busy_handler (line 1083) | int sqlite3_busy_handler(int Function(int)? callback)
method newCompiler (line 1106) | RawStatementCompiler newCompiler(List<int> utf8EncodedSql)
class FfiStatementCompiler (line 1111) | final class FfiStatementCompiler implements RawStatementCompiler {
method close (line 1120) | void close()
method sqlite3_prepare (line 1130) | SqliteResult<RawSqliteStatement> sqlite3_prepare(
class FfiStatement (line 1171) | final class FfiStatement implements RawSqliteStatement, Finalizable {
method detachFinalizer (line 1183) | void detachFinalizer()
method sqlite3_bind_blob64 (line 1188) | int sqlite3_bind_blob64(int index, List<int> value)
method sqlite3_bind_double (line 1201) | int sqlite3_bind_double(int index, double value)
method sqlite3_bind_int64 (line 1206) | int sqlite3_bind_int64(int index, int value)
method sqlite3_bind_int64BigInt (line 1211) | int sqlite3_bind_int64BigInt(int index, BigInt value)
method sqlite3_bind_null (line 1216) | int sqlite3_bind_null(int index)
method sqlite3_bind_parameter_count (line 1221) | int sqlite3_bind_parameter_count()
method sqlite3_stmt_isexplain (line 1226) | int sqlite3_stmt_isexplain()
method sqlite3_stmt_readonly (line 1231) | int sqlite3_stmt_readonly()
method sqlite3_bind_parameter_index (line 1236) | int sqlite3_bind_parameter_index(String name)
method sqlite3_bind_text (line 1246) | int sqlite3_bind_text(int index, String value)
method sqlite3_column_bytes (line 1260) | Uint8List sqlite3_column_bytes(int index)
method sqlite3_column_count (line 1272) | int sqlite3_column_count()
method sqlite3_column_double (line 1277) | double sqlite3_column_double(int index)
method sqlite3_column_int64 (line 1282) | int sqlite3_column_int64(int index)
method sqlite3_column_int64OrBigInt (line 1287) | BigInt sqlite3_column_int64OrBigInt(int index)
method sqlite3_column_name (line 1292) | String sqlite3_column_name(int index)
method sqlite3_column_table_name (line 1297) | String? sqlite3_column_table_name(int index)
method sqlite3_column_text (line 1304) | String sqlite3_column_text(int index)
method sqlite3_column_type (line 1310) | int sqlite3_column_type(int index)
method sqlite3_finalize (line 1315) | void sqlite3_finalize()
method sqlite3_reset (line 1321) | void sqlite3_reset()
method sqlite3_step (line 1326) | int sqlite3_step()
class FfiValue (line 1334) | final class FfiValue implements RawSqliteValue {
method sqlite3_value_blob (line 1340) | Uint8List sqlite3_value_blob()
method sqlite3_value_double (line 1346) | double sqlite3_value_double()
method sqlite3_value_int64 (line 1351) | int sqlite3_value_int64()
method sqlite3_value_text (line 1356) | String sqlite3_value_text()
method sqlite3_value_type (line 1364) | int sqlite3_value_type()
method sqlite3_value_subtype (line 1369) | int sqlite3_value_subtype()
class FfiContext (line 1374) | final class FfiContext implements RawSqliteContext {
method sqlite3_result_blob64 (line 1421) | void sqlite3_result_blob64(List<int> blob)
method sqlite3_result_double (line 1434) | void sqlite3_result_double(double value)
method sqlite3_result_error (line 1439) | void sqlite3_result_error(String message)
method sqlite3_result_int64 (line 1447) | void sqlite3_result_int64(int value)
method sqlite3_result_int64BigInt (line 1452) | void sqlite3_result_int64BigInt(BigInt value)
method sqlite3_result_null (line 1457) | void sqlite3_result_null()
method sqlite3_result_text (line 1462) | void sqlite3_result_text(String text)
method sqlite3_result_subtype (line 1476) | void sqlite3_result_subtype(int value)
method freeContext (line 1480) | void freeContext()
class _ValueList (line 1486) | class _ValueList extends ListBase<FfiValue> {
type _XFunc (line 1502) | typedef _XFunc =
type _XFinal (line 1508) | typedef _XFinal = Void Function(Pointer<sqlite3_context>);
type _XCompare (line 1509) | typedef _XCompare =
type _UpdateHook (line 1511) | typedef _UpdateHook =
type _CommitHook (line 1519) | typedef _CommitHook = Int Function(Pointer<Void>);
type _RollbackHook (line 1520) | typedef _RollbackHook = Void Function(Pointer<Void>);
function closeIn (line 1523) | void closeIn(_FunctionFinalizers finalizers)
function toNative (line 1529) | NativeCallable<_XFunc> toNative(_FunctionFinalizers finalizers)
function toNative (line 1543) | NativeCallable<_XFinal> toNative({
function toNative (line 1558) | NativeCallable<_XCompare> toNative(_FunctionFinalizers finalizers)
function toNative (line 1577) | NativeCallable<_UpdateHook> toNative(_FunctionFinalizers finalizers)
function toNative (line 1594) | NativeCallable<_CommitHook> toNative(_FunctionFinalizers finalizers)
function toNative (line 1604) | NativeCallable<_RollbackHook> toNative(_FunctionFinalizers finalizers)
FILE: sqlite3/lib/src/ffi/implementation.dart
class FfiSqlite3 (line 18) | final class FfiSqlite3 extends Sqlite3Implementation implements Sqlite3 {
method open (line 22) | Database open(
method openInMemory (line 34) | FfiDatabaseImplementation openInMemory({String? vfs})
method wrapDatabase (line 39) | Database wrapDatabase(RawSqliteDatabase rawDb, {bool isBorrowed = false})
method copyIntoMemory (line 47) | Database copyIntoMemory(Database restoreFrom)
method ensureExtensionLoaded (line 52) | void ensureExtensionLoaded(SqliteExtension extension)
method fromPointer (line 68) | Database fromPointer(Pointer<void> database, {bool borrowed = false})
method usedCompileOption (line 76) | bool usedCompileOption(String name)
class SqliteExtensionImpl (line 94) | class SqliteExtensionImpl implements SqliteExtension {
class FfiDatabaseImplementation (line 102) | final class FfiDatabaseImplementation extends DatabaseImplementation
method wrapStatement (line 110) | FfiStatementImplementation wrapStatement(
method statementFromPointer (line 124) | PreparedStatement statementFromPointer({
method backup (line 134) | Stream<double> backup(Database toDatabase, {int nPage = 5})
method leak (line 147) | Pointer<void> leak()
method prepare (line 155) | PreparedStatement prepare(
method prepareMultiple (line 171) | List<PreparedStatement> prepareMultiple(
method _loadOrSaveInMemoryDatabase (line 193) | void _loadOrSaveInMemoryDatabase(Database other, bool isSave)
method _backupDatabase (line 233) | Stream<double> _backupDatabase(Database toDatabase, int nPage)
method restore (line 286) | void restore(Database fromDatabase)
class FfiStatementImplementation (line 297) | final class FfiStatementImplementation extends StatementImplementation
method leak (line 312) | Pointer<void> leak()
FILE: sqlite3/lib/src/ffi/libsqlite3.g.dart
function sqlite3_temp_directory (line 13) | ffi.Pointer<sqlite3_char> sqlite3_temp_directory;
function sqlite3_free (line 19) | void sqlite3_free(ffi.Pointer<ffi.Void> arg0)
function sqlite3_open_v2 (line 29) | int sqlite3_open_v2(
function sqlite3_close_v2 (line 37) | int sqlite3_close_v2(ffi.Pointer<sqlite3> db)
function sqlite3_db_filename (line 45) | ffi.Pointer<sqlite3_char> sqlite3_db_filename(
function sqlite3_compileoption_used (line 51) | int sqlite3_compileoption_used(ffi.Pointer<sqlite3_char> zOptName)
function sqlite3_compileoption_get (line 54) | ffi.Pointer<sqlite3_char> sqlite3_compileoption_get(int N)
function sqlite3_busy_handler (line 65) | int sqlite3_busy_handler(
function sqlite3_extended_result_codes (line 75) | int sqlite3_extended_result_codes(ffi.Pointer<sqlite3> db, int onoff)
function sqlite3_extended_errcode (line 78) | int sqlite3_extended_errcode(ffi.Pointer<sqlite3> db)
function sqlite3_errmsg (line 81) | ffi.Pointer<sqlite3_char> sqlite3_errmsg(ffi.Pointer<sqlite3> db)
function sqlite3_errstr (line 84) | ffi.Pointer<sqlite3_char> sqlite3_errstr(int code)
function sqlite3_error_offset (line 87) | int sqlite3_error_offset(ffi.Pointer<sqlite3> db)
function sqlite3_libversion (line 90) | ffi.Pointer<sqlite3_char> sqlite3_libversion()
function sqlite3_sourceid (line 93) | ffi.Pointer<sqlite3_char> sqlite3_sourceid()
function sqlite3_libversion_number (line 96) | int sqlite3_libversion_number()
function sqlite3_last_insert_rowid (line 99) | int sqlite3_last_insert_rowid(ffi.Pointer<sqlite3> db)
function sqlite3_changes (line 102) | int sqlite3_changes(ffi.Pointer<sqlite3> db)
function sqlite3_exec (line 113) | int sqlite3_exec(
function sqlite3_update_hook (line 138) | ffi.Pointer<ffi.Void> sqlite3_update_hook(
function sqlite3_commit_hook (line 162) | ffi.Pointer<ffi.Void> sqlite3_commit_hook(
function sqlite3_rollback_hook (line 175) | ffi.Pointer<ffi.Void> sqlite3_rollback_hook(
function sqlite3_get_autocommit (line 183) | int sqlite3_get_autocommit(ffi.Pointer<sqlite3> db)
function sqlite3_prepare_v2 (line 194) | int sqlite3_prepare_v2(
function sqlite3_prepare_v3 (line 212) | int sqlite3_prepare_v3(
function sqlite3_finalize (line 222) | int sqlite3_finalize(ffi.Pointer<sqlite3_stmt> pStmt)
function sqlite3_step (line 225) | int sqlite3_step(ffi.Pointer<sqlite3_stmt> pStmt)
function sqlite3_reset (line 228) | int sqlite3_reset(ffi.Pointer<sqlite3_stmt> pStmt)
function sqlite3_stmt_isexplain (line 231) | int sqlite3_stmt_isexplain(ffi.Pointer<sqlite3_stmt> pStmt)
function sqlite3_stmt_readonly (line 234) | int sqlite3_stmt_readonly(ffi.Pointer<sqlite3_stmt> pStmt)
function sqlite3_column_count (line 237) | int sqlite3_column_count(ffi.Pointer<sqlite3_stmt> pStmt)
function sqlite3_bind_parameter_count (line 240) | int sqlite3_bind_parameter_count(ffi.Pointer<sqlite3_stmt> pStmt)
function sqlite3_bind_parameter_index (line 245) | int sqlite3_bind_parameter_index(
function sqlite3_column_name (line 253) | ffi.Pointer<sqlite3_char> sqlite3_column_name(
function sqlite3_column_table_name (line 261) | ffi.Pointer<sqlite3_char> sqlite3_column_table_name(
function sqlite3_bind_blob64 (line 275) | int sqlite3_bind_blob64(
function sqlite3_bind_double (line 285) | int sqlite3_bind_double(
function sqlite3_bind_int64 (line 292) | int sqlite3_bind_int64(
function sqlite3_bind_null (line 299) | int sqlite3_bind_null(ffi.Pointer<sqlite3_stmt> pStmt, int index)
function sqlite3_bind_text (line 310) | int sqlite3_bind_text(
function sqlite3_column_blob (line 322) | ffi.Pointer<ffi.Void> sqlite3_column_blob(
function sqlite3_column_double (line 328) | double sqlite3_column_double(
function sqlite3_column_int64 (line 334) | int sqlite3_column_int64(ffi.Pointer<sqlite3_stmt> pStmt, int iCol)
function sqlite3_column_text (line 339) | ffi.Pointer<sqlite3_char> sqlite3_column_text(
function sqlite3_column_bytes (line 345) | int sqlite3_column_bytes(ffi.Pointer<sqlite3_stmt> pStmt, int iCol)
function sqlite3_column_type (line 348) | int sqlite3_column_type(ffi.Pointer<sqlite3_stmt> pStmt, int iCol)
function sqlite3_value_blob (line 351) | ffi.Pointer<ffi.Void> sqlite3_value_blob(
function sqlite3_value_double (line 356) | double sqlite3_value_double(ffi.Pointer<sqlite3_value> value)
function sqlite3_value_type (line 359) | int sqlite3_value_type(ffi.Pointer<sqlite3_value> value)
function sqlite3_value_int64 (line 362) | int sqlite3_value_int64(ffi.Pointer<sqlite3_value> value)
function sqlite3_value_text (line 365) | ffi.Pointer<sqlite3_char> sqlite3_value_text(
function sqlite3_value_bytes (line 370) | int sqlite3_value_bytes(ffi.Pointer<sqlite3_value> value)
function sqlite3_value_subtype (line 373) | int sqlite3_value_subtype(ffi.Pointer<sqlite3_value> value)
function sqlite3_create_function_v2 (line 406) | int sqlite3_create_function_v2(
function sqlite3_create_window_function (line 474) | int sqlite3_create_window_function(
function sqlite3_aggregate_context (line 515) | ffi.Pointer<ffi.Void> sqlite3_aggregate_context(
function sqlite3_user_data (line 521) | ffi.Pointer<ffi.Void> sqlite3_user_data(
function sqlite3_result_blob64 (line 533) | void sqlite3_result_blob64(
function sqlite3_result_double (line 541) | void sqlite3_result_double(
function sqlite3_result_error (line 553) | void sqlite3_result_error(
function sqlite3_result_int64 (line 560) | void sqlite3_result_int64(
function sqlite3_result_null (line 566) | void sqlite3_result_null(ffi.Pointer<sqlite3_context> ctx)
function sqlite3_result_text (line 576) | void sqlite3_result_text(
function sqlite3_result_subtype (line 584) | void sqlite3_result_subtype(
function sqlite3_create_collation_v2 (line 609) | int sqlite3_create_collation_v2(
function sqlite3_backup_init (line 638) | ffi.Pointer<sqlite3_backup> sqlite3_backup_init(
function sqlite3_backup_step (line 646) | int sqlite3_backup_step(ffi.Pointer<sqlite3_backup> p, int nPage)
function sqlite3_backup_finish (line 649) | int sqlite3_backup_finish(ffi.Pointer<sqlite3_backup> p)
function sqlite3_backup_remaining (line 652) | int sqlite3_backup_remaining(ffi.Pointer<sqlite3_backup> p)
function sqlite3_backup_pagecount (line 655) | int sqlite3_backup_pagecount(ffi.Pointer<sqlite3_backup> p)
function sqlite3_auto_extension (line 658) | int sqlite3_auto_extension(ffi.Pointer<ffi.Void> xEntryPoint)
function sqlite3_db_config (line 667) | int sqlite3_db_config(
function sqlite3_vfs_register (line 675) | int sqlite3_vfs_register(ffi.Pointer<sqlite3_vfs> arg0, int makeDflt)
function sqlite3_vfs_unregister (line 678) | int sqlite3_vfs_unregister(ffi.Pointer<sqlite3_vfs> arg0)
function sqlite3session_create (line 687) | int sqlite3session_create(
function sqlite3session_delete (line 694) | void sqlite3session_delete(ffi.Pointer<sqlite3_session> pSession)
function sqlite3session_enable (line 697) | int sqlite3session_enable(
function sqlite3session_indirect (line 703) | int sqlite3session_indirect(
function sqlite3changeset_start (line 715) | int sqlite3changeset_start(
function sqlite3changeset_finalize (line 722) | int sqlite3changeset_finalize(
function sqlite3changeset_next (line 727) | int sqlite3changeset_next(ffi.Pointer<sqlite3_changeset_iter> pIter)
function sqlite3changeset_op (line 738) | int sqlite3changeset_op(
function sqlite3changeset_old (line 753) | int sqlite3changeset_old(
function sqlite3changeset_new (line 766) | int sqlite3changeset_new(
function sqlite3changeset_apply (line 794) | int sqlite3changeset_apply(
function sqlite3changeset_invert (line 825) | int sqlite3changeset_invert(
function sqlite3session_patchset (line 839) | int sqlite3session_patchset(
function sqlite3session_changeset (line 852) | int sqlite3session_changeset(
function sqlite3session_isempty (line 859) | int sqlite3session_isempty(ffi.Pointer<sqlite3_session> pSession)
function sqlite3session_attach (line 864) | int sqlite3session_attach(
function sqlite3session_diff (line 877) | int sqlite3session_diff(
class _SymbolAddresses (line 886) | class _SymbolAddresses {
class sqlite3_char (line 1556) | final class sqlite3_char extends ffi.Opaque {}
class sqlite3 (line 1558) | final class sqlite3 extends ffi.Opaque {}
class sqlite3_stmt (line 1560) | final class sqlite3_stmt extends ffi.Opaque {}
class sqlite3_backup (line 1562) | final class sqlite3_backup extends ffi.Opaque {}
class sqlite3_api_routines (line 1564) | final class sqlite3_api_routines extends ffi.Opaque {}
class sqlite3_session (line 1566) | final class sqlite3_session extends ffi.Opaque {}
class sqlite3_changeset_iter (line 1568) | final class sqlite3_changeset_iter extends ffi.Opaque {}
class sqlite3_value (line 1570) | final class sqlite3_value extends ffi.Opaque {}
class sqlite3_context (line 1572) | final class sqlite3_context extends ffi.Opaque {}
class sqlite3_io_methods (line 1574) | final class sqlite3_io_methods extends ffi.Struct {
class sqlite3_file (line 1716) | final class sqlite3_file extends ffi.Struct {
class sqlite3_vfs (line 1720) | final class sqlite3_vfs extends ffi.Struct {
FILE: sqlite3/lib/src/ffi/memory.dart
function nullPtr (line 19) | Pointer<T> nullPtr<T extends NativeType>()
function free (line 22) | void free()
function allocateBytes (line 25) | Pointer<Uint8> allocateBytes(List<int> bytes, {int additionalLength = 0})
function allocateBytesWithFinalizer (line 40) | (Pointer<Uint8>, Uint8List) allocateBytesWithFinalizer(List<int> bytes)
function readNullableString (line 54) | String? readNullableString([int? length])
function readString (line 58) | String readString([int? length])
function allocateZeroTerminated (line 65) | Pointer<sqlite3_char> allocateZeroTerminated(String string)
function copyRange (line 73) | Uint8List copyRange(int length)
FILE: sqlite3/lib/src/functions.dart
type VoidPredicate (line 7) | typedef VoidPredicate = bool Function();
type CollatingFunction (line 15) | typedef CollatingFunction = int Function(String? textA, String? textB);
type ScalarFunction (line 27) | typedef ScalarFunction = Object? Function(SqliteArguments arguments);
class AggregateFunction (line 60) | @immutable
method createContext (line 67) | AggregateContext<V> createContext()
method step (line 73) | void step(SqliteArguments arguments, AggregateContext<V> context)
method finalize (line 81) | Object? finalize(AggregateContext<V> context)
class WindowFunction (line 126) | @immutable
method value (line 132) | Object? value(AggregateContext<V> context)
method inverse (line 135) | void inverse(SqliteArguments arguments, AggregateContext<V> context)
class AggregateContext (line 141) | final class AggregateContext<V> {
class AllowedArgumentCount (line 152) | final class AllowedArgumentCount {
class SqliteArguments (line 169) | abstract interface class SqliteArguments implements List<Object?> {
method subtypeOf (line 172) | int subtypeOf(int argumentIndex)
FILE: sqlite3/lib/src/hook/assets.dart
type LibraryType (line 5) | enum LibraryType {
type TargetOperatingSystem (line 28) | enum TargetOperatingSystem {
class PrebuiltSqliteLibrary (line 59) | final class PrebuiltSqliteLibrary {
method checkSupported (line 127) | void checkSupported()
method resolve (line 138) | PrebuiltSqliteLibrary resolve(CodeConfig config, LibraryType type)
FILE: sqlite3/lib/src/hook/description.dart
class SqliteBinary (line 16) | sealed class SqliteBinary {
method forBuild (line 17) | SqliteBinary forBuild(BuildInput input)
class ExternalSqliteBinary (line 60) | sealed class ExternalSqliteBinary implements SqliteBinary {
method resolveLinkMode (line 61) | LinkMode resolveLinkMode(BuildInput input)
class LookupSystem (line 66) | final class LookupSystem implements ExternalSqliteBinary {
method resolveLinkMode (line 73) | LinkMode resolveLinkMode(BuildInput input)
type SimpleBinary (line 83) | enum SimpleBinary implements ExternalSqliteBinary {
class PrecompiledBinary (line 101) | sealed class PrecompiledBinary implements SqliteBinary {
method resolveLibrary (line 106) | PrebuiltSqliteLibrary resolveLibrary(CodeConfig config)
method _fetchFromSource (line 110) | Stream<Uint8List> _fetchFromSource(
method fetch (line 116) | Stream<Uint8List> fetch(
method _filenameAndHash (line 152) | (String, String) _filenameAndHash(PrebuiltSqliteLibrary library)
method downloadIntoOutputDirectoryShared (line 167) | Future<File> downloadIntoOutputDirectoryShared(
class PrecompiledFromGithubAssets (line 215) | final class PrecompiledFromGithubAssets extends PrecompiledBinary {
method _fetchFromSource (line 219) | Stream<Uint8List> _fetchFromSource(
class PrecompiledForTesting (line 263) | final class PrecompiledForTesting extends PrecompiledBinary {
method _fetchFromSource (line 267) | Stream<Uint8List> _fetchFromSource(
class CompileSqlite (line 284) | final class CompileSqlite implements SqliteBinary {
class SqliteSources (line 295) | sealed class SqliteSources {}
class DownloadAmalgamation (line 298) | final class DownloadAmalgamation implements SqliteSources {
function overrideWith (line 332) | CompilerDefines overrideWith(CompilerDefines other)
function parse (line 336) | CompilerDefines parse(HookInputUserDefines defines, OS targetOS)
function _parseOption (line 363) | CompilerDefines _parseOption(Object? option)
function _parseLines (line 377) | CompilerDefines _parseLines(Iterable<String> lines)
function defaults (line 391) | CompilerDefines defaults(bool windows)
class CouldNotDownloadException (line 400) | final class CouldNotDownloadException {
method toString (line 407) | String toString()
method line (line 412) | void line(String line)
FILE: sqlite3/lib/src/hook/utils.dart
class OnceSink (line 3) | final class OnceSink<T extends Object> implements Sink<T> {
method add (line 7) | void add(T data)
method close (line 16) | void close()
FILE: sqlite3/lib/src/implementation/bindings.dart
class RawChangesetIterator (line 18) | abstract interface class RawChangesetIterator {
method sqlite3changeset_finalize (line 20) | int sqlite3changeset_finalize()
method sqlite3changeset_new (line 27) | SqliteResult<RawSqliteValue?> sqlite3changeset_new(int columnNumber)
method sqlite3changeset_next (line 30) | int sqlite3changeset_next()
method sqlite3changeset_old (line 37) | SqliteResult<RawSqliteValue?> sqlite3changeset_old(int columnNumber)
method sqlite3changeset_op (line 46) | RawChangeSetOp sqlite3changeset_op()
class RawChangeSetOp (line 49) | final class RawChangeSetOp {
class RawSqliteBindings (line 79) | abstract interface class RawSqliteBindings {
method sqlite3session_create (line 85) | RawSqliteSession sqlite3session_create(RawSqliteDatabase db, String name)
method sqlite3changeset_apply (line 102) | int sqlite3changeset_apply(
method sqlite3changeset_start (line 114) | RawChangesetIterator sqlite3changeset_start(Uint8List changeset)
method sqlite3changeset_invert (line 116) | Uint8List sqlite3changeset_invert(Uint8List changeset)
method sqlite3_libversion (line 118) | String sqlite3_libversion()
method sqlite3_sourceid (line 119) | String sqlite3_sourceid()
method sqlite3_libversion_number (line 120) | int sqlite3_libversion_number()
method sqlite3_open_v2 (line 124) | SqliteResult<RawSqliteDatabase> sqlite3_open_v2(
method sqlite3_errstr (line 130) | String sqlite3_errstr(int extendedErrorCode)
method registerVirtualFileSystem (line 132) | void registerVirtualFileSystem(VirtualFileSystem vfs, int makeDefault)
method unregisterVirtualFileSystem (line 133) | void unregisterVirtualFileSystem(VirtualFileSystem vfs)
method sqlite3_initialize (line 135) | int sqlite3_initialize()
class RawSqliteSession (line 143) | abstract interface class RawSqliteSession {
method sqlite3session_attach (line 148) | int sqlite3session_attach([String? name])
method sqlite3session_changeset (line 155) | Uint8List sqlite3session_changeset()
method sqlite3session_patchset (line 156) | Uint8List sqlite3session_patchset()
method sqlite3session_delete (line 159) | void sqlite3session_delete()
method sqlite3session_diff (line 167) | int sqlite3session_diff(String fromDb, String table)
method sqlite3session_enable (line 170) | int sqlite3session_enable(int enable)
method sqlite3session_indirect (line 173) | int sqlite3session_indirect(int indirect)
method sqlite3session_isempty (line 175) | int sqlite3session_isempty()
type SqliteResult (line 179) | typedef SqliteResult<T> = ({T? result, int resultCode});
type RawXFunc (line 181) | typedef RawXFunc = void Function(RawSqliteContext, List<RawSqliteValue>);
type RawXStep (line 182) | typedef RawXStep = void Function(RawSqliteContext, List<RawSqliteValue>);
type RawXFinal (line 183) | typedef RawXFinal = void Function(RawSqliteContext);
type RawUpdateHook (line 184) | typedef RawUpdateHook = void Function(int kind, String tableName, int ro...
type RawCommitHook (line 185) | typedef RawCommitHook = int Function();
type RawRollbackHook (line 186) | typedef RawRollbackHook = void Function();
type RawCollation (line 187) | typedef RawCollation = int Function(String? a, String? b);
class RawSqliteDatabase (line 193) | abstract interface class RawSqliteDatabase {
method sqlite3_changes (line 194) | int sqlite3_changes()
method sqlite3_last_insert_rowid (line 195) | int sqlite3_last_insert_rowid()
method sqlite3_exec (line 197) | int sqlite3_exec(String sql)
method sqlite3_extended_errcode (line 199) | int sqlite3_extended_errcode()
method sqlite3_error_offset (line 200) | int sqlite3_error_offset()
method sqlite3_extended_result_codes (line 202) | void sqlite3_extended_result_codes(int onoff)
method sqlite3_close_v2 (line 203) | int sqlite3_close_v2()
method sqlite3_errmsg (line 204) | String sqlite3_errmsg()
method sqlite3_update_hook (line 206) | void sqlite3_update_hook(RawUpdateHook? hook)
method sqlite3_commit_hook (line 208) | void sqlite3_commit_hook(RawCommitHook? hook)
method sqlite3_rollback_hook (line 210) | void sqlite3_rollback_hook(RawRollbackHook? hook)
method newCompiler (line 214) | RawStatementCompiler newCompiler(List<int> utf8EncodedSql)
method sqlite3_create_collation_v2 (line 216) | int sqlite3_create_collation_v2({
method sqlite3_create_function_v2 (line 222) | int sqlite3_create_function_v2({
method sqlite3_create_window_function (line 231) | int sqlite3_create_window_function({
method sqlite3_busy_handler (line 241) | int sqlite3_busy_handler(int Function(int)? callback)
method sqlite3_db_config (line 243) | int sqlite3_db_config(int op, int value)
method sqlite3_get_autocommit (line 244) | int sqlite3_get_autocommit()
class RawStatementCompiler (line 248) | abstract interface class RawStatementCompiler {
method sqlite3_prepare (line 261) | SqliteResult<RawSqliteStatement> sqlite3_prepare(
method close (line 268) | void close()
class RawSqliteStatement (line 275) | abstract interface class RawSqliteStatement {
method sqlite3_reset (line 276) | void sqlite3_reset()
method sqlite3_step (line 277) | int sqlite3_step()
method sqlite3_finalize (line 278) | void sqlite3_finalize()
method sqlite3_bind_parameter_index (line 280) | int sqlite3_bind_parameter_index(String name)
method sqlite3_bind_null (line 282) | int sqlite3_bind_null(int index)
method sqlite3_bind_int64 (line 283) | int sqlite3_bind_int64(int index, int value)
method sqlite3_bind_int64BigInt (line 284) | int sqlite3_bind_int64BigInt(int index, BigInt value)
method sqlite3_bind_double (line 285) | int sqlite3_bind_double(int index, double value)
method sqlite3_bind_text (line 286) | int sqlite3_bind_text(int index, String value)
method sqlite3_bind_blob64 (line 287) | int sqlite3_bind_blob64(int index, List<int> value)
method sqlite3_column_count (line 289) | int sqlite3_column_count()
method sqlite3_column_name (line 290) | String sqlite3_column_name(int index)
method sqlite3_column_table_name (line 292) | String? sqlite3_column_table_name(int index)
method sqlite3_column_type (line 294) | int sqlite3_column_type(int index)
method sqlite3_column_int64 (line 295) | int sqlite3_column_int64(int index)
method sqlite3_column_int64OrBigInt (line 300) | Object sqlite3_column_int64OrBigInt(int index)
method sqlite3_column_double (line 301) | double sqlite3_column_double(int index)
method sqlite3_column_text (line 302) | String sqlite3_column_text(int index)
method sqlite3_column_bytes (line 303) | Uint8List sqlite3_column_bytes(int index)
method sqlite3_bind_parameter_count (line 305) | int sqlite3_bind_parameter_count()
method sqlite3_stmt_readonly (line 306) | int sqlite3_stmt_readonly()
method sqlite3_stmt_isexplain (line 307) | int sqlite3_stmt_isexplain()
class RawSqliteContext (line 310) | abstract interface class RawSqliteContext {
method sqlite3_result_null (line 313) | void sqlite3_result_null()
method sqlite3_result_int64 (line 314) | void sqlite3_result_int64(int value)
method sqlite3_result_int64BigInt (line 315) | void sqlite3_result_int64BigInt(BigInt value)
method sqlite3_result_double (line 316) | void sqlite3_result_double(double value)
method sqlite3_result_text (line 317) | void sqlite3_result_text(String text)
method sqlite3_result_blob64 (line 318) | void sqlite3_result_blob64(List<int> blob)
method sqlite3_result_error (line 319) | void sqlite3_result_error(String message)
method sqlite3_result_subtype (line 320) | void sqlite3_result_subtype(int value)
class RawSqliteValue (line 323) | abstract interface class RawSqliteValue {
method sqlite3_value_type (line 324) | int sqlite3_value_type()
method sqlite3_value_int64 (line 325) | int sqlite3_value_int64()
method sqlite3_value_double (line 326) | double sqlite3_value_double()
method sqlite3_value_text (line 327) | String sqlite3_value_text()
method sqlite3_value_blob (line 328) | Uint8List sqlite3_value_blob()
method sqlite3_value_subtype (line 329) | int sqlite3_value_subtype()
FILE: sqlite3/lib/src/implementation/database.dart
class DatabaseImplementation (line 19) | base class DatabaseImplementation implements CommonDatabase {
method wrapStatement (line 66) | StatementImplementation wrapStatement(String sql, RawSqliteStatement s...
method _ensureOpen (line 70) | void _ensureOpen()
method _updatesHandler (line 76) | _StreamHandlers<SqliteUpdate, void Function()> _updatesHandler()
method _rollbackHandler (line 94) | _StreamHandlers<void, void Function()> _rollbackHandler()
method _commitHandler (line 104) | _StreamHandlers<void, VoidPredicate> _commitHandler()
method _validateAndEncodeFunctionName (line 126) | Uint8List _validateAndEncodeFunctionName(String functionName)
method createAggregateFunction (line 141) | void createAggregateFunction<V>({
method readOrCreateContext (line 153) | AggregateContext<V> readOrCreateContext(RawSqliteContext raw)
method step (line 159) | void step(RawSqliteContext context, List<RawSqliteValue> args)
method finalize (line 167) | void finalize(RawSqliteContext context)
method createFunction (line 212) | void createFunction({
method createCollation (line 235) | void createCollation({
method dispose (line 251) | void dispose()
method close (line 256) | void close()
method execute (line 291) | void execute(String sql, [List<Object?> parameters = const []])
method getUpdatedRows (line 321) | int getUpdatedRows()
method _prepareInternal (line 342) | List<StatementImplementation> _prepareInternal(
method freeIntermediateResults (line 365) | void freeIntermediateResults()
method prepare (line 447) | CommonPreparedStatement prepare(
method prepareMultiple (line 471) | List<CommonPreparedStatement> prepareMultiple(
method select (line 480) | ResultSet select(String sql, [List<Object?> parameters = const []])
function runWithArgsAndSetResult (line 511) | void runWithArgsAndSetResult(
function runAndSetResult (line 525) | void runAndSetResult(Object? Function() function)
function setResult (line 533) | void setResult(Object? result)
function setSubtypedResult (line 545) | void setSubtypedResult(SubtypedValue result)
class ValueList (line 552) | class ValueList extends ListBase<Object?> implements SqliteArguments {
method subtypeOf (line 589) | int subtypeOf(int argumentIndex)
class DatabaseConfigImplementation (line 601) | final class DatabaseConfigImplementation extends DatabaseConfig {
method setIntConfig (line 607) | void setIntConfig(int key, int configValue)
class _StreamHandlers (line 624) | final class _StreamHandlers<T, SyncCallback> {
method _generateStream (line 650) | Stream<T> _generateStream(bool dispatchSynchronously)
method addListener (line 657) | void addListener()
method removeListener (line 661) | void removeListener()
method _addAsyncListener (line 692) | void _addAsyncListener(MultiStreamController<T> listener, bool sync)
method _removeAsyncListener (line 701) | void _removeAsyncListener(MultiStreamController<T> listener, bool sync)
method deliverAsyncEvent (line 709) | void deliverAsyncEvent(T event)
method close (line 719) | void close()
FILE: sqlite3/lib/src/implementation/exception.dart
function createExceptionOutsideOfDatabase (line 5) | SqliteException createExceptionOutsideOfDatabase(
function createExceptionRaw (line 19) | SqliteException createExceptionRaw(
function createExceptionFromExtendedCode (line 47) | SqliteException createExceptionFromExtendedCode(
function createException (line 76) | SqliteException createException(
function throwException (line 93) | Never throwException(
FILE: sqlite3/lib/src/implementation/session.dart
class SessionImplementation (line 11) | final class SessionImplementation implements Session {
method createSession (line 20) | SessionImplementation createSession(
method _checkNotDeleted (line 29) | void _checkNotDeleted()
method changeset (line 36) | Changeset changeset()
method patchset (line 43) | Patchset patchset()
method delete (line 50) | void delete()
method diff (line 58) | void diff(String fromDb, String table)
method attach (line 105) | void attach([String? table])
class PatchsetImplementation (line 114) | final class PatchsetImplementation
method applyTo (line 124) | void applyTo(
class ChangesetImplementation (line 156) | final class ChangesetImplementation extends PatchsetImplementation
class ChangesetIteratorImplementation (line 167) | final class ChangesetIteratorImplementation implements ChangesetIterator {
method moveNext (line 179) | bool moveNext()
method _readChangesetValue (line 216) | Object? _readChangesetValue(SqliteResult<RawSqliteValue?> result)
method finalize (line 224) | void finalize()
FILE: sqlite3/lib/src/implementation/sqlite3.dart
class Sqlite3Implementation (line 12) | base class Sqlite3Implementation implements CommonSqlite3 {
method wrapDatabase (line 18) | CommonDatabase wrapDatabase(
method initialize (line 31) | void initialize()
method open (line 42) | CommonDatabase open(
method openInMemory (line 99) | CommonDatabase openInMemory({String? vfs})
method registerVirtualFileSystem (line 104) | void registerVirtualFileSystem(
method unregisterVirtualFileSystem (line 114) | void unregisterVirtualFileSystem(VirtualFileSystem vfs)
FILE: sqlite3/lib/src/implementation/statement.dart
class StatementImplementation (line 9) | base class StatementImplementation extends CommonPreparedStatement {
method _ensureNotFinalized (line 47) | void _ensureNotFinalized()
method _ensureMatchingParameters (line 53) | void _ensureMatchingParameters(List<Object?>? parameters)
method _step (line 66) | int _step()
method _execute (line 68) | void _execute()
method _selectResults (line 89) | ResultSet _selectResults()
method _readValue (line 125) | Object? _readValue(int index)
method _bindIndexedParams (line 150) | void _bindIndexedParams(List<Object?>? params)
method _bindMapParams (line 164) | void _bindMapParams(Map<String, Object?> params)
method _bindParam (line 209) | void _bindParam(Object? param, int i)
method _bindCustomParam (line 232) | int _bindCustomParam(Object param, int i)
method _bindParams (line 246) | void _bindParams(StatementParameters parameters)
method reset (line 258) | void reset()
method dispose (line 268) | void dispose()
method close (line 273) | void close()
method selectWith (line 283) | ResultSet selectWith(StatementParameters parameters)
method executeWith (line 293) | void executeWith(StatementParameters parameters)
method iterateWith (line 302) | IteratingCursor iterateWith(StatementParameters parameters)
method selectMap (line 321) | ResultSet selectMap(Map<String, Object?> parameters)
class _ActiveCursorIterator (line 331) | class _ActiveCursorIterator extends IteratingCursor {
method moveNext (line 353) | bool moveNext()
FILE: sqlite3/lib/src/implementation/utils.dart
function eTextRep (line 13) | int eTextRep(bool deterministic, bool directOnly, bool subtype)
function read (line 30) | Object? read()
FILE: sqlite3/lib/src/in_memory_vfs.dart
class InMemoryFileSystem (line 18) | final class InMemoryFileSystem extends BaseVirtualFileSystem {
method xAccess (line 24) | int xAccess(String path, int flags)
method xDelete (line 29) | void xDelete(String path, int syncDir)
method xFullPathName (line 34) | String xFullPathName(String path)
method xOpen (line 39) | XOpenResult xOpen(Sqlite3Filename path, int flags)
method xSleep (line 62) | void xSleep(Duration duration)
class _InMemoryFile (line 65) | class _InMemoryFile extends BaseVfsFile {
method readInto (line 75) | int readInto(Uint8List buffer, int offset)
method xCheckReservedLock (line 86) | int xCheckReservedLock()
method xClose (line 91) | void xClose()
method xFileSize (line 98) | int xFileSize()
method xLock (line 103) | void xLock(int mode)
method xSync (line 108) | void xSync(int flags)
method xTruncate (line 111) | void xTruncate(int size)
method xUnlock (line 123) | void xUnlock(int mode)
method xWrite (line 128) | void xWrite(Uint8List buffer, int fileOffset)
FILE: sqlite3/lib/src/jsonb.dart
class _JsonbCodec (line 43) | final class _JsonbCodec extends Codec<Object?, Uint8List> {
type _ElementType (line 53) | enum _ElementType {
class _JsonbDecoder (line 72) | final class _JsonbDecoder extends Converter<Uint8List, Object?> {
method convert (line 76) | Object? convert(Uint8List input)
class _JsonbDecodingState (line 87) | final class _JsonbDecodingState {
method _malformedJson (line 96) | Never _malformedJson()
method nextByte (line 100) | int nextByte()
method pushLengthRestriction (line 102) | void pushLengthRestriction(int length)
method popLengthRestriction (line 106) | void popLengthRestriction()
method checkRemainingLength (line 108) | void checkRemainingLength(int requiredBytes)
method readHeader (line 114) | (_ElementType, int) readHeader()
method readArray (line 136) | List<Object?> readArray(int payloadLength)
method readObject (line 147) | Map<String, Object?> readObject(int payloadLength)
method read (line 164) | Object? read()
method payloadBytes (line 171) | Uint8List payloadBytes()
method payloadString (line 178) | String payloadString()
class _JsonbEncoder (line 203) | final class _JsonbEncoder extends Converter<Object?, Uint8List> {
method convert (line 207) | Uint8List convert(Object? input)
class _JsonbEncodingOperation (line 216) | final class _JsonbEncodingOperation {
method writeHeader (line 222) | void writeHeader(int payloadSize, _ElementType type)
method prepareUnknownLength (line 265) | int prepareUnknownLength(_ElementType type)
method fillPreviouslyUnknownLength (line 273) | void fillPreviouslyUnknownLength(int index)
method checkCycle (line 282) | void checkCycle(Object? object)
method removeSeen (line 293) | void removeSeen(Object? object)
method writeNull (line 299) | void writeNull()
method writeBool (line 303) | void writeBool(bool value)
method writeInt (line 307) | void writeInt(int value)
method writeDouble (line 313) | void writeDouble(double value)
method writeString (line 329) | void writeString(String value)
method writeArray (line 335) | void writeArray(Iterable<Object?> values)
method writeMap (line 345) | bool writeMap(Map<Object?, Object?> values)
method write (line 372) | void write(Object? value)
method writeJsonValue (line 391) | bool writeJsonValue(Object? value)
method _encodeObject (line 425) | Object? _encodeObject(dynamic object)
FILE: sqlite3/lib/src/result_set.dart
class Cursor (line 12) | sealed class Cursor {
method _calculateIndexes (line 41) | void _calculateIndexes()
class IteratingCursor (line 58) | abstract class IteratingCursor extends Cursor implements Iterator<Row> {
class ResultSet (line 65) | final class ResultSet extends Cursor
class Row (line 98) | final class Row
method columnAt (line 110) | dynamic columnAt(int i)
method toTableColumnMap (line 143) | Map<String?, Map<String, dynamic>>? toTableColumnMap()
class _ResultIterator (line 160) | final class _ResultIterator implements Iterator<Row> {
method moveNext (line 170) | bool moveNext()
FILE: sqlite3/lib/src/session.dart
class Session (line 16) | abstract interface class Session {
method changeset (line 37) | Changeset changeset()
method patchset (line 42) | Patchset patchset()
method delete (line 47) | void delete()
method attach (line 50) | void attach([String? table])
method diff (line 55) | void diff(String fromDb, String table)
class Patchset (line 76) | abstract interface class Patchset implements Iterable<ChangesetOperation> {
method applyTo (line 92) | void applyTo(
class Changeset (line 101) | abstract interface class Changeset implements Patchset {
class ChangesetOperation (line 117) | final class ChangesetOperation {
method toString (line 145) | String toString()
class ChangesetIterator (line 151) | abstract interface class ChangesetIterator
method finalize (line 157) | void finalize()
class ApplyChangesetOptions (line 160) | class ApplyChangesetOptions {
type ApplyChangesetConflict (line 176) | enum ApplyChangesetConflict {
FILE: sqlite3/lib/src/sqlite3.dart
class CommonSqlite3 (line 7) | abstract interface class CommonSqlite3 {
method open (line 22) | CommonDatabase open(
method openInMemory (line 34) | CommonDatabase openInMemory({String? vfs})
method registerVirtualFileSystem (line 52) | void registerVirtualFileSystem(
method unregisterVirtualFileSystem (line 62) | void unregisterVirtualFileSystem(VirtualFileSystem vfs)
class Version (line 66) | final class Version {
method toString (line 81) | String toString()
type OpenMode (line 88) | enum OpenMode {
FILE: sqlite3/lib/src/statement.dart
class CommonPreparedStatement (line 9) | abstract class CommonPreparedStatement {
method executeWith (line 43) | void executeWith(StatementParameters parameters)
method selectWith (line 59) | ResultSet selectWith(StatementParameters parameters)
method iterateWith (line 77) | IteratingCursor iterateWith(StatementParameters parameters)
method execute (line 80) | void execute([List<Object?> parameters = const <Object>[]])
method executeMap (line 91) | void executeMap(Map<String, Object?> parameters)
method select (line 96) | ResultSet select([List<Object?> parameters = const <Object>[]])
method selectMap (line 105) | ResultSet selectMap(Map<String, Object?> parameters)
method selectCursor (line 110) | IteratingCursor selectCursor([List<Object?> parameters = const <Object...
method reset (line 123) | void reset()
method dispose (line 127) | void dispose()
method close (line 137) | void close()
class StatementParameters (line 157) | sealed class StatementParameters {
class IndexedParameters (line 184) | @internal
class NamedParameters (line 193) | @internal
class CustomParameters (line 200) | @internal
class CustomStatementParameter (line 217) | abstract interface class CustomStatementParameter {
method applyTo (line 224) | void applyTo(CommonPreparedStatement statement, int index)
FILE: sqlite3/lib/src/utils.dart
function randomFileName (line 4) | String randomFileName({required String prefix, int length = 16})
FILE: sqlite3/lib/src/vfs.dart
class VfsException (line 10) | final class VfsException implements Exception {
method toString (line 17) | String toString()
class Sqlite3Filename (line 25) | base class Sqlite3Filename {
class VirtualFileSystem (line 45) | abstract base class VirtualFileSystem {
method xOpen (line 55) | XOpenResult xOpen(Sqlite3Filename path, int flags)
method xDelete (line 58) | void xDelete(String path, int syncDir)
method xAccess (line 61) | int xAccess(String path, int flags)
method xFullPathName (line 65) | String xFullPathName(String path)
method xRandomness (line 71) | void xRandomness(Uint8List target)
method xSleep (line 74) | void xSleep(Duration duration)
method xCurrentTime (line 77) | DateTime xCurrentTime()
type XOpenResult (line 81) | typedef XOpenResult = ({int outFlags, VirtualFileSystemFile file});
class VirtualFileSystemFile (line 88) | abstract interface class VirtualFileSystemFile {
method xClose (line 90) | void xClose()
method xRead (line 100) | void xRead(Uint8List target, int fileOffset)
method xWrite (line 110) | void xWrite(Uint8List buffer, int fileOffset)
method xTruncate (line 113) | void xTruncate(int size)
method xSync (line 116) | void xSync(int flags)
method xFileSize (line 119) | int xFileSize()
method xLock (line 122) | void xLock(int mode)
method xUnlock (line 125) | void xUnlock(int mode)
method xCheckReservedLock (line 128) | int xCheckReservedLock()
class BaseVirtualFileSystem (line 138) | abstract base class BaseVirtualFileSystem extends VirtualFileSystem {
method xRandomness (line 146) | void xRandomness(Uint8List target)
method xCurrentTime (line 151) | DateTime xCurrentTime()
method generateRandomness (line 157) | void generateRandomness(Uint8List target, [Random? random])
class BaseVfsFile (line 172) | abstract class BaseVfsFile implements VirtualFileSystemFile {
method readInto (line 178) | int readInto(Uint8List buffer, int offset)
method xRead (line 184) | void xRead(Uint8List target, int fileOffset)
FILE: sqlite3/lib/src/wasm/bindings.dart
class WasmSqliteBindings (line 19) | final class WasmSqliteBindings implements RawSqliteBindings {
method sqlite3_errstr (line 44) | String sqlite3_errstr(int extendedErrorCode)
method sqlite3_libversion (line 51) | String sqlite3_libversion()
method sqlite3_libversion_number (line 56) | int sqlite3_libversion_number()
method sqlite3_open_v2 (line 61) | SqliteResult<RawSqliteDatabase> sqlite3_open_v2(
method sqlite3_sourceid (line 83) | String sqlite3_sourceid()
method sqlite3_initialize (line 88) | int sqlite3_initialize()
method registerVirtualFileSystem (line 93) | void registerVirtualFileSystem(VirtualFileSystem vfs, int makeDefault)
method unregisterVirtualFileSystem (line 108) | void unregisterVirtualFileSystem(VirtualFileSystem vfs)
method sqlite3session_create (line 118) | RawSqliteSession sqlite3session_create(RawSqliteDatabase db, String name)
method sqlite3changeset_apply (line 141) | int sqlite3changeset_apply(
method sqlite3changeset_invert (line 175) | Uint8List sqlite3changeset_invert(Uint8List changeset)
method sqlite3changeset_start (line 204) | RawChangesetIterator sqlite3changeset_start(Uint8List changeset)
class WasmDatabase (line 225) | final class WasmDatabase implements RawSqliteDatabase {
method sqlite3_close_v2 (line 235) | int sqlite3_close_v2()
method sqlite3_errmsg (line 241) | String sqlite3_errmsg()
method sqlite3_extended_errcode (line 246) | int sqlite3_extended_errcode()
method sqlite3_error_offset (line 251) | int sqlite3_error_offset()
method sqlite3_extended_result_codes (line 256) | void sqlite3_extended_result_codes(int onoff)
method newCompiler (line 261) | RawStatementCompiler newCompiler(List<int> utf8EncodedSql)
method sqlite3_changes (line 268) | int sqlite3_changes()
method sqlite3_create_collation_v2 (line 271) | int sqlite3_create_collation_v2({
method sqlite3_create_function_v2 (line 289) | int sqlite3_create_function_v2({
method sqlite3_create_window_function (line 322) | int sqlite3_create_window_function({
method sqlite3_exec (line 350) | int sqlite3_exec(String sql)
method sqlite3_last_insert_rowid (line 358) | int sqlite3_last_insert_rowid()
method sqlite3_update_hook (line 363) | void sqlite3_update_hook(RawUpdateHook? hook)
method sqlite3_commit_hook (line 368) | void sqlite3_commit_hook(RawCommitHook? hook)
method sqlite3_rollback_hook (line 373) | void sqlite3_rollback_hook(RawRollbackHook? hook)
method sqlite3_get_autocommit (line 378) | int sqlite3_get_autocommit()
method sqlite3_db_config (line 383) | int sqlite3_db_config(int op, int value)
method sqlite3_busy_handler (line 388) | int sqlite3_busy_handler(int Function(int p1)? callback)
class WasmStatementCompiler (line 396) | final class WasmStatementCompiler implements RawStatementCompiler {
method close (line 407) | void close()
method sqlite3_prepare (line 421) | SqliteResult<RawSqliteStatement> sqlite3_prepare(
class WasmStatement (line 442) | final class WasmStatement implements RawSqliteStatement {
method sqlite3_bind_blob64 (line 453) | int sqlite3_bind_blob64(int index, List<int> value)
method sqlite3_bind_double (line 465) | int sqlite3_bind_double(int index, double value)
method sqlite3_bind_int64 (line 470) | int sqlite3_bind_int64(int index, int value)
method sqlite3_bind_int64BigInt (line 475) | int sqlite3_bind_int64BigInt(int index, BigInt value)
method sqlite3_bind_null (line 480) | int sqlite3_bind_null(int index)
method sqlite3_bind_parameter_count (line 485) | int sqlite3_bind_parameter_count()
method sqlite3_stmt_isexplain (line 490) | int sqlite3_stmt_isexplain()
method sqlite3_stmt_readonly (line 495) | int sqlite3_stmt_readonly()
method sqlite3_bind_parameter_index (line 500) | int sqlite3_bind_parameter_index(String name)
method sqlite3_bind_text (line 510) | int sqlite3_bind_text(int index, String value)
method sqlite3_column_bytes (line 523) | Uint8List sqlite3_column_bytes(int index)
method sqlite3_column_count (line 531) | int sqlite3_column_count()
method sqlite3_column_double (line 536) | double sqlite3_column_double(int index)
method sqlite3_column_int64 (line 541) | int sqlite3_column_int64(int index)
method sqlite3_column_int64OrBigInt (line 547) | Object sqlite3_column_int64OrBigInt(int index)
method sqlite3_column_name (line 553) | String sqlite3_column_name(int index)
method sqlite3_column_table_name (line 559) | String? sqlite3_column_table_name(int index)
method sqlite3_column_text (line 564) | String sqlite3_column_text(int index)
method sqlite3_column_type (line 570) | int sqlite3_column_type(int index)
method sqlite3_finalize (line 575) | void sqlite3_finalize()
method sqlite3_reset (line 581) | void sqlite3_reset()
method sqlite3_step (line 586) | int sqlite3_step()
class WasmContext (line 594) | final class WasmContext implements RawSqliteContext {
method sqlite3_result_blob64 (line 638) | void sqlite3_result_blob64(List<int> blob)
method sqlite3_result_double (line 651) | void sqlite3_result_double(double value)
method sqlite3_result_error (line 656) | void sqlite3_result_error(String message)
method sqlite3_result_int64 (line 665) | void sqlite3_result_int64(int value)
method sqlite3_result_int64BigInt (line 670) | void sqlite3_result_int64BigInt(BigInt value)
method sqlite3_result_null (line 675) | void sqlite3_result_null()
method sqlite3_result_text (line 680) | void sqlite3_result_text(String text)
method sqlite3_result_subtype (line 694) | void sqlite3_result_subtype(int value)
class WasmValue (line 699) | final class WasmValue implements RawSqliteValue {
method sqlite3_value_blob (line 706) | Uint8List sqlite3_value_blob()
method sqlite3_value_double (line 715) | double sqlite3_value_double()
method sqlite3_value_int64 (line 720) | int sqlite3_value_int64()
method sqlite3_value_text (line 725) | String sqlite3_value_text()
method sqlite3_value_type (line 734) | int sqlite3_value_type()
method sqlite3_value_subtype (line 739) | int sqlite3_value_subtype()
class WasmValueList (line 744) | class WasmValueList extends ListBase<WasmValue> {
class WasmSession (line 771) | final class WasmSession implements RawSqliteSession {
method sqlite3session_attach (line 783) | int sqlite3session_attach([String? name])
method _extractBytes (line 793) | Uint8List _extractBytes(int Function(Pointer, Pointer, Pointer) raw)
method sqlite3session_changeset (line 815) | Uint8List sqlite3session_changeset()
method sqlite3session_patchset (line 820) | Uint8List sqlite3session_patchset()
method sqlite3session_delete (line 825) | void sqlite3session_delete()
method sqlite3session_diff (line 831) | int sqlite3session_diff(String fromDb, String table)
method sqlite3session_enable (line 843) | int sqlite3session_enable(int enable)
method sqlite3session_indirect (line 848) | int sqlite3session_indirect(int indirect)
method sqlite3session_isempty (line 853) | int sqlite3session_isempty()
class WasmChangesetIterator (line 856) | final class WasmChangesetIterator implements RawChangesetIterator {
method sqlite3changeset_finalize (line 883) | int sqlite3changeset_finalize()
method sqlite3changeset_next (line 894) | int sqlite3changeset_next()
method _extractValue (line 896) | SqliteResult<RawSqliteValue?> _extractValue(
method sqlite3changeset_old (line 912) | SqliteResult<RawSqliteValue?> sqlite3changeset_old(int columnNumber)
method sqlite3changeset_new (line 917) | SqliteResult<RawSqliteValue?> sqlite3changeset_new(int columnNumber)
method sqlite3changeset_op (line 922) | RawChangeSetOp sqlite3changeset_op()
FILE: sqlite3/lib/src/wasm/injected_values.dart
class DartBridgeCallbacks (line 18) | final class DartBridgeCallbacks {
method logError (line 27) | void logError(Pointer message)
method localtime (line 32) | void localtime(JsBigInt timestamp, int resultPtr)
method xOpen (line 66) | ExternalDartReference<VirtualFileSystemFile>? xOpen(
method xDelete (line 93) | int xDelete(
method xAccess (line 103) | int xAccess(
method xFullPathname (line 118) | int xFullPathname(
method xRandomness (line 141) | int xRandomness(
method xSleep (line 160) | int xSleep(ExternalDartReference<VirtualFileSystem> vfs, int micros)
method xCurrentTimeInt64 (line 167) | int xCurrentTimeInt64(
method xClose (line 180) | int xClose(ExternalDartReference<VirtualFileSystemFile> file)
method xRead (line 185) | int xRead(
method xWrite (line 200) | int xWrite(
method xTruncate (line 215) | int xTruncate(
method xSync (line 223) | int xSync(ExternalDartReference<VirtualFileSystemFile> file, int flags)
method xFileSize (line 228) | int xFileSize(
method xLock (line 239) | int xLock(ExternalDartReference<VirtualFileSystemFile> file, int flags)
method xUnlock (line 244) | int xUnlock(ExternalDartReference<VirtualFileSystemFile> file, int flags)
method xCheckReservedLock (line 249) | int xCheckReservedLock(
method xDeviceCharacteristics (line 260) | int xDeviceCharacteristics(
method dispatchVoid (line 267) | void dispatchVoid(ExternalDartReference<void Function()> fn)
method dispatchInt (line 272) | int dispatchInt(ExternalDartReference<int Function()> fn)
method dispatchUpdateHook (line 277) | void dispatchUpdateHook(
method dispatchXFunc (line 289) | void dispatchXFunc(
method dispatchXStep (line 302) | void dispatchXStep(
method dispatchXInverse (line 315) | void dispatchXInverse(
method dispatchXValue (line 328) | void dispatchXValue(
method dispatchXFinal (line 336) | void dispatchXFinal(
method dispatchXCompare (line 344) | int dispatchXCompare(
method dispatchBusyHandler (line 358) | int dispatchBusyHandler(
method dispatchApplyFilter (line 366) | int dispatchApplyFilter(
method dispatchApplyConflict (line 374) | int dispatchApplyConflict(
function _runVfs (line 383) | int _runVfs(void Function() body)
class RegisteredFunctionSet (line 394) | final class RegisteredFunctionSet {
type RawFilter (line 414) | typedef RawFilter = int Function(Pointer tableName);
type RawConflict (line 416) | typedef RawConflict = int Function(int eConflict, Pointer iterator);
class SessionApplyCallbacks (line 418) | final class SessionApplyCallbacks {
FILE: sqlite3/lib/src/wasm/js_interop.dart
function byteBuffer (line 17) | Future<ByteBuffer> byteBuffer()
FILE: sqlite3/lib/src/wasm/js_interop/atomics.dart
function asInt32List (line 20) | Int32List asInt32List()
function asByteData (line 24) | ByteData asByteData(int offset, int length)
function asUint8List (line 30) | Uint8List asUint8List()
function asUint8ListSlice (line 34) | Uint8List asUint8ListSlice(int offset, int length)
function wait (line 44) | JSString wait(JSInt32Array typedArray, int index, int value)
function waitWithTimeout (line 47) | JSString waitWithTimeout(
function notify (line 55) | void notify(JSInt32Array typedArray, int index, [num count])
function store (line 58) | int store(JSInt32Array typedArray, int index, int value)
function load (line 61) | int load(JSInt32Array typedArray, int index)
class Atomics (line 64) | class Atomics {
method wait (line 73) | String wait(Int32List typedArray, int index, int value)
method waitWithTimeout (line 77) | String waitWithTimeout(
method notify (line 91) | void notify(
method store (line 99) | int store(Int32List typedArray, int index, int value)
method load (line 103) | int load(Int32List typedArray, int index)
FILE: sqlite3/lib/src/wasm/js_interop/core.dart
function _bigInt (line 6) | JSBigInt _bigInt(JSAny? s)
function _number (line 9) | JSNumber _number(JSAny? obj)
function keys (line 12) | JSArray<JSAny?> keys(JSObject o)
function _toString (line 15) | JSString _toString()
function keys (line 20) | JSArray<JSAny?> keys(JSObject o)
function toDart (line 42) | Object toDart()
function jsToString (line 46) | String jsToString()
function next (line 58) | JSPromise<IteratorResult<T>> next()
class AsyncJavaScriptIteratable (line 67) | class AsyncJavaScriptIteratable<T extends JSAny?> extends Stream<T> {
method listen (line 80) | StreamSubscription<T> listen(
method fetchNext (line 90) | void fetchNext()
method fetchNextIfNecessary (line 113) | void fetchNextIfNecessary()
FILE: sqlite3/lib/src/wasm/js_interop/fetch.dart
function fetch (line 9) | JSPromise<Response> fetch(URL resource, [RequestInit? options])
FILE: sqlite3/lib/src/wasm/js_interop/file_system_access.dart
type FileSystemDirectoryHandle (line 17) | typedef FileSystemDirectoryHandle = LegacyDirectoryHandle;
type FileSystemFileHandle (line 18) | typedef FileSystemFileHandle = LegacyFileHandle;
type FileSystemSyncAccessHandle (line 19) | typedef FileSystemSyncAccessHandle = LegacySyncFileHandle;
function openFile (line 38) | Future<LegacyFileHandle> openFile(String name, {bool create = false})
function removeEntry (line 42) | Future<void> removeEntry(String name, {bool recursive = false})
function getDirectory (line 48) | Future<LegacyDirectoryHandle> getDirectory(String name)
function list (line 52) | Stream<LegacyHandle> list()
function createSyncAccessHandle (line 60) | Future<LegacySyncFileHandle> createSyncAccessHandle()
function close (line 67) | void close()
FILE: sqlite3/lib/src/wasm/js_interop/indexed_db.dart
function cursorIterator (line 24) | StreamIterator<T> cursorIterator<T extends IDBCursor>()
class _CursorReader (line 29) | class _CursorReader<T extends IDBCursor> implements StreamIterator<T> {
method cancel (line 38) | Future<void> cancel()
method moveNext (line 50) | Future<bool> moveNext()
function listDatabases (line 79) | Future<List<IDBDatabaseInfo>?> listDatabases()
function complete (line 89) | Future<T> complete<T extends JSAny?>()
function completeOrBlocked (line 104) | Future<T> completeOrBlocked<T extends JSAny?>()
FILE: sqlite3/lib/src/wasm/js_interop/new_file_system_access.dart
function readDart (line 27) | int readDart(Uint8List buffer, [FileSystemReadWriteOptions? options])
function writeDart (line 35) | int writeDart(Uint8List buffer, [FileSystemReadWriteOptions? options])
function openFile (line 51) | Future<FileSystemFileHandle> openFile(String name, {bool create = false})
function getDirectory (line 55) | Future<FileSystemDirectoryHandle> getDirectory(
function remove (line 65) | Future<void> remove(String name, {bool recursive = false})
function list (line 72) | Stream<FileSystemHandle> list()
function getFilesRecursively (line 78) | Stream<FileSystemHandle> getFilesRecursively()
function createSyncAccessHandle (line 91) | JSPromise<FileSystemSyncAccessHandle> createSyncAccessHandle(
function unsafeReadWrite (line 102) | FileSystemCreateSyncAccessHandleOptions unsafeReadWrite()
FILE: sqlite3/lib/src/wasm/js_interop/typed_data.dart
function set (line 11) | void set(Uint8List from, int offset)
function setBigInt64 (line 17) | void setBigInt64(int offset, JsBigInt value, bool littleEndian)
FILE: sqlite3/lib/src/wasm/loader.dart
class WasmModuleLoader (line 16) | @experimental
method createImportObject (line 27) | JSObject createImportObject()
method instantiateModule (line 33) | Future<web.WebAssemblyInstantiatedSource> instantiateModule(
method loadModule (line 46) | Future<web.Instance> loadModule(web.Response response)
FILE: sqlite3/lib/src/wasm/sqlite3.dart
class WasmSqlite3 (line 19) | final class WasmSqlite3 extends Sqlite3Implementation {
method load (line 30) | Future<WasmSqlite3> load(
method loadFromUrl (line 50) | Future<WasmSqlite3> loadFromUrl(
method _load (line 73) | Future<WasmSqlite3> _load(
FILE: sqlite3/lib/src/wasm/sqlite3_wasm.g.dart
type Pointer (line 6) | typedef Pointer = int;
function sqlite3_initialize (line 13) | int sqlite3_initialize()
function sqlite3_free (line 14) | void sqlite3_free(Pointer /*<void *>*/ arg0)
function sqlite3_open_v2 (line 15) | int sqlite3_open_v2(
function sqlite3_close_v2 (line 21) | int sqlite3_close_v2(Pointer /*<struct sqlite3 *>*/ db)
function sqlite3_extended_result_codes (line 22) | int sqlite3_extended_result_codes(
function sqlite3_extended_errcode (line 26) | int sqlite3_extended_errcode(Pointer /*<struct sqlite3 *>*/ db)
function sqlite3_errmsg (line 27) | Pointer /*<struct sqlite3_char *>*/ sqlite3_errmsg(
function sqlite3_errstr (line 30) | Pointer /*<struct sqlite3_char *>*/ sqlite3_errstr(int code)
function sqlite3_error_offset (line 31) | int sqlite3_error_offset(Pointer /*<struct sqlite3 *>*/ db)
function sqlite3_libversion (line 32) | Pointer /*<struct sqlite3_char *>*/ sqlite3_libversion()
function sqlite3_sourceid (line 33) | Pointer /*<struct sqlite3_char *>*/ sqlite3_sourceid()
function sqlite3_libversion_number (line 34) | int sqlite3_libversion_number()
function sqlite3_last_insert_rowid (line 35) | JSBigInt sqlite3_last_insert_rowid(
function sqlite3_changes (line 38) | int sqlite3_changes(Pointer /*<struct sqlite3 *>*/ db)
function sqlite3_exec (line 39) | int sqlite3_exec(
function sqlite3_get_autocommit (line 46) | int sqlite3_get_autocommit(Pointer /*<struct sqlite3 *>*/ db)
function sqlite3_prepare_v2 (line 47) | int sqlite3_prepare_v2(
function sqlite3_prepare_v3 (line 54) | int sqlite3_prepare_v3(
function sqlite3_finalize (line 62) | int sqlite3_finalize(Pointer /*<struct sqlite3_stmt *>*/ pStmt)
function sqlite3_step (line 63) | int sqlite3_step(Pointer /*<struct sqlite3_stmt *>*/ pStmt)
function sqlite3_reset (line 64) | int sqlite3_reset(Pointer /*<struct sqlite3_stmt *>*/ pStmt)
function sqlite3_stmt_isexplain (line 65) | int sqlite3_stmt_isexplain(
function sqlite3_stmt_readonly (line 68) | int sqlite3_stmt_readonly(Pointer /*<struct sqlite3_stmt *>*/ pStmt)
function sqlite3_column_count (line 69) | int sqlite3_column_count(Pointer /*<struct sqlite3_stmt *>*/ pStmt)
function sqlite3_bind_parameter_count (line 70) | int sqlite3_bind_parameter_count(
function sqlite3_bind_parameter_index (line 73) | int sqlite3_bind_parameter_index(
function sqlite3_column_name (line 77) | Pointer /*<struct sqlite3_char *>*/ sqlite3_column_name(
function sqlite3_bind_double (line 81) | int sqlite3_bind_double(
function sqlite3_bind_int64 (line 86) | int sqlite3_bind_int64(
function sqlite3_bind_null (line 91) | int sqlite3_bind_null(
function sqlite3_column_blob (line 95) | Pointer /*<void *>*/ sqlite3_column_blob(
function sqlite3_column_double (line 99) | double sqlite3_column_double(
function sqlite3_column_int64 (line 103) | JSBigInt sqlite3_column_int64(
function sqlite3_column_text (line 107) | Pointer /*<struct sqlite3_char *>*/ sqlite3_column_text(
function sqlite3_column_bytes (line 111) | int sqlite3_column_bytes(
function sqlite3_column_type (line 115) | int sqlite3_column_type(
function sqlite3_value_blob (line 119) | Pointer /*<void *>*/ sqlite3_value_blob(
function sqlite3_value_double (line 122) | double sqlite3_value_double(
function sqlite3_value_type (line 125) | int sqlite3_value_type(Pointer /*<struct sqlite3_value *>*/ value)
function sqlite3_value_int64 (line 126) | JSBigInt sqlite3_value_int64(
function sqlite3_value_text (line 129) | Pointer /*<struct sqlite3_char *>*/ sqlite3_value_text(
function sqlite3_value_bytes (line 132) | int sqlite3_value_bytes(Pointer /*<struct sqlite3_value *>*/ value)
function sqlite3_value_subtype (line 133) | int sqlite3_value_subtype(
function sqlite3_aggregate_context (line 136) | Pointer /*<void *>*/ sqlite3_aggregate_context(
function sqlite3_user_data (line 140) | Pointer /*<void *>*/ sqlite3_user_data(
function sqlite3_result_blob64 (line 143) | void sqlite3_result_blob64(
function sqlite3_result_double (line 149) | void sqlite3_result_double(
function sqlite3_result_error (line 153) | void sqlite3_result_error(
function sqlite3_result_int64 (line 158) | void sqlite3_result_int64(
function sqlite3_result_null (line 162) | void sqlite3_result_null(Pointer /*<struct sqlite3_context *>*/ ctx)
function sqlite3_result_text (line 163) | void sqlite3_result_text(
function sqlite3_result_subtype (line 169) | void sqlite3_result_subtype(
function sqlite3_db_config (line 173) | int sqlite3_db_config(Pointer /*<struct sqlite3 *>*/ db, int op)
function sqlite3session_create (line 174) | int sqlite3session_create(
function sqlite3session_delete (line 179) | void sqlite3session_delete(
function sqlite3session_enable (line 182) | int sqlite3session_enable(
function sqlite3session_indirect (line 186) | int sqlite3session_indirect(
function sqlite3changeset_start (line 190) | int sqlite3changeset_start(
function sqlite3changeset_finalize (line 195) | int sqlite3changeset_finalize(
function sqlite3changeset_next (line 198) | int sqlite3changeset_next(
function sqlite3changeset_op (line 201) | int sqlite3changeset_op(
function sqlite3changeset_old (line 208) | int sqlite3changeset_old(
function sqlite3changeset_new (line 213) | int sqlite3changeset_new(
function sqlite3changeset_invert (line 218) | int sqlite3changeset_invert(
function sqlite3session_patchset (line 224) | int sqlite3session_patchset(
function sqlite3session_changeset (line 229) | int sqlite3session_changeset(
function sqlite3session_isempty (line 234) | int sqlite3session_isempty(
function sqlite3session_attach (line 237) | int sqlite3session_attach(
function sqlite3session_diff (line 241) | int sqlite3session_diff(
function dart_sqlite3_malloc (line 247) | Pointer /*<void *>*/ dart_sqlite3_malloc(int size)
function dart_sqlite3_free (line 248) | void dart_sqlite3_free(Pointer /*<void *>*/ ptr)
function dart_sqlite3_bind_blob (line 249) | int dart_sqlite3_bind_blob(
function dart_sqlite3_bind_text (line 255) | int dart_sqlite3_bind_text(
function dart_sqlite3_register_vfs (line 261) | Pointer /*<struct sqlite3_vfs *>*/ dart_sqlite3_register_vfs(
function dart_sqlite3_unregister_vfs (line 266) | int dart_sqlite3_unregister_vfs(
function dart_sqlite3_create_function_v2 (line 269) | int dart_sqlite3_create_function_v2(
function dart_sqlite3_create_window_function (line 277) | int dart_sqlite3_create_window_function(
function dart_sqlite3_updates (line 284) | void dart_sqlite3_updates(
function dart_sqlite3_commits (line 288) | void dart_sqlite3_commits(
function dart_sqlite3_rollbacks (line 292) | void dart_sqlite3_rollbacks(
function dart_sqlite3_create_collation (line 296) | int dart_sqlite3_create_collation(
function dart_sqlite3_db_config_int (line 302) | int dart_sqlite3_db_config_int(
function dart_sqlite3changeset_apply (line 307) | int dart_sqlite3changeset_apply(
function dart_sqlite3_busy_handler (line 314) | int dart_sqlite3_busy_handler(
FILE: sqlite3/lib/src/wasm/vfs/async_opfs/client.dart
class WasmVfs (line 40) | final class WasmVfs extends BaseVirtualFileSystem {
method _runInWorker (line 59) | Res _runInWorker<Req extends Message, Res extends Message>(
method xAccess (line 74) | int xAccess(String path, int flags)
method xDelete (line 83) | void xDelete(String path, int syncDir)
method xFullPathName (line 91) | String xFullPathName(String path)
method xOpen (line 101) | XOpenResult xOpen(Sqlite3Filename path, int flags)
method xSleep (line 114) | void xSleep(Duration duration)
method close (line 118) | void close()
method createOptions (line 128) | WorkerOptions createOptions({String root = 'pkg_sqlite3_db/'})
class WasmFile (line 137) | class WasmFile extends BaseVfsFile {
method readInto (line 151) | int readInto(Uint8List buffer, int offset)
method xCheckReservedLock (line 183) | int xCheckReservedLock()
method xClose (line 191) | void xClose()
method xFileSize (line 196) | int xFileSize()
method xLock (line 205) | void xLock(int mode)
method xSync (line 216) | void xSync(int flags)
method xTruncate (line 221) | void xTruncate(int size)
method xUnlock (line 226) | void xUnlock(int mode)
method xWrite (line 236) | void xWrite(Uint8List buffer, int fileOffset)
FILE: sqlite3/lib/src/wasm/vfs/async_opfs/sync_channel.dart
class RequestResponseSynchronizer (line 11) | class RequestResponseSynchronizer {
method createBuffer (line 40) | SharedArrayBuffer createBuffer()
method requestAndWaitForResponse (line 54) | int requestAndWaitForResponse(int opcode)
method waitForRequest (line 66) | String waitForRequest()
method takeOpcode (line 75) | int takeOpcode()
method respond (line 81) | void respond(int rc)
class MessageSerializer (line 88) | class MessageSerializer {
method write (line 102) | void write(Message message)
method viewByteRange (line 118) | Uint8List viewByteRange(int offset, int length)
method _readString (line 122) | String _readString(int offset)
method _writeString (line 127) | void _writeString(int offset, String data)
method readEmpty (line 133) | EmptyMessage readEmpty(MessageSerializer unused)
method readFlags (line 137) | Flags readFlags(MessageSerializer msg)
method readNameAndFlags (line 145) | NameAndInt32Flags readNameAndFlags(MessageSerializer msg)
type WorkerOperation (line 155) | enum WorkerOperation<Req extends Message, Res extends Message> {
class Message (line 212) | abstract class Message {
class EmptyMessage (line 216) | class EmptyMessage extends Message {
class Flags (line 220) | class Flags extends Message {
class NameAndInt32Flags (line 228) | class NameAndInt32Flags extends Flags {
FILE: sqlite3/lib/src/wasm/vfs/async_opfs/worker.dart
function _log (line 25) | void _log(String message)
class _ResolvedPath (line 63) | class _ResolvedPath {
method openFile (line 71) | Future<FileSystemFileHandle> openFile({bool create = false})
class VfsWorker (line 86) | class VfsWorker {
method create (line 102) | Future<VfsWorker> create(WorkerOptions options)
method _resolvePath (line 113) | Future<_ResolvedPath> _resolvePath(
method _xAccess (line 131) | Future<Flags> _xAccess(NameAndInt32Flags flags)
method _xDelete (line 144) | Future<void> _xDelete(NameAndInt32Flags options)
method _xOpen (line 154) | Future<Flags> _xOpen(NameAndInt32Flags req)
method _xRead (line 189) | Future<Flags> _xRead(Flags req)
method _xWrite (line 204) | Future<EmptyMessage> _xWrite(Flags req)
method _xClose (line 223) | Future<void> _xClose(Flags req)
method _xFileSize (line 237) | Future<Flags> _xFileSize(Flags req)
method _xTruncate (line 249) | Future<EmptyMessage> _xTruncate(Flags req)
method _xSync (line 263) | Future<EmptyMessage> _xSync(Flags req)
method _xLock (line 276) | Future<EmptyMessage> _xLock(Flags req)
method _xUnlock (line 295) | Future<EmptyMessage> _xUnlock(Flags req)
method start (line 308) | Future<void> start()
method _releaseImplicitLocks (line 391) | void _releaseImplicitLocks()
method _releaseImplicitLock (line 395) | void _releaseImplicitLock(_OpenedFileHandle handle)
method _openForSynchronousAccess (line 401) | Future<FileSystemSyncAccessHandle> _openForSynchronousAccess(
method _closeSyncHandleNoThrow (line 439) | void _closeSyncHandleNoThrow(_OpenedFileHandle handle)
method _closeSyncHandle (line 447) | void _closeSyncHandle(_OpenedFileHandle handle)
class _OpenedFileHandle (line 459) | class _OpenedFileHandle {
method checkMayWrite (line 482) | void checkMayWrite()
FILE: sqlite3/lib/src/wasm/vfs/indexed_db.dart
class AsynchronousIndexedDbFileSystem (line 25) | @internal
method _rangeOverFile (line 53) | web.IDBKeyRange _rangeOverFile(
method open (line 67) | Future<void> open()
method close (line 94) | void close()
method clear (line 98) | Future<void> clear()
method listFiles (line 108) | Future<Map<String, int>> listFiles()
method fileIdForPath (line 127) | Future<int?> fileIdForPath(String path)
method createFile (line 134) | Future<int> createFile(String path)
method _readFile (line 144) | Future<_FileEntry> _readFile(web.IDBTransaction transaction, int fileId)
method readFully (line 159) | Future<Uint8List> readFully(int fileId)
method read (line 196) | Future<int> read(int fileId, int offset, Uint8List target)
method _write (line 279) | Future<void> _write(int fileId, _FileWriteRequest writes)
method writeBlock (line 284) | Future<void> writeBlock(int blockStart, Uint8List block)
method truncate (line 322) | Future<void> truncate(int fileId, int length)
method deleteFile (line 349) | Future<void> deleteFile(int id)
class _FileWriteRequest (line 379) | class _FileWriteRequest {
method _updateBlock (line 389) | void _updateBlock(int blockOffset, int offsetInBlock, Uint8List data)
method addWrite (line 409) | void addWrite(int offset, Uint8List data)
class _OffsetAndBuffer (line 443) | class _OffsetAndBuffer {
class IndexedDbFileSystem (line 461) | final class IndexedDbFileSystem extends BaseVirtualFileSystem {
method open (line 486) | Future<IndexedDbFileSystem> open({
method databases (line 501) | Future<List<String>?> databases()
method deleteDatabase (line 508) | Future<void> deleteDatabase([
method _submitWork (line 527) | Future<void> _submitWork(_IndexedDbWorkItem work)
method _submitWorkFunction (line 541) | Future<void> _submitWorkFunction(
method _startWorkingIfNeeded (line 548) | void _startWorkingIfNeeded()
method close (line 563) | Future<void> close()
method _checkClosed (line 575) | void _checkClosed()
method _fileId (line 581) | Future<int> _fileId(String path)
method _readFiles (line 589) | Future<void> _readFiles()
method flush (line 611) | Future<void> flush()
method xAccess (line 616) | int xAccess(String path, int flags)
method xDelete (line 619) | void xDelete(String path, int syncDir)
method xFullPathName (line 628) | String xFullPathName(String path)
method xOpen (line 631) | XOpenResult xOpen(Sqlite3Filename path, int flags)
method xSleep (line 655) | void xSleep(Duration duration)
class _IndexedDbFile (line 660) | class _IndexedDbFile implements VirtualFileSystemFile {
method xRead (line 668) | void xRead(Uint8List target, int fileOffset)
method xCheckReservedLock (line 676) | int xCheckReservedLock()
method xClose (line 679) | void xClose()
method xFileSize (line 682) | int xFileSize()
method xLock (line 685) | void xLock(int mode)
method xSync (line 688) | void xSync(int flags)
method xTruncate (line 693) | void xTruncate(int size)
method xUnlock (line 706) | void xUnlock(int mode)
method xWrite (line 709) | void xWrite(Uint8List buffer, int fileOffset)
class _IndexedDbWorkItem (line 737) | sealed class _IndexedDbWorkItem extends LinkedListEntry<_IndexedDbWorkIt...
method insertInto (line 750) | bool insertInto(LinkedList<_IndexedDbWorkItem> pending)
method run (line 755) | FutureOr<void> run()
class _FunctionWorkItem (line 758) | final class _FunctionWorkItem extends _IndexedDbWorkItem {
method run (line 765) | FutureOr<void> run()
class _DeleteFileWorkItem (line 768) | final class _DeleteFileWorkItem extends _IndexedDbWorkItem {
method insertInto (line 775) | bool insertInto(LinkedList<_IndexedDbWorkItem> pending)
method run (line 824) | Future<void> run()
class _CreateFileWorkItem (line 831) | final class _CreateFileWorkItem extends _IndexedDbWorkItem {
method run (line 838) | Future<void> run()
class _WriteFileWorkItem (line 844) | final class _WriteFileWorkItem extends _IndexedDbWorkItem {
method insertInto (line 854) | bool insertInto(LinkedList<_IndexedDbWorkItem> pending)
method run (line 884) | Future<void> run()
FILE: sqlite3/lib/src/wasm/vfs/simple_opfs.dart
type FileType (line 19) | @internal
class SimpleOpfsFileSystem (line 51) | final class SimpleOpfsFileSystem extends BaseVirtualFileSystem {
method _resolveDir (line 75) | Future<(FileSystemDirectoryHandle?, FileSystemDirectoryHandle)>
method loadFromStorage (line 104) | Future<SimpleOpfsFileSystem> loadFromStorage(
method deleteFromStorage (line 124) | Future<void> deleteFromStorage(String path)
method inDirectory (line 155) | Future<SimpleOpfsFileSystem> inDirectory(
method open (line 160) | Future<FileSystemSyncAccessHandle> open(String name)
method _markExists (line 181) | void _markExists(FileType type, bool exists)
method _recognizeType (line 186) | FileType? _recognizeType(String path)
method xAccess (line 191) | int xAccess(String path, int flags)
method xDelete (line 202) | void xDelete(String path, int syncDir)
method xFullPathName (line 212) | String xFullPathName(String path)
method xOpen (line 217) | XOpenResult xOpen(Sqlite3Filename path, int flags)
method xSleep (line 248) | void xSleep(Duration duration)
method close (line 252) | void close()
class _SimpleOpfsFile (line 260) | class _SimpleOpfsFile extends BaseVfsFile {
method readInto (line 271) | int readInto(Uint8List buffer, int offset)
method xCheckReservedLock (line 276) | int xCheckReservedLock()
method xClose (line 281) | void xClose()
method xFileSize (line 290) | int xFileSize()
method xLock (line 295) | void xLock(int mode)
method xSync (line 300) | void xSync(int flags)
method xTruncate (line 305) | void xTruncate(int size)
method xUnlock (line 310) | void xUnlock(int mode)
method xWrite (line 315) | void xWrite(Uint8List buffer, int fileOffset)
FILE: sqlite3/lib/src/wasm/wasm_interop.dart
class WasmBindings (line 16) | class WasmBindings {
method allocateBytes (line 45) | Pointer allocateBytes(List<int> bytes, {int additionalLength = 0})
method allocateZeroTerminated (line 54) | Pointer allocateZeroTerminated(String string)
method malloc (line 58) | Pointer malloc(int size)
method free (line 62) | void free(Pointer pointer)
method sqlite3_free (line 66) | void sqlite3_free(Pointer ptr)
method sqlite3_initialize (line 68) | int sqlite3_initialize()
method create_window_function (line 70) | int create_window_function(
method sqlite3_vfs_unregister (line 86) | int sqlite3_vfs_unregister(Pointer vfs)
method sqlite3_libversion (line 90) | int sqlite3_libversion()
method sqlite3_sourceid (line 92) | Pointer sqlite3_sourceid()
method sqlite3_libversion_number (line 94) | int sqlite3_libversion_number()
method sqlite3_open_v2 (line 96) | int sqlite3_open_v2(Pointer filename, Pointer ppDb, int flags, Pointer...
method sqlite3_close_v2 (line 100) | int sqlite3_close_v2(Pointer db)
method sqlite3_extended_errcode (line 102) | int sqlite3_extended_errcode(Pointer db)
method sqlite3_errmsg (line 105) | Pointer sqlite3_errmsg(Pointer db)
method sqlite3_errstr (line 107) | Pointer sqlite3_errstr(int resultCode)
method sqlite3_error_offset (line 109) | int sqlite3_error_offset(Pointer db)
method sqlite3_extended_result_codes (line 113) | int sqlite3_extended_result_codes(Pointer db, int onoff)
method dart_sqlite3_updates (line 119) | void dart_sqlite3_updates(Pointer db, RawUpdateHook? hook)
method dart_sqlite3_commits (line 123) | void dart_sqlite3_commits(Pointer db, RawCommitHook? hook)
method dart_sqlite3_rollbacks (line 127) | void dart_sqlite3_rollbacks(Pointer db, RawRollbackHook? rollback)
method sqlite3_exec (line 131) | int sqlite3_exec(
method sqlite3_prepare_v3 (line 141) | int sqlite3_prepare_v3(
method sqlite3_bind_parameter_count (line 159) | int sqlite3_bind_parameter_count(Pointer stmt)
method sqlite3_bind_null (line 163) | int sqlite3_bind_null(Pointer stmt, int index)
method sqlite3_bind_int64 (line 167) | int sqlite3_bind_int64(Pointer stmt, int index, BigInt value)
method sqlite3_bind_int (line 175) | int sqlite3_bind_int(Pointer stmt, int index, int value)
method sqlite3_bind_double (line 183) | int sqlite3_bind_double(Pointer stmt, int index, double value)
method sqlite3_bind_text_finalizerFree (line 188) | int sqlite3_bind_text_finalizerFree(
method sqlite3_bind_blob_finalizerFree (line 198) | int sqlite3_bind_blob_finalizerFree(
method sqlite3_bind_parameter_index (line 207) | int sqlite3_bind_parameter_index(Pointer statement, Pointer key)
method sqlite3_column_count (line 211) | int sqlite3_column_count(Pointer stmt)
method sqlite3_column_name (line 215) | Pointer sqlite3_column_name(Pointer stmt, int index)
method sqlite3_column_type (line 219) | int sqlite3_column_type(Pointer stmt, int index)
method sqlite3_column_int64 (line 223) | JsBigInt sqlite3_column_int64(Pointer stmt, int index)
method sqlite3_column_double (line 227) | double sqlite3_column_double(Pointer stmt, int index)
method sqlite3_column_bytes (line 231) | int sqlite3_column_bytes(Pointer stmt, int index)
method sqlite3_column_text (line 235) | Pointer sqlite3_column_text(Pointer stmt, int index)
method sqlite3_column_blob (line 239) | Pointer sqlite3_column_blob(Pointer stmt, int index)
method sqlite3_value_type (line 243) | int sqlite3_value_type(Pointer value)
method sqlite3_value_subtype (line 247) | int sqlite3_value_subtype(Pointer value)
method sqlite3_value_int64 (line 251) | JsBigInt sqlite3_value_int64(Pointer value)
method sqlite3_value_double (line 255) | double sqlite3_value_double(Pointer value)
method sqlite3_value_bytes (line 259) | int sqlite3_value_bytes(Pointer value)
method sqlite3_value_text (line 263) | Pointer sqlite3_value_text(Pointer value)
method sqlite3_value_blob (line 267) | Pointer sqlite3_value_blob(Pointer value)
method sqlite3_result_null (line 271) | void sqlite3_result_null(Pointer context)
method sqlite3_result_int64 (line 275) | void sqlite3_result_int64(Pointer context, BigInt value)
method sqlite3_result_double (line 279) | void sqlite3_result_double(Pointer context, double value)
method sqlite3_result_text (line 283) | void sqlite3_result_text(
method sqlite3_result_blob64 (line 292) | void sqlite3_result_blob64(
method sqlite3_result_error (line 301) | void sqlite3_result_error(Pointer context, Pointer text, int length)
method sqlite3_result_subtype (line 305) | void sqlite3_result_subtype(Pointer context, int subtype)
method sqlite3_user_data (line 309) | int sqlite3_user_data(Pointer context)
method sqlite3_aggregate_context (line 313) | Pointer sqlite3_aggregate_context(Pointer context, int nBytes)
method sqlite3_step (line 317) | int sqlite3_step(Pointer stmt)
method sqlite3_reset (line 319) | int sqlite3_reset(Pointer stmt)
method sqlite3_finalize (line 321) | int sqlite3_finalize(Pointer stmt)
method sqlite3_changes (line 323) | int sqlite3_changes(Pointer db)
method sqlite3_stmt_isexplain (line 325) | int sqlite3_stmt_isexplain(Pointer stmt)
method sqlite3_stmt_readonly (line 328) | int sqlite3_stmt_readonly(Pointer stmt)
method sqlite3_last_insert_rowid (line 331) | int sqlite3_last_insert_rowid(Pointer db)
method sqlite3_get_autocommit (line 334) | int sqlite3_get_autocommit(Pointer db)
method sqlite3_db_config (line 336) | int sqlite3_db_config(Pointer db, int op, int value)
method sqlite3session_create (line 340) | int sqlite3session_create(Pointer db, Pointer zDb, Pointer sessionOut)
method sqlite3session_delete (line 344) | void sqlite3session_delete(Pointer session)
method sqlite3session_enable (line 348) | int sqlite3session_enable(Pointer session, int enable)
method sqlite3session_indirect (line 352) | int sqlite3session_indirect(Pointer session, int enable)
method sqlite3session_isempty (line 356) | int sqlite3session_isempty(Pointer session)
method sqlite3session_attach (line 360) | int sqlite3session_attach(Pointer session, Pointer zTab)
method sqlite3session_diff (line 364) | int sqlite3session_diff(
method sqlite3session_patchset (line 373) | int sqlite3session_patchset(
method sqlite3session_changeset (line 381) | int sqlite3session_changeset(
method sqlite3changeset_invert (line 389) | int sqlite3changeset_invert(
method sqlite3changeset_start (line 398) | int sqlite3changeset_start(Pointer outPtr, int size, Pointer changeset)
method sqlite3changeset_finalize (line 402) | int sqlite3changeset_finalize(Pointer iterator)
method sqlite3changeset_next (line 406) | int sqlite3changeset_next(Pointer iterator)
method sqlite3changeset_op (line 410) | int sqlite3changeset_op(
method sqlite3changeset_old (line 426) | int sqlite3changeset_old(Pointer iterator, int iVal, Pointer outValue)
method sqlite3changeset_new (line 430) | int sqlite3changeset_new(Pointer iterator, int iVal, Pointer outValue)
function strlen (line 448) | int strlen(int address)
function int32ValueOfPointer (line 461) | int int32ValueOfPointer(Pointer pointer)
function setInt32Value (line 466) | void setInt32Value(Pointer pointer, int value)
function setInt64Value (line 471) | void setInt64Value(Pointer pointer, JsBigInt value)
function readString (line 476) | String readString(int address, [int? length])
function readNullableString (line 483) | String? readNullableString(int address, [int? length])
function copyRange (line 491) | Uint8List copyRange(Pointer pointer, int length)
function _exportedMemory (line 498) | Memory _exportedMemory(Instance instance)
FILE: sqlite3/test/common/database.dart
function testDatabase (line 10) | void testDatabase(
function sqlite3Exception (line 189) | Matcher sqlite3Exception(
class _SummedStringLength (line 1079) | class _SummedStringLength implements AggregateFunction<int> {
method createContext (line 1083) | AggregateContext<int> createContext()
method step (line 1088) | void step(List<Object?> arguments, AggregateContext<int> context)
method finalize (line 1098) | Object finalize(AggregateContext<int> context)
class _SumInt (line 1101) | class _SumInt implements WindowFunction<int> {
method createContext (line 1103) | AggregateContext<int> createContext()
method finalize (line 1106) | Object? finalize(AggregateContext<int> context)
method _argument (line 1111) | int _argument(List<Object?> arguments)
method inverse (line 1116) | void inverse(List<Object?> arguments, AggregateContext<int> context)
method step (line 1121) | void step(List<Object?> arguments, AggregateContext<int> context)
method value (line 1126) | Object? value(AggregateContext<int> context)
function _statement (line 1129) | Matcher _statement(String sql)
function _update (line 1133) | Matcher _update(SqliteUpdate update)
FILE: sqlite3/test/common/prepared_statement.dart
function testPreparedStatements (line 10) | void testPreparedStatements(
function insertBlob (line 106) | Uint8List? insertBlob(Uint8List? value)
class _TestIterable (line 625) | class _TestIterable<T> extends Iterable<T> {
class _CustomValue (line 632) | class _CustomValue implements CustomStatementParameter {
method applyTo (line 634) | void applyTo(CommonPreparedStatement statement, int index)
class _ErrorInjectingVfs (line 640) | final class _ErrorInjectingVfs extends BaseVirtualFileSystem {
method _op (line 646) | void _op()
method xAccess (line 651) | int xAccess(String path, int flags)
method xDelete (line 657) | void xDelete(String path, int syncDir)
method xFullPathName (line 663) | String xFullPathName(String path)
method xOpen (line 669) | XOpenResult xOpen(Sqlite3Filename path, int flags)
method xSleep (line 679) | void xSleep(Duration duration)
class _ErrorInjectingFile (line 684) | final class _ErrorInjectingFile implements VirtualFileSystemFile {
method xRead (line 691) | void xRead(Uint8List target, int fileOffset)
method xCheckReservedLock (line 697) | int xCheckReservedLock()
method xClose (line 706) | void xClose()
method xFileSize (line 712) | int xFileSize()
method xLock (line 718) | void xLock(int mode)
method xSync (line 724) | void xSync(int flags)
method xTruncate (line 730) | void xTruncate(int size)
method xUnlock (line 736) | void xUnlock(int mode)
method xWrite (line 742) | void xWrite(Uint8List buffer, int fileOffset)
FILE: sqlite3/test/common/session.dart
function testSession (line 8) | void testSession(FutureOr<CommonSqlite3> Function() loadSqlite)
function createSession (line 24) | Session createSession()
function isOp (line 174) | TypeMatcher<ChangesetOperation> isOp({
FILE: sqlite3/test/common/utils.dart
function throwsSqlError (line 4) | Matcher throwsSqlError(int resultCode, int extendedResultCode)
FILE: sqlite3/test/common/vfs.dart
function testVfs (line 9) | void testVfs(FutureOr<CommonSqlite3> Function() loadSqlite)
class TestVfs (line 75) | final class TestVfs extends VirtualFileSystem {
method xAccess (line 89) | int xAccess(String path, int flags)
method xCurrentTime (line 94) | DateTime xCurrentTime()
method xDelete (line 99) | void xDelete(String path, int syncDir)
method xFullPathName (line 104) | String xFullPathName(String path)
method xOpen (line 109) | XOpenResult xOpen(Sqlite3Filename path, int flags)
method xRandomness (line 114) | void xRandomness(Uint8List target)
method xSleep (line 119) | void xSleep(Duration duration)
FILE: sqlite3/test/ffi/common_database_test.dart
function main (line 10) | void main()
FILE: sqlite3/test/ffi/database_test.dart
function main (line 16) | void main()
FILE: sqlite3/test/ffi/errors_test.dart
function main (line 11) | void main()
FILE: sqlite3/test/ffi/ffi_test.dart
function main (line 9) | void main()
FILE: sqlite3/test/ffi/prepared_statement_test.dart
function main (line 9) | void main()
FILE: sqlite3/test/ffi/sqlite3_test.dart
function main (line 12) | void main()
FILE: sqlite3/test/ffi/vfs_test.dart
function main (line 9) | void main()
FILE: sqlite3/test/hook/assets_test.dart
function main (line 7) | void main()
FILE: sqlite3/test/hook/description_test.dart
function main (line 11) | void main()
FILE: sqlite3/test/jsonb_test.dart
function main (line 10) | void main()
function expectEncoded (line 14) | void expectEncoded(Object? object, String expectedHex)
function decode (line 80) | Object? decode(String hex)
function expectDecoded (line 89) | void expectDecoded(String hex, Object? decoded)
function check (line 159) | void check(Object? value, {String? expectDecodesAs})
class _CustomJsonRepresentation (line 231) | final class _CustomJsonRepresentation {
method toJson (line 232) | Object? toJson()
FILE: sqlite3/test/source_code_test.dart
function main (line 11) | void main()
function check (line 15) | void check(FileSystemEntity e)
FILE: sqlite3/test/wasm/asset_server.dart
function cors (line 10) | Middleware cors()
function handleOptionsRequest (line 11) | Response? handleOptionsRequest(Request request)
function addCorsHeaders (line 20) | Response addCorsHeaders(Response response)
function hybridMain (line 30) | Future<void> hybridMain(StreamChannel<Object?> channel)
FILE: sqlite3/test/wasm/common_database_test.dart
function main (line 10) | void main()
FILE: sqlite3/test/wasm/encryption_test.dart
function main (line 12) | void main()
function _encryptDatabase (line 93) | Uint8List _encryptDatabase(
function _decryptDatabase (line 111) | Uint8List _decryptDatabase(
FILE: sqlite3/test/wasm/file_system_test.dart
function main (line 16) | Future<void> main()
function _randomName (line 92) | String _randomName()
function _disposeFileSystem (line 94) | Future<void> _disposeFileSystem(VirtualFileSystem fs, [String? name])
function _testWith (line 101) | Future<void> _testWith(FutureOr<VirtualFileSystem> Function() open)
function exists (line 169) | bool exists(String file)
function createFile (line 171) | void createFile(String path)
FILE: sqlite3/test/wasm/prepared_statement_test.dart
function main (line 9) | void main()
FILE: sqlite3/test/wasm/sqlite3_test.dart
function main (line 14) | void main()
FILE: sqlite3/test/wasm/utils.dart
function loadSqlite3WithoutVfs (line 4) | Future<WasmSqlite3> loadSqlite3WithoutVfs({bool encryption = false})
function loadSqlite3 (line 14) | Future<WasmSqlite3> loadSqlite3([VirtualFileSystem? defaultVfs])
FILE: sqlite3/test/wasm/worker.dart
function isArray (line 10) | bool isArray(JSAny? e)
function main (line 13) | void main()
function _startTest (line 41) | Future<void> _startTest(String fsImplementation, Uri wasmUri)
function _startOpfsServer (line 97) | Future<void> _startOpfsServer(WorkerOptions options)
function _expect (line 107) | void _expect(bool condition, String reason)
function _runTest (line 113) | Future<void> _runTest<T extends VirtualFileSystem>({
FILE: sqlite3/test/wasm/worker_server.dart
function hybridMain (line 12) | Future<void> hybridMain(StreamChannel<Object?> channel)
FILE: sqlite3/tool/check_compile_time_option.dart
function main (line 14) | void main(List<String> args)
type GetNative (line 24) | typedef GetNative = Pointer<Uint8> Function(Int32 n);
type GetDart (line 25) | typedef GetDart = Pointer<Uint8> Function(int n);
FILE: sqlite3/tool/example_server.dart
function main (line 11) | Future<void> main()
FILE: sqlite3/tool/generate_bindings.dart
function main (line 14) | void main()
function createGenerator (line 22) | FfiGenerator createGenerator(
function _ffigen (line 51) | void _ffigen()
function _includeSqlite3Only (line 55) | bool _includeSqlite3Only(Declaration declaration)
function writeWasmDefinitions (line 62) | void writeWasmDefinitions()
function filter (line 63) | bool filter(Declaration d)
function writeType (line 88) | void writeType(Type type)
function writeUsedSymbols (line 161) | void writeUsedSymbols()
FILE: sqlite3_connection_pool/example/main.dart
function main (line 4) | void main()
function openDatabase (line 5) | Database openDatabase()
FILE: sqlite3_connection_pool/hook/build.dart
function main (line 6) | Future<void> main(List<String> args)
FILE: sqlite3_connection_pool/lib/src/abort_exception.dart
class PoolAbortException (line 2) | @pragma('vm:deeply-immutable')
method toString (line 7) | String toString()
FILE: sqlite3_connection_pool/lib/src/connection.dart
class PoolConnection (line 20) | final class PoolConnection {
method select (line 48) | ResultSet select(String sql, [List<Object?> parameters = const []])
method execute (line 72) | void execute(String sql, [List<Object?> parameters = const []])
method lookupCachedStatement (line 92) | PreparedStatement? lookupCachedStatement(String sql)
method storeCachedStatement (line 106) | bool storeCachedStatement(String sql, PreparedStatement stmt)
FILE: sqlite3_connection_pool/lib/src/ffi.g.dart
function pkg_sqlite3_connection_pool_open (line 21) | ffi.Pointer<ConnectionPool> pkg_sqlite3_connection_pool_open(
function pkg_sqlite3_connection_pool_close (line 29) | void pkg_sqlite3_connection_pool_close(
function pkg_sqlite3_connection_pool_obtain_read (line 40) | ffi.Pointer<PoolRequest> pkg_sqlite3_connection_pool_obtain_read(
function pkg_sqlite3_connection_pool_obtain_write (line 53) | ffi.Pointer<PoolRequest> pkg_sqlite3_connection_pool_obtain_write(
function pkg_sqlite3_connection_pool_obtain_exclusive (line 66) | ffi.Pointer<PoolRequest> pkg_sqlite3_connection_pool_obtain_exclusive(
function pkg_sqlite3_connection_pool_query_read_connection_count (line 73) | int pkg_sqlite3_connection_pool_query_read_connection_count(
function pkg_sqlite3_connection_pool_query_connections (line 85) | void pkg_sqlite3_connection_pool_query_connections(
function pkg_sqlite3_connection_pool_request_close (line 93) | void pkg_sqlite3_connection_pool_request_close(
function pkg_sqlite3_connection_pool_update_listener (line 100) | void pkg_sqlite3_connection_pool_update_listener(
function pkg_sqlite3_connection_pool_notify_updates (line 107) | void pkg_sqlite3_connection_pool_notify_updates(
function pkg_sqlite3_connection_pool_stmt_cache_get (line 118) | ffi.Pointer<ffi.Void> pkg_sqlite3_connection_pool_stmt_cache_get(
function pkg_sqlite3_connection_pool_stmt_cache_put (line 133) | int pkg_sqlite3_connection_pool_stmt_cache_put(
class _SymbolAddresses (line 144) | class _SymbolAddresses {
class ConnectionPool (line 156) | final class ConnectionPool extends ffi.Opaque {}
class PoolRequest (line 158) | final class PoolRequest extends ffi.Opaque {}
class PoolConnection (line 160) | final class PoolConnection extends ffi.Struct {
class ExternalFunctions (line 164) | final class ExternalFunctions extends ffi.Struct {
class InitializedPool (line 219) | final class InitializedPool extends ffi.Struct {
FILE: sqlite3_connection_pool/lib/src/mutex.dart
class Mutex (line 9) | @internal
method withCriticalSection (line 14) | Future<T> withCriticalSection<T>(
method markCompleted (line 20) | void markCompleted()
method complete (line 41) | void complete()
FILE: sqlite3_connection_pool/lib/src/pool.dart
type ExecuteResult (line 17) | typedef ExecuteResult = ({bool autoCommit, int changes, int lastInsertRo...
class SqliteConnectionPool (line 40) | final class SqliteConnectionPool {
method _checkNotClosed (line 72) | void _checkNotClosed()
method _installAbortSignal (line 78) | void _installAbortSignal(RawPoolRequest request, Future<void>? abortSi...
method reader (line 119) | Future<ConnectionLease> reader({Future<void>? abortSignal})
method writer (line 150) | Future<ConnectionLease> writer({Future<void>? abortSignal})
method exclusiveAccess (line 176) | Future<ExclusivePoolAccess> exclusiveAccess({
method execute (line 191) | Future<ExecuteResult> execute(
method readQuery (line 204) | Future<ResultSet> readQuery(
method close (line 225) | void close()
method open (line 267) | SqliteConnectionPool open({
method openAsync (line 279) | Future<SqliteConnectionPool> openAsync({
method _openAsyncEntrypoint (line 314) | void _openAsyncEntrypoint(
class AsyncConnection (line 342) | base class AsyncConnection {
method _rollbackPendingTransaction (line 361) | Future<void> _rollbackPendingTransaction()
method unsafeAccess (line 381) | Future<T> unsafeAccess<T>(
method unsafeAccessOnIsolate (line 396) | Future<T> unsafeAccessOnIsolate<T>(
method select (line 418) | Future<(ResultSet, ExecuteResult)> select(
method execute (line 429) | Future<ExecuteResult> execute(
method _close (line 440) | void _close()
method _execResult (line 448) | ExecuteResult _execResult(Database db)
class ConnectionLease (line 463) | final class ConnectionLease extends AsyncConnection {
method returnLease (line 475) | void returnLease()
method notifyUpdates (line 494) | Future<void> notifyUpdates()
class ExclusivePoolAccess (line 510) | final class ExclusivePoolAccess {
method _rollbackPendingTransactions (line 532) | Future<void> _rollbackPendingTransactions()
method close (line 541) | void close()
FILE: sqlite3_connection_pool/lib/src/raw.dart
class RawSqliteConnectionPool (line 22) | @internal
method _createRequest (line 58) | (int, Completer<_PoolLease>) _createRequest()
method requestRead (line 63) | (RawPoolRequest, Future<PoolConnectionRef>) requestRead()
method requestWrite (line 77) | (RawPoolRequest, Future<PoolConnectionRef>) requestWrite()
method requestExclusive (line 91) | (RawPoolRequest, Future<void>) requestExclusive()
method queryConnections (line 104) | ({PoolConnectionRef writer, List<PoolConnectionRef> readers})
method addUpdateListener (line 133) | void addUpdateListener(SendPort port)
method removeUpdateListener (line 137) | void removeUpdateListener(SendPort port)
method close (line 141) | void close()
method open (line 147) | RawSqliteConnectionPool open(
class PoolConnections (line 227) | final class PoolConnections {
function lookupCachedStatement (line 252) | Pointer<Void> lookupCachedStatement(String sql)
function putCachedStatement (line 261) | bool putCachedStatement(String sql, Pointer<Void> statement)
class RawPoolRequest (line 274) | @internal
method close (line 288) | void close()
method notifyUpdates (line 297) | void notifyUpdates()
class _PoolLease (line 302) | sealed class _PoolLease {
class _SingleConnectionLease (line 306) | final class _SingleConnectionLease extends _PoolLease {
class _ExclusiveLease (line 313) | final class _ExclusiveLease extends _PoolLease {
FILE: sqlite3_connection_pool/src/client.rs
type PoolClient (line 4) | pub struct PoolClient {
method new (line 10) | pub fn new(pool: ConnectionPool) -> Self {
method register_update_listener (line 17) | pub fn register_update_listener(&mut self, update_listener: DartPort) {
method remove_update_listener (line 23) | pub fn remove_update_listener(&mut self, update_listener: DartPort) {
method drop (line 32) | fn drop(&mut self) {
FILE: sqlite3_connection_pool/src/connection.rs
type Connection (line 9) | pub struct Connection(pub *const c_void);
type PreparedStatement (line 16) | pub struct PreparedStatement(pub NonNull<c_void>);
type StatementCache (line 21) | pub struct StatementCache {
method new (line 26) | pub fn new(size: usize) -> Option<Self> {
method lookup (line 32) | pub fn lookup(&mut self, sql: &str) -> Option<NonNull<c_void>> {
method put (line 36) | pub fn put(
method close_statements (line 51) | pub fn close_statements(&mut self, functions: &ExternalFunctions) {
FILE: sqlite3_connection_pool/src/dart.rs
type DartPort (line 6) | pub struct DartPort(i64);
type RawDartCObject (line 11) | pub struct RawDartCObject {
constant TYPE_BOOL (line 17) | pub const TYPE_BOOL: c_int = 1;
constant TYPE_INT64 (line 18) | pub const TYPE_INT64: c_int = 3;
constant TYPE_STRING (line 19) | pub const TYPE_STRING: c_int = 5;
constant TYPE_ARRAY (line 20) | pub const TYPE_ARRAY: c_int = 6;
method from (line 24) | fn from(value: bool) -> Self {
method from (line 33) | fn from(value: i64) -> Self {
type RawDartCObjectSendPort (line 58) | pub struct RawDartCObjectSendPort {
type RawDartCObjectCapability (line 65) | pub struct RawDartCObjectCapability {
type RawDartCObjectArray (line 71) | pub struct RawDartCObjectArray {
type RawDartCObjectTypedData (line 78) | pub struct RawDartCObjectTypedData {
type RawDartCObjectExternalTypedData (line 86) | pub struct RawDartCObjectExternalTypedData {
type RawDartCObjectNativePointer (line 96) | pub struct RawDartCObjectNativePointer {
FILE: sqlite3_connection_pool/src/headers.h
type ConnectionPool (line 3) | typedef struct ConnectionPool ConnectionPool;
type PoolRequest (line 4) | typedef struct PoolRequest PoolRequest;
type PoolConnection (line 8) | struct PoolConnection {
type SqliteFunctions (line 12) | typedef struct ExternalFunctions {
type InitializedPool (line 22) | typedef struct InitializedPool {
type InitializedPool (line 30) | struct InitializedPool
type DartPort (line 32) | typedef int64_t DartPort;
type PoolConnection (line 49) | struct PoolConnection
type PoolConnection (line 49) | struct PoolConnection
type PoolConnection (line 56) | struct PoolConnection
type PoolConnection (line 57) | struct PoolConnection
FILE: sqlite3_connection_pool/src/lib.rs
function pkg_sqlite3_connection_pool_open (line 19) | extern "C" fn pkg_sqlite3_connection_pool_open(
function pkg_sqlite3_connection_pool_close (line 34) | extern "C" fn pkg_sqlite3_connection_pool_close(pool: *mut PoolClient) {
function clone_arc (line 39) | fn clone_arc(pool: &Mutex<PoolState>) -> ConnectionPool {
function pkg_sqlite3_connection_pool_obtain_read (line 47) | extern "C" fn pkg_sqlite3_connection_pool_obtain_read(
function pkg_sqlite3_connection_pool_obtain_write (line 62) | extern "C" fn pkg_sqlite3_connection_pool_obtain_write(
function pkg_sqlite3_connection_pool_obtain_exclusive (line 77) | extern "C" fn pkg_sqlite3_connection_pool_obtain_exclusive(
function pkg_sqlite3_connection_pool_request_close (line 92) | extern "C" fn pkg_sqlite3_connection_pool_request_close(request: *mut Po...
function pkg_sqlite3_connection_pool_query_read_connection_count (line 97) | extern "C" fn pkg_sqlite3_connection_pool_query_read_connection_count(
function pkg_sqlite3_connection_pool_query_connections (line 106) | extern "C" fn pkg_sqlite3_connection_pool_query_connections(
function pkg_sqlite3_connection_pool_update_listener (line 126) | extern "C" fn pkg_sqlite3_connection_pool_update_listener(
function pkg_sqlite3_connection_pool_notify_updates (line 139) | extern "C" fn pkg_sqlite3_connection_pool_notify_updates(request: &PoolR...
function pkg_sqlite3_connection_pool_stmt_cache_get (line 148) | extern "C" fn pkg_sqlite3_connection_pool_stmt_cache_get(
function pkg_sqlite3_connection_pool_stmt_cache_put (line 161) | extern "C" fn pkg_sqlite3_connection_pool_stmt_cache_put(
FILE: sqlite3_connection_pool/src/pool.rs
type ConnectionPool (line 13) | pub type ConnectionPool = Arc<Mutex<PoolState>>;
type PoolState (line 15) | pub struct PoolState {
method new (line 113) | pub fn new(
method drop_waiter (line 143) | unsafe fn drop_waiter(&mut self, waiter: NonNull<WaitNode>) {
method return_read_connection (line 178) | fn return_read_connection(&mut self, conn: usize) {
method send_update_notifications (line 193) | pub unsafe fn send_update_notifications(&self) {
method return_write_connection (line 205) | fn return_write_connection(&mut self) {
method request_read (line 223) | pub fn request_read(&mut self, pool: ConnectionPool, msg: PendingMessa...
method request_write (line 227) | pub fn request_write(
method request_exclusive (line 235) | pub fn request_exclusive(
method view_connections (line 244) | pub fn view_connections(&self) -> (&PoolConnection, &[PoolConnection]) {
method register_waiter (line 251) | fn register_waiter(
method try_complete (line 290) | fn try_complete(&mut self, waiter: &mut WaitNode) -> bool {
method try_assign_write (line 336) | fn try_assign_write(&mut self, has_write: &mut bool) -> bool {
method drop_connection (line 348) | fn drop_connection(conn: &mut PoolConnection, functions: &ExternalFunc...
method register_update_listener (line 356) | pub fn register_update_listener(&mut self, update_listener: DartPort) {
method remove_update_listeners (line 360) | pub fn remove_update_listeners(&mut self, removed_listeners: &[DartPor...
method register_hooks_on_writer (line 365) | pub fn register_hooks_on_writer(arc: &ConnectionPool) {
type PoolConnection (line 34) | pub struct PoolConnection {
type ReadState (line 41) | struct ReadState {
type WriteState (line 47) | struct WriteState {
type LinkedList (line 53) | struct LinkedList<E: ExtractEntry> {
type WaitNode (line 65) | struct WaitNode {
type PendingMessage (line 76) | pub struct PendingMessage {
method send_did_obtain_exclusive (line 396) | fn send_did_obtain_exclusive(&self, api: &ExternalFunctions) {
method send_did_obtain_connection (line 415) | fn send_did_obtain_connection(&self, connection: &PoolConnection, api:...
type QueueEntry (line 81) | struct QueueEntry {
type Waiter (line 90) | enum Waiter {
type ReadPoolRequest (line 97) | struct ReadPoolRequest {
type WritePoolRequest (line 102) | struct WritePoolRequest {
type ExclusivePoolRequest (line 107) | struct ExclusivePoolRequest {
method drop (line 374) | fn drop(&mut self) {
type ExtractEntry (line 436) | trait ExtractEntry {
method extract_entry (line 437) | fn extract_entry(node: &mut WaitNode) -> &mut Option<QueueEntry>;
method extract_entry (line 441) | fn extract_entry(node: &mut WaitNode) -> &mut Option<QueueEntry> {
method extract_entry (line 447) | fn extract_entry(node: &mut WaitNode) -> &mut Option<QueueEntry> {
method default (line 453) | fn default() -> Self {
function push (line 463) | fn push(&mut self, mut node: NonNull<WaitNode>) {
function unlink (line 484) | fn unlink(&mut self, node: &mut WaitNode) {
type PoolRequestHandle (line 516) | pub struct PoolRequestHandle {
method drop (line 522) | fn drop(&mut self) {
type ExternalFunctions (line 534) | pub struct ExternalFunctions {
FILE: sqlite3_connection_pool/src/registry.rs
type PoolRegistry (line 11) | pub struct PoolRegistry {
method lookup_internal (line 27) | fn lookup_internal(&self, name: &str, initialize: PoolInitializer) -> ...
method lookup (line 59) | pub fn lookup(name: &str, initialize: PoolInitializer) -> Option<Conne...
type InitializedPool (line 16) | pub struct InitializedPool {
type PoolInitializer (line 24) | pub type PoolInitializer = extern "C" fn() -> Option<NonNull<Initialized...
FILE: sqlite3_connection_pool/src/update_hook.rs
type CollectedTableUpdates (line 10) | pub struct CollectedTableUpdates {
method attach_to (line 23) | pub fn attach_to(
method handle_update (line 57) | fn handle_update(&mut self, table: &CStr) {
method handle_commit (line 65) | fn handle_commit(&mut self) {
method handle_rollback (line 71) | fn handle_rollback(&mut self) {
method send_notification (line 75) | pub fn send_notification(&mut self, listeners: &[DartPort], functions:...
FILE: sqlite3_connection_pool/test/pool_test.dart
function main (line 11) | void main()
function testPool (line 12) | SqliteConnectionPool testPool({
function leaveInTransaction (line 342) | Future<void> leaveInTransaction(
function createPool (line 445) | SqliteConnectionPool createPool({
function poolConnectionOpener (line 460) | PoolConnections Function() poolConnectionOpener(
function openDatabase (line 465) | Database openDatabase()
function _startIsolateForOpenTest (line 474) | void _startIsolateForOpenTest(SendPort notify)
FILE: sqlite3_connection_pool/tool/generate_bindings.dart
function main (line 4) | void main()
FILE: sqlite3_test/example/sqlite3_test_example.dart
function main (line 7) | void main()
FILE: sqlite3_test/lib/sqlite3_test.dart
class TestSqliteFileSystem (line 17) | final class TestSqliteFileSystem extends BaseVirtualFileSystem {
method xAccess (line 35) | int xAccess(String path, int flags)
method xCurrentTime (line 53) | DateTime xCurrentTime()
method xDelete (line 58) | void xDelete(String path, int syncDir)
method xFullPathName (line 63) | String xFullPathName(String path)
method xOpen (line 68) | XOpenResult xOpen(Sqlite3Filename path, int flags)
method xSleep (line 102) | void xSleep(Duration duration)
class _TestFile (line 105) | final class _TestFile implements VirtualFileSystemFile {
method xClose (line 114) | void xClose()
method xFileSize (line 125) | int xFileSize()
method xRead (line 128) | void xRead(Uint8List target, int fileOffset)
method xSync (line 138) | void xSync(int flags)
method xTruncate (line 143) | void xTruncate(int size)
method xWrite (line 148) | void xWrite(Uint8List buffer, int fileOffset)
method xCheckReservedLock (line 155) | int xCheckReservedLock()
method xLock (line 162) | void xLock(int mode)
method xUnlock (line 182) | void xUnlock(int mode)
FILE: sqlite3_test/test/sqlite3_test_test.dart
function main (line 11) | void main()
function withDatabase (line 20) | Database withDatabase(Database db)
function inMemory (line 25) | Database inMemory()
function onDisk (line 26) | Database onDisk(String path)
FILE: sqlite3_wasm_build/src/bridge.h
type tm (line 16) | struct tm
FILE: sqlite3_wasm_build/src/external_objects.c
function host_table_set (line 13) | void host_table_set(size_t index, __externref_t value) {
function __externref_t (line 17) | static __externref_t host_table_get(size_t index) {
function host_table_grow (line 21) | static size_t host_table_grow(size_t delta) {
function host_table_size (line 26) | static size_t host_table_size() {
type slab (line 31) | typedef struct {
function __externref_t (line 115) | __externref_t host_object_get(void* ptr) {
function host_object_free (line 120) | void host_object_free(void* ptr) {
FILE: sqlite3_wasm_build/src/getentropy.c
function getentropy (line 9) | int getentropy(void* buf, size_t n) {
FILE: sqlite3_wasm_build/src/helpers.c
type dart_vfs_file (line 22) | typedef struct {
function SQLITE_API (line 28) | SQLITE_API void* dart_sqlite3_malloc(size_t size) { return malloc(size); }
function SQLITE_API (line 30) | SQLITE_API void dart_sqlite3_free(void* ptr) { return free(ptr); }
function SQLITE_API (line 32) | SQLITE_API int dart_sqlite3_bind_blob(sqlite3_stmt* stmt, int index,
function SQLITE_API (line 37) | SQLITE_API int dart_sqlite3_bind_text(sqlite3_stmt* stmt, int index,
function dartvfs_trace_log1 (line 42) | static int dartvfs_trace_log1(const char* msg, void* unused) {
function dartvfs_close (line 47) | int dartvfs_close(sqlite3_file* file) {
function dartvfs_read (line 55) | int dartvfs_read(sqlite3_file* file, void* buf, int iAmt, sqlite3_int64 ...
function dartvfs_write (line 59) | int dartvfs_write(sqlite3_file* file, const void* buf, int iAmt,
function dartvfs_truncate (line 64) | int dartvfs_truncate(sqlite3_file* file, sqlite3_int64 size) {
function dartvfs_sync (line 68) | int dartvfs_sync(sqlite3_file* file, int flags) {
function dartvfs_fileSize (line 72) | int dartvfs_fileSize(sqlite3_file* file, sqlite3_int64* pSize) {
function dartvfs_lock (line 79) | int dartvfs_lock(sqlite3_file* file, int i) {
function dartvfs_unlock (line 83) | int dartvfs_unlock(sqlite3_file* file, int i) {
function dartvfs_checkReservedLock (line 87) | int dartvfs_checkReservedLock(sqlite3_file* file, int* pResOut) {
function dartvfs_fileControl (line 91) | int dartvfs_fileControl(sqlite3_file* file, int op, void* pArg) {
function dartvfs_deviceCharacteristics (line 97) | int dartvfs_deviceCharacteristics(sqlite3_file* file) {
function dartvfs_sectorSize (line 101) | int dartvfs_sectorSize(sqlite3_file* file) {
function dartvfs_open (line 108) | static int dartvfs_open(sqlite3_vfs* vfs, sqlite3_filename zName,
function dartvfs_delete (line 151) | static int dartvfs_delete(sqlite3_vfs* vfs, const char* zName, int syncD...
function dartvfs_access (line 155) | static int dartvfs_access(sqlite3_vfs* vfs, const char* zName, int flags,
function dartvfs_fullPathname (line 160) | static int dartvfs_fullPathname(sqlite3_vfs* vfs, const char* zName, int...
function dartvfs_randomness (line 165) | static int dartvfs_randomness(sqlite3_vfs* vfs, int nByte, char* zOut) {
function dartvfs_sleep (line 169) | static int dartvfs_sleep(sqlite3_vfs* vfs, int microseconds) {
function dartvfs_currentTimeInt64 (line 173) | static int dartvfs_currentTimeInt64(sqlite3_vfs* vfs, sqlite3_int64* tim...
function SQLITE_API (line 186) | SQLITE_API sqlite3_vfs* dart_sqlite3_register_vfs(const char* name,
function dart_sqlite3_unregister_vfs (line 225) | int dart_sqlite3_unregister_vfs(sqlite3_vfs* vfs) {
function dartXFunc (line 235) | static void dartXFunc(sqlite3_context* context, int nArg,
function dartXStep (line 241) | static void dartXStep(sqlite3_context* context, int nArg,
function dartXInverse (line 247) | static void dartXInverse(sqlite3_context* context, int nArg,
function dartXFinal (line 253) | static void dartXFinal(sqlite3_context* context) {
function dartXValue (line 258) | static void dartXValue(sqlite3_context* context) {
function SQLITE_API (line 263) | SQLITE_API int dart_sqlite3_create_function_v2(sqlite3* db,
function SQLITE_API (line 275) | SQLITE_API int dart_sqlite3_create_window_function(sqlite3* db,
function dartXUpdate (line 285) | static void dartXUpdate(void* context, int kind, const char* schema,
function SQLITE_API (line 292) | SQLITE_API void dart_sqlite3_updates(sqlite3* db, __externref_t function) {
function dartXCommit (line 306) | static int dartXCommit(void* context) {
function SQLITE_API (line 312) | SQLITE_API void dart_sqlite3_commits(sqlite3* db, __externref_t function) {
function dartXRollback (line 326) | static void dartXRollback(void* context) {
function SQLITE_API (line 332) | SQLITE_API void dart_sqlite3_rollbacks(sqlite3* db, __externref_t functi...
function dartXCompare (line 346) | static int dartXCompare(void* context, int lengthA, const void* a, int l...
function SQLITE_API (line 351) | SQLITE_API int dart_sqlite3_create_collation(sqlite3* db, const char* zN...
function SQLITE_API (line 359) | SQLITE_API int dart_sqlite3_db_config_int(sqlite3* db, int op, int arg) {
function dartChangesetXFilter (line 363) | static int dartChangesetXFilter(void* pCtx, const char* zTab) {
function dartChangesetXConflict (line 367) | static int dartChangesetXConflict(void* pCtx, int eConflict,
function SQLITE_API (line 372) | SQLITE_API int dart_sqlite3changeset_apply(sqlite3* db, int nChangeset,
function dartBusyHandler (line 384) | static int dartBusyHandler(void* context, int amount) {
function SQLITE_API (line 388) | SQLITE_API int dart_sqlite3_busy_handler(sqlite3* db, __externref_t call...
FILE: sqlite3_wasm_build/src/os_web.c
function sqlite3_os_init (line 9) | int sqlite3_os_init(void) { return SQLITE_OK; }
function sqlite3_os_end (line 11) | int sqlite3_os_end(void) { return SQLITE_OK; }
type tm (line 13) | struct tm
type tm (line 14) | struct tm
FILE: sqlite3_wasm_build/tool/wasm_symbols.dart
function main (line 5) | void main(List<String> args)
FILE: sqlite3_web/benchmark/benchmark.dart
class BenchmarkConfiguration (line 13) | final class BenchmarkConfiguration {
method delete (line 18) | Future<void> delete(WebSqlite client)
method connect (line 25) | Future<Database> connect(WebSqlite client)
class BenchmarkTarget (line 36) | sealed class BenchmarkTarget {
method changeConfig (line 41) | BenchmarkTarget changeConfig(BenchmarkConfiguration config)
class SingleTabBenchmarkTarget (line 46) | final class SingleTabBenchmarkTarget extends BenchmarkTarget {
method changeConfig (line 50) | SingleTabBenchmarkTarget changeConfig(BenchmarkConfiguration config)
class MultiTabBenchmarkTarget (line 79) | final class MultiTabBenchmarkTarget extends BenchmarkTarget {
method changeConfig (line 83) | MultiTabBenchmarkTarget changeConfig(BenchmarkConfiguration config)
class BenchmarkResult (line 88) | final class BenchmarkResult {
class BenchmarkState (line 116) | final class BenchmarkState extends Notifier<Result<List<BenchmarkResult>...
method build (line 120) | Result<List<BenchmarkResult>> build()
method runSingleTabBenchmarks (line 124) | Future<void> runSingleTabBenchmarks(
method _runSingleTabBenchmarks (line 135) | Future<void> _runSingleTabBenchmarks(
method publish (line 140) | void publish()
method _fetchBenchmarkSql (line 167) | Future<String> _fetchBenchmarkSql(int index)
class ClientState (line 183) | final class ClientState {
class ClientStateNotifier (line 192) | final class ClientStateNotifier extends Notifier<ClientState?> {
method build (line 198) | ClientState? build()
class _EncapsulatedWorkerConnector (line 253) | final class _EncapsulatedWorkerConnector implements WorkerConnector {
method spawnDedicatedWorker (line 259) | WorkerHandle? spawnDedicatedWorker()
method spawnSharedWorker (line 262) | WorkerHandle? spawnSharedWorker()
class _EncapsulatedWorker (line 273) | final class _EncapsulatedWorker implements WorkerHandle {
method postMessage (line 281) | void postMessage(JSAny? msg, JSObject transfer)
FILE: sqlite3_web/benchmark/main.dart
function main (line 11) | void main()
class BenchmarkApp (line 15) | final class BenchmarkApp extends StatelessComponent {
method build (line 19) | Component build(BuildContext context)
class _BenchmarkSelector (line 41) | final class _BenchmarkSelector extends StatelessComponent {
method build (line 47) | Component build(BuildContext context)
class _BenchmarkResults (line 106) | final class _BenchmarkResults extends StatelessComponent {
method build (line 110) | Component build(BuildContext context)
FILE: sqlite3_web/benchmark/message.dart
type ToWorkerMessageType (line 3) | enum ToWorkerMessageType { sqlite, connectTab }
type ToClientMessageType (line 5) | enum ToClientMessageType { tabId }
FILE: sqlite3_web/benchmark/sql/benchmark1.sql
type t1 (line 1) | CREATE TABLE t1(a INTEGER, b INTEGER, c VARCHAR(100))
FILE: sqlite3_web/benchmark/sql/benchmark2.sql
type t2 (line 2) | CREATE TABLE t2(a INTEGER, b INTEGER, c VARCHAR(100))
FILE: sqlite3_web/benchmark/sql/benchmark3.sql
type t3 (line 2) | CREATE TABLE t3(a INTEGER, b INTEGER, c VARCHAR(100))
type i3 (line 3) | CREATE INDEX i3 ON t3(c)
FILE: sqlite3_web/benchmark/sql/benchmark6.sql
type i2a (line 1) | CREATE INDEX i2a ON t2(a)
type i2b (line 2) | CREATE INDEX i2b ON t2(b)
FILE: sqlite3_web/benchmark/worker.dart
function main (line 13) | void main()
class ClientsDriver (line 58) | final class ClientsDriver {
method run (line 62) | void run()
method _handleEvent (line 68) | void _handleEvent(_ClientsDriverEvent event)
method _reindexClients (line 84) | void _reindexClients()
class ConnectedClient (line 96) | final class ConnectedClient {
class _ClientsDriverEvent (line 102) | sealed class _ClientsDriverEvent {}
class _ClientConnected (line 104) | final class _ClientConnected implements _ClientsDriverEvent {
class _ClientDisconnected (line 111) | final class _ClientDisconnected implements _ClientsDriverEvent {
FILE: sqlite3_web/example/controller.dart
class ExampleController (line 7) | final class ExampleController extends DatabaseController {
method handleCustomRequest (line 9) | Future<JSAny?> handleCustomRequest(
method openDatabase (line 17) | Future<WorkerDatabase> openDatabase(
class ExampleDatabase (line 27) | final class ExampleDatabase extends WorkerDatabase {
method handleCustomRequest (line 34) | Future<JSAny?> handleCustomRequest(
FILE: sqlite3_web/example/main.dart
function main (line 6) | void main()
FILE: sqlite3_web/example/main.js
function relativeURL (line 6) | function relativeURL(ref) {
FILE: sqlite3_web/example/worker.dart
function main (line 5) | void main()
FILE: sqlite3_web/lib/protocol_utils.dart
function serializeParameters (line 18) | (JSArray, JSArrayBuffer) serializeParameters(List<Object?> parameters)
function deserializeParameters (line 24) | List<Object?> deserializeParameters(JSArray values, JSArrayBuffer? types)
function serializeResultSet (line 29) | JSObject serializeResultSet(ResultSet resultSet)
function deserializeResultSet (line 39) | ResultSet deserializeResultSet(JSObject object)
FILE: sqlite3_web/lib/src/channel.dart
function connect (line 26) | StreamChannel<Message> connect()
function createChannel (line 31) | Future<(WebEndpoint, StreamChannel<Message>)> createChannel()
function _randomLockName (line 54) | String _randomLockName()
function _channel (line 64) | StreamChannel<Message> _channel(
class ProtocolChannel (line 106) | abstract base class ProtocolChannel extends RequestHandler {
method _handleIncoming (line 128) | void _handleIncoming(Message message)
method sendRequest (line 177) | Future<Res> sendRequest<Res extends Response>(
method sendNotification (line 206) | void sendNotification(Notification notification)
method handleNotification (line 210) | void handleNotification(Notification notification)
method close (line 212) | Future<void> close([Object? error])
function injectErrorsFrom (line 227) | StreamChannel<T> injectErrorsFrom(EventTarget target)
FILE: sqlite3_web/lib/src/client.dart
class _CommitOrRollbackStream (line 18) | final class _CommitOrRollbackStream {
class RemoteDatabase (line 23) | final class RemoteDatabase implements Database {
method _setupCommitOrRollbackStream (line 101) | void _setupCommitOrRollbackStream(
method dispose (line 142) | Future<void> dispose()
method customRequest (line 161) | Future<JSAny?> customRequest(
method execute (line 180) | Future<DatabaseResult<void>> execute(
method requestLock (line 213) | Future<T> requestLock<T>(
method select (line 238) | Future<DatabaseResult<ResultSet>> select(
method additionalConnection (line 281) | Future<SqliteWebEndpoint> additionalConnection()
class RemoteFileSystem (line 291) | final class RemoteFileSystem implements FileSystem {
method exists (line 297) | Future<bool> exists(FileType type)
method flush (line 311) | Future<void> flush()
method readFile (line 319) | Future<Uint8List> readFile(FileType type)
method writeFile (line 335) | Future<void> writeFile(FileType type, Uint8List content)
class WorkerConnection (line 351) | final class WorkerConnection extends ProtocolChannel {
method handleCustom (line 361) | FutureOr<Response> handleCustom(
method requestDatabase (line 372) | Future<RemoteDatabase> requestDatabase({
method handleNotification (line 398) | void handleNotification(Notification notification)
class DatabaseClient (line 403) | final class DatabaseClient implements WebSqlite {
method startWorkers (line 430) | Future<void> startWorkers()
method _connection (line 442) | WorkerConnection _connection(StreamChannel<Message> channel)
method _startDedicated (line 446) | Future<void> _startDedicated()
method _startShared (line 471) | Future<void> _startShared()
method _connectToDedicatedInShared (line 497) | Future<WorkerConnection> _connectToDedicatedInShared()
method _connectToLocal (line 513) | Future<WorkerConnection> _connectToLocal()
method deleteDatabase (line 537) | Future<void> deleteDatabase({
method runFeatureDetection (line 551) | Future<FeatureDetectionResult> runFeatureDetection({
method dedicatedCompatibilityCheck (line 560) | Future<void> dedicatedCompatibilityCheck(
method sharedCompatibilityCheck (line 621) | Future<void> sharedCompatibilityCheck(WorkerConnection connection)
method connectToExisting (line 683) | Future<Database> connectToExisting(SqliteWebEndpoint endpoint)
method connect (line 698) | Future<Database> connect(
method connectToRecommended (line 732) | Future<ConnectToRecommendedResult> connectToRecommended(
method preferrableMode (line 786) | int preferrableMode(
function resolveToVfs (line 811) | FileSystemImplementation resolveToVfs()
FILE: sqlite3_web/lib/src/database.dart
class DatabaseController (line 14) | abstract base class DatabaseController {
method loadWasmModule (line 19) | Future<WasmSqlite3> loadWasmModule(
method openDatabase (line 35) | Future<WorkerDatabase> openDatabase(
method handleCustomRequest (line 45) | Future<JSAny?> handleCustomRequest(
class CustomClientRequest (line 52) | final class CustomClientRequest {
class CustomClientDatabaseRequest (line 67) | final class CustomClientDatabaseRequest extends CustomClientRequest {
type SqliteWebEndpoint (line 93) | typedef SqliteWebEndpoint = (MessagePort, String);
type DatabaseResult (line 95) | typedef DatabaseResult<T> = ({T result, bool autocommit, int lastInsertR...
class Database (line 98) | abstract class Database {
method dispose (line 139) | Future<void> dispose()
method execute (line 150) | Future<DatabaseResult<void>> execute(
method select (line 168) | Future<DatabaseResult<ResultSet>> select(
method requestLock (line 187) | Future<T> requestLock<T>(
method customRequest (line 196) | Future<JSAny?> customRequest(
method additionalConnection (line 206) | Future<SqliteWebEndpoint> additionalConnection()
function lockTokenFromId (line 214) | LockToken lockTokenFromId(int id)
function lockTokenToId (line 219) | int lockTokenToId(LockToken token)
class ClientConnection (line 224) | abstract class ClientConnection {
method customRequest (line 233) | Future<JSAny?> customRequest(JSAny? request)
class WorkerDatabase (line 237) | abstract class WorkerDatabase {
method handleCustomRequest (line 246) | Future<JSAny?> handleCustomRequest(
class ConnectToRecommendedResult (line 255) | final class ConnectToRecommendedResult {
class WebSqlite (line 280) | abstract class WebSqlite {
method deleteDatabase (line 284) | Future<void> deleteDatabase({
method runFeatureDetection (line 294) | Future<FeatureDetectionResult> runFeatureDetection({String? databaseNa...
method connect (line 312) | Future<Database> connect(
method connectToRecommended (line 332) | Future<ConnectToRecommendedResult> connectToRecommended(
method workerEntrypoint (line 339) | void workerEntrypoint({
method open (line 359) | WebSqlite open({
method connectToPort (line 388) | Future<Database> connectToPort(
class _DefaultDatabaseController (line 402) | final class _DefaultDatabaseController extends DatabaseController {
method handleCustomRequest (line 406) | Future<JSAny?> handleCustomRequest(
method openDatabase (line 414) | Future<WorkerDatabase> openDatabase(
class _DefaultWorkerDatabase (line 424) | final class _DefaultWorkerDatabase extends WorkerDatabase {
method handleCustomRequest (line 431) | Future<JSAny?> handleCustomRequest(
FILE: sqlite3_web/lib/src/locks.dart
class WebLocks (line 13) | class WebLocks {
method request (line 18) | Future<HeldLock> request(String name, {AbortSignal? abortSignal})
method callback (line 21) | JSPromise callback(JSAny lock)
class HeldLock (line 54) | class HeldLock {
method release (line 59) | void release()
class DatabaseLocks (line 62) | final class DatabaseLocks {
method lock (line 87) | Future<T> lock<T>(
class Mutex (line 104) | final class Mutex {
method withCriticalSection (line 108) | Future<T> withCriticalSection<T>(
method markCompleted (line 114) | void markCompleted()
method complete (line 135) | void complete()
FILE: sqlite3_web/lib/src/protocol/compatibility_result.dart
class CompatibilityResult (line 6) | final class CompatibilityResult {
FILE: sqlite3_web/lib/src/protocol/dsl.dart
class MessageTypeName (line 18) | @Target({TargetKind.extensionType})
FILE: sqlite3_web/lib/src/protocol/extensions.dart
function sendToPort (line 13) | void sendToPort(MessagePort port)
function sendToWorker (line 18) | void sendToWorker(WorkerHandle port)
function interpretAsError (line 25) | RemoteException interpretAsError()
function wrapException (line 44) | ErrorResponse wrapException(int requestId, Object error)
function deserializeException (line 63) | Object? deserializeException()
function deserializeSqliteException (line 73) | SqliteException deserializeSqliteException(JSArray data)
function decodeNullableString (line 86) | String? decodeNullableString(JSAny? jsValue)
function serializeSqliteException (line 110) | JSArray serializeSqliteException(SqliteException e)
function wrapResultSet (line 143) | RowsResponse wrapResultSet(
function readResultSet (line 193) | ResultSet? readResultSet()
function isCompatibilityCheck (line 234) | bool isCompatibilityCheck(String messageType)
FILE: sqlite3_web/lib/src/protocol/helper.g.dart
type MessageType (line 11) | enum MessageType<T extends Message> {
class RequestHandler (line 40) | abstract base class RequestHandler {
method handleOpen (line 41) | FutureOr<Response> handleOpen(OpenRequest request, AbortSignal abortSi...
method handleConnect (line 44) | FutureOr<Response> handleConnect(
method handleCustom (line 49) | FutureOr<Response> handleCustom(
method handleFileSystemExists (line 54) | FutureOr<Response> handleFileSystemExists(
method handleFileSystemFlush (line 59) | FutureOr<Response> handleFileSystemFlush(
method handleFileSystemAccess (line 64) | FutureOr<Response> handleFileSystemAccess(
method handleRunQuery (line 69) | FutureOr<Response> handleRunQuery(
method handleExclusiveLock (line 74) | FutureOr<Response> handleExclusiveLock(
method handleReleaseLock (line 79) | FutureOr<Response> handleReleaseLock(
method handleCloseDatabase (line 84) | FutureOr<Response> handleCloseDatabase(
method handleOpenAdditionalConnection (line 89) | FutureOr<Response> handleOpenAdditionalConnection(
method handleUpdateRequest (line 94) | FutureOr<Response> handleUpdateRequest(
method handleRollbackRequest (line 99) | FutureOr<Response> handleRollbackRequest(
method handleCommitRequest (line 104) | FutureOr<Response> handleCommitRequest(
method handleDedicatedCompatibilityCheck (line 109) | FutureOr<Response> handleDedicatedCompatibilityCheck(
method handleSharedCompatibilityCheck (line 114) | FutureOr<Response> handleSharedCompatibilityCheck(
method handleDedicatedInSharedCompatibilityCheck (line 119) | FutureOr<Response> handleDedicatedInSharedCompatibilityCheck(
method _unsupportedRequest (line 124) | Future<Never> _unsupportedRequest(Request request)
method dispatchRequest (line 128) | FutureOr<Response> dispatchRequest(Request request, AbortSignal abortS...
function newOpenRequest (line 209) | OpenRequest newOpenRequest({
function newConnectRequest (line 237) | ConnectRequest newConnectRequest({
function newStartFileSystemServer (line 258) | StartFileSystemServer newStartFileSystemServer({
function newCustomRequest (line 277) | CustomRequest newCustomRequest({
function newFileSystemExistsQuery (line 302) | FileSystemExistsQuery newFileSystemExistsQuery({
function newFileSystemFlushRequest (line 324) | FileSystemFlushRequest newFileSystemFlushRequest({
function newFileSystemAccess (line 346) | FileSystemAccess newFileSystemAccess({
function newRunQuery (line 375) | RunQuery newRunQuery({
function newRequestExclusiveLock (line 407) | RequestExclusiveLock newRequestExclusiveLock({
function newReleaseLock (line 427) | ReleaseLock newReleaseLock({
function newCloseDatabase (line 448) | CloseDatabase newCloseDatabase({
function newOpenAdditionalConnection (line 468) | OpenAdditionalConnection newOpenAdditionalConnection({
function newSimpleSuccessResponse (line 488) | SimpleSuccessResponse newSimpleSuccessResponse({
function newEndpointResponse (line 508) | EndpointResponse newEndpointResponse({
function newRowsResponse (line 532) | RowsResponse newRowsResponse({
function newErrorResponse (line 563) | ErrorResponse newErrorResponse({
function newUpdateStreamRequest (line 588) | UpdateStreamRequest newUpdateStreamRequest({
function newRollbackStreamRequest (line 611) | RollbackStreamRequest newRollbackStreamRequest({
function newCommitsStreamRequest (line 634) | CommitsStreamRequest newCommitsStreamRequest({
function newDedicatedCompatibilityCheck (line 656) | DedicatedCompatibilityCheck newDedicatedCompatibilityCheck({
function newSharedCompatibilityCheck (line 676) | SharedCompatibilityCheck newSharedCompatibilityCheck({
function newDedicatedInSharedCompatibilityCheck (line 698) | DedicatedInSharedCompatibilityCheck newDedicatedInSharedCompatibilityChe...
function newUpdateNotification (line 720) | UpdateNotification newUpdateNotification({
function newCommitNotification (line 743) | CommitNotification newCommitNotification({required int databaseId})
function newRollbackNotification (line 755) | RollbackNotification newRollbackNotification({required int databaseId})
function newAbortRequest (line 766) | AbortRequest newAbortRequest({required int requestId})
function extractTransferrable (line 772) | JSArray<JSAny> extractTransferrable(Message message)
function dispatchMessage (line 800) | T dispatchMessage<T>(
FILE: sqlite3_web/lib/src/protocol/messages.dart
type FileSystemImplementation (line 42) | enum FileSystemImplementation {
type TypeCode (line 193) | enum TypeCode {
class _UniqueFieldNames (line 395) | class _UniqueFieldNames {
FILE: sqlite3_web/lib/src/shared.dart
function checkIndexedDbSupport (line 14) | Future<bool> checkIndexedDbSupport()
function checkIndexedDbExists (line 37) | Future<bool> checkIndexedDbExists(String databaseName)
function deleteDatabaseInIndexedDb (line 62) | Future<void> deleteDatabaseInIndexedDb(String databaseName)
function opfsDatabases (line 68) | Future<List<String>> opfsDatabases()
function pathForOpfs (line 88) | String pathForOpfs(String databaseName)
function deleteDatabaseInOpfs (line 94) | Future<void> deleteDatabaseInOpfs(String databaseName)
function complete (line 109) | Future<T> complete<T extends JSAny?>()
function completeOpen (line 124) | Future<T> completeOpen<T extends JSAny?>()
FILE: sqlite3_web/lib/src/types.dart
type ExistingDatabase (line 6) | typedef ExistingDatabase = (StorageMode, String);
type FileType (line 10) | enum FileType {
type DatabaseImplementation (line 34) | enum DatabaseImplementation {
type StorageMode (line 88) | enum StorageMode {
type AccessMode (line 114) | enum AccessMode {
class RemoteException (line 135) | final class RemoteException implements Exception {
method toString (line 151) | String toString()
class AbortException (line 158) | final class AbortException extends RemoteException {
class FileSystem (line 163) | abstract class FileSystem {
method exists (line 165) | Future<bool> exists(FileType type)
method readFile (line 168) | Future<Uint8List> readFile(FileType type)
method writeFile (line 172) | Future<void> writeFile(FileType type, Uint8List content)
method flush (line 176) | Future<void> flush()
type MissingBrowserFeature (line 183) | enum MissingBrowserFeature {
class FeatureDetectionResult (line 226) | final class FeatureDetectionResult {
method toString (line 248) | String toString()
FILE: sqlite3_web/lib/src/worker.dart
class _StreamState (line 41) | class _StreamState {
method cancel (line 44) | void cancel()
class _ConnectionDatabase (line 51) | final class _ConnectionDatabase {
method close (line 67) | Future<void> close()
method _startAbortableOperation (line 81) | AbortController _startAbortableOperation(AbortSignal parent)
method _removeAbortableOperation (line 88) | void _removeAbortableOperation(AbortController controller)
method useLock (line 92) | Future<T> useLock<T>(
method obtainLockAsync (line 115) | Future<int> obtainLockAsync(AbortSignal abortSignal)
method releaseLock (line 142) | void releaseLock(int id)
class _ClientConnection (line 152) | final class _ClientConnection extends ProtocolChannel
method _handleCompatibilityCheck (line 174) | Future<Response> _handleCompatibilityCheck(
method handleDedicatedCompatibilityCheck (line 185) | FutureOr<Response> handleDedicatedCompatibilityCheck(
method handleDedicatedInSharedCompatibilityCheck (line 193) | FutureOr<Response> handleDedicatedInSharedCompatibilityCheck(
method handleSharedCompatibilityCheck (line 201) | FutureOr<Response> handleSharedCompatibilityCheck(
method handleConnect (line 209) | Future<Response> handleConnect(
method handleCustom (line 229) | Future<Response> handleCustom(
method handleOpen (line 264) | Future<Response> handleOpen(
method handleRunQuery (line 299) | Future<Response> handleRunQuery(
method handleExclusiveLock (line 345) | Future<Response> handleExclusiveLock(
method handleReleaseLock (line 358) | Response handleReleaseLock(ReleaseLock request, AbortSignal abortSignal)
method handleCommitRequest (line 368) | FutureOr<Response> handleCommitRequest(
method handleRollbackRequest (line 391) | FutureOr<Response> handleRollbackRequest(
method handleUpdateRequest (line 414) | FutureOr<Response> handleUpdateRequest(
method handleOpenAdditionalConnection (line 444) | Future<Response> handleOpenAdditionalConnection(
method handleCloseDatabase (line 462) | Future<Response> handleCloseDatabase(
method handleFileSystemFlush (line 476) | Future<Response> handleFileSystemFlush(
method handleFileSystemAccess (line 492) | Future<Response> handleFileSystemAccess(
method handleFileSystemExists (line 530) | FutureOr<Response> handleFileSystemExists(
method subscribe (line 545) | Future<Response> subscribe(
method handleNotification (line 558) | void handleNotification(Notification notification)
method customRequest (line 563) | Future<JSAny?> customRequest(JSAny? request)
method _databaseById (line 576) | _ConnectionDatabase _databaseById(int id)
method _requireDatabase (line 580) | _ConnectionDatabase _requireDatabase(Request request)
class DatabaseState (line 596) | final class DatabaseState {
method decrementRefCount (line 695) | Future<void> decrementRefCount()
method close (line 701) | Future<void> close()
class WorkerRunner (line 714) | final class WorkerRunner {
method handleRequests (line 737) | void handleRequests()
method _accept (line 758) | _ClientConnection _accept(StreamChannel<Message> channel)
method checkCompatibility (line 770) | Future<CompatibilityResult> checkCompatibility(CompatibilityCheck check)
method loadWasmModule (line 838) | Future<void> loadWasmModule(Uri uri)
method findDatabase (line 861) | DatabaseState findDatabase(
type OpfsSupport (line 886) | typedef OpfsSupport = ({bool basicSupport, bool supportsReadWriteUnsafe});
function checkOpfsSupport (line 893) | Future<OpfsSupport> checkOpfsSupport()
function _tryOpeningWithReadWriteUnsafe (line 940) | Future<(bool, FileSystemSyncAccessHandle)> _tryOpeningWithReadWriteUnsafe(
FILE: sqlite3_web/lib/src/worker_connector.dart
class WorkerEnvironment (line 12) | abstract interface class WorkerEnvironment {
class _WorkerEnvironment (line 37) | abstract class _WorkerEnvironment<T extends WorkerGlobalScope>
class _DedicatedWorkerEnvironment (line 47) | final class _DedicatedWorkerEnvironment
class _SharedWorkerEnvironment (line 55) | final class _SharedWorkerEnvironment
method handlePort (line 69) | void handlePort(MessagePort port)
class FakeWorkerEnvironment (line 101) | final class FakeWorkerEnvironment implements WorkerEnvironment, WorkerHa...
method postMessage (line 119) | void postMessage(JSAny? message, [JSObject? options])
method close (line 123) | void close()
class WorkerConnector (line 130) | abstract interface class WorkerConnector {
method spawnDedicatedWorker (line 133) | WorkerHandle? spawnDedicatedWorker()
method spawnSharedWorker (line 137) | WorkerHandle? spawnSharedWorker()
class WorkerHandle (line 153) | abstract interface class WorkerHandle {
method postMessage (line 166) | void postMessage(JSAny? msg, JSObject transfer)
class _DefaultWorkerConnector (line 169) | final class _DefaultWorkerConnector implements WorkerConnector {
method spawnDedicatedWorker (line 175) | WorkerHandle? spawnDedicatedWorker()
method spawnSharedWorker (line 186) | WorkerHandle? spawnSharedWorker()
class _WithoutWorkers (line 197) | final class _WithoutWorkers implements WorkerConnector {
method spawnDedicatedWorker (line 201) | WorkerHandle? spawnDedicatedWorker()
method spawnSharedWorker (line 206) | WorkerHandle? spawnSharedWorker()
class _DedicatedWorker (line 211) | final class _DedicatedWorker implements WorkerHandle {
method postMessage (line 217) | void postMessage(JSAny? msg, JSObject transfer)
class _SharedWorker (line 225) | final class _SharedWorker implements WorkerHandle {
method postMessage (line 231) | void postMessage(JSAny? msg, JSObject transfer)
FILE: sqlite3_web/test/asset_server.dart
function cors (line 10) | Middleware cors()
function handleOptionsRequest (line 11) | Response? handleOptionsRequest(Request request)
function addCorsHeaders (line 20) | Response addCorsHeaders(Response response)
function hybridMain (line 30) | Future<void> hybridMain(StreamChannel<Object?> channel)
FILE: sqlite3_web/test/client_test.dart
function main (line 8) | void main()
FILE: sqlite3_web/test/integration_test.dart
type Browser (line 15) | enum Browser {
function main (line 70) | void main()
class _TestConfiguration (line 116) | final class _TestConfiguration {
method setUp (line 127) | Future<void> setUp()
method tearDown (line 171) | Future<void> tearDown()
method declareTests (line 175) | void declareTests()
FILE: sqlite3_web/test/protocol_test.dart
function main (line 15) | void main()
class TestServer (line 201) | final class TestServer extends ProtocolChannel {
method handleNotification (line 213) | void handleNotification(Notification notification)
method handleRunQuery (line 218) | FutureOr<Response> handleRunQuery(RunQuery request, AbortSignal abortS...
class TestClient (line 223) | final class TestClient extends ProtocolChannel {
method handleNotification (line 227) | void handleNotification(Notification notification)
FILE: sqlite3_web/test/worker_test.dart
function main (line 13) | void main()
function requestDatabase (line 35) | Future<RemoteDatabase> requestDatabase(
class _FakeWorkerConnector (line 298) | final class _FakeWorkerConnector implements WorkerConnector {
method spawnDedicatedWorker (line 304) | WorkerHandle? spawnDedicatedWorker()
method spawnSharedWorker (line 309) | WorkerHandle? spawnSharedWorker()
class _TestController (line 314) | final class _TestController extends DatabaseController {
method handleCustomRequest (line 316) | Future<JSAny?> handleCustomRequest(
method openDatabase (line 324) | Future<WorkerDatabase> openDatabase(
class _TestDatabase (line 334) | final class _TestDatabase extends WorkerDatabase {
method handleCustomRequest (line 341) | Future<JSAny?> handleCustomRequest(
FILE: sqlite3_web/tool/protocol_generator.dart
function main (line 13) | void main()
class ProtocolMessageType (line 22) | final class ProtocolMessageType {
method inheritsFromName (line 60) | bool inheritsFromName(String name)
method readFromDart (line 67) | List<ProtocolMessageType> readFromDart(String source)
method _isAnnotation (line 160) | bool _isAnnotation(Annotation annotation, String name)
method _hasAnnotation (line 164) | bool _hasAnnotation(AnnotatedNode node, String name)
class ProtocolMessageField (line 169) | final class ProtocolMessageField {
type TransferMode (line 190) | enum TransferMode { clone, move, moveIfArrayBuffer }
class UniqueFieldNames (line 193) | final class UniqueFieldNames {
method readFrom (line 196) | void readFrom(ClassDeclaration declaration)
method readJsAnnotation (line 207) | String? readJsAnnotation(Annotation annotation)
class DartCodeGenerator (line 224) | final class DartCodeGenerator {
method generate (line 248) | void generate(List<ProtocolMessageType> types)
method _generateMessageTypeEnum (line 256) | void _generateMessageTypeEnum(List<ProtocolMessageType> types)
method _generateRequestHandler (line 266) | void _generateRequestHandler(List<ProtocolMessageType> types)
method _generateFactories (line 305) | void _generateFactories(List<ProtocolMessageType> types)
method _generateExtractTransferrable (line 371) | void _generateExtractTransferrable(List<ProtocolMessageType> types)
method addToResult (line 383) | String addToResult(String expr)
method _generateDispatchMessage (line 423) | void _generateDispatchMessage(List<ProtocolMessageType> types)
method subtypesOf (line 433) | Iterable<ProtocolMessageType> subtypesOf(ProtocolMessageType type)
FILE: sqlite3_web/tool/server.dart
function main (line 18) | void main(List<String> args)
class TestAssetServer (line 29) | class TestAssetServer {
method close (line 35) | Future<void> close()
method start (line 40) | Future<TestAssetServer> start({String target = 'web'})
class TestWebDriver (line 108) | class TestWebDriver {
method waitReady (line 116) | Future<void> waitReady()
method isDart2wasm (line 120) | Future<bool> isDart2wasm()
method probeImplementations (line 124) | Future<
method openDatabase (line 154) | Future<DatabaseImplementation> openDatabase({
method closeDatabase (line 168) | Future<void> closeDatabase()
method countEvents (line 172) | Future<({int updates, int commits, int rollbacks})> countEvents()
method execute (line 184) | Future<void> execute(String sql)
method testSecond (line 188) | Future<void> testSecond()
method assertFile (line 195) | Future<int?> assertFile(bool shouldExist)
method customRequest (line 213) | Future<int> customRequest()
method flush (line 222) | Future<void> flush()
method checkReadWrite (line 229) | Future<void> checkReadWrite()
method delete (line 239) | Future<void> delete(StorageMode mode)
FILE: sqlite3_web/web/controller.dart
class ExampleController (line 7) | final class ExampleController extends DatabaseController {
method handleCustomRequest (line 13) | Future<JSAny?> handleCustomRequest(
method openDatabase (line 21) | Future<WorkerDatabase> openDatabase(
class ExampleDatabase (line 43) | final class ExampleDatabase extends WorkerDatabase {
method handleCustomRequest (line 50) | Future<JSAny?> handleCustomRequest(
FILE: sqlite3_web/web/main.dart
function main (line 25) | void main()
function _addCallbackForWebDriver (line 154) | void _addCallbackForWebDriver(
function initializeSqlite (line 181) | WebSqlite initializeSqlite()
function _detectImplementations (line 192) | Future<JSString> _detectImplementations(String? _)
function _open (line 203) | Future<JSAny?> _open(String? implementationName, bool onlyOpenVfs)
function listenForUpdates (line 247) | void listenForUpdates()
function _exec (line 256) | Future<JSAny?> _exec(String? sql)
FILE: sqlite3_web/web/main.js
function relativeURL (line 6) | function relativeURL(ref) {
FILE: sqlite3_web/web/worker.dart
function main (line 5) | void main()
FILE: tool/build_sqlite.dart
function main (line 17) | void main(List<String> args)
function buildAndCopy (line 57) | Future<void> buildAndCopy(OS os, Architecture architecture,
function tool (line 68) | Uri tool(String name)
function scheduleTask (line 115) | void scheduleTask(Future<void> Function() task)
FILE: tool/build_with_sanitizers.dart
function main (line 17) | void main()
function compileWithSanitizer (line 34) | Future<void> compileWithSanitizer(String sanitizer)
function _which (line 93) | Uri _which(String tool)
FILE: tool/download_sqlite.dart
function main (line 15) | void main(List<String> args)
function _downloadAndExtract (line 37) | Future<void> _downloadAndExtract(String url, String filename)
function _run (line 42) | Future<void> _run(String command, {String? workingDirectory})
FILE: tool/hook_overrides.dart
function main (line 7) | void main(List<String> args)
FILE: tool/write_asset_hashes.dart
function main (line 15) | void main(List<String> args)
Condensed preview — 359 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (9,664K chars).
[
{
"path": ".gitattributes",
"chars": 49,
"preview": "sqlite3_web/benchmark/sql/* -linguist-detectable\n"
},
{
"path": ".github/dependabot.yml",
"chars": 398,
"preview": "version: 2\nupdates:\n - package-ecosystem: \"github-actions\"\n directory: \"/\"\n schedule:\n interval: weekly\n "
},
{
"path": ".github/workflows/compile_sqlite.yml",
"chars": 14613,
"preview": "name: Download and compile SQLite\n\non:\n workflow_call:\n outputs:\n artifact_id:\n description: \"ID of the "
},
{
"path": ".github/workflows/main.yml",
"chars": 13216,
"preview": "name: CI\n\non:\n push:\n branches: ['**']\n pull_request:\n branches: [ main ]\n\njobs:\n fetch_sqlite:\n if: github."
},
{
"path": ".github/workflows/release.yml",
"chars": 3477,
"preview": "name: Publish to pub.dev\n\non:\n push:\n tags:\n - 'sqlite3-[0-9]+.[0-9]+.[0-9]+*'\n - 'sqlite3_test-[0-9]+.[0-"
},
{
"path": ".gitignore",
"chars": 2599,
"preview": "\n# Created by https://www.toptal.com/developers/gitignore/api/flutter,dart\n# Edit at https://www.toptal.com/developers/g"
},
{
"path": ".gitmodules",
"chars": 222,
"preview": "[submodule \"sqlite3_android\"]\n\tpath = sqlite3_android\n\turl = https://github.com/rodydavis/sqlite-native-libraries\n[submo"
},
{
"path": ".vscode/settings.json",
"chars": 151,
"preview": "{\n \"rust-analyzer.linkedProjects\": [\n \"sqlite3/example/custom_wasm_build/Cargo.toml\"\n ],\n \"cSpell.words\""
},
{
"path": "LICENSE",
"chars": 1068,
"preview": "MIT License\n\nCopyright (c) 2020 Simon Binder\n\nPermission is hereby granted, free of charge, to any person obtaining a co"
},
{
"path": "README.md",
"chars": 973,
"preview": "# sqlite3.dart\n\nThis project contains Dart packages to use SQLite from Dart via `dart:ffi`.\n\nThe main package in this re"
},
{
"path": "UPGRADING_TO_V3.md",
"chars": 2710,
"preview": "## Upgrading `package:sqlite3`.\n\nThis document collects notes on upgrading the `sqlite3` package from version\n2.x to ver"
},
{
"path": "examples/flutter_integration_tests/.gitignore",
"chars": 703,
"preview": "# Miscellaneous\n*.class\n*.log\n*.pyc\n*.swp\n.DS_Store\n.atom/\n.build/\n.buildlog/\n.history\n.svn/\n.swiftpm/\nmigrate_working_d"
},
{
"path": "examples/flutter_integration_tests/.metadata",
"chars": 1704,
"preview": "# This file tracks properties of this Flutter project.\n# Used by Flutter tool to assess capabilities and perform upgrade"
},
{
"path": "examples/flutter_integration_tests/README.md",
"chars": 100,
"preview": "# flutter_integration_tests\n\nIntegration tests for the `sqlite3` package embedded Flutter projects.\n"
},
{
"path": "examples/flutter_integration_tests/analysis_options.yaml",
"chars": 44,
"preview": "include: package:flutter_lints/flutter.yaml\n"
},
{
"path": "examples/flutter_integration_tests/android/.gitignore",
"chars": 253,
"preview": "gradle-wrapper.jar\n/.gradle\n/captures/\n/gradlew\n/gradlew.bat\n/local.properties\nGeneratedPluginRegistrant.java\n.cxx/\n\n# R"
},
{
"path": "examples/flutter_integration_tests/android/app/build.gradle.kts",
"chars": 1422,
"preview": "plugins {\n id(\"com.android.application\")\n id(\"kotlin-android\")\n // The Flutter Gradle Plugin must be applied af"
},
{
"path": "examples/flutter_integration_tests/android/app/src/debug/AndroidManifest.xml",
"chars": 378,
"preview": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <!-- The INTERNET permission is required for d"
},
{
"path": "examples/flutter_integration_tests/android/app/src/main/AndroidManifest.xml",
"chars": 2213,
"preview": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <application\n android:label=\"flutter_in"
},
{
"path": "examples/flutter_integration_tests/android/app/src/main/kotlin/com/example/flutter_integration_tests/MainActivity.kt",
"chars": 139,
"preview": "package com.example.flutter_integration_tests\n\nimport io.flutter.embedding.android.FlutterActivity\n\nclass MainActivity :"
},
{
"path": "examples/flutter_integration_tests/android/app/src/main/res/drawable/launch_background.xml",
"chars": 434,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Modify this file to customize your launch splash screen -->\n<layer-list xmln"
},
{
"path": "examples/flutter_integration_tests/android/app/src/main/res/drawable-v21/launch_background.xml",
"chars": 438,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Modify this file to customize your launch splash screen -->\n<layer-list xmln"
},
{
"path": "examples/flutter_integration_tests/android/app/src/main/res/values/styles.xml",
"chars": 996,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <!-- Theme applied to the Android Window while the process is sta"
},
{
"path": "examples/flutter_integration_tests/android/app/src/main/res/values-night/styles.xml",
"chars": 995,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <!-- Theme applied to the Android Window while the process is sta"
},
{
"path": "examples/flutter_integration_tests/android/app/src/profile/AndroidManifest.xml",
"chars": 378,
"preview": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <!-- The INTERNET permission is required for d"
},
{
"path": "examples/flutter_integration_tests/android/build.gradle.kts",
"chars": 537,
"preview": "allprojects {\n repositories {\n google()\n mavenCentral()\n }\n}\n\nval newBuildDir: Directory =\n rootP"
},
{
"path": "examples/flutter_integration_tests/android/gradle/wrapper/gradle-wrapper.properties",
"chars": 201,
"preview": "distributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\nzipStoreBase=GRADLE_USER_HOME\nzipStorePath=wrapper/dist"
},
{
"path": "examples/flutter_integration_tests/android/gradle.properties",
"chars": 138,
"preview": "org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError\nandroid"
},
{
"path": "examples/flutter_integration_tests/android/settings.gradle.kts",
"chars": 770,
"preview": "pluginManagement {\n val flutterSdkPath =\n run {\n val properties = java.util.Properties()\n "
},
{
"path": "examples/flutter_integration_tests/integration_test/integration_test.dart",
"chars": 3244,
"preview": "// ignore_for_file: avoid_print\n\nimport 'package:integration_test/integration_test.dart';\nimport 'package:flutter_test/f"
},
{
"path": "examples/flutter_integration_tests/ios/.gitignore",
"chars": 569,
"preview": "**/dgph\n*.mode1v3\n*.mode2v3\n*.moved-aside\n*.pbxuser\n*.perspectivev3\n**/*sync/\n.sconsign.dblite\n.tags*\n**/.vagrant/\n**/De"
},
{
"path": "examples/flutter_integration_tests/ios/Flutter/AppFrameworkInfo.plist",
"chars": 774,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/ios/Flutter/Debug.xcconfig",
"chars": 30,
"preview": "#include \"Generated.xcconfig\"\n"
},
{
"path": "examples/flutter_integration_tests/ios/Flutter/Release.xcconfig",
"chars": 30,
"preview": "#include \"Generated.xcconfig\"\n"
},
{
"path": "examples/flutter_integration_tests/ios/Runner/AppDelegate.swift",
"chars": 391,
"preview": "import Flutter\nimport UIKit\n\n@main\n@objc class AppDelegate: FlutterAppDelegate {\n override func application(\n _ appl"
},
{
"path": "examples/flutter_integration_tests/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json",
"chars": 2519,
"preview": "{\n \"images\" : [\n {\n \"size\" : \"20x20\",\n \"idiom\" : \"iphone\",\n \"filename\" : \"Icon-App-20x20@2x.png\",\n "
},
{
"path": "examples/flutter_integration_tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json",
"chars": 391,
"preview": "{\n \"images\" : [\n {\n \"idiom\" : \"universal\",\n \"filename\" : \"LaunchImage.png\",\n \"scale\" : \"1x\"\n },\n "
},
{
"path": "examples/flutter_integration_tests/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md",
"chars": 336,
"preview": "# Launch Screen Assets\n\nYou can customize the launch screen with your own desired assets by replacing the image files in"
},
{
"path": "examples/flutter_integration_tests/ios/Runner/Base.lproj/LaunchScreen.storyboard",
"chars": 2377,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard"
},
{
"path": "examples/flutter_integration_tests/ios/Runner/Base.lproj/Main.storyboard",
"chars": 1605,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard"
},
{
"path": "examples/flutter_integration_tests/ios/Runner/Info.plist",
"chars": 1677,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/ios/Runner/Runner-Bridging-Header.h",
"chars": 38,
"preview": "#import \"GeneratedPluginRegistrant.h\"\n"
},
{
"path": "examples/flutter_integration_tests/ios/Runner.xcodeproj/project.pbxproj",
"chars": 25248,
"preview": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 54;\n\tobjects = {\n\n/* Begin PBXBuildFile section *"
},
{
"path": "examples/flutter_integration_tests/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
"chars": 135,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n version = \"1.0\">\n <FileRef\n location = \"self:\">\n </FileRef"
},
{
"path": "examples/flutter_integration_tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
"chars": 238,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings",
"chars": 226,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme",
"chars": 4717,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1510\"\n version = \"1.3\">\n <BuildAction\n "
},
{
"path": "examples/flutter_integration_tests/ios/Runner.xcworkspace/contents.xcworkspacedata",
"chars": 152,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n version = \"1.0\">\n <FileRef\n location = \"group:Runner.xcodepr"
},
{
"path": "examples/flutter_integration_tests/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
"chars": 238,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings",
"chars": 226,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/ios/RunnerTests/RunnerTests.swift",
"chars": 285,
"preview": "import Flutter\nimport UIKit\nimport XCTest\n\nclass RunnerTests: XCTestCase {\n\n func testExample() {\n // If you add cod"
},
{
"path": "examples/flutter_integration_tests/lib/main.dart",
"chars": 1075,
"preview": "import 'package:flutter/material.dart';\nimport 'package:sqlite3/sqlite3.dart';\n\nvoid main() {\n runApp(SqliteDiagnostics"
},
{
"path": "examples/flutter_integration_tests/linux/.gitignore",
"chars": 18,
"preview": "flutter/ephemeral\n"
},
{
"path": "examples/flutter_integration_tests/linux/CMakeLists.txt",
"chars": 4789,
"preview": "# Project-level configuration.\ncmake_minimum_required(VERSION 3.13)\nproject(runner LANGUAGES CXX)\n\n# The name of the exe"
},
{
"path": "examples/flutter_integration_tests/linux/flutter/CMakeLists.txt",
"chars": 2815,
"preview": "# This file controls Flutter-level build steps. It should not be edited.\ncmake_minimum_required(VERSION 3.10)\n\nset(EPHEM"
},
{
"path": "examples/flutter_integration_tests/linux/flutter/generated_plugin_registrant.cc",
"chars": 161,
"preview": "//\n// Generated file. Do not edit.\n//\n\n// clang-format off\n\n#include \"generated_plugin_registrant.h\"\n\n\nvoid fl_register"
},
{
"path": "examples/flutter_integration_tests/linux/flutter/generated_plugin_registrant.h",
"chars": 303,
"preview": "//\n// Generated file. Do not edit.\n//\n\n// clang-format off\n\n#ifndef GENERATED_PLUGIN_REGISTRANT_\n#define GENERATED_PLUG"
},
{
"path": "examples/flutter_integration_tests/linux/flutter/generated_plugins.cmake",
"chars": 739,
"preview": "#\n# Generated file, do not edit.\n#\n\nlist(APPEND FLUTTER_PLUGIN_LIST\n)\n\nlist(APPEND FLUTTER_FFI_PLUGIN_LIST\n)\n\nset(PLUGIN"
},
{
"path": "examples/flutter_integration_tests/linux/runner/CMakeLists.txt",
"chars": 974,
"preview": "cmake_minimum_required(VERSION 3.13)\nproject(runner LANGUAGES CXX)\n\n# Define the application target. To change its name,"
},
{
"path": "examples/flutter_integration_tests/linux/runner/main.cc",
"chars": 180,
"preview": "#include \"my_application.h\"\n\nint main(int argc, char** argv) {\n g_autoptr(MyApplication) app = my_application_new();\n "
},
{
"path": "examples/flutter_integration_tests/linux/runner/my_application.cc",
"chars": 5382,
"preview": "#include \"my_application.h\"\n\n#include <flutter_linux/flutter_linux.h>\n#ifdef GDK_WINDOWING_X11\n#include <gdk/gdkx.h>\n#en"
},
{
"path": "examples/flutter_integration_tests/linux/runner/my_application.h",
"chars": 388,
"preview": "#ifndef FLUTTER_MY_APPLICATION_H_\n#define FLUTTER_MY_APPLICATION_H_\n\n#include <gtk/gtk.h>\n\nG_DECLARE_FINAL_TYPE(MyApplic"
},
{
"path": "examples/flutter_integration_tests/macos/.gitignore",
"chars": 89,
"preview": "# Flutter-related\n**/Flutter/ephemeral/\n**/Pods/\n\n# Xcode-related\n**/dgph\n**/xcuserdata/\n"
},
{
"path": "examples/flutter_integration_tests/macos/Flutter/Flutter-Debug.xcconfig",
"chars": 48,
"preview": "#include \"ephemeral/Flutter-Generated.xcconfig\"\n"
},
{
"path": "examples/flutter_integration_tests/macos/Flutter/Flutter-Release.xcconfig",
"chars": 48,
"preview": "#include \"ephemeral/Flutter-Generated.xcconfig\"\n"
},
{
"path": "examples/flutter_integration_tests/macos/Flutter/GeneratedPluginRegistrant.swift",
"chars": 147,
"preview": "//\n// Generated file. Do not edit.\n//\n\nimport FlutterMacOS\nimport Foundation\n\n\nfunc RegisterGeneratedPlugins(registry: "
},
{
"path": "examples/flutter_integration_tests/macos/Runner/AppDelegate.swift",
"chars": 311,
"preview": "import Cocoa\nimport FlutterMacOS\n\n@main\nclass AppDelegate: FlutterAppDelegate {\n override func applicationShouldTermina"
},
{
"path": "examples/flutter_integration_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json",
"chars": 1291,
"preview": "{\n \"images\" : [\n {\n \"size\" : \"16x16\",\n \"idiom\" : \"mac\",\n \"filename\" : \"app_icon_16.png\",\n \"scale"
},
{
"path": "examples/flutter_integration_tests/macos/Runner/Base.lproj/MainMenu.xib",
"chars": 23723,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.Cocoa.XIB\" version=\"3.0\" toolsVersion"
},
{
"path": "examples/flutter_integration_tests/macos/Runner/Configs/AppInfo.xcconfig",
"chars": 634,
"preview": "// Application-level settings for the Runner target.\n//\n// This may be replaced with something auto-generated from metad"
},
{
"path": "examples/flutter_integration_tests/macos/Runner/Configs/Debug.xcconfig",
"chars": 77,
"preview": "#include \"../../Flutter/Flutter-Debug.xcconfig\"\n#include \"Warnings.xcconfig\"\n"
},
{
"path": "examples/flutter_integration_tests/macos/Runner/Configs/Release.xcconfig",
"chars": 79,
"preview": "#include \"../../Flutter/Flutter-Release.xcconfig\"\n#include \"Warnings.xcconfig\"\n"
},
{
"path": "examples/flutter_integration_tests/macos/Runner/Configs/Warnings.xcconfig",
"chars": 580,
"preview": "WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverl"
},
{
"path": "examples/flutter_integration_tests/macos/Runner/DebugProfile.entitlements",
"chars": 348,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/macos/Runner/Info.plist",
"chars": 1060,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/macos/Runner/MainFlutterWindow.swift",
"chars": 388,
"preview": "import Cocoa\nimport FlutterMacOS\n\nclass MainFlutterWindow: NSWindow {\n override func awakeFromNib() {\n let flutterVi"
},
{
"path": "examples/flutter_integration_tests/macos/Runner/Release.entitlements",
"chars": 240,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/macos/Runner.xcodeproj/project.pbxproj",
"chars": 26574,
"preview": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 54;\n\tobjects = {\n\n/* Begin PBXAggregateTarget sec"
},
{
"path": "examples/flutter_integration_tests/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
"chars": 238,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme",
"chars": 3759,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1510\"\n version = \"1.3\">\n <BuildAction\n "
},
{
"path": "examples/flutter_integration_tests/macos/Runner.xcworkspace/contents.xcworkspacedata",
"chars": 152,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n version = \"1.0\">\n <FileRef\n location = \"group:Runner.xcodepr"
},
{
"path": "examples/flutter_integration_tests/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
"chars": 238,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "examples/flutter_integration_tests/macos/RunnerTests/RunnerTests.swift",
"chars": 290,
"preview": "import Cocoa\nimport FlutterMacOS\nimport XCTest\n\nclass RunnerTests: XCTestCase {\n\n func testExample() {\n // If you ad"
},
{
"path": "examples/flutter_integration_tests/pubspec.yaml",
"chars": 354,
"preview": "name: flutter_integration_tests\npublish_to: 'none'\nversion: 1.0.0+1\nresolution: workspace\n\nenvironment:\n sdk: ^3.10.0-0"
},
{
"path": "examples/flutter_integration_tests/windows/.gitignore",
"chars": 291,
"preview": "flutter/ephemeral/\n\n# Visual Studio user-specific files.\n*.suo\n*.user\n*.userosscache\n*.sln.docstates\n\n# Visual Studio bu"
},
{
"path": "examples/flutter_integration_tests/windows/CMakeLists.txt",
"chars": 4186,
"preview": "# Project-level configuration.\ncmake_minimum_required(VERSION 3.14)\nproject(flutter_integration_tests LANGUAGES CXX)\n\n# "
},
{
"path": "examples/flutter_integration_tests/windows/flutter/CMakeLists.txt",
"chars": 3742,
"preview": "# This file controls Flutter-level build steps. It should not be edited.\ncmake_minimum_required(VERSION 3.14)\n\nset(EPHEM"
},
{
"path": "examples/flutter_integration_tests/windows/flutter/generated_plugin_registrant.cc",
"chars": 164,
"preview": "//\n// Generated file. Do not edit.\n//\n\n// clang-format off\n\n#include \"generated_plugin_registrant.h\"\n\n\nvoid RegisterPlu"
},
{
"path": "examples/flutter_integration_tests/windows/flutter/generated_plugin_registrant.h",
"chars": 302,
"preview": "//\n// Generated file. Do not edit.\n//\n\n// clang-format off\n\n#ifndef GENERATED_PLUGIN_REGISTRANT_\n#define GENERATED_PLUG"
},
{
"path": "examples/flutter_integration_tests/windows/flutter/generated_plugins.cmake",
"chars": 743,
"preview": "#\n# Generated file, do not edit.\n#\n\nlist(APPEND FLUTTER_PLUGIN_LIST\n)\n\nlist(APPEND FLUTTER_FFI_PLUGIN_LIST\n)\n\nset(PLUGIN"
},
{
"path": "examples/flutter_integration_tests/windows/runner/CMakeLists.txt",
"chars": 1796,
"preview": "cmake_minimum_required(VERSION 3.14)\nproject(runner LANGUAGES CXX)\n\n# Define the application target. To change its name,"
},
{
"path": "examples/flutter_integration_tests/windows/runner/Runner.rc",
"chars": 3097,
"preview": "// Microsoft Visual C++ generated resource script.\n//\n#pragma code_page(65001)\n#include \"resource.h\"\n\n#define APSTUDIO_R"
},
{
"path": "examples/flutter_integration_tests/windows/runner/flutter_window.cpp",
"chars": 2122,
"preview": "#include \"flutter_window.h\"\n\n#include <optional>\n\n#include \"flutter/generated_plugin_registrant.h\"\n\nFlutterWindow::Flutt"
},
{
"path": "examples/flutter_integration_tests/windows/runner/flutter_window.h",
"chars": 928,
"preview": "#ifndef RUNNER_FLUTTER_WINDOW_H_\n#define RUNNER_FLUTTER_WINDOW_H_\n\n#include <flutter/dart_project.h>\n#include <flutter/f"
},
{
"path": "examples/flutter_integration_tests/windows/runner/main.cpp",
"chars": 1278,
"preview": "#include <flutter/dart_project.h>\n#include <flutter/flutter_view_controller.h>\n#include <windows.h>\n\n#include \"flutter_w"
},
{
"path": "examples/flutter_integration_tests/windows/runner/resource.h",
"chars": 432,
"preview": "//{{NO_DEPENDENCIES}}\n// Microsoft Visual C++ generated include file.\n// Used by Runner.rc\n//\n#define IDI_APP_ICON "
},
{
"path": "examples/flutter_integration_tests/windows/runner/runner.exe.manifest",
"chars": 602,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\" manifestVersi"
},
{
"path": "examples/flutter_integration_tests/windows/runner/utils.cpp",
"chars": 1797,
"preview": "#include \"utils.h\"\n\n#include <flutter_windows.h>\n#include <io.h>\n#include <stdio.h>\n#include <windows.h>\n\n#include <iost"
},
{
"path": "examples/flutter_integration_tests/windows/runner/utils.h",
"chars": 672,
"preview": "#ifndef RUNNER_UTILS_H_\n#define RUNNER_UTILS_H_\n\n#include <string>\n#include <vector>\n\n// Creates a console for the proce"
},
{
"path": "examples/flutter_integration_tests/windows/runner/win32_window.cpp",
"chars": 8534,
"preview": "#include \"win32_window.h\"\n\n#include <dwmapi.h>\n#include <flutter_windows.h>\n\n#include \"resource.h\"\n\nnamespace {\n\n/// Win"
},
{
"path": "examples/flutter_integration_tests/windows/runner/win32_window.h",
"chars": 3522,
"preview": "#ifndef RUNNER_WIN32_WINDOW_H_\n#define RUNNER_WIN32_WINDOW_H_\n\n#include <windows.h>\n\n#include <functional>\n#include <mem"
},
{
"path": "examples/multiplatform/analysis_options.yaml",
"chars": 92,
"preview": "# https://dart.dev/guides/language/analysis-options\ninclude: package:lints/recommended.yaml\n"
},
{
"path": "examples/multiplatform/db/db.dart",
"chars": 475,
"preview": "import 'package:sqlite3/common.dart' show CommonDatabase;\nimport 'sqlite3/sqlite3.dart' show openSqliteDb;\n\nlate CommonD"
},
{
"path": "examples/multiplatform/db/sqlite3/native.dart",
"chars": 443,
"preview": "import 'package:path/path.dart' as path;\nimport 'package:path_provider/path_provider.dart'\n show getApplicationDocume"
},
{
"path": "examples/multiplatform/db/sqlite3/sqlite3.dart",
"chars": 125,
"preview": "export 'unsupported.dart'\n if (dart.library.js) 'web.dart'\n if (dart.library.ffi) 'native.dart'\n show openSqlit"
},
{
"path": "examples/multiplatform/db/sqlite3/unsupported.dart",
"chars": 177,
"preview": "import 'package:sqlite3/common.dart' show CommonDatabase;\n\nFuture<CommonDatabase> openSqliteDb() async {\n throw Unsuppo"
},
{
"path": "examples/multiplatform/db/sqlite3/web.dart",
"chars": 609,
"preview": "import 'package:sqlite3/common.dart' show CommonDatabase;\nimport 'package:sqlite3/wasm.dart' show IndexedDbFileSystem, W"
},
{
"path": "examples/multiplatform/main.dart",
"chars": 156,
"preview": "import 'db/db.dart' show openDb;\n\nFuture<void> main() async {\n // WidgetsFlutterBinding.ensureInitialized();\n await op"
},
{
"path": "examples/multiplatform/pubspec.yaml",
"chars": 308,
"preview": "name: sqlite3_multiplatform_example\ndescription: Uses common interface to `sqlite3` on web and native platforms.\nversion"
},
{
"path": "examples/pubspec.yaml",
"chars": 264,
"preview": "name: pkg_sqlite3_examples_workspace\npublish_to: none\n\nenvironment:\n sdk: ^3.10.0-0\n\nworkspace:\n - flutter_integration"
},
{
"path": "legacy/sqlcipher_flutter_libs/CHANGELOG.md",
"chars": 2080,
"preview": "## 0.7.0+eol\n\n- Deprecate this package. Starting from versions 3.x of the `sqlite3` package, `sqlcipher_flutter_libs` is"
},
{
"path": "legacy/sqlcipher_flutter_libs/LICENSE",
"chars": 12929,
"preview": "sqlcipher_flutter_libs\n\nMIT License\n\nCopyright (c) 2020 Simon Binder\n\nPermission is hereby granted, free of charge, to a"
},
{
"path": "legacy/sqlcipher_flutter_libs/README.md",
"chars": 608,
"preview": "# sqlcipher_flutter_libs\n\n> [!CAUTION]\n> This package relates to version 2.x of `package:sqlite3`, and is obsolete after"
},
{
"path": "legacy/sqlcipher_flutter_libs/lib/sqlcipher_flutter_libs.dart",
"chars": 638,
"preview": "/// This package does not do anything.\n///\n/// This package used to provide SQLCipher libraries for use with version 2.x"
},
{
"path": "legacy/sqlcipher_flutter_libs/pubspec.yaml",
"chars": 345,
"preview": "name: sqlcipher_flutter_libs\ndescription: \"Not used anymore, update to version 3.x of package:sqlite3 instead\"\nversion: "
},
{
"path": "legacy/sqlite3_flutter_libs/CHANGELOG.md",
"chars": 3839,
"preview": "## 0.6.0+eol\n\n- Deprecate this package. Starting from versions 3.x of the `sqlite3` package, `sqlite3_flutter_libs` is n"
},
{
"path": "legacy/sqlite3_flutter_libs/LICENSE",
"chars": 1068,
"preview": "MIT License\n\nCopyright (c) 2020 Simon Binder\n\nPermission is hereby granted, free of charge, to any person obtaining a co"
},
{
"path": "legacy/sqlite3_flutter_libs/README.md",
"chars": 606,
"preview": "# sqlite3_flutter_libs\n\n> [!CAUTION]\n> This package relates to version 2.x of `package:sqlite3`, and is obsolete after u"
},
{
"path": "legacy/sqlite3_flutter_libs/lib/sqlite3_flutter_libs.dart",
"chars": 633,
"preview": "/// This package does not do anything.\n///\n/// This package used to provide SQLite libraries for use with version 2.x of"
},
{
"path": "legacy/sqlite3_flutter_libs/pubspec.yaml",
"chars": 341,
"preview": "name: sqlite3_flutter_libs\ndescription: \"Not used anymore, update to version 3.x of package:sqlite3 instead\"\nversion: 0."
},
{
"path": "native_tests/all_native_tests.dart",
"chars": 1229,
"preview": "import 'package:test/test.dart';\n\nimport '../sqlite3/test/ffi/common_database_test.dart' as common_database_test;\nimport"
},
{
"path": "native_tests/analysis_options.yaml",
"chars": 113,
"preview": "include: package:lints/recommended.yaml\n\nanalyzer:\n language:\n strict-casts: true\n strict-raw-types: true\n"
},
{
"path": "native_tests/ignorelist.txt",
"chars": 16,
"preview": "src:*/sqlite3.c\n"
},
{
"path": "native_tests/pubspec.yaml",
"chars": 335,
"preview": "name: native_tests\ndescription: Helper package to test other packages in this workspace in aot builds.\npublish_to: none\n"
},
{
"path": "native_tests/run.dart",
"chars": 3464,
"preview": "import 'dart:io';\n\nimport 'package:args/args.dart';\nimport 'package:path/path.dart' as p;\n\n/// Runs `all_native_tests.da"
},
{
"path": "pubspec.yaml",
"chars": 374,
"preview": "name: _\npublish_to: none\n\nenvironment:\n sdk: ^3.6.0\n\ndependencies:\n path: ^1.9.1\n crypto: ^3.0.6\n collection: ^1.19."
},
{
"path": "sqlite3/CHANGELOG.md",
"chars": 14790,
"preview": "## 3.3.2 (unreleased)\n\n- Support `native_toolchain_c` versions `0.18.x`.\n\n## 3.3.1\n\n- Avoid memory leaks when `tempDirec"
},
{
"path": "sqlite3/LICENSE",
"chars": 1068,
"preview": "MIT License\n\nCopyright (c) 2020 Simon Binder\n\nPermission is hereby granted, free of charge, to any person obtaining a co"
},
{
"path": "sqlite3/README.md",
"chars": 6159,
"preview": "# sqlite3\n\nProvides Dart bindings to [SQLite](https://www.sqlite.org/index.html) via `dart:ffi`.\n\n## Using this library\n"
},
{
"path": "sqlite3/analysis_options.yaml",
"chars": 113,
"preview": "include: package:lints/recommended.yaml\n\nanalyzer:\n language:\n strict-casts: true\n strict-raw-types: true\n"
},
{
"path": "sqlite3/assets/sqlite3.h",
"chars": 13044,
"preview": "// This file defines the definitions for which we generate FFI bindings on\n// native platforms. To re-generate bindings,"
},
{
"path": "sqlite3/assets/sqlite3_dart_wasm.h",
"chars": 1689,
"preview": "#include \"sqlite3.h\"\n\n// Additional bindings we need for WASM interop.\n// These are implemented in sqlite3_wasm_build, t"
},
{
"path": "sqlite3/build.yaml",
"chars": 1466,
"preview": "targets:\n # This setup exists so that the main entrypoint (web/main.dart) gets compiled\n # with dartdevc for debug bui"
},
{
"path": "sqlite3/dart_test.yaml",
"chars": 902,
"preview": "tags:\n ffi:\n test_on: dart-vm\n wasm:\n test_on: browser\n ci_only:\n skip: \"This test requires special setup an"
},
{
"path": "sqlite3/dartdoc_options.yaml",
"chars": 334,
"preview": "dartdoc:\n categories:\n \"common\":\n markdown: doc/common.md\n displayName: Cross-platform definitions\n \"na"
},
{
"path": "sqlite3/doc/common.md",
"chars": 1671,
"preview": "Definitions and common interfaces that are implemented by both the native\nand the web-specific bindings to SQLite.\n\nRest"
},
{
"path": "sqlite3/doc/hook.md",
"chars": 5413,
"preview": "Most operating systems make copies of SQLite as a native library available to applications.\nHowever, these libraries are"
},
{
"path": "sqlite3/doc/native.md",
"chars": 84,
"preview": "Libraries related to accessing SQLite functions via `dart:ffi` on native platforms.\n"
},
{
"path": "sqlite3/doc/releasing.md",
"chars": 590,
"preview": "## Releasing `package:sqlite3`.\n\nBecause each release contains native SQLite binaries whose hashes are referenced in Dar"
},
{
"path": "sqlite3/doc/wasm.md",
"chars": 85,
"preview": "APIs for using SQLite in web contexts, accessing SQLite through a WebAssembly module."
},
{
"path": "sqlite3/example/custom_extension/README.md",
"chars": 1032,
"preview": "This shows how a custom SQLite extension can be linked with native assets.\n\nThe extension (https://github.com/asg017/sql"
},
{
"path": "sqlite3/example/custom_extension/example/main.dart",
"chars": 835,
"preview": "import 'package:custom_extension/sqlite_vec.dart';\nimport 'package:sqlite3/sqlite3.dart';\n\nvoid main() {\n sqlite3.loadS"
},
{
"path": "sqlite3/example/custom_extension/hook/build.dart",
"chars": 2084,
"preview": "import 'dart:io';\n\nimport 'package:code_assets/code_assets.dart';\nimport 'package:hooks/hooks.dart';\nimport 'package:htt"
},
{
"path": "sqlite3/example/custom_extension/lib/sqlite_vec.dart",
"chars": 605,
"preview": "// ignore_for_file: non_constant_identifier_names\n\nimport 'dart:ffi';\n\nimport 'package:sqlite3/sqlite3.dart';\n\n@Native<I"
},
{
"path": "sqlite3/example/custom_extension/pubspec.yaml",
"chars": 229,
"preview": "name: custom_extension\npublish_to: none\nresolution: workspace\n\nenvironment:\n sdk: '>=3.7.0 <4.0.0'\n\ndependencies:\n sql"
},
{
"path": "sqlite3/example/custom_extension/test/extension_test.dart",
"chars": 409,
"preview": "import 'package:custom_extension/sqlite_vec.dart';\nimport 'package:sqlite3/sqlite3.dart';\nimport 'package:test/test.dart"
},
{
"path": "sqlite3/example/custom_wasm_build/.cargo/config.toml",
"chars": 48,
"preview": "[build]\nrustflags = [\"-C\", \"linker-plugin-lto\"]\n"
},
{
"path": "sqlite3/example/custom_wasm_build/.gitignore",
"chars": 19,
"preview": "target/\nCargo.lock\n"
},
{
"path": "sqlite3/example/custom_wasm_build/Cargo.toml",
"chars": 219,
"preview": "[package]\nname = \"custom_wasm_build\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n[lib]\ncrate-type = [\"staticlib\"]\n\n[dependencies"
},
{
"path": "sqlite3/example/custom_wasm_build/README.md",
"chars": 2713,
"preview": "## custom wasm modules\n\nThis example demonstrates how to build a custom `sqlite3.wasm` module than can be\nused with `pac"
},
{
"path": "sqlite3/example/custom_wasm_build/build.rs",
"chars": 2244,
"preview": "use std::{env, path::PathBuf};\n\nuse cmake::Config;\n\nfn main() {\n let sysroot =\n env::var(\"WASI_SYSROOT\").unwra"
},
{
"path": "sqlite3/example/custom_wasm_build/link.dart",
"chars": 937,
"preview": "import 'dart:io';\n\nvoid main(List<String> args) {\n if (args.length != 1) {\n print(\"Usage: dart link.dart target/wasm"
},
{
"path": "sqlite3/example/custom_wasm_build/src/lib.rs",
"chars": 605,
"preview": "use std::ffi::c_int;\n\n#[no_mangle]\npub extern \"C\" fn sqlite3_os_init() -> c_int {\n // This would be a good place to s"
},
{
"path": "sqlite3/example/jsonb.dart",
"chars": 484,
"preview": "import 'package:sqlite3/sqlite3.dart';\n\nvoid main() {\n final database = sqlite3.openInMemory()\n ..execute('CREATE TA"
},
{
"path": "sqlite3/example/main.dart",
"chars": 1576,
"preview": "import 'dart:io';\n\nimport 'package:sqlite3/sqlite3.dart';\n\nvoid main() {\n print('Using sqlite3 ${sqlite3.version}');\n\n "
},
{
"path": "sqlite3/example/web/README.md",
"chars": 932,
"preview": "## sqlite3 web example\n\nThis folder contains a very simple example demonstrating how to load a sqlite3 database in the\nw"
},
{
"path": "sqlite3/example/web/index.html",
"chars": 1379,
"preview": "<!DOCTYPE html>\n\n<html>\n<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n "
},
{
"path": "sqlite3/example/web/main.dart",
"chars": 1943,
"preview": "import 'dart:js_interop';\n\nimport 'package:web/web.dart';\n\nimport 'package:sqlite3/wasm.dart';\n\nFuture<void> main() asyn"
},
{
"path": "sqlite3/example/web/worker.dart",
"chars": 1686,
"preview": "import 'dart:js_interop';\n\nimport 'package:sqlite3/wasm.dart';\nimport 'package:web/web.dart' as web;\n\n@JS()\nexternal boo"
},
{
"path": "sqlite3/hook/build.dart",
"chars": 3743,
"preview": "import 'dart:io';\n\nimport 'package:code_assets/code_assets.dart';\nimport 'package:hooks/hooks.dart';\nimport 'package:nat"
},
{
"path": "sqlite3/lib/common.dart",
"chars": 674,
"preview": "/// Exports common interfaces that are implemented by both the `dart:ffi` and\n/// the `dart:js` WASM version of this lib"
},
{
"path": "sqlite3/lib/sqlite3.dart",
"chars": 247,
"preview": "/// Dart bindings to `sqlite3`.\n///\n/// {@category native}\n/// {@category hook}\nlibrary;\n\n// Hide common base classes th"
},
{
"path": "sqlite3/lib/src/constants.dart",
"chars": 33387,
"preview": "// ignore_for_file: constant_identifier_names\n\n/// Common result codes, https://www.sqlite.org/rescode.html\n/// Result C"
},
{
"path": "sqlite3/lib/src/database.dart",
"chars": 16138,
"preview": "import 'functions.dart';\nimport 'result_set.dart';\nimport 'statement.dart';\nimport 'constants.dart';\n\n/// An opened sqli"
},
{
"path": "sqlite3/lib/src/exception.dart",
"chars": 2705,
"preview": "import 'dart:typed_data';\n\n/// Thrown by sqlite methods.\n///\n/// This is the only exception thrown by `package:sqlite3`."
},
{
"path": "sqlite3/lib/src/ffi/api.dart",
"chars": 8564,
"preview": "import 'dart:ffi';\n\nimport '../database.dart';\nimport '../sqlite3.dart';\nimport '../statement.dart';\nimport 'libsqlite3."
},
{
"path": "sqlite3/lib/src/ffi/bindings.dart",
"chars": 42422,
"preview": "// ignore_for_file: non_constant_identifier_names\n\nimport 'dart:collection';\nimport 'dart:convert';\nimport 'dart:ffi';\ni"
},
{
"path": "sqlite3/lib/src/ffi/implementation.dart",
"chars": 8147,
"preview": "import 'dart:ffi';\n\nimport 'package:meta/meta.dart';\n\nimport '../constants.dart';\nimport '../exception.dart';\nimport '.."
},
{
"path": "sqlite3/lib/src/ffi/libsqlite3.g.dart",
"chars": 52050,
"preview": "// ignore_for_file: type=lint\n// AUTO GENERATED FILE, DO NOT EDIT.\n//\n// Generated by `package:ffigen`.\n// ignore_for_fi"
},
{
"path": "sqlite3/lib/src/ffi/memory.dart",
"chars": 2239,
"preview": "import 'dart:convert';\nimport 'dart:ffi';\nimport 'dart:typed_data';\n\nimport 'package:ffi/ffi.dart' as ffi;\n\nimport 'libs"
},
{
"path": "sqlite3/lib/src/functions.dart",
"chars": 6535,
"preview": "/// @docImport 'dart:typed_data';\nlibrary;\n\nimport 'package:meta/meta.dart';\n\n/// A filter function without any argument"
},
{
"path": "sqlite3/lib/src/hook/asset_hashes.dart",
"chars": 4009,
"preview": "// This file contains hashes of SQLite binaries downloaded by the default hook.\n// For tests, it is replaced with actual"
},
{
"path": "sqlite3/lib/src/hook/assets.dart",
"chars": 5283,
"preview": "import 'package:code_assets/code_assets.dart';\n\nimport 'asset_hashes.dart';\n\nenum LibraryType {\n /// SQLite build, with"
},
{
"path": "sqlite3/lib/src/hook/description.dart",
"chars": 13842,
"preview": "import 'dart:convert';\nimport 'dart:io';\nimport 'dart:typed_data';\n\nimport 'package:code_assets/code_assets.dart';\nimpor"
},
{
"path": "sqlite3/lib/src/hook/used_symbols.dart",
"chars": 2584,
"preview": "// Generated by tool/generate_bindings.dart\n// Used to generate a linker script hiding functions we don't need.\n\n// dart"
},
{
"path": "sqlite3/lib/src/hook/utils.dart",
"chars": 444,
"preview": "/// A sink that allows [add] being called exactly once, and then reports the\n/// value of the added event.\nfinal class O"
},
{
"path": "sqlite3/lib/src/implementation/bindings.dart",
"chars": 11337,
"preview": "@internal\nlibrary;\n\n// ignore_for_file: non_constant_identifier_names\n\nimport 'dart:typed_data';\n\nimport 'package:meta/m"
},
{
"path": "sqlite3/lib/src/implementation/database.dart",
"chars": 19580,
"preview": "import 'dart:async';\nimport 'dart:collection';\nimport 'dart:convert';\nimport 'dart:typed_data';\n\nimport 'package:meta/me"
},
{
"path": "sqlite3/lib/src/implementation/exception.dart",
"chars": 2695,
"preview": "import '../exception.dart';\nimport 'bindings.dart';\nimport 'database.dart';\n\nSqliteException createExceptionOutsideOfDat"
},
{
"path": "sqlite3/lib/src/implementation/session.dart",
"chars": 5955,
"preview": "import 'dart:typed_data';\n\nimport '../constants.dart';\nimport '../database.dart';\nimport '../session.dart';\nimport 'bind"
},
{
"path": "sqlite3/lib/src/implementation/sqlite3.dart",
"chars": 3223,
"preview": "import 'package:meta/meta.dart';\n\nimport '../constants.dart';\nimport '../database.dart';\nimport '../exception.dart';\nimp"
},
{
"path": "sqlite3/lib/src/implementation/statement.dart",
"chars": 10243,
"preview": "import '../constants.dart';\nimport '../result_set.dart';\nimport '../statement.dart';\nimport 'bindings.dart';\nimport 'dat"
},
{
"path": "sqlite3/lib/src/implementation/utils.dart",
"chars": 1041,
"preview": "import '../constants.dart';\nimport 'bindings.dart';\n\nextension BigIntRangeCheck on BigInt {\n BigInt get checkRange {\n "
},
{
"path": "sqlite3/lib/src/in_memory_vfs.dart",
"chars": 3243,
"preview": "import 'dart:math';\nimport 'dart:typed_data';\n\nimport 'package:path/path.dart' as p;\nimport 'package:typed_data/typed_bu"
},
{
"path": "sqlite3/lib/src/jsonb.dart",
"chars": 11300,
"preview": "import 'dart:convert';\nimport 'dart:typed_data';\n\nimport 'package:typed_data/typed_buffers.dart';\n\n/// A [Codec] capable"
},
{
"path": "sqlite3/lib/src/result_set.dart",
"chars": 5175,
"preview": "import 'dart:collection';\n\nimport 'package:collection/collection.dart';\nimport 'package:meta/meta.dart';\n\n/// Base class"
},
{
"path": "sqlite3/lib/src/session.dart",
"chars": 6072,
"preview": "import 'dart:typed_data';\n\nimport 'database.dart';\nimport 'implementation/database.dart';\nimport 'implementation/session"
},
{
"path": "sqlite3/lib/src/sqlite3.dart",
"chars": 3713,
"preview": "import 'database.dart';\nimport 'vfs.dart';\n\n/// Provides access to `sqlite3` functions, such as opening new databases.\n/"
},
{
"path": "sqlite3/lib/src/statement.dart",
"chars": 8852,
"preview": "import 'package:meta/meta.dart';\n\nimport 'exception.dart';\nimport 'result_set.dart';\n\n/// A prepared statement.\n///\n/// "
},
{
"path": "sqlite3/lib/src/utils.dart",
"chars": 413,
"preview": "import 'dart:math';\n\nextension GenerateFilename on Random {\n String randomFileName({required String prefix, int length "
},
{
"path": "sqlite3/lib/src/vfs.dart",
"chars": 5976,
"preview": "import 'dart:math';\nimport 'dart:typed_data';\n\nimport 'constants.dart';\n\n/// An exception thrown by [VirtualFileSystem] "
},
{
"path": "sqlite3/lib/src/wasm/bindings.dart",
"chars": 24270,
"preview": "import 'dart:collection';\nimport 'dart:convert';\nimport 'dart:js_interop';\nimport 'dart:typed_data';\n\nimport 'package:sq"
},
{
"path": "sqlite3/lib/src/wasm/injected_values.dart",
"chars": 10663,
"preview": "// Dart functions that are injected into the SQLite WebAssembly module. For\n// details, see sqlite3_wasm_build/bridge.h\n"
},
{
"path": "sqlite3/lib/src/wasm/js_interop/atomics.dart",
"chars": 2484,
"preview": "import 'dart:typed_data';\nimport 'dart:js_interop';\nimport 'dart:js_interop_unsafe';\n\n@JS('Int32Array')\nexternal JSFunct"
},
{
"path": "sqlite3/lib/src/wasm/js_interop/core.dart",
"chars": 3526,
"preview": "import 'dart:async';\nimport 'dart:js_interop';\nimport 'dart:js_interop_unsafe';\n\n@JS('BigInt')\nexternal JSBigInt _bigInt"
},
{
"path": "sqlite3/lib/src/wasm/js_interop/fetch.dart",
"chars": 187,
"preview": "@JS()\nlibrary;\n\nimport 'dart:js_interop';\n\nimport 'package:web/web.dart' show URL, Response, RequestInit;\n\n@JS()\nexterna"
},
{
"path": "sqlite3/lib/src/wasm/js_interop/file_system_access.dart",
"chars": 2275,
"preview": "/// Very regrettably, `package:drift` imports this exact file and because it\n/// used to define FileSystem Access API bi"
},
{
"path": "sqlite3/lib/src/wasm/js_interop/indexed_db.dart",
"chars": 3230,
"preview": "import 'dart:async';\nimport 'dart:js_interop';\nimport 'dart:js_interop_unsafe';\n\nimport 'package:web/web.dart'\n show\n"
},
{
"path": "sqlite3/lib/src/wasm/js_interop/new_file_system_access.dart",
"chars": 2900,
"preview": "import 'dart:js_interop';\nimport 'dart:js_interop_unsafe';\nimport 'dart:typed_data';\n\nimport 'package:web/web.dart';\n\nim"
},
{
"path": "sqlite3/lib/src/wasm/js_interop/typed_data.dart",
"chars": 652,
"preview": "import 'dart:js_interop';\nimport 'dart:js_interop_unsafe';\nimport 'dart:typed_data';\n\nimport 'core.dart';\n\nextension Nat"
}
]
// ... and 159 more files (download for full content)
About this extraction
This page contains the full source code of the simolus3/sqlite3.dart GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 359 files (9.0 MB), approximately 2.4M tokens, and a symbol index with 2050 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.