diff --git a/.gemini/settings.json b/.gemini/settings.json new file mode 100644 index 00000000000..715d896d95a --- /dev/null +++ b/.gemini/settings.json @@ -0,0 +1,11 @@ +{ + "mcpServers": { + "dart": { + "command": "dart", + "args": [ + "mcp-server" + ] + } + }, + "contextFileName": "/.prompts/llm.md" +} diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 24dada51e37..7d0d764594a 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -5,13 +5,9 @@ updates: directory: "/" schedule: interval: "daily" - labels: - - "autosubmit" - # Updating patch versions for "github-actions" is too chatty. - # See https://github.com/flutter/flutter/issues/158350. - ignore: - - dependency-name: "*" - update-types: ["version-update:semver-patch"] + # Don't auto-submit github actions updates + # labels: + # - "autosubmit" - package-ecosystem: "npm" directory: "web_embedding/ng-flutter" schedule: diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 9f74ca87b91..bb03070fbd4 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -15,10 +15,10 @@ defaults: shell: bash jobs: - # Run the stable test script on the beta channel. Since this branch will soon - # be merged into main as our stable-targeting code, this is the key thing we - # need to test. - stable-tests-on-beta: + # Test all samples on the beta channel. Since the beta channel will soon be + # promoted to stable, this branch is only concerned with the beta. + Beta-CI: + name: Test flutter beta channel runs-on: ${{ matrix.os }} if: github.repository == 'flutter/samples' strategy: @@ -26,44 +26,44 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 + - uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e with: distribution: 'zulu' java-version: '17' - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 with: channel: beta - - run: ./tool/flutter_ci_script_stable.sh + - run: flutter pub get && dart tool/ci_script.dart # Verify the Android add-to-app samples build and pass tests with the beta # channel. - # android-build: - # runs-on: ubuntu-latest - # if: github.repository == 'flutter/samples' - # steps: - # - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - # - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 - # with: - # distribution: 'zulu' - # java-version: '17' - # - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 - # with: - # channel: beta - # - run: ./tool/android_ci_script.sh - - # Verify the iOS add-to-app samples build and pass tests with the beta - # channel. - ios-build: - runs-on: macos-latest + android-build: + runs-on: ubuntu-latest if: github.repository == 'flutter/samples' steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 + - uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e with: distribution: 'zulu' java-version: '17' - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 with: channel: beta - - run: ./tool/ios_ci_script.sh + - run: ./tool/android_ci_script.sh + + # Verify the iOS add-to-app samples build and pass tests with the beta + # channel. + # ios-build: + # runs-on: macos-latest + # if: github.repository == 'flutter/samples' + # steps: + # - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 + # - uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e + # with: + # distribution: 'zulu' + # java-version: '17' + # - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 + # with: + # channel: beta + # - run: ./tool/ios_ci_script.sh diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml new file mode 100644 index 00000000000..a9018d7e9a6 --- /dev/null +++ b/.github/workflows/build-android.yml @@ -0,0 +1,30 @@ +name: Test Android Build + +# Declare default permissions as read only. +permissions: read-all + +on: + push: + branches: [beta] + pull_request: + branches: [beta] + workflow_dispatch: + +defaults: + run: + shell: bash + +jobs: + android-build: + runs-on: ubuntu-latest + if: github.repository == 'flutter/samples' + steps: + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 + - uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e + with: + distribution: 'zulu' + java-version: '17' + - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 + with: + channel: stable + - run: ./tool/android_ci_script.sh \ No newline at end of file diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml new file mode 100644 index 00000000000..c34b9eda9ce --- /dev/null +++ b/.github/workflows/build-ios.yml @@ -0,0 +1,33 @@ +name: Test iOS Build + +# Declare default permissions as read only. +permissions: read-all + +on: + push: + branches: [beta] + pull_request: + branches: [beta] + workflow_dispatch: + +defaults: + run: + shell: bash + +jobs: + ios-build: + name: Test flutter beta channel + runs-on: macos-latest + if: github.repository == 'flutter/samples' + strategy: + fail-fast: false + steps: + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 + - uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e + with: + distribution: 'zulu' + java-version: '17' + - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 + with: + channel: beta + - run: ./tool/ios_ci_script.sh diff --git a/.github/workflows/gemini-cli.yml b/.github/workflows/gemini-cli.yml new file mode 100644 index 00000000000..b1d7adfdac3 --- /dev/null +++ b/.github/workflows/gemini-cli.yml @@ -0,0 +1,331 @@ +name: 'πŸ’¬ Gemini CLI' + +on: + pull_request_review_comment: + types: + - 'created' + pull_request_review: + types: + - 'submitted' + issue_comment: + types: + - 'created' + +concurrency: + group: '${{ github.workflow }}-${{ github.event.issue.number }}' + cancel-in-progress: |- + ${{ github.event.sender.type == 'User' && ( github.event.issue.author_association == 'OWNER' || github.event.issue.author_association == 'MEMBER' || github.event.issue.author_association == 'COLLABORATOR') }} + +defaults: + run: + shell: 'bash' + +permissions: + contents: 'write' + id-token: 'write' + pull-requests: 'write' + issues: 'write' + +jobs: + gemini-cli: + # This condition is complex to ensure we only run when explicitly invoked. + if: |- + github.event_name == 'workflow_dispatch' || + ( + github.event_name == 'issues' && github.event.action == 'opened' && + contains(github.event.issue.body, '@gemini-cli') && + !contains(github.event.issue.body, '/review') && + !contains(github.event.issue.body, '/triage') && + ( + github.event.sender.type == 'User' && ( + github.event.issue.author_association == 'OWNER' || + github.event.issue.author_association == 'MEMBER' || + github.event.issue.author_association == 'COLLABORATOR' + ) + ) + ) || + ( + github.event_name == 'issue_comment' && + contains(github.event.comment.body, '@gemini-cli') && + !contains(github.event.comment.body, '/review') && + !contains(github.event.comment.body, '/triage') && + ( + github.event.sender.type == 'User' && ( + github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'MEMBER' || + github.event.comment.author_association == 'COLLABORATOR' + ) + ) + ) || + ( + github.event_name == 'pull_request_review' && + contains(github.event.review.body, '@gemini-cli') && + !contains(github.event.review.body, '/review') && + !contains(github.event.review.body, '/triage') && + ( + github.event.sender.type == 'User' && ( + github.event.review.author_association == 'OWNER' || + github.event.review.author_association == 'MEMBER' || + github.event.review.author_association == 'COLLABORATOR' + ) + ) + ) || + ( + github.event_name == 'pull_request_review_comment' && + contains(github.event.comment.body, '@gemini-cli') && + !contains(github.event.comment.body, '/review') && + !contains(github.event.comment.body, '/triage') && + ( + github.event.sender.type == 'User' && ( + github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'MEMBER' || + github.event.comment.author_association == 'COLLABORATOR' + ) + ) + ) + timeout-minutes: 10 + runs-on: 'ubuntu-latest' + + steps: + - name: 'Generate GitHub App Token' + id: 'generate_token' + if: |- + ${{ vars.APP_ID }} + uses: 'actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42' # ratchet:actions/create-github-app-token@v2 + with: + app-id: '${{ vars.APP_ID }}' + private-key: '${{ secrets.APP_PRIVATE_KEY }}' + + - name: 'Get context from event' + id: 'get_context' + env: + EVENT_NAME: '${{ github.event_name }}' + EVENT_PAYLOAD: '${{ toJSON(github.event) }}' + run: |- + set -euo pipefail + + USER_REQUEST="" + ISSUE_NUMBER="" + IS_PR="false" + + if [[ "${EVENT_NAME}" == "issues" ]]; then + USER_REQUEST=$(echo "${EVENT_PAYLOAD}" | jq -r .issue.body) + ISSUE_NUMBER=$(echo "${EVENT_PAYLOAD}" | jq -r .issue.number) + elif [[ "${EVENT_NAME}" == "issue_comment" ]]; then + USER_REQUEST=$(echo "${EVENT_PAYLOAD}" | jq -r .comment.body) + ISSUE_NUMBER=$(echo "${EVENT_PAYLOAD}" | jq -r .issue.number) + if [[ $(echo "${EVENT_PAYLOAD}" | jq -r .issue.pull_request) != "null" ]]; then + IS_PR="true" + fi + elif [[ "${EVENT_NAME}" == "pull_request_review" ]]; then + USER_REQUEST=$(echo "${EVENT_PAYLOAD}" | jq -r .review.body) + ISSUE_NUMBER=$(echo "${EVENT_PAYLOAD}" | jq -r .pull_request.number) + IS_PR="true" + elif [[ "${EVENT_NAME}" == "pull_request_review_comment" ]]; then + USER_REQUEST=$(echo "${EVENT_PAYLOAD}" | jq -r .comment.body) + ISSUE_NUMBER=$(echo "${EVENT_PAYLOAD}" | jq -r .pull_request.number) + IS_PR="true" + fi + + # Clean up user request + USER_REQUEST=$(echo "${USER_REQUEST}" | sed 's/.*@gemini-cli//' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//') + + { + echo "user_request=${USER_REQUEST}" + echo "issue_number=${ISSUE_NUMBER}" + echo "is_pr=${IS_PR}" + } >> "${GITHUB_OUTPUT}" + + - name: 'Set up git user for commits' + run: |- + git config --global user.name 'gemini-cli[bot]' + git config --global user.email 'gemini-cli[bot]@users.noreply.github.com' + + - name: 'Checkout PR branch' + if: |- + ${{ steps.get_context.outputs.is_pr == 'true' }} + uses: 'actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8' # ratchet:actions/checkout@v4 + with: + token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + repository: '${{ github.repository }}' + ref: 'refs/pull/${{ steps.get_context.outputs.issue_number }}/head' + fetch-depth: 0 + + - name: 'Checkout main branch' + if: |- + ${{ steps.get_context.outputs.is_pr == 'false' }} + uses: 'actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8' # ratchet:actions/checkout@v4 + with: + token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + repository: '${{ github.repository }}' + fetch-depth: 0 + + - name: 'Acknowledge request' + env: + GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + ISSUE_NUMBER: '${{ steps.get_context.outputs.issue_number }}' + REPOSITORY: '${{ github.repository }}' + REQUEST_TYPE: '${{ steps.get_context.outputs.request_type }}' + run: |- + set -euo pipefail + MESSAGE="I've received your request and I'm working on it now! πŸ€–" + if [[ -n "${MESSAGE}" ]]; then + gh issue comment "${ISSUE_NUMBER}" \ + --body "${MESSAGE}" \ + --repo "${REPOSITORY}" + fi + + - name: 'Get description' + id: 'get_description' + env: + GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + IS_PR: '${{ steps.get_context.outputs.is_pr }}' + ISSUE_NUMBER: '${{ steps.get_context.outputs.issue_number }}' + run: |- + set -euo pipefail + if [[ "${IS_PR}" == "true" ]]; then + DESCRIPTION=$(gh pr view "${ISSUE_NUMBER}" --json body --template '{{.body}}') + else + DESCRIPTION=$(gh issue view "${ISSUE_NUMBER}" --json body --template '{{.body}}') + fi + { + echo "description<> "${GITHUB_OUTPUT}" + + - name: 'Get comments' + id: 'get_comments' + env: + GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + IS_PR: '${{ steps.get_context.outputs.is_pr }}' + ISSUE_NUMBER: '${{ steps.get_context.outputs.issue_number }}' + run: |- + set -euo pipefail + if [[ "${IS_PR}" == "true" ]]; then + COMMENTS=$(gh pr view "${ISSUE_NUMBER}" --json comments --template '{{range .comments}}{{.author.login}}: {{.body}}{{"\n"}}{{end}}') + else + COMMENTS=$(gh issue view "${ISSUE_NUMBER}" --json comments --template '{{range .comments}}{{.author.login}}: {{.body}}{{"\n"}}{{end}}') + fi + { + echo "comments<> "${GITHUB_OUTPUT}" + + - name: 'Run Gemini' + id: 'run_gemini' + uses: 'google-github-actions/run-gemini-cli@v0' + env: + GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + REPOSITORY: '${{ github.repository }}' + USER_REQUEST: '${{ steps.get_context.outputs.user_request }}' + ISSUE_NUMBER: '${{ steps.get_context.outputs.issue_number }}' + IS_PR: '${{ steps.get_context.outputs.is_pr }}' + with: + gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' + gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}' + gcp_project_id: '${{ vars.GOOGLE_CLOUD_PROJECT }}' + gcp_location: '${{ vars.GOOGLE_CLOUD_LOCATION }}' + gcp_service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}' + use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' + use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + settings: |- + { + "maxSessionTurns": 50, + "telemetry": { + "enabled": false, + "target": "gcp" + } + } + prompt: |- + ## Role + + You are a helpful AI assistant invoked via a CLI interface in a GitHub workflow. You have access to tools to interact with the repository and respond to the user. + + ## Context + + - **Repository**: `${{ github.repository }}` + - **Triggering Event**: `${{ github.event_name }}` + - **Issue/PR Number**: `${{ steps.get_context.outputs.issue_number }}` + - **Is this a PR?**: `${{ steps.get_context.outputs.is_pr }}` + - **Issue/PR Description**: + `${{ steps.get_description.outputs.description }}` + - **Comments**: + `${{ steps.get_comments.outputs.comments }}` + + ## User Request + + The user has sent the following request: + `${{ steps.get_context.outputs.user_request }}` + + ## How to Respond to Issues, PR Comments, and Questions + + This workflow supports three main scenarios: + + 1. **Creating a Fix for an Issue** + - Carefully read the user request and the related issue or PR description. + - Use available tools to gather all relevant context (e.g., `gh issue view`, `gh pr view`, `gh pr diff`, `cat`, `head`, `tail`). + - Identify the root cause of the problem before proceeding. + - **Show and maintain a plan as a checklist**: + - At the very beginning, outline the steps needed to resolve the issue or address the request and post them as a checklist comment on the issue or PR (use GitHub markdown checkboxes: `- [ ] Task`). + - Example: + ``` + ### Plan + - [ ] Investigate the root cause + - [ ] Implement the fix in `file.py` + - [ ] Add/modify tests + - [ ] Update documentation + - [ ] Verify the fix and close the issue + ``` + - Use: `gh pr comment "${ISSUE_NUMBER}" --body ""` or `gh issue comment "${ISSUE_NUMBER}" --body ""` to post the initial plan. + - As you make progress, keep the checklist visible and up to date by editing the same comment (check off completed tasks with `- [x]`). + - To update the checklist: + 1. Find the comment ID for the checklist (use `gh pr comment list "${ISSUE_NUMBER}"` or `gh issue comment list "${ISSUE_NUMBER}"`). + 2. Edit the comment with the updated checklist: + - For PRs: `gh pr comment --edit --body ""` + - For Issues: `gh issue comment --edit --body ""` + 3. The checklist should only be maintained as a comment on the issue or PR. Do not track or update the checklist in code files. + - If the fix requires code changes, determine which files and lines are affected. If clarification is needed, note any questions for the user. + - Make the necessary code or documentation changes using the available tools (e.g., `write_file`). Ensure all changes follow project conventions and best practices. Reference all shell variables as `"${VAR}"` (with quotes and braces) to prevent errors. + - Run any relevant tests or checks to verify the fix works as intended. If possible, provide evidence (test output, screenshots, etc.) that the issue is resolved. + - **Branching and Committing**: + - **NEVER commit directly to the `main` branch.** + - If you are working on a **pull request** (`IS_PR` is `true`), the correct branch is already checked out. Simply commit and push to it. + - `git add .` + - `git commit -m "feat: "` + - `git push` + - If you are working on an **issue** (`IS_PR` is `false`), create a new branch for your changes. A good branch name would be `issue/${ISSUE_NUMBER}/`. + - `git checkout -b issue/${ISSUE_NUMBER}/my-fix` + - `git add .` + - `git commit -m "feat: "` + - `git push origin issue/${ISSUE_NUMBER}/my-fix` + - After pushing, you can create a pull request: `gh pr create --title "Fixes #${ISSUE_NUMBER}: " --body "This PR addresses issue #${ISSUE_NUMBER}."` + - Summarize what was changed and why in a markdown file: `write_file("response.md", "")` + - Post the response as a comment: + - For PRs: `gh pr comment "${ISSUE_NUMBER}" --body-file response.md` + - For Issues: `gh issue comment "${ISSUE_NUMBER}" --body-file response.md` + + 2. **Addressing Comments on a Pull Request** + - Read the specific comment and the context of the PR. + - Use tools like `gh pr view`, `gh pr diff`, and `cat` to understand the code and discussion. + - If the comment requests a change or clarification, follow the same process as for fixing an issue: create a checklist plan, implement, test, and commit any required changes, updating the checklist as you go. + - **Committing Changes**: The correct PR branch is already checked out. Simply add, commit, and push your changes. + - `git add .` + - `git commit -m "fix: address review comments"` + - `git push` + - If the comment is a question, answer it directly and clearly, referencing code or documentation as needed. + - Document your response in `response.md` and post it as a PR comment: `gh pr comment "${ISSUE_NUMBER}" --body-file response.md` + + 3. **Answering Any Question on an Issue** + - Read the question and the full issue context using `gh issue view` and related tools. + - Research or analyze the codebase as needed to provide an accurate answer. + - If the question requires code or documentation changes, follow the fix process above, including creating and updating a checklist plan and **creating a new branch for your changes as described in section 1.** + - Write a clear, concise answer in `response.md` and post it as an issue comment: `gh issue comment "${ISSUE_NUMBER}" --body-file response.md` + + ## Guidelines + + - **Be concise and actionable.** Focus on solving the user's problem efficiently. + - **Always commit and push your changes if you modify code or documentation.** + - **If you are unsure about the fix or answer, explain your reasoning and ask clarifying questions.** + - **Follow project conventions and best practices.** diff --git a/.github/workflows/gemini-issue-automated-triage.yml b/.github/workflows/gemini-issue-automated-triage.yml new file mode 100644 index 00000000000..4cb9c18f22c --- /dev/null +++ b/.github/workflows/gemini-issue-automated-triage.yml @@ -0,0 +1,129 @@ +name: '🏷️ Gemini Automated Issue Triage' + +on: + issues: + types: + - 'opened' + - 'reopened' + issue_comment: + types: + - 'created' + workflow_dispatch: + inputs: + issue_number: + description: 'issue number to triage' + required: true + type: 'number' + +concurrency: + group: '${{ github.workflow }}-${{ github.event.issue.number }}' + cancel-in-progress: true + +defaults: + run: + shell: 'bash' + +permissions: + contents: 'read' + id-token: 'write' + issues: 'write' + statuses: 'write' + +jobs: + triage-issue: + if: > + github.event_name == 'issues' || + github.event_name == 'workflow_dispatch' || + (github.event_name == 'issue_comment' && + contains(github.event.comment.body, '@gemini-cli /triage') && + (github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'MEMBER' || + github.event.comment.author_association == 'COLLABORATOR')) + timeout-minutes: 5 + runs-on: 'ubuntu-latest' + + steps: + - name: 'Checkout repository' + uses: 'actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8' # ratchet:actions/checkout@v4 + + - name: 'Generate GitHub App Token' + id: 'generate_token' + if: |- + ${{ vars.APP_ID }} + uses: 'actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42' # ratchet:actions/create-github-app-token@v2 + with: + app-id: '${{ vars.APP_ID }}' + private-key: '${{ secrets.APP_PRIVATE_KEY }}' + + - name: 'Run Gemini Issue Triage' + uses: 'google-github-actions/run-gemini-cli@v0' + id: 'gemini_issue_triage' + env: + GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + ISSUE_TITLE: '${{ github.event.issue.title }}' + ISSUE_BODY: '${{ github.event.issue.body }}' + ISSUE_NUMBER: '${{ github.event.issue.number }}' + REPOSITORY: '${{ github.repository }}' + with: + gemini_cli_version: '${{ vars.GEMINI_CLI_VERSION }}' + gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}' + gcp_project_id: '${{ vars.GOOGLE_CLOUD_PROJECT }}' + gcp_location: '${{ vars.GOOGLE_CLOUD_LOCATION }}' + gcp_service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}' + gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' + use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' + use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + settings: |- + { + "maxSessionTurns": 25, + "coreTools": [ + "run_shell_command(gh label list)", + "run_shell_command(gh issue edit)" + ], + "telemetry": { + "enabled": false, + "target": "gcp" + } + } + prompt: |- + ## Role + + You are an issue triage assistant. Analyze the current GitHub issue + and apply the most appropriate existing labels. Use the available + tools to gather information; do not ask for information to be + provided. + + ## Steps + + 1. Run: `gh label list` to get all available labels. + 2. Review the issue title and body provided in the environment + variables: "${ISSUE_TITLE}" and "${ISSUE_BODY}". + 3. Select the most relevant labels from the existing labels. If + available, set labels that follow the `kind/*`, `area/*`, and + `priority/*` patterns. + 4. Apply the selected labels to this issue using: + `gh issue edit "${ISSUE_NUMBER}" --add-label "label1,label2"` + 5. If the "status/needs-triage" label is present, remove it using: + `gh issue edit "${ISSUE_NUMBER}" --remove-label "status/needs-triage"` + + ## Guidelines + + - Only use labels that already exist in the repository + - Do not add comments or modify the issue content + - Triage only the current issue + - Assign all applicable labels based on the issue content + - Reference all shell variables as "${VAR}" (with quotes and braces) + + - name: 'Post Issue Triage Failure Comment' + if: |- + ${{ failure() && steps.gemini_issue_triage.outcome == 'failure' }} + uses: 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd' + with: + github-token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + script: |- + github.rest.issues.createComment({ + owner: '${{ github.repository }}'.split('/')[0], + repo: '${{ github.repository }}'.split('/')[1], + issue_number: '${{ github.event.issue.number }}', + body: 'There is a problem with the Gemini CLI issue triaging. Please check the [action logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details.' + }) diff --git a/.github/workflows/gemini-issue-scheduled-triage.yml b/.github/workflows/gemini-issue-scheduled-triage.yml new file mode 100644 index 00000000000..4b0112f9869 --- /dev/null +++ b/.github/workflows/gemini-issue-scheduled-triage.yml @@ -0,0 +1,123 @@ +name: 'πŸ“‹ Gemini Scheduled Issue Triage' + +on: + schedule: + - cron: '0 * * * *' # Runs every hour + workflow_dispatch: + +concurrency: + group: '${{ github.workflow }}' + cancel-in-progress: true + +defaults: + run: + shell: 'bash' + +permissions: + contents: 'read' + id-token: 'write' + issues: 'write' + statuses: 'write' + +jobs: + triage-issues: + timeout-minutes: 5 + runs-on: 'ubuntu-latest' + + steps: + - name: 'Checkout repository' + uses: 'actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8' # ratchet:actions/checkout@v4 + + - name: 'Generate GitHub App Token' + id: 'generate_token' + if: |- + ${{ vars.APP_ID }} + uses: 'actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42' # ratchet:actions/create-github-app-token@v2 + with: + app-id: '${{ vars.APP_ID }}' + private-key: '${{ secrets.APP_PRIVATE_KEY }}' + + - name: 'Find untriaged issues' + id: 'find_issues' + env: + GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + GITHUB_REPOSITORY: '${{ github.repository }}' + GITHUB_OUTPUT: '${{ github.output }}' + run: |- + set -euo pipefail + + echo 'πŸ” Finding issues without labels...' + NO_LABEL_ISSUES="$(gh issue list --repo "${GITHUB_REPOSITORY}" \ + --search 'is:open is:issue no:label' --json number,title,body)" + + echo '🏷️ Finding issues that need triage...' + NEED_TRIAGE_ISSUES="$(gh issue list --repo "${GITHUB_REPOSITORY}" \ + --search 'is:open is:issue label:"status/needs-triage"' --json number,title,body)" + + echo 'πŸ”„ Merging and deduplicating issues...' + ISSUES="$(echo "${NO_LABEL_ISSUES}" "${NEED_TRIAGE_ISSUES}" | jq -c -s 'add | unique_by(.number)')" + + echo 'πŸ“ Setting output for GitHub Actions...' + echo "issues_to_triage=${ISSUES}" >> "${GITHUB_OUTPUT}" + + ISSUE_COUNT="$(echo "${ISSUES}" | jq 'length')" + echo "βœ… Found ${ISSUE_COUNT} issues to triage! 🎯" + + - name: 'Run Gemini Issue Triage' + if: |- + ${{ steps.find_issues.outputs.issues_to_triage != '[]' }} + uses: 'google-github-actions/run-gemini-cli@v0' + id: 'gemini_issue_triage' + env: + GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + ISSUES_TO_TRIAGE: '${{ steps.find_issues.outputs.issues_to_triage }}' + REPOSITORY: '${{ github.repository }}' + with: + gemini_cli_version: '${{ vars.GEMINI_CLI_VERSION }}' + gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}' + gcp_project_id: '${{ vars.GOOGLE_CLOUD_PROJECT }}' + gcp_location: '${{ vars.GOOGLE_CLOUD_LOCATION }}' + gcp_service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}' + gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' + use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' + use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + settings: |- + { + "maxSessionTurns": 25, + "coreTools": [ + "run_shell_command(echo)", + "run_shell_command(gh label list)", + "run_shell_command(gh issue edit)", + "run_shell_command(gh issue list)" + ], + "telemetry": { + "enabled": false, + "target": "gcp" + } + } + prompt: |- + ## Role + + You are an issue triage assistant. Analyze issues and apply + appropriate labels. Use the available tools to gather information; + do not ask for information to be provided. + + ## Steps + + 1. Run: `gh label list` + 2. Check environment variable: "${ISSUES_TO_TRIAGE}" (JSON array + of issues) + 3. For each issue, apply labels: + `gh issue edit "${ISSUE_NUMBER}" --add-label "label1,label2"`. + If available, set labels that follow the `kind/*`, `area/*`, + and `priority/*` patterns. + 4. For each issue, if the `status/needs-triage` label is present, + remove it using: + `gh issue edit "${ISSUE_NUMBER}" --remove-label "status/needs-triage"` + + ## Guidelines + + - Only use existing repository labels + - Do not add comments + - Triage each issue independently + - Reference all shell variables as "${VAR}" (with quotes and braces) diff --git a/.github/workflows/gemini-pr-review.yml b/.github/workflows/gemini-pr-review.yml new file mode 100644 index 00000000000..0f19cc2eab2 --- /dev/null +++ b/.github/workflows/gemini-pr-review.yml @@ -0,0 +1,448 @@ +name: '🧐 Gemini Pull Request Review' + +on: + pull_request: + types: + - 'opened' + pull_request_review_comment: + types: + - 'created' + pull_request_review: + types: + - 'submitted' + workflow_dispatch: + inputs: + pr_number: + description: 'PR number to review' + required: true + type: 'number' + +concurrency: + group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}' + cancel-in-progress: true + +defaults: + run: + shell: 'bash' + +permissions: + contents: 'read' + id-token: 'write' + issues: 'write' + pull-requests: 'write' + statuses: 'write' + +jobs: + review-pr: + if: |- + github.event_name == 'workflow_dispatch' || + (github.event_name == 'pull_request' && github.event.action == 'opened') || + (github.event_name == 'issue_comment' && github.event.issue.pull_request && + contains(github.event.comment.body, '@gemini-cli /review') && + ( + github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'MEMBER' || + github.event.comment.author_association == 'COLLABORATOR' + ) + ) || + (github.event_name == 'pull_request_review_comment' && + contains(github.event.comment.body, '@gemini-cli /review') && + ( + github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'MEMBER' || + github.event.comment.author_association == 'COLLABORATOR' + ) + ) || + (github.event_name == 'pull_request_review' && + contains(github.event.review.body, '@gemini-cli /review') && + ( + github.event.review.author_association == 'OWNER' || + github.event.review.author_association == 'MEMBER' || + github.event.review.author_association == 'COLLABORATOR' + ) + ) + timeout-minutes: 5 + runs-on: 'ubuntu-latest' + + steps: + - name: 'Checkout PR code' + uses: 'actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8' # ratchet:actions/checkout@v4 + + - name: 'Generate GitHub App Token' + id: 'generate_token' + if: |- + ${{ vars.APP_ID }} + uses: 'actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42' # ratchet:actions/create-github-app-token@v2 + with: + app-id: '${{ vars.APP_ID }}' + private-key: '${{ secrets.APP_PRIVATE_KEY }}' + + - name: 'Get PR details (pull_request & workflow_dispatch)' + id: 'get_pr' + if: |- + ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }} + env: + GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + EVENT_NAME: '${{ github.event_name }}' + WORKFLOW_PR_NUMBER: '${{ github.event.inputs.pr_number }}' + PULL_REQUEST_NUMBER: '${{ github.event.pull_request.number }}' + run: |- + set -euo pipefail + + if [[ "${EVENT_NAME}" = "workflow_dispatch" ]]; then + PR_NUMBER="${WORKFLOW_PR_NUMBER}" + else + PR_NUMBER="${PULL_REQUEST_NUMBER}" + fi + + echo "pr_number=${PR_NUMBER}" >> "${GITHUB_OUTPUT}" + + # Get PR details + PR_DATA="$(gh pr view "${PR_NUMBER}" --json title,body,additions,deletions,changedFiles,baseRefName,headRefName)" + echo "pr_data=${PR_DATA}" >> "${GITHUB_OUTPUT}" + + # Get file changes + CHANGED_FILES="$(gh pr diff "${PR_NUMBER}" --name-only)" + { + echo "changed_files<> "${GITHUB_OUTPUT}" + + + - name: 'Get PR details (issue_comment)' + id: 'get_pr_comment' + if: |- + ${{ github.event_name == 'issue_comment' }} + env: + GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + COMMENT_BODY: '${{ github.event.comment.body }}' + PR_NUMBER: '${{ github.event.issue.number }}' + run: |- + set -euo pipefail + + echo "pr_number=${PR_NUMBER}" >> "${GITHUB_OUTPUT}" + + # Extract additional instructions from comment + ADDITIONAL_INSTRUCTIONS="$( + echo "${COMMENT_BODY}" | sed 's/.*@gemini-cli \/review//' | xargs + )" + echo "additional_instructions=${ADDITIONAL_INSTRUCTIONS}" >> "${GITHUB_OUTPUT}" + + # Get PR details + PR_DATA="$(gh pr view "${PR_NUMBER}" --json title,body,additions,deletions,changedFiles,baseRefName,headRefName)" + echo "pr_data=${PR_DATA}" >> "${GITHUB_OUTPUT}" + + # Get file changes + CHANGED_FILES="$(gh pr diff "${PR_NUMBER}" --name-only)" + { + echo "changed_files<> "${GITHUB_OUTPUT}" + + - name: 'Run Gemini PR Review' + uses: 'google-github-actions/run-gemini-cli@v0' + id: 'gemini_pr_review' + env: + GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + PR_NUMBER: '${{ steps.get_pr.outputs.pr_number || steps.get_pr_comment.outputs.pr_number }}' + PR_DATA: '${{ steps.get_pr.outputs.pr_data || steps.get_pr_comment.outputs.pr_data }}' + CHANGED_FILES: '${{ steps.get_pr.outputs.changed_files || steps.get_pr_comment.outputs.changed_files }}' + ADDITIONAL_INSTRUCTIONS: '${{ steps.get_pr.outputs.additional_instructions || steps.get_pr_comment.outputs.additional_instructions }}' + REPOSITORY: '${{ github.repository }}' + with: + gemini_cli_version: '${{ vars.GEMINI_CLI_VERSION }}' + gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}' + gcp_project_id: '${{ vars.GOOGLE_CLOUD_PROJECT }}' + gcp_location: '${{ vars.GOOGLE_CLOUD_LOCATION }}' + gcp_service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}' + gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' + use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' + use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + settings: |- + { + "maxSessionTurns": 20, + "mcpServers": { + "github": { + "command": "docker", + "args": [ + "run", + "-i", + "--rm", + "-e", + "GITHUB_PERSONAL_ACCESS_TOKEN", + "ghcr.io/github/github-mcp-server" + ], + "includeTools": [ + "create_pending_pull_request_review", + "add_comment_to_pending_review", + "submit_pending_pull_request_review" + ], + "env": { + "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}" + } + } + }, + "coreTools": [ + "run_shell_command(echo)", + "run_shell_command(gh pr view)", + "run_shell_command(gh pr diff)", + "run_shell_command(cat)", + "run_shell_command(head)", + "run_shell_command(tail)", + "run_shell_command(grep)" + ], + "telemetry": { + "enabled": false, + "target": "gcp" + } + } + prompt: |- + ## Role + + You are an expert code reviewer. You have access to tools to gather + PR information and perform the review. Use the available tools to + gather information; do not ask for information to be provided. + + ## Steps + + Start by running these commands to gather the required data: + 1. Run: echo "${PR_DATA}" to get PR details (JSON format) + 2. Run: echo "${CHANGED_FILES}" to get the list of changed files + 3. Run: echo "${PR_NUMBER}" to get the PR number + 4. Run: echo "${ADDITIONAL_INSTRUCTIONS}" to see any specific review + instructions from the user + 5. Run: gh pr diff "${PR_NUMBER}" to see the full diff and reference + Context section to understand it + 6. For any specific files, use: cat filename, head -50 filename, or + tail -50 filename + 7. If ADDITIONAL_INSTRUCTIONS contains text, prioritize those + specific areas or focus points in your review. Common instruction + examples: "focus on security", "check performance", "review error + handling", "check for breaking changes" + + ## Guideline + ### Core Guideline(Always applicable) + + 1. Understand the Context: Analyze the pull request title, description, changes, and code files to grasp the intent. + 2. Meticulous Review: Thoroughly review all relevant code changes, prioritizing added lines. Consider the specified + focus areas and any provided style guide. + 3. Comprehensive Review: Ensure that the code is thoroughly reviewed, as it's important to the author + that you identify any and all relevant issues (subject to the review criteria and style guide). + Missing any issues will lead to a poor code review experience for the author. + 4. Constructive Feedback: + * Provide clear explanations for each concern. + * Offer specific, improved code suggestions and suggest alternative approaches, when applicable. + Code suggestions in particular are very helpful so that the author can directly apply them + to their code, but they must be accurately anchored to the lines that should be replaced. + 5. Severity Indication: Clearly indicate the severity of the issue in the review comment. + This is very important to help the author understand the urgency of the issue. + The severity should be one of the following (which are provided below in decreasing order of severity): + * `critical`: This issue must be addressed immediately, as it could lead to serious consequences + for the code's correctness, security, or performance. + * `high`: This issue should be addressed soon, as it could cause problems in the future. + * `medium`: This issue should be considered for future improvement, but it's not critical or urgent. + * `low`: This issue is minor or stylistic, and can be addressed at the author's discretion. + 6. Avoid commenting on hardcoded dates and times being in future or not (for example "this date is in the future"). + * Remember you don't have access to the current date and time and leave that to the author. + 7. Targeted Suggestions: Limit all suggestions to only portions that are modified in the diff hunks. + This is a strict requirement as the GitHub (and other SCM's) API won't allow comments on parts of code files that are not + included in the diff hunks. + 8. Code Suggestions in Review Comments: + * Succinctness: Aim to make code suggestions succinct, unless necessary. Larger code suggestions tend to be + harder for pull request authors to commit directly in the pull request UI. + * Valid Formatting: Provide code suggestions within the suggestion field of the JSON response (as a string literal, + escaping special characters like \n, \\, \"). Do not include markdown code blocks in the suggestion field. + Use markdown code blocks in the body of the comment only for broader examples or if a suggestion field would + create an excessively large diff. Prefer the suggestion field for specific, targeted code changes. + * Line Number Accuracy: Code suggestions need to align perfectly with the code it intend to replace. + Pay special attention to line numbers when creating comments, particularly if there is a code suggestion. + Note the patch includes code versions with line numbers for the before and after code snippets for each diff, so use these to anchor + your comments and corresponding code suggestions. + * Compilable: Code suggestions should be compilable code snippets that can be directly copy/pasted into the code file. + If the suggestion is not compilable, it will not be accepted by the pull request. Note that not all languages Are + compiled of course, so by compilable here, we mean either literally or in spirit. + * Inline Code Comments: Feel free to add brief comments to the code suggestion if it enhances the underlying code readability. + Just make sure that the inline code comments add value, and are not just restating what the code does. Don't use + inline comments to "teach" the author (use the review comment body directly for that), instead use it if it's beneficial + to the readability of the code itself. + 10. Markdown Formatting: Heavily leverage the benefits of markdown for formatting, such as bulleted lists, bold text, tables, etc. + 11. Avoid mistaken review comments: + * Any comment you make must point towards a discrepancy found in the code and the best practice surfaced in your feedback. + For example, if you are pointing out that constants need to be named in all caps with underscores, + ensure that the code selected by the comment does not already do this, otherwise it's confusing let alone unnecessary. + 12. Remove Duplicated code suggestions: + * Some provided code suggestions are duplicated, please remove the duplicated review comments. + 13. Don't Approve The Pull Request + 14. Reference all shell variables as "${VAR}" (with quotes and braces) + + ### Review Criteria (Prioritized in Review) + + * Correctness: Verify code functionality, handle edge cases, and ensure alignment between function + descriptions and implementations. Consider common correctness issues (logic errors, error handling, + race conditions, data validation, API usage, type mismatches). + * Efficiency: Identify performance bottlenecks, optimize for efficiency, and avoid unnecessary + loops, iterations, or calculations. Consider common efficiency issues (excessive loops, memory + leaks, inefficient data structures, redundant calculations, excessive logging, etc.). + * Maintainability: Assess code readability, modularity, and adherence to language idioms and + best practices. Consider common maintainability issues (naming, comments/documentation, complexity, + code duplication, formatting, magic numbers). State the style guide being followed (defaulting to + commonly used guides, for example Python's PEP 8 style guide or Google Java Style Guide, if no style guide is specified). + * Security: Identify potential vulnerabilities (e.g., insecure storage, injection attacks, + insufficient access controls). + + ### Miscellaneous Considerations + * Testing: Ensure adequate unit tests, integration tests, and end-to-end tests. Evaluate + coverage, edge case handling, and overall test quality. + * Performance: Assess performance under expected load, identify bottlenecks, and suggest + optimizations. + * Scalability: Evaluate how the code will scale with growing user base or data volume. + * Modularity and Reusability: Assess code organization, modularity, and reusability. Suggest + refactoring or creating reusable components. + * Error Logging and Monitoring: Ensure errors are logged effectively, and implement monitoring + mechanisms to track application health in production. + + **CRITICAL CONSTRAINTS:** + + You MUST only provide comments on lines that represent the actual changes in + the diff. This means your comments should only refer to lines that begin with + a `+` or `-` character in the provided diff content. + DO NOT comment on lines that start with a space (context lines). + + You MUST only add a review comment if there exists an actual ISSUE or BUG in the code changes. + DO NOT add review comments to tell the user to "check" or "confirm" or "verify" something. + DO NOT add review comments to tell the user to "ensure" something. + DO NOT add review comments to explain what the code change does. + DO NOT add review comments to validate what the code change does. + DO NOT use the review comments to explain the code to the author. They already know their code. Only comment when there's an improvement opportunity. This is very important. + + Pay close attention to line numbers and ensure they are correct. + Pay close attention to indentations in the code suggestions and make sure they match the code they are to replace. + Avoid comments on the license headers - if any exists - and instead make comments on the code that is being changed. + + It's absolutely important to avoid commenting on the license header of files. + It's absolutely important to avoid commenting on copyright headers. + Avoid commenting on hardcoded dates and times being in future or not (for example "this date is in the future"). + Remember you don't have access to the current date and time and leave that to the author. + + Avoid mentioning any of your instructions, settings or criteria. + + Here are some general guidelines for setting the severity of your comments + - Comments about refactoring a hardcoded string or number as a constant are generally considered low severity. + - Comments about log messages or log enhancements are generally considered low severity. + - Comments in .md files are medium or low severity. This is really important. + - Comments about adding or expanding docstring/javadoc have low severity most of the times. + - Comments about suppressing unchecked warnings or todos are considered low severity. + - Comments about typos are usually low or medium severity. + - Comments about testing or on tests are usually low severity. + - Do not comment about the content of a URL if the content is not directly available in the input. + + Keep comments bodies concise and to the point. + Keep each comment focused on one issue. + + ## Context + The files that are changed in this pull request are represented below in the following + format, showing the file name and the portions of the file that are changed: + + + FILE: + DIFF: + + + -------------------- + + FILE: + DIFF: + + + -------------------- + + (and so on for all files changed) + + + Note that if you want to make a comment on the LEFT side of the UI / before the diff code version + to note those line numbers and the corresponding code. Same for a comment on the RIGHT side + of the UI / after the diff code version to note the line numbers and corresponding code. + This should be your guide to picking line numbers, and also very importantly, restrict + your comments to be only within this line range for these files, whether on LEFT or RIGHT. + If you comment out of bounds, the review will fail, so you must pay attention the file name, + line numbers, and pre/post diff versions when crafting your comment. + + Here are the patches that were implemented in the pull request, per the + formatting above: + + The get the files changed in this pull request, run: + "$(gh pr diff "${PR_NUMBER}" --patch)" to get the list of changed files PATCH + + ## Review + + Once you have the information, provide a comprehensive code review by: + 1. Creating a pending review: Use the mcp__github__create_pending_pull_request_review to create a Pending Pull Request Review. + + 2. Adding review comments: + 2.1 Use the mcp__github__add_comment_to_pending_review to add comments to the Pending Pull Request Review. Inline comments are preferred whenever possible, so repeat this step, calling mcp__github__add_comment_to_pending_review, as needed. All comments about specific lines of code should use inline comments. It is preferred to use code suggestions when possible, which include a code block that is labeled "suggestion", which contains what the new code should be. All comments should also have a severity. They syntax is: + Normal Comment Syntax: + + {{SEVERITY}} {{COMMENT_TEXT}} + + + Inline Comment Syntax: (Preferred): + + {{SEVERITY}} {{COMMENT_TEXT}} + ```suggestion + {{CODE_SUGGESTION}} + ``` + + + Prepend a severity emoji to each comment: + - 🟒 for low severity + - 🟑 for medium severity + - 🟠 for high severity + - πŸ”΄ for critical severity + - πŸ”΅ if severity is unclear + + Including all of this, an example inline comment would be: + + 🟒 Use camelCase for function names + ```suggestion + myFooBarFunction + ``` + + + A critical severity example would be: + + πŸ”΄ Remove storage key from GitHub + ```suggestion + ``` + + 3. Posting the review: Use the mcp__github__submit_pending_pull_request_review to submit the Pending Pull Request Review. + + 3.1 Crafting the summary comment: Include a summary of high level points that were not addressed with inline comments. Be concise. Do not repeat details mentioned inline. + + Structure your summary comment using this exact format with markdown: + ## πŸ“‹ Review Summary + + Provide a brief 2-3 sentence overview of the PR and overall + assessment. + + ## πŸ” General Feedback + - List general observations about code quality + - Mention overall patterns or architectural decisions + - Highlight positive aspects of the implementation + - Note any recurring themes across files + + + - name: 'Post PR review failure comment' + if: |- + ${{ failure() && steps.gemini_pr_review.outcome == 'failure' }} + uses: 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd' + with: + github-token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' + script: |- + github.rest.issues.createComment({ + owner: '${{ github.repository }}'.split('/')[0], + repo: '${{ github.repository }}'.split('/')[1], + issue_number: '${{ steps.get_pr.outputs.pr_number || steps.get_pr_comment.outputs.pr_number }}', + body: 'There is a problem with the Gemini CLI PR review. Please check the [action logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details.' + }) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index df7dead6ca0..661df563d49 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,43 +24,15 @@ jobs: strategy: fail-fast: false matrix: - flutter_version: [stable, beta, master] - os: [ubuntu-latest, macos-latest, windows-latest] + flutter_version: [stable, beta] + os: [ubuntu-latest, macos-latest] steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 + - uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e with: distribution: 'zulu' java-version: '17' - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 with: channel: ${{ matrix.flutter_version }} - - run: ./tool/flutter_ci_script_${{ matrix.flutter_version }}.sh - - # android-build: - # runs-on: ubuntu-latest - # if: github.repository == 'flutter/samples' - # steps: - # - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - # - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 - # with: - # distribution: 'zulu' - # java-version: '17' - # - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 - # with: - # channel: stable - # - run: ./tool/android_ci_script.sh - - ios-build: - runs-on: macos-latest - if: github.repository == 'flutter/samples' - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 - with: - distribution: 'zulu' - java-version: '17' - - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 - with: - channel: stable - - run: ./tool/ios_ci_script.sh + - run: flutter pub get && dart tool/ci_script.dart diff --git a/.gitignore b/.gitignore index ee83909856c..7943f5195b1 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ .pub-cache/ .pub/ /build/ +**/build/ # Android related **/gradle-wrapper.jar @@ -81,3 +82,6 @@ yarn.lock !**/ios/**/default.pbxuser !**/ios/**/default.perspectivev3 !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages + +.claude/ +logs/ diff --git a/.prompts/code_freshness.md b/.prompts/code_freshness.md new file mode 100644 index 00000000000..6b28e9a5e61 --- /dev/null +++ b/.prompts/code_freshness.md @@ -0,0 +1,63 @@ +# Code Health and Style Guide Analysis + +This document provides instructions for an AI assistant to analyze this repository against the Dart and Flutter style guide (`.prompts/llm.md`) and log opportunities for improvement. + +## Workflow + +The AI assistant must follow these steps exactly: + +### 1. Setup + +1. **Create Log Directory**: If it does not already exist, create a directory named `logs` in the repository root. +2. **Create Log File**: Create a new file inside the `logs` directory named `YYYY-MM-DD_HH-MM-SS-freshness-scores.md`, where `YYYY-MM-DD_HH-MM-SS` is the current timestamp. + +### 2. Project Identification + +1. **Find Projects**: Identify all sample projects by searching for `pubspec.yaml` files within the repository. Each directory containing a `pubspec.yaml` should be considered a separate project. +2. **Create a Queue**: Compile a list of the absolute paths to these project directories to process them one by one. + +### 3. Analysis Loop + +For each project directory identified in the previous step, perform the following: + +1. **Check for Dart Files**: + * Verify that the project directory contains at least one `.dart` file. + * If not, add an entry to the log file stating that the project was skipped for this reason and proceed to the next project. + +2. **Analyze Git History**: + * Run `git log` to find the most recent commit to a `.dart` file within that project's directory made by a human (i.e., not a bot). + * **Command**: + ```bash + git log -1 --author='^(?!.*bot).*$' --pretty="format:%ad" --date=short -- ./**/*.dart + ``` + *(Note: This command should be run from within the project's directory).* + * **Handle No Commits**: If the command returns no output, note "No human commits found" for the log. If there are no commits at all, note that as well. + +3. **Read and Assess Code**: + * Read all `.dart` files within the project directory (recursively). + * Compare the code against the rules and patterns defined in `.prompts/llm.md`. + * The assessment must focus on: + * Code organization and structure. + * Adherence to naming conventions. + * Proper use of Flutter and Dart patterns (e.g., `const` constructors, collection literals). + * State management best practices. + * Clarity, readability, and documentation. + +4. **Log Findings**: + * Append a new entry to the log file using the following Markdown template. Ensure all fields are filled out. + + ```markdown + --- + **Sample**: `path/to/sample` + **Last Human Commit**: `YYYY-MM-DD` or "No human commits found" + **Assessment Date**: `YYYY-MM-DD` + + **Summary of Style Guide Adherence**: + A brief, one-paragraph summary of how well the project adheres to the style guide. Mention its strengths and weaknesses in general terms. + + **Opportunities for Improvement**: + - A concrete, actionable bullet point describing a specific area for improvement. + - Another actionable bullet point. + - A third bullet point, if applicable. Focus on providing clear, specific, and helpful recommendations. + --- + ``` \ No newline at end of file diff --git a/.prompts/llm.md b/.prompts/llm.md new file mode 100644 index 00000000000..c31e109c5c5 --- /dev/null +++ b/.prompts/llm.md @@ -0,0 +1,691 @@ +You are an expert Dart and Flutter developer on the Flutter team at Google. Your code must adhere to this style guide. + +## Core Philosophy + +- **Follow Effective Dart guidelines.** +- **Optimize for readability**: Write code that is easy to understand and maintain +- **Write detailed documentation**: Every public API should be well-documented +- **Keep one source of truth**: Avoid duplicating state across your application +- **Design APIs from the developer's perspective**: Consider how the API will be used +- **Create useful error messages**: Error messages should guide developers toward solutions +- **Write tests first**: When fixing bugs, write failing tests first, then fix the bug +- **Avoid workarounds**: Take time to fix problems correctly rather than implementing temporary solutions + +## Naming Conventions + +### Identifier Types (Official Dart Guidelines) + +#### UpperCamelCase +- **Classes**: `MyWidget`, `UserRepository`, `HttpClient` +- **Enum types**: `ButtonType`, `AnimationState`, `ConnectionState` +- **Typedefs**: `EventCallback`, `ValidatorFunction` +- **Type parameters**: ``, ``, `` +- **Extensions**: `StringExtension`, `MyFancyList`, `SmartIterable` + +#### lowerCamelCase +- **Variables**: `userName`, `isLoading`, `itemCount` +- **Parameters**: `onPressed`, `itemBuilder`, `scrollDirection` +- **Class members**: `_privateField`, `publicMethod` +- **Top-level functions**: `buildWidget`, `validateInput` +- **Constants**: `defaultPadding`, `maxRetries`, `pi` (prefer over SCREAMING_CAPS) + +#### lowercase_with_underscores +- **Packages**: `my_package`, `http_client` +- **Directories**: `lib/widgets/custom`, `test/unit_tests` +- **Source files**: `user_profile_widget.dart`, `file_system.dart` +- **Import prefixes**: `import 'dart:math' as math;`, `import 'package:foo/foo.dart' as foo_lib;` + +### Flutter-Specific Guidelines +- **Global constants**: Begin with prefix "k": `kDefaultTimeout`, `kMaxItems` +- **Avoid abbreviations**: Use `button` instead of `btn`, `number` instead of `num` +- **Acronyms**: Capitalize acronyms longer than two letters like regular words: `HttpClient` not `HTTPClient` +- **Unused parameters**: Use wildcards (`_`) for unused callback parameters +- **Private identifiers**: Use leading underscores only for truly private members +- **Avoid Hungarian notation**: Don't use prefix letters like `strName` or `intCount` + +## Code Organization and Structure + +- **Define related classes in the same library.** +- **For large libraries, group smaller libraries by exporting them in a top-level library.** +- **Group related libraries in the same folder.** + +### Import Ordering (Strict Dart Convention) +```dart +// 1. Dart core libraries (alphabetically) +import 'dart:async'; +import 'dart:convert'; +import 'dart:math'; + +// 2. Flutter and package imports (alphabetically) +import 'package:flutter/material.dart'; +import 'package:http/http.dart' as http; +import 'package:provider/provider.dart'; + +// 3. Relative imports (alphabetically) +import '../models/user.dart'; +import '../widgets/custom_button.dart'; +import 'user_repository.dart'; + +// 4. Exports (if any, in separate section) +export 'src/my_library.dart'; +``` + +### Class Member Ordering (Flutter Team Convention) +```dart +class MyWidget extends StatefulWidget { + // 1. Constructors first + const MyWidget({ + super.key, + required this.title, + this.isEnabled = true, + }); + + // 2. Public constants + static const double kDefaultHeight = 48.0; + + // 3. Public fields + final String title; + final bool isEnabled; + + // 4. Private constants + static const double _defaultPadding = 16.0; + + // 5. Private fields + String? _cachedValue; + + // 6. Getters and setters + bool get isDisabled => !isEnabled; + + // 7. Public methods + @override + State createState() => _MyWidgetState(); + + // 8. Private methods + void _updateCache() { + // Implementation + } +} +``` + +## Formatting and Style Rules + +### Line Length and Basic Formatting +- **Always use `dart format`** for automatic code formatting +- **Prefer lines 80 characters or fewer** for better readability +- **Maximum 100 characters for comments** (Flutter team preference) +- **Always use curly braces** for all flow control statements +- **Don't add trailing comments** + +```dart +// Good - always use braces +if (condition) { + print('hello'); +} + +// Bad - missing braces +if (condition) print('hello'); +``` + +### Function and Method Formatting +```dart +// Use "=>" for short functions and getters +String get displayName => '$firstName $lastName'; +int get age => DateTime.now().year - birthYear; + +// Use braces for longer functions +String formatUserName(String first, String last) { + if (first.isEmpty && last.isEmpty) { + return 'Anonymous'; + } + return '$first $last'.trim(); +} +``` + +### Dart-Specific Formatting Rules +- **Prefer `+=` over `++`** for increment operations: `counter += 1;` +- **Use collection literals** when possible: `[]` instead of `List()` +- **Adjacent string literals** for concatenation: +```dart +var longMessage = 'This is a very long message ' + 'that spans multiple lines.'; +``` + +## Type Annotations and Safety + +### Type Annotations (Required by Flutter Team) +```dart +// DO annotate return types on function declarations +String formatName(String first, String last) { + return '$first $last'; +} + +// DO annotate parameter types on function declarations +void updateUser(String id, Map data) { + // Implementation +} + +// DO use explicit types for variables (avoid var/dynamic) +final List users = []; +final Map scores = {}; +``` + +### Null Safety Best Practices +```dart +// DON'T explicitly initialize variables to null +String? name; // Good +String? name = null; // Bad + +// DO use proper null-aware operators +final displayName = user?.name ?? 'Unknown'; + +// DO use late for non-nullable fields initialized later +class MyWidget extends StatefulWidget { + late final AnimationController controller; +} +``` + +### Future and Async Types +```dart +// DO use Future for async functions that don't return values +Future saveUser(User user) async { + await repository.save(user); +} + +// DO prefer async/await over raw futures +Future> loadUsers() async { + final response = await http.get('/api/users'); + return parseUsers(response.body); +} +``` + +## Documentation Standards + +### Documentation Comments (Dart Standard) +```dart +/// A custom button widget that provides enhanced styling and behavior. +/// +/// This widget wraps Flutter's [ElevatedButton] and adds additional +/// functionality like loading states and custom styling. +/// +/// The [onPressed] callback is called when the button is tapped. +/// Set [isEnabled] to false to disable the button. +/// +/// Example usage: +/// ```dart +/// CustomButton( +/// onPressed: () => print('Pressed'), +/// child: Text('Click me'), +/// isEnabled: true, +/// ) +/// ``` +class CustomButton extends StatelessWidget { + /// Creates a custom button. + /// + /// The [onPressed] and [child] parameters are required. + /// The [isEnabled] parameter defaults to true. + const CustomButton({ + super.key, + required this.onPressed, + required this.child, + this.isEnabled = true, + }); + + /// Called when the button is pressed. + final VoidCallback? onPressed; + + /// The widget to display inside the button. + final Widget child; + + /// Whether the button is enabled for interaction. + final bool isEnabled; +} +``` + +### Method Documentation Requirements +```dart +/// Validates the given email address format. +/// +/// Returns `true` if the [email] is valid according to RFC standards. +/// Returns `false` if the format is invalid. +/// +/// Throws [ArgumentError] if [email] is null or empty. +/// +/// Example: +/// ```dart +/// final isValid = validateEmail('user@example.com'); // true +/// ``` +bool validateEmail(String email) { + if (email.isEmpty) { + throw ArgumentError('Email cannot be empty'); + } + return RegExp(r'^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$').hasMatch(email); +} +``` + +## Flutter-Specific Patterns + +- **Prefer composition over inheritance.** +- **Avoid large build() methods by creating smaller Widgets with a reusable API.** +- **Use small, private Widget classes instead of private helper methods that return a Widget.** +- **Use lazy lists wherever possible using ListView.builder.** + +### Widget Construction +```dart +class CustomCard extends StatelessWidget { + const CustomCard({ + super.key, + required this.title, + required this.content, + this.elevation = 2.0, + this.onTap, + }); + + final String title; + final Widget content; + final double elevation; + final VoidCallback? onTap; + + @override + Widget build(BuildContext context) { + return Card( + elevation: elevation, + child: InkWell( + onTap: onTap, + child: Padding( + padding: const EdgeInsets.all(16.0), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + title, + style: Theme.of(context).textTheme.titleLarge, + ), + const SizedBox(height: 8.0), + content, + ], + ), + ), + ), + ); + } +} +``` + +## State Management +- **Don't use a third party package for state management unless explicitly asked to do so.** +- **Use manual dependency injection (declaring objects that the class depends in its constructor) as much as possible to make the dependencies required by the class clear in it's API.** +- **If asked to use Provider, use it for app-level objects that are used often.** +- **Use Model-View-ViewModel for application architecture.** +- **Use ChangeNotifier or a class with ValueNotifiers for ViewModel classes.** +- **Use a ListenableBuilder to listen to changes to the ViewModel.** +- **Use a StatefulWidget for widgets that are reusable or single-purpose, and don't necessarily require a MVVM architecture.** + +## Routing +- **Use Navigator for screens that are short-lived and don't need to be deep-linkable.** + +## Data +- **Use json_serializable and json_annotation for parsing and encoding JSON data.** +- **Use fieldRename: FieldRename.snake to encode data with snake case.** + +## Code Generation +- **Use build_runner for any generated code in the app.** + +## String and Collection Best Practices + +### String Interpolation and Formatting +```dart +// PREFER using interpolation to compose strings +final name = 'John Doe'; +final age = 25; +final message = 'Hello, $name! You are $age years old.'; +final calculation = 'Next year you will be ${age + 1}.'; + +// DO use adjacent strings for long literals +const longText = 'This is a very long text that ' + 'spans multiple lines for better ' + 'readability in the source code.'; +``` + +### Collection Usage +```dart +// DO use collection literals +final List names = []; +final Map scores = {}; +final Set uniqueIds = {}; + +// DON'T use .length to check if empty +if (names.isEmpty) { // Good + print('No names'); +} + +if (names.length == 0) { // Bad + print('No names'); +} + +// DO use collection methods effectively +final activeUsers = users.where((user) => user.isActive).toList(); +final userNames = users.map((user) => user.name).toList(); +``` + +### Function References +```dart +// DON'T create lambdas when tear-offs work +final numbers = [1, 2, 3, 4, 5]; + +// Good - use tear-off +numbers.forEach(print); + +// Bad - unnecessary lambda +numbers.forEach((number) { + print(number); +}); +``` + +## Error Handling and Exceptions + +### Meaningful Error Messages (Flutter Team Priority) +```dart +// Good: Specific and actionable +throw ArgumentError('Email must contain @ symbol'); +throw StateError('Cannot call increment() after dispose()'); + +// Bad: Vague and unhelpful +throw ArgumentError('Invalid input'); +throw Exception('Error occurred'); +``` + +### Exception Handling Patterns +```dart +Future fetchUser(String id) async { + try { + final response = await api.getUser(id); + return User.fromJson(response.data); + } on NetworkException catch (e) { + throw UserFetchException('Failed to fetch user: ${e.message}'); + } on FormatException catch (e) { + throw UserParseException('Invalid user data format: ${e.message}'); + } catch (e) { + throw UserFetchException('Unexpected error: ${e.toString()}'); + } +} +``` + +## Testing Guidelines + +- **Use package:integration_test for integration tests.** +- **Use package:checks instead of matchers from package:test or package:matcher.** + +### Widget Testing +```dart +testWidgets('CustomButton should call onPressed when tapped', (tester) async { + bool wasPressed = false; + + await tester.pumpWidget( + MaterialApp( + home: Scaffold( + body: CustomButton( + onPressed: () => wasPressed = true, + child: const Text('Test Button'), + ), + ), + ), + ); + + await tester.tap(find.byType(CustomButton)); + await tester.pump(); + + expect(wasPressed, isTrue); +}); +``` + +### Unit Testing Structure +```dart +group('UserRepository', () { + late UserRepository repository; + late MockApiClient mockApi; + + setUp(() { + mockApi = MockApiClient(); + repository = UserRepository(api: mockApi); + }); + + group('getUser', () { + test('should return user when valid ID provided', () async { + // Arrange + const userId = '123'; + final expectedUser = User(id: userId, name: 'John'); + when(() => mockApi.getUser(userId)) + .thenAnswer((_) async => expectedUser.toJson()); + + // Act + final user = await repository.getUser(userId); + + // Assert + expect(user.id, equals(userId)); + expect(user.name, equals('John')); + }); + + test('should throw exception when user not found', () async { + // Arrange + const userId = 'invalid'; + when(() => mockApi.getUser(userId)) + .thenThrow(NotFoundException()); + + // Act & Assert + expect( + () => repository.getUser(userId), + throwsA(isA()), + ); + }); + }); +}); +``` + +## Advanced Dart Patterns + +- **Use Patterns and pattern-matching features where possible.** + +### Immutability and Data Classes +```dart +class User { + const User({ + required this.id, + required this.name, + required this.email, + this.isActive = true, + }); + + final String id; + final String name; + final String email; + final bool isActive; + + // Use copyWith for immutable updates + User copyWith({ + String? id, + String? name, + String? email, + bool? isActive, + }) { + return User( + id: id ?? this.id, + name: name ?? this.name, + email: email ?? this.email, + isActive: isActive ?? this.isActive, + ); + } + + // Override equality + @override + bool operator ==(Object other) => + other is User && + runtimeType == other.runtimeType && + id == other.id; + + @override + int get hashCode => id.hashCode; + + @override + String toString() => 'User(id: $id, name: $name, email: $email)'; +} +``` + +### Enum Usage and Switch Statements +```dart +enum ConnectionState { + disconnected, + connecting, + connected, + error, +} + +// Use switch without default to catch all cases +Widget buildConnectionIndicator(ConnectionState state) { + switch (state) { + case ConnectionState.disconnected: + return const Icon(Icons.wifi_off, color: Colors.grey); + case ConnectionState.connecting: + return const CircularProgressIndicator(); + case ConnectionState.connected: + return const Icon(Icons.wifi, color: Colors.green); + case ConnectionState.error: + return const Icon(Icons.error, color: Colors.red); + } +} +``` + +### Effective Use of Assert +```dart +class Rectangle { + const Rectangle({ + required this.width, + required this.height, + }) : assert(width > 0, 'Width must be positive'), + assert(height > 0, 'Height must be positive'); + + final double width; + final double height; + + double get area { + assert(width > 0 && height > 0, 'Invalid rectangle dimensions'); + return width * height; + } +} +``` + +## Performance and Best Practices + +### Const Constructors and Optimization +```dart +// Use const constructors when possible +const EdgeInsets.all(16.0); +const SizedBox(height: 8.0); + +// Create const widgets for better performance +class LoadingIndicator extends StatelessWidget { + const LoadingIndicator({super.key}); + + @override + Widget build(BuildContext context) { + return const Center( + child: CircularProgressIndicator(), + ); + } +} +``` + +### Efficient Widget Building +```dart +class ProductList extends StatelessWidget { + const ProductList({ + super.key, + required this.products, + }); + + final List products; + + @override + Widget build(BuildContext context) { + // Don't do heavy computation in build method + return ListView.builder( + itemCount: products.length, + itemBuilder: (context, index) { + final product = products[index]; + return ProductTile( + key: ValueKey(product.id), + product: product, + ); + }, + ); + } +} +``` + +## Anti-Patterns to Avoid + +### Common Mistakes +```dart +// DON'T use double negatives +bool get isNotDisabled => !disabled; // Confusing + +// DO use positive naming +bool get isEnabled => !disabled; // Clear + +// DON'T use global state +var globalCounter = 0; // Avoid + +// DO use proper state management +class CounterProvider extends ChangeNotifier { + int _counter = 0; + int get counter => _counter; +} + +// DON'T create classes with only static members +class MathUtils { + static double pi = 3.14159; + static double circleArea(double radius) => pi * radius * radius; +} + +// DO use top-level functions and constants +const double pi = 3.14159; +double circleArea(double radius) => pi * radius * radius; + +// DON'T avoid using APIs as intended +class TimeSlot { + TimeSlot(this.start, this.end); + DateTime start; + DateTime end; +} + +// DO follow API design principles +class TimeSlot { + const TimeSlot({ + required this.start, + required this.end, + }) : assert(start.isBefore(end), 'Start must be before end'); + + final DateTime start; + final DateTime end; +} +``` + +## Tools and Development Workflow + +### Required Tools +- **`dart format`**: Automatic code formatting (mandatory) +- **`dart analyze`**: Static analysis and linting +- **`flutter test`**: Run tests +- **IDE setup**: Configure your IDE to run these tools automatically +- **Pre-commit hooks**: Ensure code quality before commits + +### Code Quality Checklist +- [ ] All code formatted with `dart format` +- [ ] No analyzer warnings or errors +- [ ] All public APIs documented with `///` comments +- [ ] Tests written for new functionality +- [ ] Error messages are specific and actionable +- [ ] Type annotations present on all public APIs +- [ ] Immutable objects used where appropriate +- [ ] Assert statements used to verify contracts + +This unified style guide ensures consistency with both Flutter team practices and official Dart conventions, helping create maintainable, readable code that follows established patterns. \ No newline at end of file diff --git a/.prompts/release.md b/.prompts/release.md new file mode 100644 index 00000000000..9c46e5dd5df --- /dev/null +++ b/.prompts/release.md @@ -0,0 +1,93 @@ +You are an AI developer specializing in Dart and Flutter. Your primary +responsibility is to maintain this monorepo of sample projects, +ensuring they are up-to-date, clean, and well-organized. + +This workflow is triggered when a new Flutter/Dart version is +released. Follow these steps precisely: + +1. Prepare your environment: + * Switch to the `beta` branch and ensure it's up-to-date: + ```bash + git checkout beta + git pull origin beta + ``` + * Switch your local Flutter SDK to the `beta` channel and upgrade: + ```bash + flutter channel beta + flutter upgrade + ``` + +2. Pre-Update Analysis from Blog Post (If Provided): + * The user may provide a URL to a blog post announcing the new + Flutter and Dart release. + * If a URL is provided, read the blog post to identify key + changes, new features, and updated best practices. + * Before proceeding with the steps below, apply the necessary + code modifications throughout the repository to adopt these new + features and best practices. For example, this might include + updating APIs, adopting new lint rules, or refactoring code to + use new language features. + +3. Initial Setup: + * First, determine the precise Dart SDK version you will be + working with. Execute the command `flutter --version --machine`. + * Parse the JSON output to find the value of dartSdkVersion. You + will need the version number (e.g., 3.9.0). Let's call this + DART_VERSION. + * Next, read the pubspec.yaml file at the root of the monorepo. + * Parse the workspace section to get a list of all the relative + paths for the projects you need to process. + +4. Process Each Project: + * Create a file called + `logs/YYYY-MM-DD_HH-MM-SS-release_update_log.txt`, but replace + YYYY-MM-DD_HH-MM-SS with the current date/time. + * Iterate through each project path you discovered in the + workspace. + * For each project, perform the following actions in its + directory. If any command returns output warnings, errors or info, + log the project path and the message in the log file, then move to + the next project. + +5. Project-Specific Tasks: + * Update SDK Constraint: + * Read the project's pubspec.yaml file. + * Find the environment.sdk key. + * Update its value to ^DART_VERSION-0 (e.g., ^3.9.0-0). + * Save the modified pubspec.yaml file. + * Run Quality Checks: + * Run dart analyze --fatal-infos --fatal-warnings. + * Run dart format . to ensure the code is correctly formatted. + * Run Tests: + * Check if a test directory exists in the project. + * Exception: Do not run tests for the project named + material_3_demo. + * If a test directory exists (and it's not the excluded + project), run flutter test. + +6. Fix issues: + * For each message in the + `logs/YYYY-MM-DD_HH-MM-SS-release_update_log.txt` file, attempt + to fix the problem. After 30 seconds of being unable to fix it, + move onto the next issue. + * If you fix the issue successfully, remove the message from the + log file. + * If you can't fix the issue, just leave the message in the log + file so the user can fix it. + +7. Final Report: + * After processing all projects, generate a summary report. + * The report must include: + * The total number of projects processed. + * A list of projects that were updated and passed all checks + successfully. + * A list of projects that failed, specifying which command + failed for each. + +8. Create Pull Request: + * After generating the report, create a pull request. + * Use the `gh` CLI tool for this purpose. + * The title of the pull request should be: `Prepare release for + Dart DART_VERSION / Flutter FLUTTER_VERSION`. + * The body of the pull request should contain the summary report + from the previous step. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 7d8e5b733d8..00000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,32 +0,0 @@ -# Changelog - -The purpose of this changelog is to track the freshness of samples and which -samples reflect *current best practices*. It describes **human-made, significant -** changes made to the repository or samples in the repository. - -While all samples in this repository build and run, some of them were written -long ago, and no longer reflect what we want developers to learn. For example, -samples should have been refactored when Dart 3 released to include patterns and -records, where appropriate. - -* **DO include:** - * The addition of new samples. - * The removal of existing samples. - * Considerable refactoring of any given sample. - -* **DO NOT include:** - * Simple changes that reflect minor version bumps in Flutter. For example, - in a recent Flutter update, `Color.red` became `Color.r`. - * Dependency updates. - * Bug fixes. - * Any changes made to simply 'keep the lights on'. - -# Log - -| DATE (YYYY-MM-DD) | Sample(s) | author | Changes | -|-------------------|-------------------|--------------|-----------------------------------------------| -| NEXT GOES HERE | | | | -| | | | | -| 2024-12-04 | N/A - repo change | ericwindmill | Added changelog | -| 2024-11-27 | fake_sample | ericwindmill | Refactored fake_sample to use Dart 3 features | -| 2020-04-17 | fake_sample | ericwindmill | Created fake_sample | diff --git a/README.md b/README.md index 3b2b7e0bc57..7cc45ae947b 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,14 @@ A collection of open source samples that illustrate best practices for [Flutter]. +## Contributing + +We appreciate fixes and necessary improvements to existing samples. **But in most cases, we're not currently adding new samples to this repository** while we rethink sample code in the new LLM world. + +Please read the [contributor's guide] if you have contributions. + +Googler's, you can freely add samples to the [flutter/demos] repository. + ## Index ### Quickstarts @@ -97,23 +105,6 @@ See the [getting started guide] to install the `flutter` tool. > If you want to run an add-to-app sample, there are additional requirements. > We suggest reading the [add-to-app documentation]. -### Tip: minimize download size - -As this repository is quite big, you can use -[svn] to download a single example. -For example: - -``` -svn co https://github.com/flutter/samples/trunk/provider_shopper -``` - -You can also use a [partial clone] to skip blob objects -that aren't currently checked out, while including the full commit history: - -``` -git clone --filter=blob:none https://github.com/flutter/samples.git -``` - ## Interested in contributing? See the [contributor's guide]! @@ -189,3 +180,4 @@ If you run into a bug in one of the samples, please file an issue in the [The FlutterDev Discord]: https://discord.gg/rflutterdev [The Flutter Community forum]: https://forum.itsallwidgets.com/latest [`flutter/samples` issue tracker]: https://github.com/flutter/samples/issues +[flutter/demos]: https://github.com/flutter/demos diff --git a/add_to_app/android_view/flutter_module_using_plugin/.gitignore b/add_to_app/android_view/flutter_module_using_plugin_android_view/.gitignore similarity index 100% rename from add_to_app/android_view/flutter_module_using_plugin/.gitignore rename to add_to_app/android_view/flutter_module_using_plugin_android_view/.gitignore diff --git a/add_to_app/android_view/flutter_module_using_plugin/.metadata b/add_to_app/android_view/flutter_module_using_plugin_android_view/.metadata similarity index 100% rename from add_to_app/android_view/flutter_module_using_plugin/.metadata rename to add_to_app/android_view/flutter_module_using_plugin_android_view/.metadata diff --git a/add_to_app/android_view/flutter_module_using_plugin/README.md b/add_to_app/android_view/flutter_module_using_plugin_android_view/README.md similarity index 100% rename from add_to_app/android_view/flutter_module_using_plugin/README.md rename to add_to_app/android_view/flutter_module_using_plugin_android_view/README.md diff --git a/add_to_app/android_view/flutter_module_using_plugin/analysis_options.yaml b/add_to_app/android_view/flutter_module_using_plugin_android_view/analysis_options.yaml similarity index 100% rename from add_to_app/android_view/flutter_module_using_plugin/analysis_options.yaml rename to add_to_app/android_view/flutter_module_using_plugin_android_view/analysis_options.yaml diff --git a/add_to_app/android_view/flutter_module_using_plugin/lib/cell.dart b/add_to_app/android_view/flutter_module_using_plugin_android_view/lib/cell.dart similarity index 83% rename from add_to_app/android_view/flutter_module_using_plugin/lib/cell.dart rename to add_to_app/android_view/flutter_module_using_plugin_android_view/lib/cell.dart index 13eb9007526..a799a5f75d7 100644 --- a/add_to_app/android_view/flutter_module_using_plugin/lib/cell.dart +++ b/add_to_app/android_view/flutter_module_using_plugin_android_view/lib/cell.dart @@ -23,7 +23,12 @@ class Cell extends StatefulWidget { class _CellState extends State with WidgetsBindingObserver { static const double gravity = 9.81; - static final AccelerometerEvent defaultPosition = AccelerometerEvent(0, 0, 0); + static final AccelerometerEvent defaultPosition = AccelerometerEvent( + 0, + 0, + 0, + DateTime.now(), + ); int cellNumber = 0; Random? _random; @@ -82,7 +87,10 @@ class _CellState extends State with WidgetsBindingObserver { builder: (context) { return Card( // Mimic the platform Material look. - margin: const EdgeInsets.symmetric(horizontal: 36, vertical: 24), + margin: const EdgeInsets.symmetric( + horizontal: 36, + vertical: 24, + ), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(16), ), @@ -112,22 +120,22 @@ class _CellState extends State with WidgetsBindingObserver { child: StreamBuilder( // Don't continuously rebuild for nothing when the // cell isn't visible. - stream: - appLifecycleState == AppLifecycleState.resumed - ? accelerometerEventStream() - : Stream.value(defaultPosition), + stream: appLifecycleState == AppLifecycleState.resumed + ? accelerometerEventStream() + : Stream.value(defaultPosition), initialData: defaultPosition, builder: (context, snapshot) { return Transform( // Figure out the phone's orientation relative // to gravity's direction. Ignore the z vector. - transform: Matrix4.rotationX( - snapshot.data!.y / gravity * pi / 2, - )..multiply( - Matrix4.rotationY( - snapshot.data!.x / gravity * pi / 2, - ), - ), + transform: + Matrix4.rotationX( + snapshot.data!.y / gravity * pi / 2, + )..multiply( + Matrix4.rotationY( + snapshot.data!.x / gravity * pi / 2, + ), + ), alignment: Alignment.center, child: const FlutterLogo(size: 72), ); diff --git a/add_to_app/android_view/flutter_module_using_plugin/lib/main.dart b/add_to_app/android_view/flutter_module_using_plugin_android_view/lib/main.dart similarity index 100% rename from add_to_app/android_view/flutter_module_using_plugin/lib/main.dart rename to add_to_app/android_view/flutter_module_using_plugin_android_view/lib/main.dart diff --git a/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml b/add_to_app/android_view/flutter_module_using_plugin_android_view/pubspec.yaml similarity index 85% rename from add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml rename to add_to_app/android_view/flutter_module_using_plugin_android_view/pubspec.yaml index 645caccafb8..4f6067a9287 100644 --- a/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml +++ b/add_to_app/android_view/flutter_module_using_plugin_android_view/pubspec.yaml @@ -1,17 +1,17 @@ -name: flutter_module_using_plugin +name: flutter_module_using_plugin_android_view description: An example Flutter module that uses a plugin. - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.8.1-0 dependencies: flutter: sdk: flutter - provider: ^6.0.2 - url_launcher: ^6.0.20 - sensors_plus: ^5.0.1 + provider: ^6.1.5 + url_launcher: ^6.3.2 + sensors_plus: ^6.1.1 dev_dependencies: analysis_defaults: diff --git a/add_to_app/android_view/flutter_module_using_plugin/test/widget_test.dart b/add_to_app/android_view/flutter_module_using_plugin_android_view/test/widget_test.dart similarity index 95% rename from add_to_app/android_view/flutter_module_using_plugin/test/widget_test.dart rename to add_to_app/android_view/flutter_module_using_plugin_android_view/test/widget_test.dart index 72807e9b740..f6cdf39aad1 100644 --- a/add_to_app/android_view/flutter_module_using_plugin/test/widget_test.dart +++ b/add_to_app/android_view/flutter_module_using_plugin_android_view/test/widget_test.dart @@ -6,7 +6,7 @@ // tree, read text, and verify that the values of widget properties are correct. import 'package:flutter/material.dart'; -import 'package:flutter_module_using_plugin/main.dart'; +import 'package:flutter_module_using_plugin_android_view/main.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:provider/provider.dart'; diff --git a/add_to_app/books/flutter_module_books/lib/main.dart b/add_to_app/books/flutter_module_books/lib/main.dart index dfa0c8729ce..3ef7fa7b5ac 100644 --- a/add_to_app/books/flutter_module_books/lib/main.dart +++ b/add_to_app/books/flutter_module_books/lib/main.dart @@ -125,28 +125,26 @@ class _BookDetailState extends State { IconButton( icon: const Icon(Icons.check), // Pressing save sends the updated book to the platform. - onPressed: - book != null - ? () { - hostApi.finishEditingBook(book!); - clear(); - } - : null, + onPressed: book != null + ? () { + hostApi.finishEditingBook(book!); + clear(); + } + : null, ), ], ), - body: - book == null - // Draw a spinner until the platform gives us the book to show details - // for. - ? const Center(child: CircularProgressIndicator()) - : BookForm( - book: book!, - focusNode: textFocusNode, - authorTextController: authorTextController, - subtitleTextController: subtitleTextController, - titleTextController: titleTextController, - ), + body: book == null + // Draw a spinner until the platform gives us the book to show details + // for. + ? const Center(child: CircularProgressIndicator()) + : BookForm( + book: book!, + focusNode: textFocusNode, + authorTextController: authorTextController, + subtitleTextController: subtitleTextController, + titleTextController: titleTextController, + ), ); } } diff --git a/add_to_app/books/flutter_module_books/pubspec.yaml b/add_to_app/books/flutter_module_books/pubspec.yaml index 1c3dc0fafaa..01d44f08ab5 100644 --- a/add_to_app/books/flutter_module_books/pubspec.yaml +++ b/add_to_app/books/flutter_module_books/pubspec.yaml @@ -2,11 +2,11 @@ name: flutter_module_books description: A Flutter module using the Pigeon package to demonstrate integrating Flutter in a realistic scenario where the existing platform app already has business logic and middleware constraints. - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: @@ -15,7 +15,7 @@ dependencies: dev_dependencies: analysis_defaults: path: ../../../analysis_defaults - pigeon: ">=11.0.0 <26.0.0" + pigeon: ">=11.0.0 <27.0.0" flutter_test: sdk: flutter diff --git a/add_to_app/books/flutter_module_books/test/widget_test.dart b/add_to_app/books/flutter_module_books/test/widget_test.dart index 11b8d3c1fac..6de9cb07fcb 100644 --- a/add_to_app/books/flutter_module_books/test/widget_test.dart +++ b/add_to_app/books/flutter_module_books/test/widget_test.dart @@ -20,11 +20,15 @@ void main() { expect(mockHostApi.cancelCalls, 1); }); - testWidgets('Pressing done calls the finish editing API', (tester) async { + testWidgets('Pressing done calls the finish editing API', ( + tester, + ) async { MockHostBookApi mockHostApi = MockHostBookApi(); await tester.pumpWidget( - MaterialApp(home: BookDetail(book: Book(), hostApi: mockHostApi)), + MaterialApp( + home: BookDetail(book: Book(), hostApi: mockHostApi), + ), ); await tester.tap(find.byIcon(Icons.check)); diff --git a/add_to_app/fullscreen/flutter_module/.gitignore b/add_to_app/fullscreen/flutter_module_fullscreen/.gitignore similarity index 100% rename from add_to_app/fullscreen/flutter_module/.gitignore rename to add_to_app/fullscreen/flutter_module_fullscreen/.gitignore diff --git a/add_to_app/fullscreen/flutter_module/.metadata b/add_to_app/fullscreen/flutter_module_fullscreen/.metadata similarity index 100% rename from add_to_app/fullscreen/flutter_module/.metadata rename to add_to_app/fullscreen/flutter_module_fullscreen/.metadata diff --git a/add_to_app/fullscreen/flutter_module/README.md b/add_to_app/fullscreen/flutter_module_fullscreen/README.md similarity index 100% rename from add_to_app/fullscreen/flutter_module/README.md rename to add_to_app/fullscreen/flutter_module_fullscreen/README.md diff --git a/add_to_app/fullscreen/flutter_module/analysis_options.yaml b/add_to_app/fullscreen/flutter_module_fullscreen/analysis_options.yaml similarity index 100% rename from add_to_app/fullscreen/flutter_module/analysis_options.yaml rename to add_to_app/fullscreen/flutter_module_fullscreen/analysis_options.yaml diff --git a/add_to_app/fullscreen/flutter_module/lib/main.dart b/add_to_app/fullscreen/flutter_module_fullscreen/lib/main.dart similarity index 100% rename from add_to_app/fullscreen/flutter_module/lib/main.dart rename to add_to_app/fullscreen/flutter_module_fullscreen/lib/main.dart diff --git a/add_to_app/fullscreen/flutter_module_fullscreen/pubspec.yaml b/add_to_app/fullscreen/flutter_module_fullscreen/pubspec.yaml new file mode 100644 index 00000000000..9fca79121e5 --- /dev/null +++ b/add_to_app/fullscreen/flutter_module_fullscreen/pubspec.yaml @@ -0,0 +1,35 @@ +name: flutter_module_fullscreen +description: An example Flutter module. +version: 1.0.0+1 +resolution: workspace + +environment: + sdk: ^3.9.0-0 + +dependencies: + flutter: + sdk: flutter + provider: ^6.0.2 + +dev_dependencies: + analysis_defaults: + path: ../../../analysis_defaults + flutter_test: + sdk: flutter + flutter_driver: + sdk: flutter + espresso: ">=0.2.0 <0.5.0" + +flutter: + uses-material-design: true + + # This section identifies your Flutter project as a module meant for + # embedding in a native host app. These identifiers should _not_ ordinarily + # be changed after generation - they are used to ensure that the tooling can + # maintain consistency when adding or modifying assets and plugins. + # They also do not have any bearing on your native host application's + # identifiers, which may be completely independent or the same as these. + module: + androidX: true + androidPackage: dev.flutter.example.flutter_module + iosBundleIdentifier: dev.flutter.example.flutterModule diff --git a/add_to_app/fullscreen/flutter_module_fullscreen/test/widget_test.dart b/add_to_app/fullscreen/flutter_module_fullscreen/test/widget_test.dart new file mode 100644 index 00000000000..af8421e5b83 --- /dev/null +++ b/add_to_app/fullscreen/flutter_module_fullscreen/test/widget_test.dart @@ -0,0 +1,47 @@ +// Copyright 2019 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:flutter_module_fullscreen/main.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:provider/provider.dart'; + +class MockCounterModel extends ChangeNotifier implements CounterModel { + int _count = 0; + + @override + int get count => _count; + + @override + void increment() { + _count++; + notifyListeners(); + } +} + +void main() { + testWidgets('MiniView smoke test', (tester) async { + // Build our app and trigger a frame. + await tester.pumpWidget( + MaterialApp( + home: ChangeNotifierProvider.value( + value: MockCounterModel(), + child: const Contents(), + ), + ), + ); + + // Verify that our counter starts at 0. + expect(find.text('Taps: 0'), findsOneWidget); + expect(find.text('Taps: 1'), findsNothing); + + // Tap the '+' icon and trigger a frame. + await tester.tap(find.text('Tap me!')); + await tester.pump(); + + // Verify that our counter has incremented. + expect(find.text('Taps: 0'), findsNothing); + expect(find.text('Taps: 1'), findsOneWidget); + }); +} diff --git a/add_to_app/fullscreen/flutter_module_fullscreen/test_driver/example.dart b/add_to_app/fullscreen/flutter_module_fullscreen/test_driver/example.dart new file mode 100644 index 00000000000..3d85ace7363 --- /dev/null +++ b/add_to_app/fullscreen/flutter_module_fullscreen/test_driver/example.dart @@ -0,0 +1,13 @@ +// Copyright 2020 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter_driver/driver_extension.dart'; +import 'package:flutter_module_fullscreen/main.dart' as app; + +// This alternate entrypoint is used for espresso testing. See +// https://pub.dev/packages/espresso for details. +void main() { + enableFlutterDriverExtension(); + app.main(); +} diff --git a/add_to_app/ios_content_resizing/README.md b/add_to_app/ios_content_resizing/README.md new file mode 100644 index 00000000000..9eb5160fd67 --- /dev/null +++ b/add_to_app/ios_content_resizing/README.md @@ -0,0 +1,36 @@ +# ios_content_resizing + +Embeds an instance of Flutter into an existing iOS app that will dynamically resize itself based off of it's content. + +## Description + +This sample showcases the integration of a self-resizing Flutter view within a native UIKit environment. The Flutter module features an expanding column of widgets. As items are added, the hosting UIView will automatically adjusts its [intrinsicContentSize](https://developer.apple.com/documentation/uikit/uiview/intrinsiccontentsize) to accommodate the new content size. + +## tl;dr + +If you're just looking to get up and running quickly, these bash commands will +fetch packages and set up dependencies (note that the above commands assume +you're building for both iOS and Android, with both toolchains installed): + +```bash + #!/bin/bash + set -e + + cd flutter_module/ + flutter pub get + cd ../ios_content_resizing + pod install + open ios_content_resizing.xcworkspace + # Then, click "Run" in Xcode to launch the app into your Simulator or device +``` + +## Requirements + +* Flutter +* iOS + * Xcode + * Cocoapods + +## Questions/issues + +See [add_to_app/README.md](../README.md) for further help. diff --git a/add_to_app/ios_content_resizing/flutter_module/.gitignore b/add_to_app/ios_content_resizing/flutter_module/.gitignore new file mode 100644 index 00000000000..5d88593fb3b --- /dev/null +++ b/add_to_app/ios_content_resizing/flutter_module/.gitignore @@ -0,0 +1,48 @@ +.DS_Store +.dart_tool/ + +.pub/ + +.idea/ +.vagrant/ +.sconsign.dblite +.svn/ + +migrate_working_dir/ + +*.swp +profile + +DerivedData/ + +.generated/ + +*.pbxuser +*.mode1v3 +*.mode2v3 +*.perspectivev3 + +!default.pbxuser +!default.mode1v3 +!default.mode2v3 +!default.perspectivev3 + +xcuserdata + +*.moved-aside + +*.pyc +*sync/ +Icon? +.tags* + +build/ +.android/ +.ios/ +.flutter-plugins-dependencies + +# Symbolication related +app.*.symbols + +# Obfuscation related +app.*.map.json diff --git a/experimental/federated_plugin/federated_plugin_macos/.metadata b/add_to_app/ios_content_resizing/flutter_module/.metadata similarity index 69% rename from experimental/federated_plugin/federated_plugin_macos/.metadata rename to add_to_app/ios_content_resizing/flutter_module/.metadata index 8c15ad72ba2..d6ca04bfa09 100644 --- a/experimental/federated_plugin/federated_plugin_macos/.metadata +++ b/add_to_app/ios_content_resizing/flutter_module/.metadata @@ -4,7 +4,7 @@ # This file should be version controlled and should not be manually edited. version: - revision: 77d935af4db863f6abd0b9c31c7e6df2a13de57b - channel: stable + revision: "27ccc2e66f3fd85ad388e3ba038a89251aef41b7" + channel: "master" -project_type: plugin +project_type: module diff --git a/add_to_app/ios_content_resizing/flutter_module/README.md b/add_to_app/ios_content_resizing/flutter_module/README.md new file mode 100644 index 00000000000..68e507145bb --- /dev/null +++ b/add_to_app/ios_content_resizing/flutter_module/README.md @@ -0,0 +1,11 @@ +# flutter_module + +A new Flutter module project. + +## Getting Started + +For help getting started with Flutter development, view the online +[documentation](https://flutter.dev/). + +For instructions integrating Flutter modules to your existing applications, +see the [add-to-app documentation](https://flutter.dev/to/add-to-app). diff --git a/add_to_app/ios_content_resizing/flutter_module/analysis_options.yaml b/add_to_app/ios_content_resizing/flutter_module/analysis_options.yaml new file mode 100644 index 00000000000..a5744c1cfbe --- /dev/null +++ b/add_to_app/ios_content_resizing/flutter_module/analysis_options.yaml @@ -0,0 +1,4 @@ +include: package:flutter_lints/flutter.yaml + +# Additional information about this file can be found at +# https://dart.dev/guides/language/analysis-options diff --git a/add_to_app/ios_content_resizing/flutter_module/lib/main.dart b/add_to_app/ios_content_resizing/flutter_module/lib/main.dart new file mode 100644 index 00000000000..97834ef244d --- /dev/null +++ b/add_to_app/ios_content_resizing/flutter_module/lib/main.dart @@ -0,0 +1,52 @@ +// Copyright 2014 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; + +void main() { + runApp(const ResizeApp()); +} + +class ResizeApp extends StatefulWidget { + const ResizeApp({super.key}); + + @override + State createState() => _ResizeAppState(); +} + +class _ResizeAppState extends State { + int _listSize = 1; + void _addToList() { + setState(() { + _listSize++; + }); + } + + @override + Widget build(BuildContext context) { + return Center( + heightFactor: 1, + child: Directionality( + textDirection: TextDirection.ltr, + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + for (int i = 0; i < _listSize; i++) + Container(color: HSVColor.fromAHSV(1, (10.0 * i), 1, 1).toColor(), height: 50, width: 200, + child: Center( + child: Text( + 'Flutter Widget $i', + style: const TextStyle(fontSize: 16, color: Colors.black), + ), + )), + TextButton( + onPressed: _addToList, + child: Text('Listception!'), + ) + ], + ), + ), + ); + } +} \ No newline at end of file diff --git a/add_to_app/ios_content_resizing/flutter_module/pubspec.yaml b/add_to_app/ios_content_resizing/flutter_module/pubspec.yaml new file mode 100644 index 00000000000..222719e2e2c --- /dev/null +++ b/add_to_app/ios_content_resizing/flutter_module/pubspec.yaml @@ -0,0 +1,87 @@ +name: flutter_module +description: "A new Flutter module project." + +# The following defines the version and build number for your application. +# A version number is three numbers separated by dots, like 1.2.43 +# followed by an optional build number separated by a +. +# Both the version and the builder number may be overridden in flutter +# build by specifying --build-name and --build-number, respectively. +# In Android, build-name is used as versionName while build-number used as versionCode. +# Read more about Android versioning at https://developer.android.com/studio/publish/versioning +# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. +# Read more about iOS versioning at +# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html +# +# This version is used _only_ for the Runner app, which is used if you just do +# a `flutter run`. It has no impact on any other native host app that you embed +# your Flutter project into. +version: 1.0.0+1 + +environment: + sdk: ^3.11.0-200.1.beta + +dependencies: + flutter: + sdk: flutter + + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.8 + +dev_dependencies: + flutter_test: + sdk: flutter + flutter_lints: ^6.0.0 + +# For information on the generic Dart part of this file, see the +# following page: https://dart.dev/tools/pub/pubspec + +flutter: + # The following line ensures that the Material Icons font is + # included with your application, so that you can use the icons in + # the material Icons class. + uses-material-design: true + + # To add Flutter specific assets to your application, add an assets section, + # like this: + # assets: + # - images/a_dot_burr.jpeg + # - images/a_dot_ham.jpeg + + # An image asset can refer to one or more resolution-specific "variants", see + # https://flutter.dev/to/resolution-aware-images + + # For details regarding adding assets from package dependencies, see + # https://flutter.dev/to/asset-from-package + + # To add Flutter specific custom fonts to your application, add a fonts + # section here, in this "flutter" section. Each entry in this list should + # have a "family" key with the font family name, and a "fonts" key with a + # list giving the asset and other descriptors for the font. For + # example: + # fonts: + # - family: Schyler + # fonts: + # - asset: fonts/Schyler-Regular.ttf + # - asset: fonts/Schyler-Italic.ttf + # style: italic + # - family: Trajan Pro + # fonts: + # - asset: fonts/TrajanPro.ttf + # - asset: fonts/TrajanPro_Bold.ttf + # weight: 700 + # + # For details regarding fonts from package dependencies, + # see https://flutter.dev/to/font-from-package + + + # This section identifies your Flutter project as a module meant for + # embedding in a native host app. These identifiers should _not_ ordinarily + # be changed after generation - they are used to ensure that the tooling can + # maintain consistency when adding or modifying assets and plugins. + # They also do not have any bearing on your native host application's + # identifiers, which may be completely independent or the same as these. + module: + androidX: true + androidPackage: com.example.flutter_module + iosBundleIdentifier: com.example.flutterModule diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Podfile b/add_to_app/ios_content_resizing/ios_content_resizing/Podfile new file mode 100644 index 00000000000..a17a105625a --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Podfile @@ -0,0 +1,32 @@ +# Uncomment the next line to define a global platform for your project +# platform :ios, '15.0' + +flutter_application_path = '../flutter_module' +load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb') + + +target 'ios_content_resizing' do + # Comment the next line if you don't want to use dynamic frameworks + use_frameworks! + + # Pods for ios_content_resizing + + install_all_flutter_pods(flutter_application_path) + + target 'ios_content_resizingTests' do + inherit! :search_paths + # Pods for testing + end + + target 'ios_content_resizingUITests' do + # Pods for testing + end + +end + + +post_install do |installer| + flutter_post_install(installer) if defined?(flutter_post_install) +end + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Local Podspecs/Flutter.podspec.json b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Local Podspecs/Flutter.podspec.json new file mode 100644 index 00000000000..d67a7c76f8a --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Local Podspecs/Flutter.podspec.json @@ -0,0 +1,20 @@ +{ + "name": "Flutter", + "version": "1.0.0", + "summary": "A UI toolkit for beautiful and fast apps.", + "homepage": "https://flutter.dev", + "license": { + "type": "BSD" + }, + "authors": { + "Flutter Dev Team": "flutter-dev@googlegroups.com" + }, + "source": { + "git": "https://github.com/flutter/engine", + "tag": "1.0.0" + }, + "platforms": { + "ios": "13.0" + }, + "vendored_frameworks": "path/to/nothing" +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Local Podspecs/FlutterPluginRegistrant.podspec.json b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Local Podspecs/FlutterPluginRegistrant.podspec.json new file mode 100644 index 00000000000..0000381624f --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Local Podspecs/FlutterPluginRegistrant.podspec.json @@ -0,0 +1,31 @@ +{ + "name": "FlutterPluginRegistrant", + "version": "0.0.1", + "summary": "Registers plugins with your Flutter app", + "description": "Depends on all your plugins, and provides a function to register them.", + "homepage": "https://flutter.dev", + "license": { + "type": "BSD" + }, + "authors": { + "Flutter Dev Team": "flutter-dev@googlegroups.com" + }, + "platforms": { + "ios": "13.0" + }, + "source_files": [ + "Classes", + "Classes/**/*.{h,m}" + ], + "source": { + "path": "." + }, + "public_header_files": "./Classes/**/*.h", + "static_framework": true, + "pod_target_xcconfig": { + "DEFINES_MODULE": "YES" + }, + "dependencies": { + "Flutter": [] + } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Manifest.lock b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Manifest.lock new file mode 100644 index 00000000000..00cca2c02a7 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Manifest.lock @@ -0,0 +1,22 @@ +PODS: + - Flutter (1.0.0) + - FlutterPluginRegistrant (0.0.1): + - Flutter + +DEPENDENCIES: + - Flutter (from `../flutter_module/.ios/Flutter`) + - FlutterPluginRegistrant (from `../flutter_module/.ios/Flutter/FlutterPluginRegistrant`) + +EXTERNAL SOURCES: + Flutter: + :path: "../flutter_module/.ios/Flutter" + FlutterPluginRegistrant: + :path: "../flutter_module/.ios/Flutter/FlutterPluginRegistrant" + +SPEC CHECKSUMS: + Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 + FlutterPluginRegistrant: 1bf2b93dcc6a731089dfe77f7a867be153c5008f + +PODFILE CHECKSUM: 8512f9d26835e64e2656751293a9f1e09c986b9d + +COCOAPODS: 1.16.2 diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/project.pbxproj b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 00000000000..8c0ad06b70b --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,1276 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXAggregateTarget section */ + 1EFDDC32A34D56D411E640A81DCD9E73 /* Flutter */ = { + isa = PBXAggregateTarget; + buildConfigurationList = B26E11467D023FA6CDCE36F75198812F /* Build configuration list for PBXAggregateTarget "Flutter" */; + buildPhases = ( + ); + dependencies = ( + ); + name = Flutter; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + 0B55D92CD2BAF933FE9D276939406D2C /* Pods-ios_content_resizingTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BA027B63B056E637B52DC48E997871D7 /* Pods-ios_content_resizingTests-dummy.m */; }; + 1C8B15B53492E657E17E19CD85AA35C0 /* Pods-ios_content_resizing-ios_content_resizingUITests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 740A60CC3FE2346AA1FEB529CDCCD439 /* Pods-ios_content_resizing-ios_content_resizingUITests-dummy.m */; }; + 203789EDA9BC17C4D2BB55B087DE25B8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 384DDA2CB25005BD6479B5987C619DD4 /* Foundation.framework */; }; + 44F46818A4A76D2DC7F7FDADAB40E781 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 2CE7A004F669D9407A99593AB2AFD491 /* GeneratedPluginRegistrant.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 4E3441E90BAB7D083993C56E292FA52C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 384DDA2CB25005BD6479B5987C619DD4 /* Foundation.framework */; }; + 4EE0C80B8A3C1107458579AFB4E41741 /* GeneratedPluginRegistrant.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E2D1DC1EC3C3E20E7FB2A0FF3EF4FCE /* GeneratedPluginRegistrant.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5A79D8994BC80675EE4A3F50CA6FEF4F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 384DDA2CB25005BD6479B5987C619DD4 /* Foundation.framework */; }; + 8DFAE2FA34C28A0530B72F4B5D3F0623 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 384DDA2CB25005BD6479B5987C619DD4 /* Foundation.framework */; }; + ACC932BEF12584E78B91E93346CB63E2 /* FlutterPluginRegistrant-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = DCC08935243F50B63245B117C34B45F3 /* FlutterPluginRegistrant-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B3889D09053A313F7A70C12C7D2B587C /* Pods-ios_content_resizing-ios_content_resizingUITests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CC33182B193B07DB144E4A6C9E01AB79 /* Pods-ios_content_resizing-ios_content_resizingUITests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B6AE8F15F2F866E8B52DC17217A64E71 /* Pods-ios_content_resizingTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 715630C735F4805B3A805CF50A9585F3 /* Pods-ios_content_resizingTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C31439779167DBFB0C2D6E1D2F3C673C /* Pods-ios_content_resizing-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 31098EA55F47B77CF6DE1E5F5057F68A /* Pods-ios_content_resizing-dummy.m */; }; + D065E4911A1DC5E493EEF7DB517B7214 /* FlutterPluginRegistrant-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2AAF585701677AEC4242C6CA033275B4 /* FlutterPluginRegistrant-dummy.m */; }; + D082208849F456F5518E6230A683096B /* Pods-ios_content_resizing-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F732C0211A045562F5E572138528CEB7 /* Pods-ios_content_resizing-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 0F89DBD5A9470B70308A8E62C10B4DC1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1EFDDC32A34D56D411E640A81DCD9E73; + remoteInfo = Flutter; + }; + 2C9791B40262CCA18DEA3CC7B7E1C667 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1EFDDC32A34D56D411E640A81DCD9E73; + remoteInfo = Flutter; + }; + 30CCE7DF2B096D489C0337201A23FEAB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 83DAA8F43D74F8D51203DE23C7C3A3F5; + remoteInfo = FlutterPluginRegistrant; + }; + 78511F1C1FD5C9BCB89672C1D4CF0475 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = CD1FE7E172044780FE5855099C6F9044; + remoteInfo = "Pods-ios_content_resizing"; + }; + 7948C6A42ED494BC018F1377A88CB2A6 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1EFDDC32A34D56D411E640A81DCD9E73; + remoteInfo = Flutter; + }; + FC692C20666B5D147B676FA8171775D9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 83DAA8F43D74F8D51203DE23C7C3A3F5; + remoteInfo = FlutterPluginRegistrant; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1B2A7B60A690627987F4A32728B1C441 /* Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig"; sourceTree = ""; }; + 1CD0339A7DDFF44C520DC672454F4CE6 /* Pods-ios_content_resizing-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ios_content_resizing-acknowledgements.markdown"; sourceTree = ""; }; + 1D1E78871CC9F2B1032560E19646993A /* FlutterPluginRegistrant.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FlutterPluginRegistrant.release.xcconfig; sourceTree = ""; }; + 1DB7953AE371D07C9F6F2864A55214EC /* Pods-ios_content_resizingTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ios_content_resizingTests.release.xcconfig"; sourceTree = ""; }; + 2AAF585701677AEC4242C6CA033275B4 /* FlutterPluginRegistrant-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FlutterPluginRegistrant-dummy.m"; sourceTree = ""; }; + 2ABF8D83AB2BF46EE272C48561AC5A9E /* Pods-ios_content_resizing.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ios_content_resizing.release.xcconfig"; sourceTree = ""; }; + 2CE7A004F669D9407A99593AB2AFD491 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = GeneratedPluginRegistrant.m; path = Classes/GeneratedPluginRegistrant.m; sourceTree = ""; }; + 31098EA55F47B77CF6DE1E5F5057F68A /* Pods-ios_content_resizing-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ios_content_resizing-dummy.m"; sourceTree = ""; }; + 384DDA2CB25005BD6479B5987C619DD4 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 3E69713BE606BC991F1C594C917D928F /* Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.markdown"; sourceTree = ""; }; + 4A162C470ECD31CC6B84AE1812A68341 /* Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.plist"; sourceTree = ""; }; + 4C51364643265E0627F1B989ABA783AC /* FlutterPluginRegistrant-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "FlutterPluginRegistrant-Info.plist"; sourceTree = ""; }; + 4F9125ED2B32F99F97EDBFBE15D053F3 /* Pods-ios_content_resizingTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ios_content_resizingTests.modulemap"; sourceTree = ""; }; + 550F9C4A71235EA01D58F70B41B5E3B9 /* Pods-ios_content_resizingTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ios_content_resizingTests-acknowledgements.plist"; sourceTree = ""; }; + 5793332C56B5C51F3F1A35E29F0F9B5C /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; + 5A9ED177DD476853C074763AE7635D34 /* FlutterPluginRegistrant.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FlutterPluginRegistrant.debug.xcconfig; sourceTree = ""; }; + 5E6A76AF8DCCA1B2712836D571D61A68 /* Flutter.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = Flutter.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 6056F33DB108BE122160D138498C99F8 /* Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig"; sourceTree = ""; }; + 715630C735F4805B3A805CF50A9585F3 /* Pods-ios_content_resizingTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ios_content_resizingTests-umbrella.h"; sourceTree = ""; }; + 7190D3A2421CEF0390C6C11ED312EB1B /* Flutter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Flutter.release.xcconfig; sourceTree = ""; }; + 740A60CC3FE2346AA1FEB529CDCCD439 /* Pods-ios_content_resizing-ios_content_resizingUITests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ios_content_resizing-ios_content_resizingUITests-dummy.m"; sourceTree = ""; }; + 7E2D1DC1EC3C3E20E7FB2A0FF3EF4FCE /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = GeneratedPluginRegistrant.h; path = Classes/GeneratedPluginRegistrant.h; sourceTree = ""; }; + 808964E349CF6A9C44A0909D0D6EEE8E /* Pods-ios_content_resizing.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ios_content_resizing.debug.xcconfig"; sourceTree = ""; }; + 80CEA24FF2084B8F57DFDFCC07F2064A /* Pods-ios_content_resizing-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ios_content_resizing-acknowledgements.plist"; sourceTree = ""; }; + 848315FC91D61DDA12BFE10AF7903DD9 /* Pods-ios_content_resizingTests */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-ios_content_resizingTests"; path = Pods_ios_content_resizingTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 863E29E35DF7586D71558E0FB794DDBC /* Pods-ios_content_resizing.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ios_content_resizing.modulemap"; sourceTree = ""; }; + 89F5E495C830BAE2B7079C84C449077F /* FlutterPluginRegistrant-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FlutterPluginRegistrant-prefix.pch"; sourceTree = ""; }; + 95DFED33AEBE20CFC59AC2D89DF45F13 /* Pods-ios_content_resizingTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ios_content_resizingTests.debug.xcconfig"; sourceTree = ""; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + B1B78154C420D3C3E3BB30C73471AF58 /* Pods-ios_content_resizing */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-ios_content_resizing"; path = Pods_ios_content_resizing.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B6420A4EFE167F7BACB091FE384D2AFB /* FlutterPluginRegistrant.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = FlutterPluginRegistrant.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + BA027B63B056E637B52DC48E997871D7 /* Pods-ios_content_resizingTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ios_content_resizingTests-dummy.m"; sourceTree = ""; }; + BB6445B421DA90DD6610EE80D499E3B4 /* Flutter.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Flutter.debug.xcconfig; sourceTree = ""; }; + CC33182B193B07DB144E4A6C9E01AB79 /* Pods-ios_content_resizing-ios_content_resizingUITests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ios_content_resizing-ios_content_resizingUITests-umbrella.h"; sourceTree = ""; }; + D8740969C1272A3D14589F37950232B7 /* Pods-ios_content_resizing-ios_content_resizingUITests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ios_content_resizing-ios_content_resizingUITests.modulemap"; sourceTree = ""; }; + D8DBE60F83CC9855059B3B56F3C86603 /* FlutterPluginRegistrant.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = FlutterPluginRegistrant.modulemap; sourceTree = ""; }; + DAC271DF29EEC36C2D6DF4B29D00059D /* Pods-ios_content_resizing-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ios_content_resizing-Info.plist"; sourceTree = ""; }; + DCC08935243F50B63245B117C34B45F3 /* FlutterPluginRegistrant-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FlutterPluginRegistrant-umbrella.h"; sourceTree = ""; }; + DEE6C5FCB90FB050631DE9252A0FF907 /* Pods-ios_content_resizing-ios_content_resizingUITests */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-ios_content_resizing-ios_content_resizingUITests"; path = Pods_ios_content_resizing_ios_content_resizingUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + DF7C6EBB9161EEF650EC12B4BB67E628 /* FlutterPluginRegistrant */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = FlutterPluginRegistrant; path = FlutterPluginRegistrant.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + EB01D38E9B9397013BDA6F2ECD3C116A /* Pods-ios_content_resizingTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ios_content_resizingTests-acknowledgements.markdown"; sourceTree = ""; }; + EC58DCEFE8DA0A2BC696E7AD13C037B4 /* Pods-ios_content_resizingTests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ios_content_resizingTests-Info.plist"; sourceTree = ""; }; + F0FC688EB853C97544D47655599785D8 /* Pods-ios_content_resizing-ios_content_resizingUITests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ios_content_resizing-ios_content_resizingUITests-Info.plist"; sourceTree = ""; }; + F732C0211A045562F5E572138528CEB7 /* Pods-ios_content_resizing-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ios_content_resizing-umbrella.h"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3C14517AA188AA0F4644710BDF6F2E0B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 203789EDA9BC17C4D2BB55B087DE25B8 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 830D63870BCE1E7548BFBF07AF254BC6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8DFAE2FA34C28A0530B72F4B5D3F0623 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C85264A7AE5B8D2D6D41BECD6C886F30 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 5A79D8994BC80675EE4A3F50CA6FEF4F /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DE8E25759FD7427C882BA4EB71D22E80 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4E3441E90BAB7D083993C56E292FA52C /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 17E661ACE046111F65EB8BC53399F9D5 /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + C8D1B05D3D5016D84F1E8CFC2829BA53 /* Pods-ios_content_resizing */, + AEE7DDCA547716D81E9370F489774C49 /* Pods-ios_content_resizing-ios_content_resizingUITests */, + D89266006DC36009E817D04F8788D146 /* Pods-ios_content_resizingTests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + 2479EE86B1BDE660ABC7156E54E5A81C /* Support Files */ = { + isa = PBXGroup; + children = ( + D8DBE60F83CC9855059B3B56F3C86603 /* FlutterPluginRegistrant.modulemap */, + 2AAF585701677AEC4242C6CA033275B4 /* FlutterPluginRegistrant-dummy.m */, + 4C51364643265E0627F1B989ABA783AC /* FlutterPluginRegistrant-Info.plist */, + 89F5E495C830BAE2B7079C84C449077F /* FlutterPluginRegistrant-prefix.pch */, + DCC08935243F50B63245B117C34B45F3 /* FlutterPluginRegistrant-umbrella.h */, + 5A9ED177DD476853C074763AE7635D34 /* FlutterPluginRegistrant.debug.xcconfig */, + 1D1E78871CC9F2B1032560E19646993A /* FlutterPluginRegistrant.release.xcconfig */, + ); + name = "Support Files"; + path = "../../../../ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant"; + sourceTree = ""; + }; + 6F7106898BE13FDCFDCF877524DD896B /* Products */ = { + isa = PBXGroup; + children = ( + DF7C6EBB9161EEF650EC12B4BB67E628 /* FlutterPluginRegistrant */, + B1B78154C420D3C3E3BB30C73471AF58 /* Pods-ios_content_resizing */, + DEE6C5FCB90FB050631DE9252A0FF907 /* Pods-ios_content_resizing-ios_content_resizingUITests */, + 848315FC91D61DDA12BFE10AF7903DD9 /* Pods-ios_content_resizingTests */, + ); + name = Products; + sourceTree = ""; + }; + A95135DC3DC55EDD6E2AE851A351550A /* Development Pods */ = { + isa = PBXGroup; + children = ( + C4828404A16E02F8503F54C1BEFB50AD /* Flutter */, + E236746D72969B68FE0982CAC2FA077D /* FlutterPluginRegistrant */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + AEE7DDCA547716D81E9370F489774C49 /* Pods-ios_content_resizing-ios_content_resizingUITests */ = { + isa = PBXGroup; + children = ( + D8740969C1272A3D14589F37950232B7 /* Pods-ios_content_resizing-ios_content_resizingUITests.modulemap */, + 3E69713BE606BC991F1C594C917D928F /* Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.markdown */, + 4A162C470ECD31CC6B84AE1812A68341 /* Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.plist */, + 740A60CC3FE2346AA1FEB529CDCCD439 /* Pods-ios_content_resizing-ios_content_resizingUITests-dummy.m */, + F0FC688EB853C97544D47655599785D8 /* Pods-ios_content_resizing-ios_content_resizingUITests-Info.plist */, + CC33182B193B07DB144E4A6C9E01AB79 /* Pods-ios_content_resizing-ios_content_resizingUITests-umbrella.h */, + 1B2A7B60A690627987F4A32728B1C441 /* Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig */, + 6056F33DB108BE122160D138498C99F8 /* Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig */, + ); + name = "Pods-ios_content_resizing-ios_content_resizingUITests"; + path = "Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests"; + sourceTree = ""; + }; + C4828404A16E02F8503F54C1BEFB50AD /* Flutter */ = { + isa = PBXGroup; + children = ( + C82424DE68A1A19BFC1B640369F4BC62 /* Pod */, + E30233976B4062D1B8D8CBF9AB58FDEF /* Support Files */, + ); + name = Flutter; + path = ../../flutter_module/.ios/Flutter; + sourceTree = ""; + }; + C82424DE68A1A19BFC1B640369F4BC62 /* Pod */ = { + isa = PBXGroup; + children = ( + 5E6A76AF8DCCA1B2712836D571D61A68 /* Flutter.podspec */, + 5793332C56B5C51F3F1A35E29F0F9B5C /* README.md */, + ); + name = Pod; + sourceTree = ""; + }; + C8D1B05D3D5016D84F1E8CFC2829BA53 /* Pods-ios_content_resizing */ = { + isa = PBXGroup; + children = ( + 863E29E35DF7586D71558E0FB794DDBC /* Pods-ios_content_resizing.modulemap */, + 1CD0339A7DDFF44C520DC672454F4CE6 /* Pods-ios_content_resizing-acknowledgements.markdown */, + 80CEA24FF2084B8F57DFDFCC07F2064A /* Pods-ios_content_resizing-acknowledgements.plist */, + 31098EA55F47B77CF6DE1E5F5057F68A /* Pods-ios_content_resizing-dummy.m */, + DAC271DF29EEC36C2D6DF4B29D00059D /* Pods-ios_content_resizing-Info.plist */, + F732C0211A045562F5E572138528CEB7 /* Pods-ios_content_resizing-umbrella.h */, + 808964E349CF6A9C44A0909D0D6EEE8E /* Pods-ios_content_resizing.debug.xcconfig */, + 2ABF8D83AB2BF46EE272C48561AC5A9E /* Pods-ios_content_resizing.release.xcconfig */, + ); + name = "Pods-ios_content_resizing"; + path = "Target Support Files/Pods-ios_content_resizing"; + sourceTree = ""; + }; + CAF78B8E3930ADF8B64CF30FC13AA025 /* Pod */ = { + isa = PBXGroup; + children = ( + B6420A4EFE167F7BACB091FE384D2AFB /* FlutterPluginRegistrant.podspec */, + ); + name = Pod; + sourceTree = ""; + }; + CF1408CF629C7361332E53B88F7BD30C = { + isa = PBXGroup; + children = ( + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, + A95135DC3DC55EDD6E2AE851A351550A /* Development Pods */, + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, + 6F7106898BE13FDCFDCF877524DD896B /* Products */, + 17E661ACE046111F65EB8BC53399F9D5 /* Targets Support Files */, + ); + sourceTree = ""; + }; + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { + isa = PBXGroup; + children = ( + E4801F62A6B08CD9B5410329F1A18FDE /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + D89266006DC36009E817D04F8788D146 /* Pods-ios_content_resizingTests */ = { + isa = PBXGroup; + children = ( + 4F9125ED2B32F99F97EDBFBE15D053F3 /* Pods-ios_content_resizingTests.modulemap */, + EB01D38E9B9397013BDA6F2ECD3C116A /* Pods-ios_content_resizingTests-acknowledgements.markdown */, + 550F9C4A71235EA01D58F70B41B5E3B9 /* Pods-ios_content_resizingTests-acknowledgements.plist */, + BA027B63B056E637B52DC48E997871D7 /* Pods-ios_content_resizingTests-dummy.m */, + EC58DCEFE8DA0A2BC696E7AD13C037B4 /* Pods-ios_content_resizingTests-Info.plist */, + 715630C735F4805B3A805CF50A9585F3 /* Pods-ios_content_resizingTests-umbrella.h */, + 95DFED33AEBE20CFC59AC2D89DF45F13 /* Pods-ios_content_resizingTests.debug.xcconfig */, + 1DB7953AE371D07C9F6F2864A55214EC /* Pods-ios_content_resizingTests.release.xcconfig */, + ); + name = "Pods-ios_content_resizingTests"; + path = "Target Support Files/Pods-ios_content_resizingTests"; + sourceTree = ""; + }; + E236746D72969B68FE0982CAC2FA077D /* FlutterPluginRegistrant */ = { + isa = PBXGroup; + children = ( + 7E2D1DC1EC3C3E20E7FB2A0FF3EF4FCE /* GeneratedPluginRegistrant.h */, + 2CE7A004F669D9407A99593AB2AFD491 /* GeneratedPluginRegistrant.m */, + CAF78B8E3930ADF8B64CF30FC13AA025 /* Pod */, + 2479EE86B1BDE660ABC7156E54E5A81C /* Support Files */, + ); + name = FlutterPluginRegistrant; + path = ../../flutter_module/.ios/Flutter/FlutterPluginRegistrant; + sourceTree = ""; + }; + E30233976B4062D1B8D8CBF9AB58FDEF /* Support Files */ = { + isa = PBXGroup; + children = ( + BB6445B421DA90DD6610EE80D499E3B4 /* Flutter.debug.xcconfig */, + 7190D3A2421CEF0390C6C11ED312EB1B /* Flutter.release.xcconfig */, + ); + name = "Support Files"; + path = "../../../ios_content_resizing/Pods/Target Support Files/Flutter"; + sourceTree = ""; + }; + E4801F62A6B08CD9B5410329F1A18FDE /* iOS */ = { + isa = PBXGroup; + children = ( + 384DDA2CB25005BD6479B5987C619DD4 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 0FD43C857895FACDAB7AA8C0FF502499 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + B6AE8F15F2F866E8B52DC17217A64E71 /* Pods-ios_content_resizingTests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 32F610179E9D72EE3A16EB3843931EE5 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ACC932BEF12584E78B91E93346CB63E2 /* FlutterPluginRegistrant-umbrella.h in Headers */, + 4EE0C80B8A3C1107458579AFB4E41741 /* GeneratedPluginRegistrant.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 51C7632BD4576CB1075F90A036533FE9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + B3889D09053A313F7A70C12C7D2B587C /* Pods-ios_content_resizing-ios_content_resizingUITests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B2B5AE61D5B2BAC16D2CCA2B5E4F8DEE /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + D082208849F456F5518E6230A683096B /* Pods-ios_content_resizing-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 81D87E4496B08116037E5861D2F209C8 /* Pods-ios_content_resizing-ios_content_resizingUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6B2F3D8F2303282D58B664BE8F2D4EA8 /* Build configuration list for PBXNativeTarget "Pods-ios_content_resizing-ios_content_resizingUITests" */; + buildPhases = ( + 51C7632BD4576CB1075F90A036533FE9 /* Headers */, + 6558434F3ED48ADA5D330EDA3E26529C /* Sources */, + DE8E25759FD7427C882BA4EB71D22E80 /* Frameworks */, + A566FEC23C5B98D2E72A7B131DA712B0 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EA4B8DFAE72877B05FABD41CFF09E680 /* PBXTargetDependency */, + EDA8F941BE29B16B5B697A2DED6651F5 /* PBXTargetDependency */, + ); + name = "Pods-ios_content_resizing-ios_content_resizingUITests"; + productName = Pods_ios_content_resizing_ios_content_resizingUITests; + productReference = DEE6C5FCB90FB050631DE9252A0FF907 /* Pods-ios_content_resizing-ios_content_resizingUITests */; + productType = "com.apple.product-type.framework"; + }; + 83DAA8F43D74F8D51203DE23C7C3A3F5 /* FlutterPluginRegistrant */ = { + isa = PBXNativeTarget; + buildConfigurationList = C9C0BE58A278116122B314654A0C4A57 /* Build configuration list for PBXNativeTarget "FlutterPluginRegistrant" */; + buildPhases = ( + 32F610179E9D72EE3A16EB3843931EE5 /* Headers */, + EE402EE2699B3EFF89477200DF3CE148 /* Sources */, + C85264A7AE5B8D2D6D41BECD6C886F30 /* Frameworks */, + 41C85A835F7246370834586E809DA47B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 3796C178DFE7E4BF73050579F753935D /* PBXTargetDependency */, + ); + name = FlutterPluginRegistrant; + productName = FlutterPluginRegistrant; + productReference = DF7C6EBB9161EEF650EC12B4BB67E628 /* FlutterPluginRegistrant */; + productType = "com.apple.product-type.framework"; + }; + CD1FE7E172044780FE5855099C6F9044 /* Pods-ios_content_resizing */ = { + isa = PBXNativeTarget; + buildConfigurationList = F446D705FA553D5DDA096E4FA9C58C9A /* Build configuration list for PBXNativeTarget "Pods-ios_content_resizing" */; + buildPhases = ( + B2B5AE61D5B2BAC16D2CCA2B5E4F8DEE /* Headers */, + D8AB908807A6536C9CCC151F2A5AC435 /* Sources */, + 3C14517AA188AA0F4644710BDF6F2E0B /* Frameworks */, + 2C5BDD3A05AF10694FB31F41E7136D9A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 28E6E08F0100197B5A7C30DEE65648FD /* PBXTargetDependency */, + 1DE7FB42D09CCE770F342A633F255B1E /* PBXTargetDependency */, + ); + name = "Pods-ios_content_resizing"; + productName = Pods_ios_content_resizing; + productReference = B1B78154C420D3C3E3BB30C73471AF58 /* Pods-ios_content_resizing */; + productType = "com.apple.product-type.framework"; + }; + E4EA532EB8D753070F4018E9EB3C09A2 /* Pods-ios_content_resizingTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9C81C4875C3CAE4CE50BCD8564492388 /* Build configuration list for PBXNativeTarget "Pods-ios_content_resizingTests" */; + buildPhases = ( + 0FD43C857895FACDAB7AA8C0FF502499 /* Headers */, + 5CEB1B2249C5D86647F8F2BEFA578F1C /* Sources */, + 830D63870BCE1E7548BFBF07AF254BC6 /* Frameworks */, + AF5798AF7A08861DE74D1251C1BE5D0C /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 97EE237CECB95E15153F7C32A348F503 /* PBXTargetDependency */, + ); + name = "Pods-ios_content_resizingTests"; + productName = Pods_ios_content_resizingTests; + productReference = 848315FC91D61DDA12BFE10AF7903DD9 /* Pods-ios_content_resizingTests */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + BFDFE7DC352907FC980B868725387E98 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1600; + LastUpgradeCheck = 1600; + }; + buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 16.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + Base, + en, + ); + mainGroup = CF1408CF629C7361332E53B88F7BD30C; + minimizedProjectReferenceProxies = 0; + preferredProjectObjectVersion = 77; + productRefGroup = 6F7106898BE13FDCFDCF877524DD896B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1EFDDC32A34D56D411E640A81DCD9E73 /* Flutter */, + 83DAA8F43D74F8D51203DE23C7C3A3F5 /* FlutterPluginRegistrant */, + CD1FE7E172044780FE5855099C6F9044 /* Pods-ios_content_resizing */, + 81D87E4496B08116037E5861D2F209C8 /* Pods-ios_content_resizing-ios_content_resizingUITests */, + E4EA532EB8D753070F4018E9EB3C09A2 /* Pods-ios_content_resizingTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 2C5BDD3A05AF10694FB31F41E7136D9A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 41C85A835F7246370834586E809DA47B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A566FEC23C5B98D2E72A7B131DA712B0 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AF5798AF7A08861DE74D1251C1BE5D0C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 5CEB1B2249C5D86647F8F2BEFA578F1C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0B55D92CD2BAF933FE9D276939406D2C /* Pods-ios_content_resizingTests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6558434F3ED48ADA5D330EDA3E26529C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1C8B15B53492E657E17E19CD85AA35C0 /* Pods-ios_content_resizing-ios_content_resizingUITests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D8AB908807A6536C9CCC151F2A5AC435 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C31439779167DBFB0C2D6E1D2F3C673C /* Pods-ios_content_resizing-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EE402EE2699B3EFF89477200DF3CE148 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D065E4911A1DC5E493EEF7DB517B7214 /* FlutterPluginRegistrant-dummy.m in Sources */, + 44F46818A4A76D2DC7F7FDADAB40E781 /* GeneratedPluginRegistrant.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1DE7FB42D09CCE770F342A633F255B1E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = FlutterPluginRegistrant; + target = 83DAA8F43D74F8D51203DE23C7C3A3F5 /* FlutterPluginRegistrant */; + targetProxy = 30CCE7DF2B096D489C0337201A23FEAB /* PBXContainerItemProxy */; + }; + 28E6E08F0100197B5A7C30DEE65648FD /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Flutter; + target = 1EFDDC32A34D56D411E640A81DCD9E73 /* Flutter */; + targetProxy = 7948C6A42ED494BC018F1377A88CB2A6 /* PBXContainerItemProxy */; + }; + 3796C178DFE7E4BF73050579F753935D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Flutter; + target = 1EFDDC32A34D56D411E640A81DCD9E73 /* Flutter */; + targetProxy = 0F89DBD5A9470B70308A8E62C10B4DC1 /* PBXContainerItemProxy */; + }; + 97EE237CECB95E15153F7C32A348F503 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "Pods-ios_content_resizing"; + target = CD1FE7E172044780FE5855099C6F9044 /* Pods-ios_content_resizing */; + targetProxy = 78511F1C1FD5C9BCB89672C1D4CF0475 /* PBXContainerItemProxy */; + }; + EA4B8DFAE72877B05FABD41CFF09E680 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Flutter; + target = 1EFDDC32A34D56D411E640A81DCD9E73 /* Flutter */; + targetProxy = 2C9791B40262CCA18DEA3CC7B7E1C667 /* PBXContainerItemProxy */; + }; + EDA8F941BE29B16B5B697A2DED6651F5 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = FlutterPluginRegistrant; + target = 83DAA8F43D74F8D51203DE23C7C3A3F5 /* FlutterPluginRegistrant */; + targetProxy = FC692C20666B5D147B676FA8171775D9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 040F80BD2D4B620F91B295DA27374820 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 95DFED33AEBE20CFC59AC2D89DF45F13 /* Pods-ios_content_resizingTests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_BITCODE = NO; + ENABLE_MODULE_VERIFIER = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + "EXCLUDED_ARCHS[sdk=iphoneos*]" = "$(inherited) armv7"; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "$(inherited) i386"; + "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\"", + "$(inherited)", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\"", + "$(inherited)", + ); + INFOPLIST_FILE = "Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 18.5; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.modulemap"; + ONLY_ACTIVE_ARCH = NO; + OTHER_LDFLAGS = ( + "$(inherited)", + "-framework", + Flutter, + ); + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + "VALID_ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 1602B4EBAE0C64817990D65F3711E6C6 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6056F33DB108BE122160D138498C99F8 /* Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_BITCODE = NO; + ENABLE_MODULE_VERIFIER = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + "EXCLUDED_ARCHS[sdk=iphoneos*]" = "$(inherited) armv7"; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "$(inherited) i386"; + "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\"", + "$(inherited)", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\"", + "$(inherited)", + ); + INFOPLIST_FILE = "Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 18.5; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.modulemap"; + OTHER_LDFLAGS = ( + "$(inherited)", + "-framework", + Flutter, + ); + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + "VALID_ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 7CA996BECDFC2548E01D9AF66C171E89 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1B2A7B60A690627987F4A32728B1C441 /* Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_BITCODE = NO; + ENABLE_MODULE_VERIFIER = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + "EXCLUDED_ARCHS[sdk=iphoneos*]" = "$(inherited) armv7"; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "$(inherited) i386"; + "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\"", + "$(inherited)", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\"", + "$(inherited)", + ); + INFOPLIST_FILE = "Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 18.5; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.modulemap"; + ONLY_ACTIVE_ARCH = NO; + OTHER_LDFLAGS = ( + "$(inherited)", + "-framework", + Flutter, + ); + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + "VALID_ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + A3CA710B05DD0D38FF0C61760F3B99FB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = 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_ENABLE_OBJC_WEAK = 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_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_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "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 = 18.5; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + B0AD22997967310A1650F12017E3C2C7 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1D1E78871CC9F2B1032560E19646993A /* FlutterPluginRegistrant.release.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_BITCODE = NO; + ENABLE_MODULE_VERIFIER = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + "EXCLUDED_ARCHS[sdk=iphoneos*]" = "$(inherited) armv7"; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "$(inherited) i386"; + "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\"", + "$(inherited)", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\"", + "$(inherited)", + ); + GCC_PREFIX_HEADER = "Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-prefix.pch"; + GENERATE_INFOPLIST_FILE = NO; + INFOPLIST_FILE = "Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.modulemap"; + OTHER_LDFLAGS = ( + "$(inherited)", + "-framework", + Flutter, + ); + PRODUCT_MODULE_NAME = FlutterPluginRegistrant; + PRODUCT_NAME = FlutterPluginRegistrant; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_INSTALL_OBJC_HEADER = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + "VALID_ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + CB3A369004330A68D6CB0D804AE27792 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7190D3A2421CEF0390C6C11ED312EB1B /* Flutter.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ENABLE_OBJC_WEAK = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + D8D83461AC915BEDCB4A478E1E489628 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = BB6445B421DA90DD6610EE80D499E3B4 /* Flutter.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ENABLE_OBJC_WEAK = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + ONLY_ACTIVE_ARCH = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + DFFBA46802CC7CCEBC5643E3F5B22C07 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5A9ED177DD476853C074763AE7635D34 /* FlutterPluginRegistrant.debug.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_BITCODE = NO; + ENABLE_MODULE_VERIFIER = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + "EXCLUDED_ARCHS[sdk=iphoneos*]" = "$(inherited) armv7"; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "$(inherited) i386"; + "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\"", + "$(inherited)", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\"", + "$(inherited)", + ); + GCC_PREFIX_HEADER = "Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-prefix.pch"; + GENERATE_INFOPLIST_FILE = NO; + INFOPLIST_FILE = "Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.modulemap"; + ONLY_ACTIVE_ARCH = NO; + OTHER_LDFLAGS = ( + "$(inherited)", + "-framework", + Flutter, + ); + PRODUCT_MODULE_NAME = FlutterPluginRegistrant; + PRODUCT_NAME = FlutterPluginRegistrant; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_INSTALL_OBJC_HEADER = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + "VALID_ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + E2364721D6682F8B9E80045232309A09 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = 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_ENABLE_OBJC_WEAK = 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_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_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=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 = 18.5; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Release; + }; + F955CE243E6CED064AA3566C5AB2B4C0 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2ABF8D83AB2BF46EE272C48561AC5A9E /* Pods-ios_content_resizing.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_BITCODE = NO; + ENABLE_MODULE_VERIFIER = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + "EXCLUDED_ARCHS[sdk=iphoneos*]" = "$(inherited) armv7"; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "$(inherited) i386"; + "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\"", + "$(inherited)", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\"", + "$(inherited)", + ); + INFOPLIST_FILE = "Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 18.5; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.modulemap"; + OTHER_LDFLAGS = ( + "$(inherited)", + "-framework", + Flutter, + ); + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + "VALID_ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + FCDBA9CEDD692CC12B081D6F97592E39 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1DB7953AE371D07C9F6F2864A55214EC /* Pods-ios_content_resizingTests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_BITCODE = NO; + ENABLE_MODULE_VERIFIER = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + "EXCLUDED_ARCHS[sdk=iphoneos*]" = "$(inherited) armv7"; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "$(inherited) i386"; + "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\"", + "$(inherited)", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\"", + "$(inherited)", + ); + INFOPLIST_FILE = "Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 18.5; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.modulemap"; + OTHER_LDFLAGS = ( + "$(inherited)", + "-framework", + Flutter, + ); + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + "VALID_ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + FD819B07C2E487E567F75DEA02AA0254 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 808964E349CF6A9C44A0909D0D6EEE8E /* Pods-ios_content_resizing.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_BITCODE = NO; + ENABLE_MODULE_VERIFIER = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + "EXCLUDED_ARCHS[sdk=iphoneos*]" = "$(inherited) armv7"; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "$(inherited) i386"; + "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\"", + "$(inherited)", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = ( + "\"/Users/louisehsu/Development/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\"", + "$(inherited)", + ); + INFOPLIST_FILE = "Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 18.5; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.modulemap"; + ONLY_ACTIVE_ARCH = NO; + OTHER_LDFLAGS = ( + "$(inherited)", + "-framework", + Flutter, + ); + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + "VALID_ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A3CA710B05DD0D38FF0C61760F3B99FB /* Debug */, + E2364721D6682F8B9E80045232309A09 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6B2F3D8F2303282D58B664BE8F2D4EA8 /* Build configuration list for PBXNativeTarget "Pods-ios_content_resizing-ios_content_resizingUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7CA996BECDFC2548E01D9AF66C171E89 /* Debug */, + 1602B4EBAE0C64817990D65F3711E6C6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9C81C4875C3CAE4CE50BCD8564492388 /* Build configuration list for PBXNativeTarget "Pods-ios_content_resizingTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 040F80BD2D4B620F91B295DA27374820 /* Debug */, + FCDBA9CEDD692CC12B081D6F97592E39 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B26E11467D023FA6CDCE36F75198812F /* Build configuration list for PBXAggregateTarget "Flutter" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D8D83461AC915BEDCB4A478E1E489628 /* Debug */, + CB3A369004330A68D6CB0D804AE27792 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C9C0BE58A278116122B314654A0C4A57 /* Build configuration list for PBXNativeTarget "FlutterPluginRegistrant" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DFFBA46802CC7CCEBC5643E3F5B22C07 /* Debug */, + B0AD22997967310A1650F12017E3C2C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F446D705FA553D5DDA096E4FA9C58C9A /* Build configuration list for PBXNativeTarget "Pods-ios_content_resizing" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FD819B07C2E487E567F75DEA02AA0254 /* Debug */, + F955CE243E6CED064AA3566C5AB2B4C0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; +} diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Flutter.xcscheme similarity index 54% rename from experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Flutter.xcscheme index c87d15a3352..efb76cca4d8 100644 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Flutter.xcscheme @@ -1,6 +1,6 @@ + BlueprintIdentifier = "1EFDDC32A34D56D411E640A81DCD9E73" + BuildableName = "Flutter" + BlueprintName = "Flutter" + ReferencedContainer = "container:Pods.xcodeproj"> @@ -27,15 +27,6 @@ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> - - - - @@ -49,33 +40,13 @@ debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/FlutterPluginRegistrant.xcscheme similarity index 54% rename from experimental/federated_plugin/federated_plugin/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/FlutterPluginRegistrant.xcscheme index fb7259e1778..629d12c5c15 100644 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/FlutterPluginRegistrant.xcscheme @@ -1,6 +1,6 @@ + BlueprintIdentifier = "83DAA8F43D74F8D51203DE23C7C3A3F5" + BuildableName = "FlutterPluginRegistrant.framework" + BlueprintName = "FlutterPluginRegistrant" + ReferencedContainer = "container:Pods.xcodeproj"> @@ -27,15 +27,6 @@ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> - - - - @@ -49,33 +40,13 @@ debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - - - - - - - - diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Pods-ios_content_resizing-ios_content_resizingUITests.xcscheme b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Pods-ios_content_resizing-ios_content_resizingUITests.xcscheme new file mode 100644 index 00000000000..f6460fe27f5 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Pods-ios_content_resizing-ios_content_resizingUITests.xcscheme @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Pods-ios_content_resizing.xcscheme b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Pods-ios_content_resizing.xcscheme new file mode 100644 index 00000000000..ff91729c9f6 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Pods-ios_content_resizing.xcscheme @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Pods-ios_content_resizingTests.xcscheme b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Pods-ios_content_resizingTests.xcscheme new file mode 100644 index 00000000000..c080fe82e0b --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/Pods-ios_content_resizingTests.xcscheme @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/xcschememanagement.plist b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 00000000000..b602389ceef --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Pods.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,46 @@ + + + + + SchemeUserState + + Flutter.xcscheme + + isShown + + orderHint + 0 + + FlutterPluginRegistrant.xcscheme + + isShown + + orderHint + 1 + + Pods-ios_content_resizing-ios_content_resizingUITests.xcscheme + + isShown + + orderHint + 3 + + Pods-ios_content_resizing.xcscheme + + isShown + + orderHint + 2 + + Pods-ios_content_resizingTests.xcscheme + + isShown + + orderHint + 4 + + + SuppressBuildableAutocreation + + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Flutter/Flutter.debug.xcconfig b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Flutter/Flutter.debug.xcconfig new file mode 100644 index 00000000000..17a86f0b2e7 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Flutter/Flutter.debug.xcconfig @@ -0,0 +1,12 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Flutter +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/Flutter +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Flutter/Flutter.release.xcconfig b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Flutter/Flutter.release.xcconfig new file mode 100644 index 00000000000..17a86f0b2e7 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Flutter/Flutter.release.xcconfig @@ -0,0 +1,12 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Flutter +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/Flutter +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Flutter/AppFrameworkInfo.plist b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-Info.plist similarity index 66% rename from experimental/federated_plugin/federated_plugin/example/ios/Flutter/AppFrameworkInfo.plist rename to add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-Info.plist index 8d4492f977a..8928a8d90b7 100644 --- a/experimental/federated_plugin/federated_plugin/example/ios/Flutter/AppFrameworkInfo.plist +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-Info.plist @@ -3,24 +3,24 @@ CFBundleDevelopmentRegion - en + ${PODS_DEVELOPMENT_LANGUAGE} CFBundleExecutable - App + ${EXECUTABLE_NAME} CFBundleIdentifier - io.flutter.flutter.app + ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName - App + ${PRODUCT_NAME} CFBundlePackageType FMWK CFBundleShortVersionString - 1.0 + 0.0.1 CFBundleSignature ???? CFBundleVersion - 1.0 - MinimumOSVersion - 9.0 + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-dummy.m b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-dummy.m new file mode 100644 index 00000000000..e6bdef1cfa3 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_FlutterPluginRegistrant : NSObject +@end +@implementation PodsDummy_FlutterPluginRegistrant +@end diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-prefix.pch b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-prefix.pch new file mode 100644 index 00000000000..beb2a244183 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-umbrella.h b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-umbrella.h new file mode 100644 index 00000000000..43d71fa4ac2 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "GeneratedPluginRegistrant.h" + +FOUNDATION_EXPORT double FlutterPluginRegistrantVersionNumber; +FOUNDATION_EXPORT const unsigned char FlutterPluginRegistrantVersionString[]; + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.debug.xcconfig b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.debug.xcconfig new file mode 100644 index 00000000000..ce7bdbb7b0b --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.debug.xcconfig @@ -0,0 +1,13 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant +DEFINES_MODULE = YES +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/Flutter/FlutterPluginRegistrant +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.modulemap b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.modulemap new file mode 100644 index 00000000000..44b5ef2d0d5 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.modulemap @@ -0,0 +1,6 @@ +framework module FlutterPluginRegistrant { + umbrella header "FlutterPluginRegistrant-umbrella.h" + + export * + module * { export * } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.release.xcconfig b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.release.xcconfig new file mode 100644 index 00000000000..ce7bdbb7b0b --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.release.xcconfig @@ -0,0 +1,13 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant +DEFINES_MODULE = YES +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/Flutter/FlutterPluginRegistrant +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/flutter_maps_firestore/ios/Flutter/AppFrameworkInfo.plist b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-Info.plist similarity index 66% rename from flutter_maps_firestore/ios/Flutter/AppFrameworkInfo.plist rename to add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-Info.plist index 163000d85c7..19cf209d21e 100644 --- a/flutter_maps_firestore/ios/Flutter/AppFrameworkInfo.plist +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-Info.plist @@ -3,24 +3,24 @@ CFBundleDevelopmentRegion - en + ${PODS_DEVELOPMENT_LANGUAGE} CFBundleExecutable - App + ${EXECUTABLE_NAME} CFBundleIdentifier - io.flutter.flutter.app + ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName - App + ${PRODUCT_NAME} CFBundlePackageType FMWK CFBundleShortVersionString - 1.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion - 1.0 - MinimumOSVersion - 14.0 + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.markdown b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.markdown new file mode 100644 index 00000000000..102af753851 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.plist b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.plist new file mode 100644 index 00000000000..7acbad1eabb --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-dummy.m b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-dummy.m new file mode 100644 index 00000000000..365aa010f9d --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_ios_content_resizing_ios_content_resizingUITests : NSObject +@end +@implementation PodsDummy_Pods_ios_content_resizing_ios_content_resizingUITests +@end diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-umbrella.h b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-umbrella.h new file mode 100644 index 00000000000..0746477c77a --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_ios_content_resizing_ios_content_resizingUITestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_ios_content_resizing_ios_content_resizingUITestsVersionString[]; + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig new file mode 100644 index 00000000000..a2c851c8141 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig @@ -0,0 +1,14 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +OTHER_LDFLAGS = $(inherited) -ObjC -framework "FlutterPluginRegistrant" +OTHER_MODULE_VERIFIER_FLAGS = $(inherited) "-F${PODS_CONFIGURATION_BUILD_DIR}/Flutter" "-F${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.modulemap b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.modulemap new file mode 100644 index 00000000000..01cab2eaaba --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_ios_content_resizing_ios_content_resizingUITests { + umbrella header "Pods-ios_content_resizing-ios_content_resizingUITests-umbrella.h" + + export * + module * { export * } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig new file mode 100644 index 00000000000..a2c851c8141 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig @@ -0,0 +1,14 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +OTHER_LDFLAGS = $(inherited) -ObjC -framework "FlutterPluginRegistrant" +OTHER_MODULE_VERIFIER_FLAGS = $(inherited) "-F${PODS_CONFIGURATION_BUILD_DIR}/Flutter" "-F${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/veggieseasons/ios/Flutter/AppFrameworkInfo.plist b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-Info.plist similarity index 66% rename from veggieseasons/ios/Flutter/AppFrameworkInfo.plist rename to add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-Info.plist index 7c569640062..19cf209d21e 100644 --- a/veggieseasons/ios/Flutter/AppFrameworkInfo.plist +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-Info.plist @@ -3,24 +3,24 @@ CFBundleDevelopmentRegion - en + ${PODS_DEVELOPMENT_LANGUAGE} CFBundleExecutable - App + ${EXECUTABLE_NAME} CFBundleIdentifier - io.flutter.flutter.app + ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName - App + ${PRODUCT_NAME} CFBundlePackageType FMWK CFBundleShortVersionString - 1.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion - 1.0 - MinimumOSVersion - 12.0 + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-acknowledgements.markdown b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-acknowledgements.markdown new file mode 100644 index 00000000000..102af753851 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-acknowledgements.plist b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-acknowledgements.plist new file mode 100644 index 00000000000..7acbad1eabb --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-dummy.m b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-dummy.m new file mode 100644 index 00000000000..16c489cde6d --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_ios_content_resizing : NSObject +@end +@implementation PodsDummy_Pods_ios_content_resizing +@end diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-umbrella.h b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-umbrella.h new file mode 100644 index 00000000000..d3e7c43d4f5 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_ios_content_resizingVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_ios_content_resizingVersionString[]; + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.debug.xcconfig b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.debug.xcconfig new file mode 100644 index 00000000000..a2c851c8141 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.debug.xcconfig @@ -0,0 +1,14 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +OTHER_LDFLAGS = $(inherited) -ObjC -framework "FlutterPluginRegistrant" +OTHER_MODULE_VERIFIER_FLAGS = $(inherited) "-F${PODS_CONFIGURATION_BUILD_DIR}/Flutter" "-F${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.modulemap b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.modulemap new file mode 100644 index 00000000000..c1ff0898cbe --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.modulemap @@ -0,0 +1,6 @@ +framework module Pods_ios_content_resizing { + umbrella header "Pods-ios_content_resizing-umbrella.h" + + export * + module * { export * } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.release.xcconfig b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.release.xcconfig new file mode 100644 index 00000000000..a2c851c8141 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.release.xcconfig @@ -0,0 +1,14 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +OTHER_LDFLAGS = $(inherited) -ObjC -framework "FlutterPluginRegistrant" +OTHER_MODULE_VERIFIER_FLAGS = $(inherited) "-F${PODS_CONFIGURATION_BUILD_DIR}/Flutter" "-F${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/experimental/varfont_shader_puzzle/ios/Flutter/AppFrameworkInfo.plist b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-Info.plist similarity index 66% rename from experimental/varfont_shader_puzzle/ios/Flutter/AppFrameworkInfo.plist rename to add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-Info.plist index 9625e105df3..19cf209d21e 100644 --- a/experimental/varfont_shader_puzzle/ios/Flutter/AppFrameworkInfo.plist +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-Info.plist @@ -3,24 +3,24 @@ CFBundleDevelopmentRegion - en + ${PODS_DEVELOPMENT_LANGUAGE} CFBundleExecutable - App + ${EXECUTABLE_NAME} CFBundleIdentifier - io.flutter.flutter.app + ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName - App + ${PRODUCT_NAME} CFBundlePackageType FMWK CFBundleShortVersionString - 1.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion - 1.0 - MinimumOSVersion - 11.0 + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-acknowledgements.markdown b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-acknowledgements.markdown new file mode 100644 index 00000000000..102af753851 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-acknowledgements.plist b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-acknowledgements.plist new file mode 100644 index 00000000000..7acbad1eabb --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-dummy.m b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-dummy.m new file mode 100644 index 00000000000..9e93bedc36a --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_ios_content_resizingTests : NSObject +@end +@implementation PodsDummy_Pods_ios_content_resizingTests +@end diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-umbrella.h b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-umbrella.h new file mode 100644 index 00000000000..793d3fca3c2 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_ios_content_resizingTestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_ios_content_resizingTestsVersionString[]; + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.debug.xcconfig b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.debug.xcconfig new file mode 100644 index 00000000000..80e5b31ec2f --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.debug.xcconfig @@ -0,0 +1,10 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.modulemap b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.modulemap new file mode 100644 index 00000000000..a09c5bac370 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_ios_content_resizingTests { + umbrella header "Pods-ios_content_resizingTests-umbrella.h" + + export * + module * { export * } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.release.xcconfig b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.release.xcconfig new file mode 100644 index 00000000000..80e5b31ec2f --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/Pods/Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.release.xcconfig @@ -0,0 +1,10 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/experimental/federated_plugin/federated_plugin/ios/.gitignore b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/.gitignore similarity index 66% rename from experimental/federated_plugin/federated_plugin/ios/.gitignore rename to add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/.gitignore index 0c885071e36..cdecf14aaa3 100644 --- a/experimental/federated_plugin/federated_plugin/ios/.gitignore +++ b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/.gitignore @@ -1,16 +1,18 @@ +.DS_Store +.dart_tool/ + +.packages +.pub/ + .idea/ .vagrant/ .sconsign.dblite .svn/ -.DS_Store *.swp profile DerivedData/ -build/ -GeneratedPluginRegistrant.h -GeneratedPluginRegistrant.m .generated/ @@ -33,6 +35,7 @@ xcuserdata Icon? .tags* -/Flutter/Generated.xcconfig -/Flutter/ephemeral/ -/Flutter/flutter_export_environment.sh \ No newline at end of file +build/ +.android/ +.ios/ +.flutter-plugins diff --git a/experimental/web_dashboard/.metadata b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/.metadata similarity index 75% rename from experimental/web_dashboard/.metadata rename to add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/.metadata index 4390eea94d8..194fb3cc0a2 100644 --- a/experimental/web_dashboard/.metadata +++ b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/.metadata @@ -4,7 +4,7 @@ # This file should be version controlled and should not be manually edited. version: - revision: bc6f270c584d1fdba81330090ef6e822b9082919 + revision: 532a8fed41a4f6595965f02f3edf9666ba5ebf44 channel: master -project_type: app +project_type: module diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/README.md b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/README.md new file mode 100644 index 00000000000..092c7d11aff --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/README.md @@ -0,0 +1,14 @@ +# flutter_module + +An example Flutter module used in the Flutter add-to-app samples. For more +information on how to use it, see the [README.md](../README.md) parent +directory. + +## Getting Started + +For more information about Flutter, check out +[flutter.dev](https://flutter.dev). + +For instructions on how to integrate Flutter modules into your existing +applications, see Flutter's +[add-to-app documentation](https://flutter.dev/docs/development/add-to-app). diff --git a/experimental/federated_plugin/federated_plugin/analysis_options.yaml b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/analysis_options.yaml similarity index 100% rename from experimental/federated_plugin/federated_plugin/analysis_options.yaml rename to add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/analysis_options.yaml diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/lib/main.dart b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/lib/main.dart new file mode 100644 index 00000000000..875600586ea --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/lib/main.dart @@ -0,0 +1,55 @@ +import 'package:flutter/material.dart'; + +void main() { + runApp(const MyApp()); +} + +/// The main application widget for the Fruit Catalog. +class MyApp extends StatefulWidget { + /// Creates the [MyApp]. + const MyApp({super.key}); + + @override + State createState() => _MyAppState(); +} + +class _MyAppState extends State { + int _counter = 1; + void _incrementCounter() { + setState(() { + if (_counter > 40) { + _counter = 1; + } + _counter++; + }); + } + + @override + Widget build(BuildContext context) { + + return Center( + heightFactor: 1, + child: Directionality( + textDirection: TextDirection.ltr, + child: Column( + mainAxisAlignment: MainAxisAlignment.end, + children: [ + for (int i = 0; i < _counter; i++) + Text( + "Hello from Flutter $i", + style: TextStyle(color: Colors.pink), + ), + Padding( + padding: const EdgeInsets.fromLTRB(8.0, 50, 8.0, 8.0), + child: ElevatedButton( + onPressed: _incrementCounter, + child: Text("Add to list"), + ), + ), + + ], + ), + ), + ); + } +} diff --git a/add_to_app/fullscreen/flutter_module/pubspec.yaml b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/pubspec.yaml similarity index 100% rename from add_to_app/fullscreen/flutter_module/pubspec.yaml rename to add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/pubspec.yaml diff --git a/add_to_app/fullscreen/flutter_module/test/widget_test.dart b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/test/widget_test.dart similarity index 100% rename from add_to_app/fullscreen/flutter_module/test/widget_test.dart rename to add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/test/widget_test.dart diff --git a/add_to_app/fullscreen/flutter_module/test_driver/example.dart b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/test_driver/example.dart similarity index 100% rename from add_to_app/fullscreen/flutter_module/test_driver/example.dart rename to add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/test_driver/example.dart diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/project.pbxproj b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/project.pbxproj new file mode 100644 index 00000000000..05ee1e094f9 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/project.pbxproj @@ -0,0 +1,719 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXBuildFile section */ + 7CAC012226BEEB661A102697 /* Pods_ios_content_resizingTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E04F6A34F21CD3BE6A257DDB /* Pods_ios_content_resizingTests.framework */; }; + 7F699BB7742B5FAB4C12CE5C /* Pods_ios_content_resizing.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 636EB75E6827B94D35B9E15C /* Pods_ios_content_resizing.framework */; }; + E843104071C29E6CE30D637B /* Pods_ios_content_resizing_ios_content_resizingUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 979B0953B3CB94157C961BB5 /* Pods_ios_content_resizing_ios_content_resizingUITests.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + F23EDFE72EE0E81C00A217AA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F23EDFC82EE0E81A00A217AA /* Project object */; + proxyType = 1; + remoteGlobalIDString = F23EDFCF2EE0E81A00A217AA; + remoteInfo = ios_content_resizing; + }; + F23EDFF12EE0E81C00A217AA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F23EDFC82EE0E81A00A217AA /* Project object */; + proxyType = 1; + remoteGlobalIDString = F23EDFCF2EE0E81A00A217AA; + remoteInfo = ios_content_resizing; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 21AF0E08BF01F3EA6AF43D73 /* Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig"; path = "Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig"; sourceTree = ""; }; + 2FEEB1287F59F7D0F950708C /* Pods-ios_content_resizingTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios_content_resizingTests.release.xcconfig"; path = "Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.release.xcconfig"; sourceTree = ""; }; + 5FED92584E697C8B2564E54E /* Pods-ios_content_resizingTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios_content_resizingTests.debug.xcconfig"; path = "Target Support Files/Pods-ios_content_resizingTests/Pods-ios_content_resizingTests.debug.xcconfig"; sourceTree = ""; }; + 636EB75E6827B94D35B9E15C /* Pods_ios_content_resizing.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ios_content_resizing.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 979B0953B3CB94157C961BB5 /* Pods_ios_content_resizing_ios_content_resizingUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ios_content_resizing_ios_content_resizingUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C170EDA9CDBAFCCCE6D0E1C0 /* Pods-ios_content_resizing.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios_content_resizing.release.xcconfig"; path = "Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.release.xcconfig"; sourceTree = ""; }; + D301423152989400BB7B71AC /* Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig"; path = "Target Support Files/Pods-ios_content_resizing-ios_content_resizingUITests/Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig"; sourceTree = ""; }; + D59E29ECBED0852D37A99053 /* Pods-ios_content_resizing.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios_content_resizing.debug.xcconfig"; path = "Target Support Files/Pods-ios_content_resizing/Pods-ios_content_resizing.debug.xcconfig"; sourceTree = ""; }; + E04F6A34F21CD3BE6A257DDB /* Pods_ios_content_resizingTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ios_content_resizingTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F23EDFD02EE0E81A00A217AA /* ios_content_resizing.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ios_content_resizing.app; sourceTree = BUILT_PRODUCTS_DIR; }; + F23EDFE62EE0E81C00A217AA /* ios_content_resizingTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ios_content_resizingTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + F23EDFF02EE0E81C00A217AA /* ios_content_resizingUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ios_content_resizingUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ + F23EDFF82EE0E81C00A217AA /* Exceptions for "ios_content_resizing" folder in "ios_content_resizing" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Info.plist, + ); + target = F23EDFCF2EE0E81A00A217AA /* ios_content_resizing */; + }; +/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + F23EDFD22EE0E81A00A217AA /* ios_content_resizing */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + F23EDFF82EE0E81C00A217AA /* Exceptions for "ios_content_resizing" folder in "ios_content_resizing" target */, + ); + path = ios_content_resizing; + sourceTree = ""; + }; + F23EDFE92EE0E81C00A217AA /* ios_content_resizingTests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + ); + path = ios_content_resizingTests; + sourceTree = ""; + }; + F23EDFF32EE0E81C00A217AA /* ios_content_resizingUITests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + ); + path = ios_content_resizingUITests; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + F23EDFCD2EE0E81A00A217AA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7F699BB7742B5FAB4C12CE5C /* Pods_ios_content_resizing.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F23EDFE32EE0E81C00A217AA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7CAC012226BEEB661A102697 /* Pods_ios_content_resizingTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F23EDFED2EE0E81C00A217AA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E843104071C29E6CE30D637B /* Pods_ios_content_resizing_ios_content_resizingUITests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 26A2B7F96A58CC7941B47702 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 636EB75E6827B94D35B9E15C /* Pods_ios_content_resizing.framework */, + 979B0953B3CB94157C961BB5 /* Pods_ios_content_resizing_ios_content_resizingUITests.framework */, + E04F6A34F21CD3BE6A257DDB /* Pods_ios_content_resizingTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 429AA23544B1D6221E46F99C /* Pods */ = { + isa = PBXGroup; + children = ( + D59E29ECBED0852D37A99053 /* Pods-ios_content_resizing.debug.xcconfig */, + C170EDA9CDBAFCCCE6D0E1C0 /* Pods-ios_content_resizing.release.xcconfig */, + 21AF0E08BF01F3EA6AF43D73 /* Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig */, + D301423152989400BB7B71AC /* Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig */, + 5FED92584E697C8B2564E54E /* Pods-ios_content_resizingTests.debug.xcconfig */, + 2FEEB1287F59F7D0F950708C /* Pods-ios_content_resizingTests.release.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; + F23EDFC72EE0E81A00A217AA = { + isa = PBXGroup; + children = ( + F23EDFD22EE0E81A00A217AA /* ios_content_resizing */, + F23EDFE92EE0E81C00A217AA /* ios_content_resizingTests */, + F23EDFF32EE0E81C00A217AA /* ios_content_resizingUITests */, + F23EDFD12EE0E81A00A217AA /* Products */, + 429AA23544B1D6221E46F99C /* Pods */, + 26A2B7F96A58CC7941B47702 /* Frameworks */, + ); + sourceTree = ""; + }; + F23EDFD12EE0E81A00A217AA /* Products */ = { + isa = PBXGroup; + children = ( + F23EDFD02EE0E81A00A217AA /* ios_content_resizing.app */, + F23EDFE62EE0E81C00A217AA /* ios_content_resizingTests.xctest */, + F23EDFF02EE0E81C00A217AA /* ios_content_resizingUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + F23EDFCF2EE0E81A00A217AA /* ios_content_resizing */ = { + isa = PBXNativeTarget; + buildConfigurationList = F23EDFF92EE0E81C00A217AA /* Build configuration list for PBXNativeTarget "ios_content_resizing" */; + buildPhases = ( + 04B5F7353A97C8C66DB1345D /* [CP] Check Pods Manifest.lock */, + 0096AB54D225CF9ABA303477 /* [CP-User] Run Flutter Build flutter_module Script */, + F23EDFCC2EE0E81A00A217AA /* Sources */, + F23EDFCD2EE0E81A00A217AA /* Frameworks */, + F23EDFCE2EE0E81A00A217AA /* Resources */, + 81C6A5B8754ABF6932230914 /* [CP-User] Embed Flutter Build flutter_module Script */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + F23EDFD22EE0E81A00A217AA /* ios_content_resizing */, + ); + name = ios_content_resizing; + productName = ios_content_resizing; + productReference = F23EDFD02EE0E81A00A217AA /* ios_content_resizing.app */; + productType = "com.apple.product-type.application"; + }; + F23EDFE52EE0E81C00A217AA /* ios_content_resizingTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = F23EDFFE2EE0E81C00A217AA /* Build configuration list for PBXNativeTarget "ios_content_resizingTests" */; + buildPhases = ( + D845714EE96E84A345CC5AFB /* [CP] Check Pods Manifest.lock */, + F23EDFE22EE0E81C00A217AA /* Sources */, + F23EDFE32EE0E81C00A217AA /* Frameworks */, + F23EDFE42EE0E81C00A217AA /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + F23EDFE82EE0E81C00A217AA /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + F23EDFE92EE0E81C00A217AA /* ios_content_resizingTests */, + ); + name = ios_content_resizingTests; + productName = ios_content_resizingTests; + productReference = F23EDFE62EE0E81C00A217AA /* ios_content_resizingTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + F23EDFEF2EE0E81C00A217AA /* ios_content_resizingUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = F23EE0012EE0E81C00A217AA /* Build configuration list for PBXNativeTarget "ios_content_resizingUITests" */; + buildPhases = ( + CD035F8822407F4FA59AE066 /* [CP] Check Pods Manifest.lock */, + F23EDFEC2EE0E81C00A217AA /* Sources */, + F23EDFED2EE0E81C00A217AA /* Frameworks */, + F23EDFEE2EE0E81C00A217AA /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + F23EDFF22EE0E81C00A217AA /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + F23EDFF32EE0E81C00A217AA /* ios_content_resizingUITests */, + ); + name = ios_content_resizingUITests; + productName = ios_content_resizingUITests; + productReference = F23EDFF02EE0E81C00A217AA /* ios_content_resizingUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + F23EDFC82EE0E81A00A217AA /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1640; + LastUpgradeCheck = 1640; + TargetAttributes = { + F23EDFCF2EE0E81A00A217AA = { + CreatedOnToolsVersion = 16.4; + }; + F23EDFE52EE0E81C00A217AA = { + CreatedOnToolsVersion = 16.4; + TestTargetID = F23EDFCF2EE0E81A00A217AA; + }; + F23EDFEF2EE0E81C00A217AA = { + CreatedOnToolsVersion = 16.4; + TestTargetID = F23EDFCF2EE0E81A00A217AA; + }; + }; + }; + buildConfigurationList = F23EDFCB2EE0E81A00A217AA /* Build configuration list for PBXProject "ios_content_resizing" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = F23EDFC72EE0E81A00A217AA; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = F23EDFD12EE0E81A00A217AA /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + F23EDFCF2EE0E81A00A217AA /* ios_content_resizing */, + F23EDFE52EE0E81C00A217AA /* ios_content_resizingTests */, + F23EDFEF2EE0E81C00A217AA /* ios_content_resizingUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + F23EDFCE2EE0E81A00A217AA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F23EDFE42EE0E81C00A217AA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F23EDFEE2EE0E81C00A217AA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 0096AB54D225CF9ABA303477 /* [CP-User] Run Flutter Build flutter_module Script */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "[CP-User] Run Flutter Build flutter_module Script"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "set -e\nset -u\nsource \"${SRCROOT}/../flutter_module/.ios/Flutter/flutter_export_environment.sh\"\nexport VERBOSE_SCRIPT_LOGGING=1 && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/xcode_backend.sh build"; + }; + 04B5F7353A97C8C66DB1345D /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-ios_content_resizing-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 81C6A5B8754ABF6932230914 /* [CP-User] Embed Flutter Build flutter_module Script */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "[CP-User] Embed Flutter Build flutter_module Script"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "set -e\nset -u\nsource \"${SRCROOT}/../flutter_module/.ios/Flutter/flutter_export_environment.sh\"\nexport VERBOSE_SCRIPT_LOGGING=1 && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/xcode_backend.sh embed_and_thin"; + }; + CD035F8822407F4FA59AE066 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-ios_content_resizing-ios_content_resizingUITests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + D845714EE96E84A345CC5AFB /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-ios_content_resizingTests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + F23EDFCC2EE0E81A00A217AA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F23EDFE22EE0E81C00A217AA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F23EDFEC2EE0E81C00A217AA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + F23EDFE82EE0E81C00A217AA /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = F23EDFCF2EE0E81A00A217AA /* ios_content_resizing */; + targetProxy = F23EDFE72EE0E81C00A217AA /* PBXContainerItemProxy */; + }; + F23EDFF22EE0E81C00A217AA /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = F23EDFCF2EE0E81A00A217AA /* ios_content_resizing */; + targetProxy = F23EDFF12EE0E81C00A217AA /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + F23EDFFA2EE0E81C00A217AA /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D59E29ECBED0852D37A99053 /* Pods-ios_content_resizing.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = S8QB4VV633; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = ios_content_resizing/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "dev.flutter.plugins.ios-content-resizing"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + F23EDFFB2EE0E81C00A217AA /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = C170EDA9CDBAFCCCE6D0E1C0 /* Pods-ios_content_resizing.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = S8QB4VV633; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = ios_content_resizing/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "dev.flutter.plugins.ios-content-resizing"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + F23EDFFC2EE0E81C00A217AA /* Debug */ = { + isa = XCBuildConfiguration; + 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++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = 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_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_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = S8QB4VV633; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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 = 18.5; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + F23EDFFD2EE0E81C00A217AA /* Release */ = { + isa = XCBuildConfiguration; + 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++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = 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_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_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = S8QB4VV633; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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 = 18.5; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + F23EDFFF2EE0E81C00A217AA /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5FED92584E697C8B2564E54E /* Pods-ios_content_resizingTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = S8QB4VV633; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.5; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "dev.flutter.plugins.ios-content-resizingTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ios_content_resizing.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/ios_content_resizing"; + }; + name = Debug; + }; + F23EE0002EE0E81C00A217AA /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2FEEB1287F59F7D0F950708C /* Pods-ios_content_resizingTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = S8QB4VV633; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.5; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "dev.flutter.plugins.ios-content-resizingTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ios_content_resizing.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/ios_content_resizing"; + }; + name = Release; + }; + F23EE0022EE0E81C00A217AA /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 21AF0E08BF01F3EA6AF43D73 /* Pods-ios_content_resizing-ios_content_resizingUITests.debug.xcconfig */; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = S8QB4VV633; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "dev.flutter.plugins.ios-content-resizingUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = ios_content_resizing; + }; + name = Debug; + }; + F23EE0032EE0E81C00A217AA /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D301423152989400BB7B71AC /* Pods-ios_content_resizing-ios_content_resizingUITests.release.xcconfig */; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = S8QB4VV633; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "dev.flutter.plugins.ios-content-resizingUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = ios_content_resizing; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + F23EDFCB2EE0E81A00A217AA /* Build configuration list for PBXProject "ios_content_resizing" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F23EDFFC2EE0E81C00A217AA /* Debug */, + F23EDFFD2EE0E81C00A217AA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F23EDFF92EE0E81C00A217AA /* Build configuration list for PBXNativeTarget "ios_content_resizing" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F23EDFFA2EE0E81C00A217AA /* Debug */, + F23EDFFB2EE0E81C00A217AA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F23EDFFE2EE0E81C00A217AA /* Build configuration list for PBXNativeTarget "ios_content_resizingTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F23EDFFF2EE0E81C00A217AA /* Debug */, + F23EE0002EE0E81C00A217AA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F23EE0012EE0E81C00A217AA /* Build configuration list for PBXNativeTarget "ios_content_resizingUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F23EE0022EE0E81C00A217AA /* Debug */, + F23EE0032EE0E81C00A217AA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = F23EDFC82EE0E81A00A217AA /* Project object */; +} diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/project.xcworkspace/xcuserdata/louisehsu.xcuserdatad/UserInterfaceState.xcuserstate b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/project.xcworkspace/xcuserdata/louisehsu.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 00000000000..943ac77b02a Binary files /dev/null and b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/project.xcworkspace/xcuserdata/louisehsu.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 52% rename from experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/xcschememanagement.plist index 18d981003d6..4ccf2d12203 100644 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcodeproj/xcuserdata/louisehsu.xcuserdatad/xcschemes/xcschememanagement.plist @@ -2,7 +2,13 @@ - IDEDidComputeMac32BitWarning - + SchemeUserState + + ios_content_resizing.xcscheme_^#shared#^_ + + orderHint + 5 + + diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcworkspace/contents.xcworkspacedata similarity index 76% rename from experimental/federated_plugin/federated_plugin/example/macos/Runner.xcworkspace/contents.xcworkspacedata rename to add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcworkspace/contents.xcworkspacedata index 21a3cc14c74..b278bcd7e4a 100644 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcworkspace/contents.xcworkspacedata +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcworkspace/contents.xcworkspacedata @@ -2,7 +2,7 @@ + location = "group:ios_content_resizing.xcodeproj"> diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcworkspace/xcuserdata/louisehsu.xcuserdatad/UserInterfaceState.xcuserstate b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcworkspace/xcuserdata/louisehsu.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 00000000000..49fa579cdf0 Binary files /dev/null and b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing.xcworkspace/xcuserdata/louisehsu.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/AppDelegate.swift b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/AppDelegate.swift new file mode 100644 index 00000000000..15760259ad2 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/AppDelegate.swift @@ -0,0 +1,14 @@ +import UIKit +import Flutter + +@main +class AppDelegate: FlutterAppDelegate { + // Make the engine lazy to be created when it's first needed. + lazy var flutterEngine = FlutterEngine(name: "my_flutter_engine") + + override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Pre-warms the FlutterEngine. + flutterEngine.run() + return super.application(application, didFinishLaunchingWithOptions: launchOptions) + } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Assets.xcassets/AccentColor.colorset/Contents.json b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 00000000000..eb878970081 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Assets.xcassets/AppIcon.appiconset/Contents.json b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000000..2305880107d --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,35 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "tinted" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Assets.xcassets/Contents.json b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Assets.xcassets/Contents.json new file mode 100644 index 00000000000..73c00596a7f --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Base.lproj/LaunchScreen.storyboard b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000000..865e9329f37 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Base.lproj/Main.storyboard b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Base.lproj/Main.storyboard new file mode 100644 index 00000000000..25a763858ec --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Base.lproj/Main.storyboard @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Info.plist b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Info.plist new file mode 100644 index 00000000000..dd3c9afdae3 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/Info.plist @@ -0,0 +1,25 @@ + + + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/SceneDelegate.swift b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/SceneDelegate.swift new file mode 100644 index 00000000000..a968d29350b --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/SceneDelegate.swift @@ -0,0 +1,52 @@ +// +// SceneDelegate.swift +// ios_content_resizing +// +// Created by Louise Hsu on 12/3/25. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. + // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). + guard let _ = (scene as? UIWindowScene) else { return } + } + + func sceneDidDisconnect(_ scene: UIScene) { + // Called as the scene is being released by the system. + // This occurs shortly after the scene enters the background, or when its session is discarded. + // Release any resources associated with this scene that can be re-created the next time the scene connects. + // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). + } + + func sceneDidBecomeActive(_ scene: UIScene) { + // Called when the scene has moved from an inactive state to an active state. + // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. + } + + func sceneWillResignActive(_ scene: UIScene) { + // Called when the scene will move from an active state to an inactive state. + // This may occur due to temporary interruptions (ex. an incoming phone call). + } + + func sceneWillEnterForeground(_ scene: UIScene) { + // Called as the scene transitions from the background to the foreground. + // Use this method to undo the changes made on entering the background. + } + + func sceneDidEnterBackground(_ scene: UIScene) { + // Called as the scene transitions from the foreground to the background. + // Use this method to save data, release shared resources, and store enough scene-specific state information + // to restore the scene back to its current state. + } + + +} + diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/ViewController.swift b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/ViewController.swift new file mode 100644 index 00000000000..1fe4b1ea26a --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/ViewController.swift @@ -0,0 +1,87 @@ +import Flutter +import UIKit + +class ViewController: UIViewController { + override func viewDidLoad() { + super.viewDidLoad() + view.backgroundColor = .systemGroupedBackground + showStyledScrollView() + } + + func showStyledScrollView() { + let scrollView = UIScrollView() + let stackView = UIStackView() + stackView.axis = .vertical + stackView.spacing = 12 + + let engine = FlutterEngine() + engine.run() + + for index in 1...50 { + if index == 1 { + let flutterViewController = FlutterViewController(engine: engine, nibName: nil, bundle: nil) + flutterViewController.isAutoResizable = true + addChild(flutterViewController) + + flutterViewController.view.backgroundColor = .clear + + let cardView = UIView() + cardView.backgroundColor = .systemBackground + cardView.layer.cornerRadius = 12 + cardView.layer.masksToBounds = true + + flutterViewController.view.translatesAutoresizingMaskIntoConstraints = false + cardView.addSubview(flutterViewController.view) + + NSLayoutConstraint.activate([ + flutterViewController.view.topAnchor.constraint(equalTo: cardView.topAnchor), + flutterViewController.view.leadingAnchor.constraint(equalTo: cardView.leadingAnchor), + flutterViewController.view.trailingAnchor.constraint(equalTo: cardView.trailingAnchor), + flutterViewController.view.bottomAnchor.constraint(equalTo: cardView.bottomAnchor) + ]) + + stackView.addArrangedSubview(cardView) + flutterViewController.didMove(toParent: self) + + } else { + let label = UILabel() + label.text = "iOS Label \(index)" + label.translatesAutoresizingMaskIntoConstraints = false + + let cardView = UIView() + cardView.backgroundColor = .systemBackground + cardView.layer.cornerRadius = 12 + cardView.addSubview(label) + + NSLayoutConstraint.activate([ + label.topAnchor.constraint(equalTo: cardView.topAnchor, constant: 16), + label.bottomAnchor.constraint(equalTo: cardView.bottomAnchor, constant: -16), + label.leadingAnchor.constraint(equalTo: cardView.leadingAnchor, constant: 16), + label.trailingAnchor.constraint(equalTo: cardView.trailingAnchor, constant: -16) + ]) + + stackView.addArrangedSubview(cardView) + } + } + + scrollView.translatesAutoresizingMaskIntoConstraints = false + stackView.translatesAutoresizingMaskIntoConstraints = false + + view.addSubview(scrollView) + scrollView.addSubview(stackView) + + NSLayoutConstraint.activate([ + scrollView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor), + scrollView.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor), + scrollView.leadingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.leadingAnchor), + scrollView.trailingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.trailingAnchor) + ]) + + NSLayoutConstraint.activate([ + stackView.topAnchor.constraint(equalTo: scrollView.contentLayoutGuide.topAnchor, constant: 20), + stackView.bottomAnchor.constraint(equalTo: scrollView.contentLayoutGuide.bottomAnchor, constant: -20), + stackView.leadingAnchor.constraint(equalTo: scrollView.frameLayoutGuide.leadingAnchor, constant: 20), + stackView.trailingAnchor.constraint(equalTo: scrollView.frameLayoutGuide.trailingAnchor, constant: -20) + ]) + } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizingTests/ios_content_resizingTests.swift b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizingTests/ios_content_resizingTests.swift new file mode 100644 index 00000000000..346452adbe5 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizingTests/ios_content_resizingTests.swift @@ -0,0 +1,36 @@ +// +// ios_content_resizingTests.swift +// ios_content_resizingTests +// +// Created by Louise Hsu on 12/3/25. +// + +import XCTest +@testable import ios_content_resizing + +final class ios_content_resizingTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + // Any test you write for XCTest can be annotated as throws and async. + // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. + // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizingUITests/ios_content_resizingUITests.swift b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizingUITests/ios_content_resizingUITests.swift new file mode 100644 index 00000000000..2c0f47a7111 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizingUITests/ios_content_resizingUITests.swift @@ -0,0 +1,41 @@ +// +// ios_content_resizingUITests.swift +// ios_content_resizingUITests +// +// Created by Louise Hsu on 12/3/25. +// + +import XCTest + +final class ios_content_resizingUITests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + @MainActor + func testExample() throws { + // UI tests must launch the application that they test. + let app = XCUIApplication() + app.launch() + + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + @MainActor + func testLaunchPerformance() throws { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizingUITests/ios_content_resizingUITestsLaunchTests.swift b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizingUITests/ios_content_resizingUITestsLaunchTests.swift new file mode 100644 index 00000000000..dec91af1446 --- /dev/null +++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizingUITests/ios_content_resizingUITestsLaunchTests.swift @@ -0,0 +1,33 @@ +// +// ios_content_resizingUITestsLaunchTests.swift +// ios_content_resizingUITests +// +// Created by Louise Hsu on 12/3/25. +// + +import XCTest + +final class ios_content_resizingUITestsLaunchTests: XCTestCase { + + override class var runsForEachTargetApplicationUIConfiguration: Bool { + true + } + + override func setUpWithError() throws { + continueAfterFailure = false + } + + @MainActor + func testLaunch() throws { + let app = XCUIApplication() + app.launch() + + // Insert steps here to perform after app launch but before taking a screenshot, + // such as logging into a test account or navigating somewhere in the app + + let attachment = XCTAttachment(screenshot: app.screenshot()) + attachment.name = "Launch Screen" + attachment.lifetime = .keepAlways + add(attachment) + } +} diff --git a/add_to_app/multiple_flutters/multiple_flutters_module/lib/main.dart b/add_to_app/multiple_flutters/multiple_flutters_module/lib/main.dart index 07fd235f1d5..7464360d0e9 100644 --- a/add_to_app/multiple_flutters/multiple_flutters_module/lib/main.dart +++ b/add_to_app/multiple_flutters/multiple_flutters_module/lib/main.dart @@ -82,7 +82,10 @@ class _MyHomePageState extends State { '$_counter', style: Theme.of(context).textTheme.headlineMedium, ), - TextButton(onPressed: _incrementCounter, child: const Text('Add')), + TextButton( + onPressed: _incrementCounter, + child: const Text('Add'), + ), TextButton( onPressed: () { _channel.invokeMethod("next", _counter); diff --git a/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml b/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml index baa095646c0..0b7755f935d 100644 --- a/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml +++ b/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml @@ -1,10 +1,10 @@ name: multiple_flutters_module description: A module that is embedded in the multiple_flutters_ios and multiple_flutters_android sample code. - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: diff --git a/add_to_app/plugin/flutter_module_using_plugin/lib/cell.dart b/add_to_app/plugin/flutter_module_using_plugin/lib/cell.dart index b1fe42aff4b..dbef5a1dc27 100644 --- a/add_to_app/plugin/flutter_module_using_plugin/lib/cell.dart +++ b/add_to_app/plugin/flutter_module_using_plugin/lib/cell.dart @@ -23,7 +23,12 @@ class Cell extends StatefulWidget { class _CellState extends State with WidgetsBindingObserver { static const double gravity = 9.81; - static final AccelerometerEvent defaultPosition = AccelerometerEvent(0, 0, 0); + static final AccelerometerEvent defaultPosition = AccelerometerEvent( + 0, + 0, + 0, + DateTime.now(), + ); int cellNumber = 0; Random? _random; @@ -82,7 +87,10 @@ class _CellState extends State with WidgetsBindingObserver { builder: (context) { return Card( // Mimic the platform Material look. - margin: const EdgeInsets.symmetric(horizontal: 36, vertical: 24), + margin: const EdgeInsets.symmetric( + horizontal: 36, + vertical: 24, + ), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(16), ), @@ -112,10 +120,9 @@ class _CellState extends State with WidgetsBindingObserver { child: StreamBuilder( // Don't continuously rebuild for nothing when the // cell isn't visible. - stream: - appLifecycleState == AppLifecycleState.resumed - ? accelerometerEventStream() - : Stream.value(defaultPosition), + stream: appLifecycleState == AppLifecycleState.resumed + ? accelerometerEventStream() + : Stream.value(defaultPosition), initialData: defaultPosition, builder: (context, snapshot) { final data = snapshot.data; @@ -125,11 +132,14 @@ class _CellState extends State with WidgetsBindingObserver { return Transform( // Figure out the phone's orientation relative // to gravity's direction. Ignore the z vector. - transform: Matrix4.rotationX( - data.y / gravity * pi / 2, - )..multiply( - Matrix4.rotationY(data.x / gravity * pi / 2), - ), + transform: + Matrix4.rotationX( + data.y / gravity * pi / 2, + )..multiply( + Matrix4.rotationY( + data.x / gravity * pi / 2, + ), + ), alignment: Alignment.center, child: const FlutterLogo(size: 72), ); diff --git a/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml b/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml index 645caccafb8..db1e2d84e8f 100644 --- a/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml +++ b/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml @@ -1,17 +1,17 @@ name: flutter_module_using_plugin description: An example Flutter module that uses a plugin. - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter provider: ^6.0.2 url_launcher: ^6.0.20 - sensors_plus: ^5.0.1 + sensors_plus: ^6.1.1 dev_dependencies: analysis_defaults: diff --git a/add_to_app/prebuilt_module/flutter_module/pubspec.yaml b/add_to_app/prebuilt_module/flutter_module/pubspec.yaml index 2c00a2cb1ae..773d4c49f52 100644 --- a/add_to_app/prebuilt_module/flutter_module/pubspec.yaml +++ b/add_to_app/prebuilt_module/flutter_module/pubspec.yaml @@ -1,10 +1,10 @@ name: flutter_module description: An example Flutter module. - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: diff --git a/analysis_defaults/.gitignore b/analysis_defaults/.gitignore index 3a857904084..f48998bed65 100644 --- a/analysis_defaults/.gitignore +++ b/analysis_defaults/.gitignore @@ -1,3 +1,4 @@ # https://dart.dev/guides/libraries/private-files # Created by `dart pub` .dart_tool/ +.build/ diff --git a/analysis_defaults/lib/flutter.yaml b/analysis_defaults/lib/flutter.yaml index 869a3ffb10a..34ab6e19bd4 100644 --- a/analysis_defaults/lib/flutter.yaml +++ b/analysis_defaults/lib/flutter.yaml @@ -1,5 +1,9 @@ include: package:flutter_lints/flutter.yaml +formatter: + trailing_commas: preserve + page_width: 79 + analyzer: language: strict-casts: true diff --git a/analysis_defaults/pubspec.yaml b/analysis_defaults/pubspec.yaml index d6160ec4568..21a9b80ea60 100644 --- a/analysis_defaults/pubspec.yaml +++ b/analysis_defaults/pubspec.yaml @@ -1,11 +1,14 @@ name: analysis_defaults description: Analysis defaults for flutter/samples publish_to: none +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 # NOTE: Code is not allowed in this package. Do not add more dependencies. # The `flutter_lints` dependency is required for `lib/flutter.yaml`. dependencies: - flutter_lints: ^5.0.0 + flutter_lints: ^6.0.0 + + diff --git a/android_splash_screen/pubspec.yaml b/android_splash_screen/pubspec.yaml index 12f2bae4c64..7c33475320b 100644 --- a/android_splash_screen/pubspec.yaml +++ b/android_splash_screen/pubspec.yaml @@ -1,23 +1,20 @@ name: splash_screen_sample description: A sample Flutter app with animated splash screen on Android 12. - publish_to: "none" - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - dev_dependencies: analysis_defaults: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true assets: diff --git a/animations/lib/main.dart b/animations/lib/main.dart index 25530594c34..fda00fdf61e 100644 --- a/animations/lib/main.dart +++ b/animations/lib/main.dart @@ -21,7 +21,8 @@ const double windowWidth = 480; const double windowHeight = 854; void setupWindow() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { + if (!kIsWeb && + (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { WidgetsFlutterBinding.ensureInitialized(); setWindowTitle('Animation Samples'); setWindowMinSize(const Size(windowWidth, windowHeight)); @@ -43,7 +44,11 @@ class Demo { final String route; final WidgetBuilder builder; - const Demo({required this.name, required this.route, required this.builder}); + const Demo({ + required this.name, + required this.route, + required this.builder, + }); } final basicDemos = [ diff --git a/animations/lib/src/basics/animated_builder.dart b/animations/lib/src/basics/animated_builder.dart index a64c03bffd8..030a4057ff4 100644 --- a/animations/lib/src/basics/animated_builder.dart +++ b/animations/lib/src/basics/animated_builder.dart @@ -49,7 +49,9 @@ class _AnimatedBuilderDemoState extends State animation: animation, builder: (context, child) { return ElevatedButton( - style: ElevatedButton.styleFrom(backgroundColor: animation.value), + style: ElevatedButton.styleFrom( + backgroundColor: animation.value, + ), child: child, onPressed: () { switch (controller.status) { diff --git a/animations/lib/src/basics/fade_transition.dart b/animations/lib/src/basics/fade_transition.dart index 8496987b69f..8a808454349 100644 --- a/animations/lib/src/basics/fade_transition.dart +++ b/animations/lib/src/basics/fade_transition.dart @@ -49,18 +49,21 @@ class _FadeTransitionDemoState extends State children: [ FadeTransition( opacity: _animation, - child: const Icon(Icons.star, color: Colors.amber, size: 300), + child: const Icon( + Icons.star, + color: Colors.amber, + size: 300, + ), ), ElevatedButton( child: const Text('animate'), - onPressed: - () => setState(() { - _controller - .animateTo(1.0) - .then( - (value) => _controller.animateBack(0.0), - ); - }), + onPressed: () => setState(() { + _controller + .animateTo(1.0) + .then( + (value) => _controller.animateBack(0.0), + ); + }), ), ], ), diff --git a/animations/lib/src/basics/tween_sequence.dart b/animations/lib/src/basics/tween_sequence.dart index aaf79187ef9..05b7b586a32 100644 --- a/animations/lib/src/basics/tween_sequence.dart +++ b/animations/lib/src/basics/tween_sequence.dart @@ -74,7 +74,10 @@ class _TweenSequenceDemoState extends State child: child, ); }, - child: const Text('Animate', style: TextStyle(color: Colors.white)), + child: const Text( + 'Animate', + style: TextStyle(color: Colors.white), + ), ), ), ); diff --git a/animations/lib/src/misc/animated_list.dart b/animations/lib/src/misc/animated_list.dart index 0971959c6e2..6e774d9904c 100644 --- a/animations/lib/src/misc/animated_list.dart +++ b/animations/lib/src/misc/animated_list.dart @@ -75,7 +75,9 @@ class _AnimatedListDemoState extends State { return Scaffold( appBar: AppBar( title: const Text('AnimatedList'), - actions: [IconButton(icon: const Icon(Icons.add), onPressed: addUser)], + actions: [ + IconButton(icon: const Icon(Icons.add), onPressed: addUser), + ], ), body: SafeArea( child: AnimatedList( diff --git a/animations/lib/src/misc/animated_positioned.dart b/animations/lib/src/misc/animated_positioned.dart index 4b661147f68..cc703be054c 100644 --- a/animations/lib/src/misc/animated_positioned.dart +++ b/animations/lib/src/misc/animated_positioned.dart @@ -11,7 +11,8 @@ class AnimatedPositionedDemo extends StatefulWidget { static String routeName = 'misc/animated_positioned'; @override - State createState() => _AnimatedPositionedDemoState(); + State createState() => + _AnimatedPositionedDemoState(); } class _AnimatedPositionedDemoState extends State { @@ -54,12 +55,11 @@ class _AnimatedPositionedDemoState extends State { left: leftPosition, duration: const Duration(seconds: 1), child: InkWell( - onTap: - () => changePosition( - size.height - - (appBar.preferredSize.height + topPadding + 50), - size.width - 150, - ), + onTap: () => changePosition( + size.height - + (appBar.preferredSize.height + topPadding + 50), + size.width - 150, + ), child: Container( alignment: Alignment.center, width: 150, @@ -68,8 +68,9 @@ class _AnimatedPositionedDemoState extends State { child: Text( 'Click Me', style: TextStyle( - color: - Theme.of(context).buttonTheme.colorScheme!.onPrimary, + color: Theme.of( + context, + ).buttonTheme.colorScheme!.onPrimary, ), ), ), diff --git a/animations/lib/src/misc/animated_switcher.dart b/animations/lib/src/misc/animated_switcher.dart index 5f017efb80e..96427f8d144 100644 --- a/animations/lib/src/misc/animated_switcher.dart +++ b/animations/lib/src/misc/animated_switcher.dart @@ -48,8 +48,8 @@ class _AnimatedSwitcherDemoState extends State { title: const Text('AnimatedSwitcher'), actions: [ TextButton( - onPressed: - () => setState(() => container = generateContainer(++keyCount)), + onPressed: () => + setState(() => container = generateContainer(++keyCount)), child: const Text('Change Widget'), ), ], @@ -61,9 +61,8 @@ class _AnimatedSwitcherDemoState extends State { child: AnimatedSwitcher( duration: const Duration(seconds: 1), child: container, - transitionBuilder: - (child, animation) => - ScaleTransition(scale: animation, child: child), + transitionBuilder: (child, animation) => + ScaleTransition(scale: animation, child: child), ), ), ); diff --git a/animations/lib/src/misc/carousel.dart b/animations/lib/src/misc/carousel.dart index c2f2b2974ef..67c9c82523b 100644 --- a/animations/lib/src/misc/carousel.dart +++ b/animations/lib/src/misc/carousel.dart @@ -15,8 +15,9 @@ class CarouselDemo extends StatelessWidget { 'assets/eat_sydney_sm.jpg', ]; - final List images = - fileNames.map((file) => Image.asset(file, fit: BoxFit.cover)).toList(); + final List images = fileNames + .map((file) => Image.asset(file, fit: BoxFit.cover)) + .toList(); @override Widget build(context) { @@ -77,29 +78,32 @@ class _CarouselState extends State { }, controller: _controller, scrollBehavior: ScrollConfiguration.of(context).copyWith( - dragDevices: {ui.PointerDeviceKind.touch, ui.PointerDeviceKind.mouse}, + dragDevices: { + ui.PointerDeviceKind.touch, + ui.PointerDeviceKind.mouse, + }, + ), + itemBuilder: (context, index) => AnimatedBuilder( + animation: _controller, + builder: (context, child) { + var result = _pageHasChanged + ? _controller.page! + : _currentPage * 1.0; + + // The horizontal position of the page between a 1 and 0 + var value = result - index; + value = (1 - (value.abs() * .5)).clamp(0.0, 1.0); + + return Center( + child: SizedBox( + height: Curves.easeOut.transform(value) * size.height, + width: Curves.easeOut.transform(value) * size.width, + child: child, + ), + ); + }, + child: widget.itemBuilder(context, index), ), - itemBuilder: - (context, index) => AnimatedBuilder( - animation: _controller, - builder: (context, child) { - var result = - _pageHasChanged ? _controller.page! : _currentPage * 1.0; - - // The horizontal position of the page between a 1 and 0 - var value = result - index; - value = (1 - (value.abs() * .5)).clamp(0.0, 1.0); - - return Center( - child: SizedBox( - height: Curves.easeOut.transform(value) * size.height, - width: Curves.easeOut.transform(value) * size.width, - child: child, - ), - ); - }, - child: widget.itemBuilder(context, index), - ), ); } diff --git a/animations/lib/src/misc/curved_animation.dart b/animations/lib/src/misc/curved_animation.dart index 500d7d28c15..e460653fdad 100644 --- a/animations/lib/src/misc/curved_animation.dart +++ b/animations/lib/src/misc/curved_animation.dart @@ -91,13 +91,12 @@ class _CurvedAnimationDemoState extends State style: Theme.of(context).textTheme.titleLarge, ), DropdownButton( - items: - curves.map((curve) { - return DropdownMenuItem( - value: curve, - child: Text(curve.name), - ); - }).toList(), + items: curves.map((curve) { + return DropdownMenuItem( + value: curve, + child: Text(curve.name), + ); + }).toList(), onChanged: (newCurve) { if (newCurve != null) { setState(() { @@ -114,13 +113,12 @@ class _CurvedAnimationDemoState extends State style: Theme.of(context).textTheme.titleLarge, ), DropdownButton( - items: - curves.map((curve) { - return DropdownMenuItem( - value: curve, - child: Text(curve.name), - ); - }).toList(), + items: curves.map((curve) { + return DropdownMenuItem( + value: curve, + child: Text(curve.name), + ); + }).toList(), onChanged: (newCurve) { if (newCurve != null) { setState(() { diff --git a/animations/lib/src/misc/expand_card.dart b/animations/lib/src/misc/expand_card.dart index c47829d4c17..d537d15b2a9 100644 --- a/animations/lib/src/misc/expand_card.dart +++ b/animations/lib/src/misc/expand_card.dart @@ -52,26 +52,24 @@ class _ExpandCardState extends State duration: duration, firstCurve: Curves.easeInOutCubic, secondCurve: Curves.easeInOutCubic, - crossFadeState: - selected - ? CrossFadeState.showSecond - : CrossFadeState.showFirst, + crossFadeState: selected + ? CrossFadeState.showSecond + : CrossFadeState.showFirst, // Use Positioned.fill() to pass the constraints to its children. // This allows the Images to use BoxFit.cover to cover the correct // size - layoutBuilder: ( - topChild, - topChildKey, - bottomChild, - bottomChildKey, - ) { - return Stack( - children: [ - Positioned.fill(key: bottomChildKey, child: bottomChild), - Positioned.fill(key: topChildKey, child: topChild), - ], - ); - }, + layoutBuilder: + (topChild, topChildKey, bottomChild, bottomChildKey) { + return Stack( + children: [ + Positioned.fill( + key: bottomChildKey, + child: bottomChild, + ), + Positioned.fill(key: topChildKey, child: topChild), + ], + ); + }, firstChild: Image.asset( 'assets/eat_cape_town_sm.jpg', fit: BoxFit.cover, diff --git a/animations/lib/src/misc/flutter_animate.dart b/animations/lib/src/misc/flutter_animate.dart index 88de877c69d..c31dde47c96 100644 --- a/animations/lib/src/misc/flutter_animate.dart +++ b/animations/lib/src/misc/flutter_animate.dart @@ -18,20 +18,21 @@ class FlutterAnimateDemo extends StatelessWidget { body: Center( child: Padding( padding: const EdgeInsets.all(16), - child: Text( - "Hello Flutter Animate", - style: Theme.of(context).textTheme.headlineLarge, - ) - .animate(onPlay: (controller) => controller.repeat()) - .then(delay: 250.ms) - .fadeIn(duration: 500.ms) - .then(delay: 250.ms) - .shimmer(duration: 400.ms) - .then(delay: 250.ms) - .slide() - .then(delay: 250.ms) - .blur(duration: 500.ms) - .then(delay: 100.ms), + child: + Text( + "Hello Flutter Animate", + style: Theme.of(context).textTheme.headlineLarge, + ) + .animate(onPlay: (controller) => controller.repeat()) + .then(delay: 250.ms) + .fadeIn(duration: 500.ms) + .then(delay: 250.ms) + .shimmer(duration: 400.ms) + .then(delay: 250.ms) + .slide() + .then(delay: 250.ms) + .blur(duration: 500.ms) + .then(delay: 100.ms), ), ), ); diff --git a/animations/lib/src/misc/focus_image.dart b/animations/lib/src/misc/focus_image.dart index 7031129cdf1..542fbb0d557 100644 --- a/animations/lib/src/misc/focus_image.dart +++ b/animations/lib/src/misc/focus_image.dart @@ -29,10 +29,12 @@ class Grid extends StatelessWidget { ), itemBuilder: (context, index) { return (index >= 20) - ? const SmallCard(imageAssetName: 'assets/eat_cape_town_sm.jpg') + ? const SmallCard( + imageAssetName: 'assets/eat_cape_town_sm.jpg', + ) : const SmallCard( - imageAssetName: 'assets/eat_new_orleans_sm.jpg', - ); + imageAssetName: 'assets/eat_new_orleans_sm.jpg', + ); }, ), ); @@ -50,7 +52,9 @@ Route _createRoute(BuildContext parentContext, String image) { ).chain(CurveTween(curve: Curves.ease)).animate(animation); return Stack( - children: [PositionedTransition(rect: rectAnimation, child: child)], + children: [ + PositionedTransition(rect: rectAnimation, child: child), + ], ); }, ); diff --git a/animations/lib/src/misc/hero_animation.dart b/animations/lib/src/misc/hero_animation.dart index 08bc030b9b1..372a4163555 100644 --- a/animations/lib/src/misc/hero_animation.dart +++ b/animations/lib/src/misc/hero_animation.dart @@ -15,10 +15,15 @@ class HeroAnimationDemo extends StatelessWidget { body: GestureDetector( child: Hero( tag: 'hero-page-child', - child: _createHeroContainer(size: 50.0, color: Colors.grey.shade300), + child: _createHeroContainer( + size: 50.0, + color: Colors.grey.shade300, + ), ), - onTap: - () => Navigator.of(context).push( + onTap: () => + Navigator.of( + context, + ).push( MaterialPageRoute(builder: (context) => const HeroPage()), ), ), @@ -52,7 +57,9 @@ StatelessWidget _createHeroContainer({ height: size, width: size, padding: const EdgeInsets.all(10.0), - margin: size < 100.0 ? const EdgeInsets.all(10.0) : const EdgeInsets.all(0), + margin: size < 100.0 + ? const EdgeInsets.all(10.0) + : const EdgeInsets.all(0), decoration: BoxDecoration(shape: BoxShape.circle, color: color), child: const FlutterLogo(), ); diff --git a/animations/lib/src/misc/physics_card_drag.dart b/animations/lib/src/misc/physics_card_drag.dart index 6249d20d3f5..e401c6ee2f9 100644 --- a/animations/lib/src/misc/physics_card_drag.dart +++ b/animations/lib/src/misc/physics_card_drag.dart @@ -78,7 +78,9 @@ class _DraggableCardState extends State void initState() { super.initState(); _controller = AnimationController.unbounded(vsync: this) - ..addListener(() => setState(() => _dragAlignment = _animation.value)); + ..addListener( + () => setState(() => _dragAlignment = _animation.value), + ); } @override @@ -92,17 +94,18 @@ class _DraggableCardState extends State final size = MediaQuery.of(context).size; return GestureDetector( onPanStart: (details) => _controller.stop(canceled: true), - onPanUpdate: - (details) => setState( - () => - _dragAlignment += Alignment( - details.delta.dx / (size.width / 2), - details.delta.dy / (size.height / 2), - ), - ), - onPanEnd: - (details) => _runAnimation(details.velocity.pixelsPerSecond, size), - child: Align(alignment: _dragAlignment, child: Card(child: widget.child)), + onPanUpdate: (details) => setState( + () => _dragAlignment += Alignment( + details.delta.dx / (size.width / 2), + details.delta.dy / (size.height / 2), + ), + ), + onPanEnd: (details) => + _runAnimation(details.velocity.pixelsPerSecond, size), + child: Align( + alignment: _dragAlignment, + child: Card(child: widget.child), + ), ); } } diff --git a/animations/lib/src/misc/repeating_animation.dart b/animations/lib/src/misc/repeating_animation.dart index bc0b978083a..2f1a21527fd 100644 --- a/animations/lib/src/misc/repeating_animation.dart +++ b/animations/lib/src/misc/repeating_animation.dart @@ -9,7 +9,8 @@ class RepeatingAnimationDemo extends StatefulWidget { static String routeName = 'misc/repeating_animation'; @override - State createState() => _RepeatingAnimationDemoState(); + State createState() => + _RepeatingAnimationDemoState(); } class _RepeatingAnimationDemoState extends State diff --git a/animations/pubspec.yaml b/animations/pubspec.yaml index 10083e84924..b20928bd1c1 100644 --- a/animations/pubspec.yaml +++ b/animations/pubspec.yaml @@ -2,15 +2,16 @@ name: animations description: A new Flutter project. version: 1.0.0+1 publish_to: none +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter flutter_animate: ^4.1.0 - go_router: ^15.0.0 + go_router: ^16.0.0 window_size: # plugin is not yet part of the flutter framework git: url: https://github.com/google/flutter-desktop-embedding.git @@ -22,7 +23,6 @@ dev_dependencies: flutter_test: sdk: flutter - flutter: uses-material-design: true assets: diff --git a/animations/test/basics/animated_builder_test.dart b/animations/test/basics/animated_builder_test.dart index bdab93511d6..e60f9246cfc 100644 --- a/animations/test/basics/animated_builder_test.dart +++ b/animations/test/basics/animated_builder_test.dart @@ -16,7 +16,8 @@ void main() { // Get the initial color of the button. ElevatedButton button = tester.widget(find.byType(ElevatedButton)); - WidgetStateProperty? initialColor = button.style!.backgroundColor; + WidgetStateProperty? initialColor = + button.style!.backgroundColor; // Tap the button. await tester.tap(find.byType(ElevatedButton)); @@ -24,7 +25,8 @@ void main() { // Get the updated color of the button. button = tester.widget(find.byType(ElevatedButton)); - WidgetStateProperty? updatedColor = button.style!.backgroundColor; + WidgetStateProperty? updatedColor = + button.style!.backgroundColor; // Check if the color has changed. expect(initialColor, isNot(updatedColor)); @@ -35,7 +37,8 @@ void main() { // Get the initial color of the button. ElevatedButton button = tester.widget(find.byType(ElevatedButton)); - WidgetStateProperty? initialColor = button.style!.backgroundColor; + WidgetStateProperty? initialColor = + button.style!.backgroundColor; // Tap the button to trigger the animation but don't wait for it to finish. await tester.tap(find.byType(ElevatedButton)); @@ -44,7 +47,8 @@ void main() { // Check that the color has changed but not to the final color. button = tester.widget(find.byType(ElevatedButton)); - WidgetStateProperty? changedColor = button.style!.backgroundColor; + WidgetStateProperty? changedColor = + button.style!.backgroundColor; expect(initialColor, isNot(changedColor)); // Wait for the animation to finish. diff --git a/animations/test/misc/card_swipe_test.dart b/animations/test/misc/card_swipe_test.dart index 85536c0210d..0a75bb7aefe 100644 --- a/animations/test/misc/card_swipe_test.dart +++ b/animations/test/misc/card_swipe_test.dart @@ -24,7 +24,10 @@ void main() { await tester.pumpAndSettle(); // Check if removed properly. - expect(tester.widgetList(find.byType(Card)).length, lessThan(totalCards)); + expect( + tester.widgetList(find.byType(Card)).length, + lessThan(totalCards), + ); }); testWidgets('All cards swiped out', (tester) async { @@ -36,7 +39,10 @@ void main() { // Swipe out all cards. for (var i = 0; i < totalCards; i++) { // Swipe out one by one. - await tester.drag(find.byType(Card).last, const Offset(100.0, 0.0)); + await tester.drag( + find.byType(Card).last, + const Offset(100.0, 0.0), + ); await tester.pumpAndSettle(); } diff --git a/animations/test/misc/carousel_test.dart b/animations/test/misc/carousel_test.dart index b1fb6bb5900..2a0ea449e07 100644 --- a/animations/test/misc/carousel_test.dart +++ b/animations/test/misc/carousel_test.dart @@ -18,7 +18,11 @@ void main() { expect(imageList.length, 2); // Swipe the Carousel. - await tester.fling(find.byType(CarouselDemo), const Offset(-400, 0), 800); + await tester.fling( + find.byType(CarouselDemo), + const Offset(-400, 0), + 800, + ); await tester.pumpAndSettle(); // Get the images available on the screen after swipe. diff --git a/animations/test/misc/expand_card_test.dart b/animations/test/misc/expand_card_test.dart index d37ab0ae9d4..b955d27a99a 100644 --- a/animations/test/misc/expand_card_test.dart +++ b/animations/test/misc/expand_card_test.dart @@ -22,7 +22,10 @@ void main() { // The size of ExpandCard must change once tapped. // The initialSize should be less than current ExpandCard size. - expect(initialSize, lessThan(tester.getSize(find.byType(ExpandCard)))); + expect( + initialSize, + lessThan(tester.getSize(find.byType(ExpandCard))), + ); }); testWidgets('ExpandCard changes image on tap', (tester) async { diff --git a/animations/test/misc/focus_image_test.dart b/animations/test/misc/focus_image_test.dart index a65fc9e02cf..7b3f8e0e32b 100644 --- a/animations/test/misc/focus_image_test.dart +++ b/animations/test/misc/focus_image_test.dart @@ -33,7 +33,9 @@ void main() { expect(finalSize, greaterThan(initialSize)); }); - testWidgets('Final inkwell on tap goes back to the grid', (tester) async { + testWidgets('Final inkwell on tap goes back to the grid', ( + tester, + ) async { await tester.pumpWidget(createFocusImageScreen()); // Tap on the ink well at index 0. diff --git a/animations/test/misc/hero_animation_test.dart b/animations/test/misc/hero_animation_test.dart index c006cdddd65..48ca60a0fd5 100644 --- a/animations/test/misc/hero_animation_test.dart +++ b/animations/test/misc/hero_animation_test.dart @@ -58,7 +58,9 @@ void main() { // Final color should not be same as initial color. expect( (finalContainer.decoration as BoxDecoration).color, - isNot(equals((initialContainer.decoration as BoxDecoration).color)), + isNot( + equals((initialContainer.decoration as BoxDecoration).color), + ), ); }); @@ -66,7 +68,9 @@ void main() { await tester.pumpWidget(createHeroAnimationDemoScreen()); // Get the initial Screen. - final initialScreen = tester.firstWidget(find.byType(HeroAnimationDemo)); + final initialScreen = tester.firstWidget( + find.byType(HeroAnimationDemo), + ); // Tap on the GestureDetector. await tester.tap(find.byType(GestureDetector)); diff --git a/asset_transformation/analysis_options.yaml b/asset_transformation/analysis_options.yaml deleted file mode 100644 index f9b303465f1..00000000000 --- a/asset_transformation/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: package:flutter_lints/flutter.yaml diff --git a/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart b/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart index f0d4e7518e6..ac1e6179505 100644 --- a/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart +++ b/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart @@ -11,10 +11,9 @@ int main(List arguments) { // the `--input` option and one for the `--output` option. // `--input` is the original asset file that this program should transform. // `--output` is where flutter expects the transformation output to be written to. - final parser = - ArgParser() - ..addOption(inputOptionName, mandatory: true, abbr: 'i') - ..addOption(outputOptionName, mandatory: true, abbr: 'o'); + final parser = ArgParser() + ..addOption(inputOptionName, mandatory: true, abbr: 'i') + ..addOption(outputOptionName, mandatory: true, abbr: 'o'); ArgResults argResults = parser.parse(arguments); final String inputFilePath = argResults[inputOptionName]; diff --git a/asset_transformation/grayscale_transformer/pubspec.yaml b/asset_transformation/grayscale_transformer/pubspec.yaml index 5fe707dd187..27153b02e16 100644 --- a/asset_transformation/grayscale_transformer/pubspec.yaml +++ b/asset_transformation/grayscale_transformer/pubspec.yaml @@ -3,7 +3,7 @@ description: A sample command-line application. version: 1.0.0 environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: args: ^2.4.2 diff --git a/asset_transformation/pubspec.yaml b/asset_transformation/pubspec.yaml index ef57e2379b8..7b1a23ef64f 100644 --- a/asset_transformation/pubspec.yaml +++ b/asset_transformation/pubspec.yaml @@ -2,9 +2,10 @@ name: asset_transformation description: "A new Flutter project." publish_to: 'none' version: 0.1.0 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: @@ -12,9 +13,11 @@ dependencies: vector_graphics: ^1.1.11+1 dev_dependencies: + analysis_defaults: + path: ../analysis_defaults flutter_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ^6.0.0 vector_graphics_compiler: ^1.1.11+1 grayscale_transformer: path: ./grayscale_transformer diff --git a/background_isolate_channels/lib/main.dart b/background_isolate_channels/lib/main.dart index a566f46ef56..a0c874e3439 100644 --- a/background_isolate_channels/lib/main.dart +++ b/background_isolate_channels/lib/main.dart @@ -69,8 +69,8 @@ class _MyHomePageState extends State { .then( (sharedPreferences) => sharedPreferences.setBool('isDebug', true), ); - final Future tempDirFuture = - path_provider.getTemporaryDirectory(); + final Future tempDirFuture = path_provider + .getTemporaryDirectory(); // Wait until the [SharedPreferences] value is set and the temporary // directory is received before opening the database. If @@ -130,8 +130,9 @@ class _MyHomePageState extends State { padding: const EdgeInsets.symmetric(horizontal: 8.0), child: SearchBar( hintText: 'Search', - onChanged: - _database == null ? null : (query) => _refresh(query: query), + onChanged: _database == null + ? null + : (query) => _refresh(query: query), trailing: const [Icon(Icons.search), SizedBox(width: 8)], ), ), diff --git a/background_isolate_channels/lib/simple_database.dart b/background_isolate_channels/lib/simple_database.dart index f53e149546f..8424123add5 100644 --- a/background_isolate_channels/lib/simple_database.dart +++ b/background_isolate_channels/lib/simple_database.dart @@ -188,7 +188,9 @@ class _SimpleDatabaseServer { // [BinaryMessenger] that the Platform Channels will communicate with on // the background isolate. // ---------------------------------------------------------------------- - BackgroundIsolateBinaryMessenger.ensureInitialized(rootIsolateToken); + BackgroundIsolateBinaryMessenger.ensureInitialized( + rootIsolateToken, + ); _sendPort.send(const _Command(_Codes.ack, arg0: null)); case _Codes.add: _doAddEntry(command.arg0 as String); diff --git a/background_isolate_channels/pubspec.yaml b/background_isolate_channels/pubspec.yaml index 144297a594e..b5b6bc213e3 100644 --- a/background_isolate_channels/pubspec.yaml +++ b/background_isolate_channels/pubspec.yaml @@ -1,12 +1,13 @@ name: background_isolate_channels description: A new Flutter project. +resolution: workspace publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: cupertino_icons: ^1.0.2 @@ -23,6 +24,5 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true diff --git a/code_sharing/client/pubspec.yaml b/code_sharing/client/pubspec.yaml index ae1e57dbe9d..5dc10428d71 100644 --- a/code_sharing/client/pubspec.yaml +++ b/code_sharing/client/pubspec.yaml @@ -2,9 +2,10 @@ name: client description: A Flutter app which communicates with a Dart backend using shared business logic. publish_to: "none" version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: cupertino_icons: ^1.0.2 @@ -15,7 +16,9 @@ dependencies: path: ../shared dev_dependencies: - flutter_lints: ^5.0.0 + analysis_defaults: + path: ../../analysis_defaults + flutter_lints: ^6.0.0 flutter_test: sdk: flutter diff --git a/code_sharing/server/bin/server.dart b/code_sharing/server/bin/server.dart index 5a4e45825e6..60d74c9fd65 100644 --- a/code_sharing/server/bin/server.dart +++ b/code_sharing/server/bin/server.dart @@ -9,10 +9,9 @@ import 'package:shelf_router/shelf_router.dart'; int count = 0; // Configure routes. -final _router = - Router() - ..post('/', _incrementHandler) - ..get('/', _getValueHandler); +final _router = Router() + ..post('/', _incrementHandler) + ..get('/', _getValueHandler); Future _incrementHandler(Request request) async { final incr = Increment.fromJson(json.decode(await request.readAsString())); diff --git a/code_sharing/server/pubspec.yaml b/code_sharing/server/pubspec.yaml index d1b5ccd8b38..3d1827b1171 100644 --- a/code_sharing/server/pubspec.yaml +++ b/code_sharing/server/pubspec.yaml @@ -2,9 +2,10 @@ name: server description: A server app using the shelf package and Docker. version: 1.0.0 publish_to: "none" +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: args: ^2.0.0 @@ -14,6 +15,8 @@ dependencies: path: ../shared dev_dependencies: + analysis_defaults: + path: ../../analysis_defaults http: ^1.0.0 lints: ^6.0.0 test: ^1.15.0 diff --git a/code_sharing/shared/lib/src/models.freezed.dart b/code_sharing/shared/lib/src/models.freezed.dart index 7f0ca2e2de3..bd2ac83ae31 100644 --- a/code_sharing/shared/lib/src/models.freezed.dart +++ b/code_sharing/shared/lib/src/models.freezed.dart @@ -52,11 +52,10 @@ class _$IncrementCopyWithImpl<$Res, $Val extends Increment> $Res call({Object? by = null}) { return _then( _value.copyWith( - by: - null == by - ? _value.by - : by // ignore: cast_nullable_to_non_nullable - as int, + by: null == by + ? _value.by + : by // ignore: cast_nullable_to_non_nullable + as int, ) as $Val, ); @@ -89,11 +88,10 @@ class __$$IncrementImplCopyWithImpl<$Res> $Res call({Object? by = null}) { return _then( _$IncrementImpl( - by: - null == by - ? _value.by - : by // ignore: cast_nullable_to_non_nullable - as int, + by: null == by + ? _value.by + : by // ignore: cast_nullable_to_non_nullable + as int, ), ); } @@ -189,11 +187,10 @@ class _$CountCopyWithImpl<$Res, $Val extends Count> $Res call({Object? value = null}) { return _then( _value.copyWith( - value: - null == value - ? _value.value - : value // ignore: cast_nullable_to_non_nullable - as int, + value: null == value + ? _value.value + : value // ignore: cast_nullable_to_non_nullable + as int, ) as $Val, ); @@ -228,7 +225,7 @@ class __$$CountImplCopyWithImpl<$Res> null == value ? _value.value : value // ignore: cast_nullable_to_non_nullable - as int, + as int, ), ); } diff --git a/code_sharing/shared/pubspec.yaml b/code_sharing/shared/pubspec.yaml index ce204412fc0..3b43652d7bf 100644 --- a/code_sharing/shared/pubspec.yaml +++ b/code_sharing/shared/pubspec.yaml @@ -1,15 +1,18 @@ name: shared description: Common data models required by our client and server version: 1.0.0 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: freezed_annotation: ">=2.1.0 <4.0.0" json_annotation: ^4.7.0 dev_dependencies: + analysis_defaults: + path: ../../analysis_defaults build_runner: ^2.2.1 freezed: ">=2.1.1 <4.0.0" json_serializable: ^6.4.0 diff --git a/compass_app/app/android/gradle/wrapper/gradle-wrapper.properties b/compass_app/app/android/gradle/wrapper/gradle-wrapper.properties index 5e6b5427113..3c85cfe057a 100644 --- a/compass_app/app/android/gradle/wrapper/gradle-wrapper.properties +++ b/compass_app/app/android/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip diff --git a/compass_app/app/android/settings.gradle b/compass_app/app/android/settings.gradle index b9e43bd3761..4f520718dcc 100644 --- a/compass_app/app/android/settings.gradle +++ b/compass_app/app/android/settings.gradle @@ -18,8 +18,8 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "8.1.0" apply false - id "org.jetbrains.kotlin.android" version "1.8.22" apply false + id "com.android.application" version "8.6.0" apply false + id "org.jetbrains.kotlin.android" version "2.1.0" apply false } include ":app" diff --git a/compass_app/app/lib/config/dependencies.dart b/compass_app/app/lib/config/dependencies.dart index 3b2bd541af7..29e3543ebce 100644 --- a/compass_app/app/lib/config/dependencies.dart +++ b/compass_app/app/lib/config/dependencies.dart @@ -36,12 +36,11 @@ import '../domain/use_cases/booking/booking_share_use_case.dart'; List _sharedProviders = [ Provider( lazy: true, - create: - (context) => BookingCreateUseCase( - destinationRepository: context.read(), - activityRepository: context.read(), - bookingRepository: context.read(), - ), + create: (context) => BookingCreateUseCase( + destinationRepository: context.read(), + activityRepository: context.read(), + bookingRepository: context.read(), + ), ), Provider( lazy: true, @@ -57,46 +56,40 @@ List get providersRemote { Provider(create: (context) => ApiClient()), Provider(create: (context) => SharedPreferencesService()), ChangeNotifierProvider( - create: - (context) => - AuthRepositoryRemote( - authApiClient: context.read(), - apiClient: context.read(), - sharedPreferencesService: context.read(), - ) - as AuthRepository, + create: (context) => + AuthRepositoryRemote( + authApiClient: context.read(), + apiClient: context.read(), + sharedPreferencesService: context.read(), + ) + as AuthRepository, ), Provider( - create: - (context) => - DestinationRepositoryRemote(apiClient: context.read()) - as DestinationRepository, + create: (context) => + DestinationRepositoryRemote(apiClient: context.read()) + as DestinationRepository, ), Provider( - create: - (context) => - ContinentRepositoryRemote(apiClient: context.read()) - as ContinentRepository, + create: (context) => + ContinentRepositoryRemote(apiClient: context.read()) + as ContinentRepository, ), Provider( - create: - (context) => - ActivityRepositoryRemote(apiClient: context.read()) - as ActivityRepository, + create: (context) => + ActivityRepositoryRemote(apiClient: context.read()) + as ActivityRepository, ), Provider.value( value: ItineraryConfigRepositoryMemory() as ItineraryConfigRepository, ), Provider( - create: - (context) => - BookingRepositoryRemote(apiClient: context.read()) - as BookingRepository, + create: (context) => + BookingRepositoryRemote(apiClient: context.read()) + as BookingRepository, ), Provider( - create: - (context) => - UserRepositoryRemote(apiClient: context.read()) as UserRepository, + create: (context) => + UserRepositoryRemote(apiClient: context.read()) as UserRepository, ), ..._sharedProviders, ]; @@ -110,37 +103,32 @@ List get providersLocal { ChangeNotifierProvider.value(value: AuthRepositoryDev() as AuthRepository), Provider.value(value: LocalDataService()), Provider( - create: - (context) => - DestinationRepositoryLocal(localDataService: context.read()) - as DestinationRepository, + create: (context) => + DestinationRepositoryLocal(localDataService: context.read()) + as DestinationRepository, ), Provider( - create: - (context) => - ContinentRepositoryLocal(localDataService: context.read()) - as ContinentRepository, + create: (context) => + ContinentRepositoryLocal(localDataService: context.read()) + as ContinentRepository, ), Provider( - create: - (context) => - ActivityRepositoryLocal(localDataService: context.read()) - as ActivityRepository, + create: (context) => + ActivityRepositoryLocal(localDataService: context.read()) + as ActivityRepository, ), Provider( - create: - (context) => - BookingRepositoryLocal(localDataService: context.read()) - as BookingRepository, + create: (context) => + BookingRepositoryLocal(localDataService: context.read()) + as BookingRepository, ), Provider.value( value: ItineraryConfigRepositoryMemory() as ItineraryConfigRepository, ), Provider( - create: - (context) => - UserRepositoryLocal(localDataService: context.read()) - as UserRepository, + create: (context) => + UserRepositoryLocal(localDataService: context.read()) + as UserRepository, ), ..._sharedProviders, ]; diff --git a/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart b/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart index c18c96aef7e..bb13df13af4 100644 --- a/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart +++ b/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart @@ -18,10 +18,9 @@ class ActivityRepositoryLocal implements ActivityRepository { @override Future>> getByDestination(String ref) async { try { - final activities = - (await _localDataService.getActivities()) - .where((activity) => activity.destinationRef == ref) - .toList(); + final activities = (await _localDataService.getActivities()) + .where((activity) => activity.destinationRef == ref) + .toList(); return Result.ok(activities); } on Exception catch (error) { diff --git a/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart b/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart index c8bdf0e702a..a83a1f30a0b 100644 --- a/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart +++ b/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart @@ -68,11 +68,10 @@ class BookingRepositoryLocal implements BookingRepository { // create a default booking the first time if (_bookings.isEmpty) { final destination = (await _localDataService.getDestinations()).first; - final activities = - (await _localDataService.getActivities()) - .where((activity) => activity.destinationRef == destination.ref) - .take(4) - .toList(); + final activities = (await _localDataService.getActivities()) + .where((activity) => activity.destinationRef == destination.ref) + .take(4) + .toList(); _bookings.add( Booking( diff --git a/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart b/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart index 6e721778f4e..c4d410272c7 100644 --- a/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart +++ b/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart @@ -27,8 +27,9 @@ class BookingRepositoryRemote implements BookingRepository { endDate: booking.endDate, name: '${booking.destination.name}, ${booking.destination.continent}', destinationRef: booking.destination.ref, - activitiesRef: - booking.activity.map((activity) => activity.ref).toList(), + activitiesRef: booking.activity + .map((activity) => activity.ref) + .toList(), ); return _apiClient.postBooking(bookingApiModel); } on Exception catch (e) { @@ -72,10 +73,9 @@ class BookingRepositoryRemote implements BookingRepository { return Result.error(resultActivities.error); case Ok>(): } - final activities = - resultActivities.value - .where((activity) => booking.activitiesRef.contains(activity.ref)) - .toList(); + final activities = resultActivities.value + .where((activity) => booking.activitiesRef.contains(activity.ref)) + .toList(); return Result.ok( Booking( diff --git a/compass_app/app/lib/data/services/api/api_client.dart b/compass_app/app/lib/data/services/api/api_client.dart index 22c32e8293d..bb4934ff5ba 100644 --- a/compass_app/app/lib/data/services/api/api_client.dart +++ b/compass_app/app/lib/data/services/api/api_client.dart @@ -95,8 +95,9 @@ class ApiClient { if (response.statusCode == 200) { final stringData = await response.transform(utf8.decoder).join(); final json = jsonDecode(stringData) as List; - final activities = - json.map((element) => Activity.fromJson(element)).toList(); + final activities = json + .map((element) => Activity.fromJson(element)) + .toList(); return Result.ok(activities); } else { return const Result.error(HttpException("Invalid response")); @@ -117,8 +118,9 @@ class ApiClient { if (response.statusCode == 200) { final stringData = await response.transform(utf8.decoder).join(); final json = jsonDecode(stringData) as List; - final bookings = - json.map((element) => BookingApiModel.fromJson(element)).toList(); + final bookings = json + .map((element) => BookingApiModel.fromJson(element)) + .toList(); return Result.ok(bookings); } else { return const Result.error(HttpException("Invalid response")); diff --git a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart index 6a6f31722a2..c63720610dd 100644 --- a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart +++ b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart @@ -91,36 +91,30 @@ class _$BookingApiModelCopyWithImpl<$Res, $Val extends BookingApiModel> }) { return _then( _value.copyWith( - id: - freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: - null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: - null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - destinationRef: - null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - activitiesRef: - null == activitiesRef - ? _value.activitiesRef - : activitiesRef // ignore: cast_nullable_to_non_nullable - as List, + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: null == activitiesRef + ? _value.activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, ) as $Val, ); @@ -169,36 +163,30 @@ class __$$BookingApiModelImplCopyWithImpl<$Res> }) { return _then( _$BookingApiModelImpl( - id: - freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: - null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: - null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - destinationRef: - null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - activitiesRef: - null == activitiesRef - ? _value._activitiesRef - : activitiesRef // ignore: cast_nullable_to_non_nullable - as List, + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: null == activitiesRef + ? _value._activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, ), ); } diff --git a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart index d5df306a3d2..c75b5349a40 100644 --- a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart +++ b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart @@ -14,8 +14,9 @@ _$BookingApiModelImpl _$$BookingApiModelImplFromJson( endDate: DateTime.parse(json['endDate'] as String), name: json['name'] as String, destinationRef: json['destinationRef'] as String, - activitiesRef: - (json['activitiesRef'] as List).map((e) => e as String).toList(), + activitiesRef: (json['activitiesRef'] as List) + .map((e) => e as String) + .toList(), ); Map _$$BookingApiModelImplToJson( diff --git a/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart b/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart index a45082a15ab..db4394ebb66 100644 --- a/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart +++ b/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart @@ -64,16 +64,14 @@ class _$LoginRequestCopyWithImpl<$Res, $Val extends LoginRequest> $Res call({Object? email = null, Object? password = null}) { return _then( _value.copyWith( - email: - null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - password: - null == password - ? _value.password - : password // ignore: cast_nullable_to_non_nullable - as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -108,16 +106,14 @@ class __$$LoginRequestImplCopyWithImpl<$Res> $Res call({Object? email = null, Object? password = null}) { return _then( _$LoginRequestImpl( - email: - null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - password: - null == password - ? _value.password - : password // ignore: cast_nullable_to_non_nullable - as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart b/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart index 49be034ebf2..dfaf762b275 100644 --- a/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart +++ b/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart @@ -64,16 +64,14 @@ class _$LoginResponseCopyWithImpl<$Res, $Val extends LoginResponse> $Res call({Object? token = null, Object? userId = null}) { return _then( _value.copyWith( - token: - null == token - ? _value.token - : token // ignore: cast_nullable_to_non_nullable - as String, - userId: - null == userId - ? _value.userId - : userId // ignore: cast_nullable_to_non_nullable - as String, + token: null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -108,16 +106,14 @@ class __$$LoginResponseImplCopyWithImpl<$Res> $Res call({Object? token = null, Object? userId = null}) { return _then( _$LoginResponseImpl( - token: - null == token - ? _value.token - : token // ignore: cast_nullable_to_non_nullable - as String, - userId: - null == userId - ? _value.userId - : userId // ignore: cast_nullable_to_non_nullable - as String, + token: null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart b/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart index 1ba6de18f9d..2d8ad102722 100644 --- a/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart +++ b/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart @@ -75,26 +75,22 @@ class _$UserApiModelCopyWithImpl<$Res, $Val extends UserApiModel> }) { return _then( _value.copyWith( - id: - null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - email: - null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - picture: - null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -134,26 +130,22 @@ class __$$UserApiModelImplCopyWithImpl<$Res> }) { return _then( _$UserApiModelImpl( - id: - null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - email: - null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - picture: - null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/app/lib/domain/models/activity/activity.freezed.dart b/compass_app/app/lib/domain/models/activity/activity.freezed.dart index b900e74daa5..0c89f888a43 100644 --- a/compass_app/app/lib/domain/models/activity/activity.freezed.dart +++ b/compass_app/app/lib/domain/models/activity/activity.freezed.dart @@ -109,56 +109,46 @@ class _$ActivityCopyWithImpl<$Res, $Val extends Activity> }) { return _then( _value.copyWith( - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - description: - null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - locationName: - null == locationName - ? _value.locationName - : locationName // ignore: cast_nullable_to_non_nullable - as String, - duration: - null == duration - ? _value.duration - : duration // ignore: cast_nullable_to_non_nullable - as int, - timeOfDay: - null == timeOfDay - ? _value.timeOfDay - : timeOfDay // ignore: cast_nullable_to_non_nullable - as TimeOfDay, - familyFriendly: - null == familyFriendly - ? _value.familyFriendly - : familyFriendly // ignore: cast_nullable_to_non_nullable - as bool, - price: - null == price - ? _value.price - : price // ignore: cast_nullable_to_non_nullable - as int, - destinationRef: - null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - ref: - null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -215,56 +205,46 @@ class __$$ActivityImplCopyWithImpl<$Res> }) { return _then( _$ActivityImpl( - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - description: - null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - locationName: - null == locationName - ? _value.locationName - : locationName // ignore: cast_nullable_to_non_nullable - as String, - duration: - null == duration - ? _value.duration - : duration // ignore: cast_nullable_to_non_nullable - as int, - timeOfDay: - null == timeOfDay - ? _value.timeOfDay - : timeOfDay // ignore: cast_nullable_to_non_nullable - as TimeOfDay, - familyFriendly: - null == familyFriendly - ? _value.familyFriendly - : familyFriendly // ignore: cast_nullable_to_non_nullable - as bool, - price: - null == price - ? _value.price - : price // ignore: cast_nullable_to_non_nullable - as int, - destinationRef: - null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - ref: - null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/app/lib/domain/models/booking/booking.freezed.dart b/compass_app/app/lib/domain/models/booking/booking.freezed.dart index 991449de1b1..03a1ebc9d0c 100644 --- a/compass_app/app/lib/domain/models/booking/booking.freezed.dart +++ b/compass_app/app/lib/domain/models/booking/booking.freezed.dart @@ -85,31 +85,26 @@ class _$BookingCopyWithImpl<$Res, $Val extends Booking> }) { return _then( _value.copyWith( - id: - freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: - null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: - null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - destination: - null == destination - ? _value.destination - : destination // ignore: cast_nullable_to_non_nullable - as Destination, - activity: - null == activity - ? _value.activity - : activity // ignore: cast_nullable_to_non_nullable - as List, + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + destination: null == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as Destination, + activity: null == activity + ? _value.activity + : activity // ignore: cast_nullable_to_non_nullable + as List, ) as $Val, ); @@ -168,31 +163,26 @@ class __$$BookingImplCopyWithImpl<$Res> }) { return _then( _$BookingImpl( - id: - freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: - null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: - null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - destination: - null == destination - ? _value.destination - : destination // ignore: cast_nullable_to_non_nullable - as Destination, - activity: - null == activity - ? _value._activity - : activity // ignore: cast_nullable_to_non_nullable - as List, + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + destination: null == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as Destination, + activity: null == activity + ? _value._activity + : activity // ignore: cast_nullable_to_non_nullable + as List, ), ); } diff --git a/compass_app/app/lib/domain/models/booking/booking.g.dart b/compass_app/app/lib/domain/models/booking/booking.g.dart index 7d800c47ab1..6c851aba401 100644 --- a/compass_app/app/lib/domain/models/booking/booking.g.dart +++ b/compass_app/app/lib/domain/models/booking/booking.g.dart @@ -14,10 +14,9 @@ _$BookingImpl _$$BookingImplFromJson(Map json) => destination: Destination.fromJson( json['destination'] as Map, ), - activity: - (json['activity'] as List) - .map((e) => Activity.fromJson(e as Map)) - .toList(), + activity: (json['activity'] as List) + .map((e) => Activity.fromJson(e as Map)) + .toList(), ); Map _$$BookingImplToJson(_$BookingImpl instance) => diff --git a/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart b/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart index e31b7faeff8..a06a75da31e 100644 --- a/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart +++ b/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart @@ -75,26 +75,22 @@ class _$BookingSummaryCopyWithImpl<$Res, $Val extends BookingSummary> }) { return _then( _value.copyWith( - id: - null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - startDate: - null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: - null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, ) as $Val, ); @@ -134,26 +130,22 @@ class __$$BookingSummaryImplCopyWithImpl<$Res> }) { return _then( _$BookingSummaryImpl( - id: - null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - startDate: - null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: - null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, ), ); } diff --git a/compass_app/app/lib/domain/models/continent/continent.freezed.dart b/compass_app/app/lib/domain/models/continent/continent.freezed.dart index cb6688a65f4..6f13817d16b 100644 --- a/compass_app/app/lib/domain/models/continent/continent.freezed.dart +++ b/compass_app/app/lib/domain/models/continent/continent.freezed.dart @@ -62,16 +62,14 @@ class _$ContinentCopyWithImpl<$Res, $Val extends Continent> $Res call({Object? name = null, Object? imageUrl = null}) { return _then( _value.copyWith( - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -106,16 +104,14 @@ class __$$ContinentImplCopyWithImpl<$Res> $Res call({Object? name = null, Object? imageUrl = null}) { return _then( _$ContinentImpl( - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/app/lib/domain/models/destination/destination.freezed.dart b/compass_app/app/lib/domain/models/destination/destination.freezed.dart index 30789a9691a..1babb93539a 100644 --- a/compass_app/app/lib/domain/models/destination/destination.freezed.dart +++ b/compass_app/app/lib/domain/models/destination/destination.freezed.dart @@ -95,41 +95,34 @@ class _$DestinationCopyWithImpl<$Res, $Val extends Destination> }) { return _then( _value.copyWith( - ref: - null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - country: - null == country - ? _value.country - : country // ignore: cast_nullable_to_non_nullable - as String, - continent: - null == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String, - knownFor: - null == knownFor - ? _value.knownFor - : knownFor // ignore: cast_nullable_to_non_nullable - as String, - tags: - null == tags - ? _value.tags - : tags // ignore: cast_nullable_to_non_nullable - as List, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: null == tags + ? _value.tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -180,41 +173,34 @@ class __$$DestinationImplCopyWithImpl<$Res> }) { return _then( _$DestinationImpl( - ref: - null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - country: - null == country - ? _value.country - : country // ignore: cast_nullable_to_non_nullable - as String, - continent: - null == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String, - knownFor: - null == knownFor - ? _value.knownFor - : knownFor // ignore: cast_nullable_to_non_nullable - as String, - tags: - null == tags - ? _value._tags - : tags // ignore: cast_nullable_to_non_nullable - as List, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: null == tags + ? _value._tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart index b4febdbc551..e933300d85b 100644 --- a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart +++ b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart @@ -90,36 +90,30 @@ class _$ItineraryConfigCopyWithImpl<$Res, $Val extends ItineraryConfig> }) { return _then( _value.copyWith( - continent: - freezed == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String?, - startDate: - freezed == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime?, - endDate: - freezed == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime?, - guests: - freezed == guests - ? _value.guests - : guests // ignore: cast_nullable_to_non_nullable - as int?, - destination: - freezed == destination - ? _value.destination - : destination // ignore: cast_nullable_to_non_nullable - as String?, - activities: - null == activities - ? _value.activities - : activities // ignore: cast_nullable_to_non_nullable - as List, + continent: freezed == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String?, + startDate: freezed == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + endDate: freezed == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + guests: freezed == guests + ? _value.guests + : guests // ignore: cast_nullable_to_non_nullable + as int?, + destination: freezed == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as String?, + activities: null == activities + ? _value.activities + : activities // ignore: cast_nullable_to_non_nullable + as List, ) as $Val, ); @@ -168,36 +162,30 @@ class __$$ItineraryConfigImplCopyWithImpl<$Res> }) { return _then( _$ItineraryConfigImpl( - continent: - freezed == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String?, - startDate: - freezed == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime?, - endDate: - freezed == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime?, - guests: - freezed == guests - ? _value.guests - : guests // ignore: cast_nullable_to_non_nullable - as int?, - destination: - freezed == destination - ? _value.destination - : destination // ignore: cast_nullable_to_non_nullable - as String?, - activities: - null == activities - ? _value._activities - : activities // ignore: cast_nullable_to_non_nullable - as List, + continent: freezed == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String?, + startDate: freezed == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + endDate: freezed == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + guests: freezed == guests + ? _value.guests + : guests // ignore: cast_nullable_to_non_nullable + as int?, + destination: freezed == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as String?, + activities: null == activities + ? _value._activities + : activities // ignore: cast_nullable_to_non_nullable + as List, ), ); } diff --git a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart index 6bd037844f3..c012d7ad05e 100644 --- a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart +++ b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart @@ -10,14 +10,12 @@ _$ItineraryConfigImpl _$$ItineraryConfigImplFromJson( Map json, ) => _$ItineraryConfigImpl( continent: json['continent'] as String?, - startDate: - json['startDate'] == null - ? null - : DateTime.parse(json['startDate'] as String), - endDate: - json['endDate'] == null - ? null - : DateTime.parse(json['endDate'] as String), + startDate: json['startDate'] == null + ? null + : DateTime.parse(json['startDate'] as String), + endDate: json['endDate'] == null + ? null + : DateTime.parse(json['endDate'] as String), guests: (json['guests'] as num?)?.toInt(), destination: json['destination'] as String?, activities: diff --git a/compass_app/app/lib/domain/models/user/user.freezed.dart b/compass_app/app/lib/domain/models/user/user.freezed.dart index 019912a0206..b510aac73b0 100644 --- a/compass_app/app/lib/domain/models/user/user.freezed.dart +++ b/compass_app/app/lib/domain/models/user/user.freezed.dart @@ -61,16 +61,14 @@ class _$UserCopyWithImpl<$Res, $Val extends User> $Res call({Object? name = null, Object? picture = null}) { return _then( _value.copyWith( - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - picture: - null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -102,16 +100,14 @@ class __$$UserImplCopyWithImpl<$Res> $Res call({Object? name = null, Object? picture = null}) { return _then( _$UserImpl( - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - picture: - null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart b/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart index 50f0eff76bc..3fcff3e30b9 100644 --- a/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart +++ b/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart @@ -63,12 +63,9 @@ class BookingCreateUseCase { return Result.error(activitiesResult.error); case Ok>(): } - final activities = - activitiesResult.value - .where( - (activity) => itineraryConfig.activities.contains(activity.ref), - ) - .toList(); + final activities = activitiesResult.value + .where((activity) => itineraryConfig.activities.contains(activity.ref)) + .toList(); _log.fine('Activities loaded (${activities.length})'); // Check if dates are set diff --git a/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart b/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart index cda783531f5..61ecd66bbd0 100644 --- a/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart +++ b/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart @@ -67,26 +67,24 @@ class ActivitiesViewModel extends ChangeNotifier { switch (resultActivities) { case Ok(): { - _daytimeActivities = - resultActivities.value - .where( - (activity) => [ - TimeOfDay.any, - TimeOfDay.morning, - TimeOfDay.afternoon, - ].contains(activity.timeOfDay), - ) - .toList(); - - _eveningActivities = - resultActivities.value - .where( - (activity) => [ - TimeOfDay.evening, - TimeOfDay.night, - ].contains(activity.timeOfDay), - ) - .toList(); + _daytimeActivities = resultActivities.value + .where( + (activity) => [ + TimeOfDay.any, + TimeOfDay.morning, + TimeOfDay.afternoon, + ].contains(activity.timeOfDay), + ) + .toList(); + + _eveningActivities = resultActivities.value + .where( + (activity) => [ + TimeOfDay.evening, + TimeOfDay.night, + ].contains(activity.timeOfDay), + ) + .toList(); _log.fine( 'Activities (daytime: ${_daytimeActivities.length}, ' diff --git a/compass_app/app/lib/ui/activities/widgets/activities_screen.dart b/compass_app/app/lib/ui/activities/widgets/activities_screen.dart index 7b784ac5845..f2ba884f44a 100644 --- a/compass_app/app/lib/ui/activities/widgets/activities_screen.dart +++ b/compass_app/app/lib/ui/activities/widgets/activities_screen.dart @@ -71,10 +71,9 @@ class _ActivitiesScreenState extends State { Expanded( child: Center( child: ErrorIndicator( - title: - AppLocalization.of( - context, - ).errorWhileLoadingActivities, + title: AppLocalization.of( + context, + ).errorWhileLoadingActivities, label: AppLocalization.of(context).tryAgain, onPressed: widget.viewModel.loadActivities.execute, ), @@ -171,10 +170,9 @@ class _BottomArea extends StatelessWidget { ), FilledButton( key: const Key(confirmButtonKey), - onPressed: - viewModel.selectedActivities.isNotEmpty - ? viewModel.saveActivities.execute - : null, + onPressed: viewModel.selectedActivities.isNotEmpty + ? viewModel.saveActivities.execute + : null, child: Text(AppLocalization.of(context).confirm), ), ], diff --git a/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart b/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart index fb8ed14eb76..e33196c1fa0 100644 --- a/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart +++ b/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart @@ -50,38 +50,40 @@ class _LoginScreenState extends State { @override Widget build(BuildContext context) { return Scaffold( - body: Column( - crossAxisAlignment: CrossAxisAlignment.center, - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: [ - const TiltedCards(), - Padding( - padding: Dimens.of(context).edgeInsetsScreenSymmetric, - child: Column( - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - TextField(controller: _email), - const SizedBox(height: Dimens.paddingVertical), - TextField(controller: _password, obscureText: true), - const SizedBox(height: Dimens.paddingVertical), - ListenableBuilder( - listenable: widget.viewModel.login, - builder: (context, _) { - return FilledButton( - onPressed: () { - widget.viewModel.login.execute(( - _email.value.text, - _password.value.text, - )); - }, - child: Text(AppLocalization.of(context).login), - ); - }, - ), - ], + body: SingleChildScrollView( + child: Column( + crossAxisAlignment: CrossAxisAlignment.center, + mainAxisAlignment: MainAxisAlignment.spaceEvenly, + children: [ + const TiltedCards(), + Padding( + padding: Dimens.of(context).edgeInsetsScreenSymmetric, + child: Column( + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ + TextField(controller: _email), + const SizedBox(height: Dimens.paddingVertical), + TextField(controller: _password, obscureText: true), + const SizedBox(height: Dimens.paddingVertical), + ListenableBuilder( + listenable: widget.viewModel.login, + builder: (context, _) { + return FilledButton( + onPressed: () { + widget.viewModel.login.execute(( + _email.value.text, + _password.value.text, + )); + }, + child: Text(AppLocalization.of(context).login), + ); + }, + ), + ], + ), ), - ), - ], + ], + ), ), ); } @@ -99,11 +101,10 @@ class _LoginScreenState extends State { content: Text(AppLocalization.of(context).errorWhileLogin), action: SnackBarAction( label: AppLocalization.of(context).tryAgain, - onPressed: - () => widget.viewModel.login.execute(( - _email.value.text, - _password.value.text, - )), + onPressed: () => widget.viewModel.login.execute(( + _email.value.text, + _password.value.text, + )), ), ), ); diff --git a/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart b/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart index 2ab853b52bb..21d2e39facf 100644 --- a/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart +++ b/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart @@ -50,8 +50,8 @@ class BookingViewModel extends ChangeNotifier { Future> _createBooking() async { _log.fine('Loading booking'); - final itineraryConfig = - await _itineraryConfigRepository.getItineraryConfig(); + final itineraryConfig = await _itineraryConfigRepository + .getItineraryConfig(); switch (itineraryConfig) { case Ok(): _log.fine('Loaded stored ItineraryConfig'); diff --git a/compass_app/app/lib/ui/booking/widgets/booking_header.dart b/compass_app/app/lib/ui/booking/widgets/booking_header.dart index 474417d8e6f..0c889aede04 100644 --- a/compass_app/app/lib/ui/booking/widgets/booking_header.dart +++ b/compass_app/app/lib/ui/booking/widgets/booking_header.dart @@ -90,18 +90,17 @@ class _Tags extends StatelessWidget { child: Wrap( spacing: 6, runSpacing: 6, - children: - booking.destination.tags - .map( - (tag) => TagChip( - tag: tag, - fontSize: 16, - height: 32, - chipColor: chipColor, - onChipColor: Theme.of(context).colorScheme.onSurface, - ), - ) - .toList(), + children: booking.destination.tags + .map( + (tag) => TagChip( + tag: tag, + fontSize: 16, + height: 32, + chipColor: chipColor, + onChipColor: Theme.of(context).colorScheme.onSurface, + ), + ) + .toList(), ), ); } diff --git a/compass_app/app/lib/ui/booking/widgets/booking_screen.dart b/compass_app/app/lib/ui/booking/widgets/booking_screen.dart index 379a628cd6c..0180231a5a5 100644 --- a/compass_app/app/lib/ui/booking/widgets/booking_screen.dart +++ b/compass_app/app/lib/ui/booking/widgets/booking_screen.dart @@ -44,18 +44,16 @@ class _BookingScreenState extends State { child: Scaffold( floatingActionButton: ListenableBuilder( listenable: widget.viewModel, - builder: - (context, _) => FloatingActionButton.extended( - // Workaround for https://github.com/flutter/flutter/issues/115358#issuecomment-2117157419 - heroTag: null, - key: const ValueKey('share-button'), - onPressed: - widget.viewModel.booking != null - ? widget.viewModel.shareBooking.execute - : null, - label: Text(AppLocalization.of(context).shareTrip), - icon: const Icon(Icons.share_outlined), - ), + builder: (context, _) => FloatingActionButton.extended( + // Workaround for https://github.com/flutter/flutter/issues/115358#issuecomment-2117157419 + heroTag: null, + key: const ValueKey('share-button'), + onPressed: widget.viewModel.booking != null + ? widget.viewModel.shareBooking.execute + : null, + label: Text(AppLocalization.of(context).shareTrip), + icon: const Icon(Icons.share_outlined), + ), ), body: ListenableBuilder( // Listen to changes in both commands diff --git a/compass_app/app/lib/ui/core/themes/dimens.dart b/compass_app/app/lib/ui/core/themes/dimens.dart index e7749222399..ea5d101b155 100644 --- a/compass_app/app/lib/ui/core/themes/dimens.dart +++ b/compass_app/app/lib/ui/core/themes/dimens.dart @@ -35,12 +35,11 @@ abstract final class Dimens { static const Dimens mobile = _DimensMobile(); /// Get dimensions definition based on screen size - factory Dimens.of(BuildContext context) => switch (MediaQuery.sizeOf( - context, - ).width) { - > 600 && < 840 => desktop, - _ => mobile, - }; + factory Dimens.of(BuildContext context) => + switch (MediaQuery.sizeOf(context).width) { + > 600 && < 840 => desktop, + _ => mobile, + }; } /// Mobile dimensions diff --git a/compass_app/app/lib/ui/core/ui/custom_checkbox.dart b/compass_app/app/lib/ui/core/ui/custom_checkbox.dart index d08ea6339a2..515e91a3d75 100644 --- a/compass_app/app/lib/ui/core/ui/custom_checkbox.dart +++ b/compass_app/app/lib/ui/core/ui/custom_checkbox.dart @@ -28,10 +28,9 @@ class CustomCheckbox extends StatelessWidget { ), child: Material( borderRadius: BorderRadius.circular(24), - color: - value - ? Theme.of(context).colorScheme.primary - : Colors.transparent, + color: value + ? Theme.of(context).colorScheme.primary + : Colors.transparent, child: SizedBox( width: 24, height: 24, diff --git a/compass_app/app/lib/ui/home/widgets/home_screen.dart b/compass_app/app/lib/ui/home/widgets/home_screen.dart index 39f4dcdafe9..fefe780038f 100644 --- a/compass_app/app/lib/ui/home/widgets/home_screen.dart +++ b/compass_app/app/lib/ui/home/widgets/home_screen.dart @@ -93,31 +93,29 @@ class _HomeScreenState extends State { ), SliverList.builder( itemCount: widget.viewModel.bookings.length, - itemBuilder: - (_, index) => _Booking( - key: ValueKey(widget.viewModel.bookings[index].id), - booking: widget.viewModel.bookings[index], - onTap: - () => context.push( - Routes.bookingWithId( - widget.viewModel.bookings[index].id, - ), - ), - confirmDismiss: (_) async { - // wait for command to complete - await widget.viewModel.deleteBooking.execute( - widget.viewModel.bookings[index].id, - ); - // if command completed successfully, return true - if (widget.viewModel.deleteBooking.completed) { - // removes the dismissable from the list - return true; - } else { - // the dismissable stays in the list - return false; - } - }, + itemBuilder: (_, index) => _Booking( + key: ValueKey(widget.viewModel.bookings[index].id), + booking: widget.viewModel.bookings[index], + onTap: () => context.push( + Routes.bookingWithId( + widget.viewModel.bookings[index].id, ), + ), + confirmDismiss: (_) async { + // wait for command to complete + await widget.viewModel.deleteBooking.execute( + widget.viewModel.bookings[index].id, + ); + // if command completed successfully, return true + if (widget.viewModel.deleteBooking.completed) { + // removes the dismissable from the list + return true; + } else { + // the dismissable stays in the list + return false; + } + }, + ), ), ], ); diff --git a/compass_app/app/lib/ui/home/widgets/home_title.dart b/compass_app/app/lib/ui/home/widgets/home_title.dart index 7086ccdf0bc..165e7ffe507 100644 --- a/compass_app/app/lib/ui/home/widgets/home_title.dart +++ b/compass_app/app/lib/ui/home/widgets/home_title.dart @@ -61,12 +61,11 @@ class _Title extends StatelessWidget { Widget build(BuildContext context) { return ShaderMask( blendMode: BlendMode.srcIn, - shaderCallback: - (bounds) => RadialGradient( - center: Alignment.bottomLeft, - radius: 2, - colors: [Colors.purple.shade700, Colors.purple.shade400], - ).createShader(Rect.fromLTWH(0, 0, bounds.width, bounds.height)), + shaderCallback: (bounds) => RadialGradient( + center: Alignment.bottomLeft, + radius: 2, + colors: [Colors.purple.shade700, Colors.purple.shade400], + ).createShader(Rect.fromLTWH(0, 0, bounds.width, bounds.height)), child: Text( text, style: GoogleFonts.rubik( diff --git a/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart b/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart index 33ba262b351..b5af3dea6dd 100644 --- a/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart +++ b/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart @@ -67,13 +67,12 @@ class ResultsViewModel extends ChangeNotifier { case Ok(): { // If the result is Ok, update the list of destinations - _destinations = - result.value - .where( - (destination) => - destination.continent == _itineraryConfig!.continent, - ) - .toList(); + _destinations = result.value + .where( + (destination) => + destination.continent == _itineraryConfig!.continent, + ) + .toList(); _log.fine('Destinations (${_destinations.length}) loaded'); } case Error(): diff --git a/compass_app/app/lib/ui/results/widgets/result_card.dart b/compass_app/app/lib/ui/results/widgets/result_card.dart index adcdad91a44..463358d8200 100644 --- a/compass_app/app/lib/ui/results/widgets/result_card.dart +++ b/compass_app/app/lib/ui/results/widgets/result_card.dart @@ -42,8 +42,9 @@ class ResultCard extends StatelessWidget { spacing: 4.0, runSpacing: 4.0, direction: Axis.horizontal, - children: - destination.tags.map((e) => TagChip(tag: e)).toList(), + children: destination.tags + .map((e) => TagChip(tag: e)) + .toList(), ), ], ), diff --git a/compass_app/app/lib/ui/results/widgets/results_screen.dart b/compass_app/app/lib/ui/results/widgets/results_screen.dart index 2bfc3d37758..a2b675cb907 100644 --- a/compass_app/app/lib/ui/results/widgets/results_screen.dart +++ b/compass_app/app/lib/ui/results/widgets/results_screen.dart @@ -67,10 +67,9 @@ class _ResultsScreenState extends State { Expanded( child: Center( child: ErrorIndicator( - title: - AppLocalization.of( - context, - ).errorWhileLoadingDestinations, + title: AppLocalization.of( + context, + ).errorWhileLoadingDestinations, label: AppLocalization.of(context).tryAgain, onPressed: widget.viewModel.search.execute, ), diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart index 3772c0f85f7..5c4abfacaa0 100644 --- a/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart @@ -75,14 +75,12 @@ class _QuantitySelector extends StatelessWidget { ), ListenableBuilder( listenable: viewModel, - builder: - (context, _) => Text( - viewModel.guests.toString(), - style: - viewModel.guests == 0 - ? Theme.of(context).inputDecorationTheme.hintStyle - : Theme.of(context).textTheme.bodyMedium, - ), + builder: (context, _) => Text( + viewModel.guests.toString(), + style: viewModel.guests == 0 + ? Theme.of(context).inputDecorationTheme.hintStyle + : Theme.of(context).textTheme.bodyMedium, + ), ), InkWell( key: const ValueKey(addGuestsKey), diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart index a4c6113a1b5..e6ce6a10416 100644 --- a/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart @@ -65,10 +65,9 @@ class _SearchFormSubmitState extends State { builder: (context, child) { return FilledButton( key: const ValueKey(searchFormSubmitButtonKey), - onPressed: - widget.viewModel.valid - ? widget.viewModel.updateItineraryConfig.execute - : null, + onPressed: widget.viewModel.valid + ? widget.viewModel.updateItineraryConfig.execute + : null, child: child, ); }, diff --git a/compass_app/app/pubspec.yaml b/compass_app/app/pubspec.yaml index 7b988114692..cbdd3ff056f 100644 --- a/compass_app/app/pubspec.yaml +++ b/compass_app/app/pubspec.yaml @@ -3,9 +3,10 @@ description: >- A sample app that helps users build and book itineraries for trips. publish_to: none version: 0.1.0 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: cached_network_image: ^3.4.1 @@ -14,8 +15,8 @@ dependencies: flutter_localizations: sdk: flutter flutter_svg: ^2.0.16 - freezed_annotation: ^2.4.4 - go_router: ^14.6.2 + freezed_annotation: ^3.0.0 + go_router: ^16.0.0 google_fonts: ^6.2.1 intl: any json_annotation: ^4.9.0 @@ -25,15 +26,16 @@ dependencies: shared_preferences: ^2.3.5 dev_dependencies: + analysis_defaults: + path: ../../analysis_defaults flutter_test: sdk: flutter - flutter_lints: ^5.0.0 mocktail_image_network: ^1.2.0 mocktail: ^1.0.4 integration_test: sdk: flutter build_runner: ^2.4.14 - freezed: ^2.5.7 + freezed: ^3.0.0 json_serializable: ^6.9.0 flutter: diff --git a/compass_app/server/analysis_options.yaml b/compass_app/server/analysis_options.yaml deleted file mode 100644 index dee8927aafe..00000000000 --- a/compass_app/server/analysis_options.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# This file configures the static analysis results for your project (errors, -# warnings, and lints). -# -# This enables the 'recommended' set of lints from `package:lints`. -# This set helps identify many issues that may lead to problems when running -# or consuming Dart code, and enforces writing Dart using a single, idiomatic -# style and format. -# -# If you want a smaller set of lints you can change this to specify -# 'package:lints/core.yaml'. These are just the most critical lints -# (the recommended set includes the core lints). -# The core lints are also what is used by pub.dev for scoring packages. - -include: package:lints/recommended.yaml - -# Uncomment the following section to specify additional rules. - -# linter: -# rules: -# - camel_case_types - -# analyzer: -# exclude: -# - path/to/excluded/files/** - -# For more information about the core and recommended set of lints, see -# https://dart.dev/go/core-lints - -# For additional information about configuring this file, see -# https://dart.dev/guides/language/analysis-options diff --git a/compass_app/server/bin/compass_server.dart b/compass_app/server/bin/compass_server.dart index 05bdfc01133..7f201155291 100644 --- a/compass_app/server/bin/compass_server.dart +++ b/compass_app/server/bin/compass_server.dart @@ -15,13 +15,12 @@ import 'package:shelf/shelf_io.dart'; import 'package:shelf_router/shelf_router.dart'; // Configure routes. -final _router = - Router() - ..get('/continent', continentHandler) - ..mount('/destination', DestinationApi().router.call) - ..mount('/booking', BookingApi().router.call) - ..mount('/user', UserApi().router.call) - ..mount('/login', LoginApi().router.call); +final _router = Router() + ..get('/continent', continentHandler) + ..mount('/destination', DestinationApi().router.call) + ..mount('/booking', BookingApi().router.call) + ..mount('/user', UserApi().router.call) + ..mount('/login', LoginApi().router.call); void main(List args) async { // Use any available host or container IP (usually `0.0.0.0`). diff --git a/compass_app/server/lib/model/activity/activity.freezed.dart b/compass_app/server/lib/model/activity/activity.freezed.dart index b900e74daa5..0c89f888a43 100644 --- a/compass_app/server/lib/model/activity/activity.freezed.dart +++ b/compass_app/server/lib/model/activity/activity.freezed.dart @@ -109,56 +109,46 @@ class _$ActivityCopyWithImpl<$Res, $Val extends Activity> }) { return _then( _value.copyWith( - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - description: - null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - locationName: - null == locationName - ? _value.locationName - : locationName // ignore: cast_nullable_to_non_nullable - as String, - duration: - null == duration - ? _value.duration - : duration // ignore: cast_nullable_to_non_nullable - as int, - timeOfDay: - null == timeOfDay - ? _value.timeOfDay - : timeOfDay // ignore: cast_nullable_to_non_nullable - as TimeOfDay, - familyFriendly: - null == familyFriendly - ? _value.familyFriendly - : familyFriendly // ignore: cast_nullable_to_non_nullable - as bool, - price: - null == price - ? _value.price - : price // ignore: cast_nullable_to_non_nullable - as int, - destinationRef: - null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - ref: - null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -215,56 +205,46 @@ class __$$ActivityImplCopyWithImpl<$Res> }) { return _then( _$ActivityImpl( - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - description: - null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - locationName: - null == locationName - ? _value.locationName - : locationName // ignore: cast_nullable_to_non_nullable - as String, - duration: - null == duration - ? _value.duration - : duration // ignore: cast_nullable_to_non_nullable - as int, - timeOfDay: - null == timeOfDay - ? _value.timeOfDay - : timeOfDay // ignore: cast_nullable_to_non_nullable - as TimeOfDay, - familyFriendly: - null == familyFriendly - ? _value.familyFriendly - : familyFriendly // ignore: cast_nullable_to_non_nullable - as bool, - price: - null == price - ? _value.price - : price // ignore: cast_nullable_to_non_nullable - as int, - destinationRef: - null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - ref: - null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/server/lib/model/booking/booking.freezed.dart b/compass_app/server/lib/model/booking/booking.freezed.dart index 24c38badb10..5ce4f6c994a 100644 --- a/compass_app/server/lib/model/booking/booking.freezed.dart +++ b/compass_app/server/lib/model/booking/booking.freezed.dart @@ -88,36 +88,30 @@ class _$BookingCopyWithImpl<$Res, $Val extends Booking> }) { return _then( _value.copyWith( - id: - freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: - null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: - null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - destinationRef: - null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - activitiesRef: - null == activitiesRef - ? _value.activitiesRef - : activitiesRef // ignore: cast_nullable_to_non_nullable - as List, + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: null == activitiesRef + ? _value.activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, ) as $Val, ); @@ -165,36 +159,30 @@ class __$$BookingImplCopyWithImpl<$Res> }) { return _then( _$BookingImpl( - id: - freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: - null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: - null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - destinationRef: - null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - activitiesRef: - null == activitiesRef - ? _value._activitiesRef - : activitiesRef // ignore: cast_nullable_to_non_nullable - as List, + id: freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: null == activitiesRef + ? _value._activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, ), ); } diff --git a/compass_app/server/lib/model/booking/booking.g.dart b/compass_app/server/lib/model/booking/booking.g.dart index 676d95d967b..829d766bf83 100644 --- a/compass_app/server/lib/model/booking/booking.g.dart +++ b/compass_app/server/lib/model/booking/booking.g.dart @@ -13,10 +13,9 @@ _$BookingImpl _$$BookingImplFromJson(Map json) => endDate: DateTime.parse(json['endDate'] as String), name: json['name'] as String, destinationRef: json['destinationRef'] as String, - activitiesRef: - (json['activitiesRef'] as List) - .map((e) => e as String) - .toList(), + activitiesRef: (json['activitiesRef'] as List) + .map((e) => e as String) + .toList(), ); Map _$$BookingImplToJson(_$BookingImpl instance) => diff --git a/compass_app/server/lib/model/continent/continent.freezed.dart b/compass_app/server/lib/model/continent/continent.freezed.dart index cb6688a65f4..6f13817d16b 100644 --- a/compass_app/server/lib/model/continent/continent.freezed.dart +++ b/compass_app/server/lib/model/continent/continent.freezed.dart @@ -62,16 +62,14 @@ class _$ContinentCopyWithImpl<$Res, $Val extends Continent> $Res call({Object? name = null, Object? imageUrl = null}) { return _then( _value.copyWith( - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -106,16 +104,14 @@ class __$$ContinentImplCopyWithImpl<$Res> $Res call({Object? name = null, Object? imageUrl = null}) { return _then( _$ContinentImpl( - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/server/lib/model/destination/destination.freezed.dart b/compass_app/server/lib/model/destination/destination.freezed.dart index 30789a9691a..1babb93539a 100644 --- a/compass_app/server/lib/model/destination/destination.freezed.dart +++ b/compass_app/server/lib/model/destination/destination.freezed.dart @@ -95,41 +95,34 @@ class _$DestinationCopyWithImpl<$Res, $Val extends Destination> }) { return _then( _value.copyWith( - ref: - null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - country: - null == country - ? _value.country - : country // ignore: cast_nullable_to_non_nullable - as String, - continent: - null == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String, - knownFor: - null == knownFor - ? _value.knownFor - : knownFor // ignore: cast_nullable_to_non_nullable - as String, - tags: - null == tags - ? _value.tags - : tags // ignore: cast_nullable_to_non_nullable - as List, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: null == tags + ? _value.tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -180,41 +173,34 @@ class __$$DestinationImplCopyWithImpl<$Res> }) { return _then( _$DestinationImpl( - ref: - null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - country: - null == country - ? _value.country - : country // ignore: cast_nullable_to_non_nullable - as String, - continent: - null == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String, - knownFor: - null == knownFor - ? _value.knownFor - : knownFor // ignore: cast_nullable_to_non_nullable - as String, - tags: - null == tags - ? _value._tags - : tags // ignore: cast_nullable_to_non_nullable - as List, - imageUrl: - null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, + ref: null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: null == tags + ? _value._tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/server/lib/model/login_request/login_request.freezed.dart b/compass_app/server/lib/model/login_request/login_request.freezed.dart index a45082a15ab..db4394ebb66 100644 --- a/compass_app/server/lib/model/login_request/login_request.freezed.dart +++ b/compass_app/server/lib/model/login_request/login_request.freezed.dart @@ -64,16 +64,14 @@ class _$LoginRequestCopyWithImpl<$Res, $Val extends LoginRequest> $Res call({Object? email = null, Object? password = null}) { return _then( _value.copyWith( - email: - null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - password: - null == password - ? _value.password - : password // ignore: cast_nullable_to_non_nullable - as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -108,16 +106,14 @@ class __$$LoginRequestImplCopyWithImpl<$Res> $Res call({Object? email = null, Object? password = null}) { return _then( _$LoginRequestImpl( - email: - null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - password: - null == password - ? _value.password - : password // ignore: cast_nullable_to_non_nullable - as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/server/lib/model/login_response/login_response.freezed.dart b/compass_app/server/lib/model/login_response/login_response.freezed.dart index 49be034ebf2..dfaf762b275 100644 --- a/compass_app/server/lib/model/login_response/login_response.freezed.dart +++ b/compass_app/server/lib/model/login_response/login_response.freezed.dart @@ -64,16 +64,14 @@ class _$LoginResponseCopyWithImpl<$Res, $Val extends LoginResponse> $Res call({Object? token = null, Object? userId = null}) { return _then( _value.copyWith( - token: - null == token - ? _value.token - : token // ignore: cast_nullable_to_non_nullable - as String, - userId: - null == userId - ? _value.userId - : userId // ignore: cast_nullable_to_non_nullable - as String, + token: null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -108,16 +106,14 @@ class __$$LoginResponseImplCopyWithImpl<$Res> $Res call({Object? token = null, Object? userId = null}) { return _then( _$LoginResponseImpl( - token: - null == token - ? _value.token - : token // ignore: cast_nullable_to_non_nullable - as String, - userId: - null == userId - ? _value.userId - : userId // ignore: cast_nullable_to_non_nullable - as String, + token: null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/server/lib/model/user/user.freezed.dart b/compass_app/server/lib/model/user/user.freezed.dart index ca8a4b81e6d..74e26c7b354 100644 --- a/compass_app/server/lib/model/user/user.freezed.dart +++ b/compass_app/server/lib/model/user/user.freezed.dart @@ -72,26 +72,22 @@ class _$UserCopyWithImpl<$Res, $Val extends User> }) { return _then( _value.copyWith( - id: - null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - email: - null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - picture: - null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, ) as $Val, ); @@ -128,26 +124,22 @@ class __$$UserImplCopyWithImpl<$Res> }) { return _then( _$UserImpl( - id: - null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: - null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - email: - null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - picture: - null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, + id: null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, ), ); } diff --git a/compass_app/server/lib/routes/booking.dart b/compass_app/server/lib/routes/booking.dart index 850797bceed..adffc89fcfc 100644 --- a/compass_app/server/lib/routes/booking.dart +++ b/compass_app/server/lib/routes/booking.dart @@ -22,11 +22,10 @@ class BookingApi { BookingApi() { // Create a default booking final destination = Assets.destinations.first; - final activitiesRef = - Assets.activities - .where((activity) => activity.destinationRef == destination.ref) - .map((activity) => activity.ref) - .toList(); + final activitiesRef = Assets.activities + .where((activity) => activity.destinationRef == destination.ref) + .map((activity) => activity.ref) + .toList(); _bookings.add( Booking( id: _sequentialId++, @@ -60,8 +59,9 @@ class BookingApi { // Get a booking by id router.get('/', (Request request, String id) { final bookingId = int.parse(id); - final booking = - _bookings.where((booking) => booking.id == bookingId).firstOrNull; + final booking = _bookings + .where((booking) => booking.id == bookingId) + .firstOrNull; if (booking == null) { return Response.notFound('Invalid id'); @@ -102,8 +102,9 @@ class BookingApi { // Delete booking router.delete('/', (Request request, String id) async { final bookingId = int.parse(id); - final booking = - _bookings.where((booking) => booking.id == bookingId).firstOrNull; + final booking = _bookings + .where((booking) => booking.id == bookingId) + .firstOrNull; if (booking == null) { return Response.notFound('Invalid id'); } diff --git a/compass_app/server/lib/routes/destination.dart b/compass_app/server/lib/routes/destination.dart index c10ea18af8d..7d63ca5773e 100644 --- a/compass_app/server/lib/routes/destination.dart +++ b/compass_app/server/lib/routes/destination.dart @@ -21,10 +21,9 @@ class DestinationApi { }); router.get('//activity', (Request request, String id) { - final list = - Assets.activities - .where((activity) => activity.destinationRef == id) - .toList(); + final list = Assets.activities + .where((activity) => activity.destinationRef == id) + .toList(); return Response.ok( json.encode(list), headers: {'Content-Type': 'application/json'}, diff --git a/compass_app/server/pubspec.yaml b/compass_app/server/pubspec.yaml index 734269df412..f26d031a359 100644 --- a/compass_app/server/pubspec.yaml +++ b/compass_app/server/pubspec.yaml @@ -2,21 +2,23 @@ name: compass_server description: A server app using the shelf package and Docker. publish_to: 'none' version: 1.0.0 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: args: ^2.4.0 shelf: ^1.4.0 shelf_router: ^1.1.0 - freezed_annotation: ^2.4.4 + freezed_annotation: ^3.0.0 json_annotation: ^4.9.0 dev_dependencies: http: ^1.1.0 - lints: ^5.0.0 + analysis_defaults: + path: ../../analysis_defaults test: ^1.24.0 build_runner: ^2.4.11 - freezed: ^2.5.7 + freezed: ^3.0.0 json_serializable: ^6.8.0 diff --git a/context_menus/lib/cascading_menu_page.dart b/context_menus/lib/cascading_menu_page.dart index f8d018981fb..173f556ed0d 100644 --- a/context_menus/lib/cascading_menu_page.dart +++ b/context_menus/lib/cascading_menu_page.dart @@ -228,20 +228,22 @@ class _MyCascadingContextMenuState extends State<_MyCascadingContextMenu> { ); widget.onToggleMessageVisibility(); }, - shortcut: const SingleActivator(LogicalKeyboardKey.keyS, control: true), + shortcut: const SingleActivator( + LogicalKeyboardKey.keyS, + control: true, + ), ), // Hides the message, but is only enabled if the message isn't // already hidden. MenuEntry( label: 'Reset', - onPressed: - widget.showingMessage - ? () { - ContextMenuController.removeAny(); - widget.onChangeSelection('Reset'); - widget.onToggleMessageVisibility(); - } - : null, + onPressed: widget.showingMessage + ? () { + ContextMenuController.removeAny(); + widget.onChangeSelection('Reset'); + widget.onToggleMessageVisibility(); + } + : null, shortcut: const SingleActivator(LogicalKeyboardKey.escape), ), MenuEntry( diff --git a/context_menus/lib/custom_buttons_page.dart b/context_menus/lib/custom_buttons_page.dart index 1f8b87ac849..57397843556 100644 --- a/context_menus/lib/custom_buttons_page.dart +++ b/context_menus/lib/custom_buttons_page.dart @@ -52,26 +52,27 @@ class CustomButtonsPage extends StatelessWidget { // Build the default buttons, but make them look custom. // Note that in a real project you may want to build // different buttons depending on the platform. - children: - editableTextState.contextMenuButtonItems.map((buttonItem) { - return CupertinoButton( - borderRadius: null, - color: const Color(0xffaaaa00), - disabledColor: const Color(0xffaaaaff), - onPressed: buttonItem.onPressed, - padding: const EdgeInsets.all(10.0), - pressedOpacity: 0.7, - child: SizedBox( - width: 200.0, - child: Text( - CupertinoTextSelectionToolbarButton.getButtonLabel( - context, - buttonItem, - ), - ), + children: editableTextState.contextMenuButtonItems.map(( + buttonItem, + ) { + return CupertinoButton( + borderRadius: null, + color: const Color(0xffaaaa00), + disabledColor: const Color(0xffaaaaff), + onPressed: buttonItem.onPressed, + padding: const EdgeInsets.all(10.0), + pressedOpacity: 0.7, + child: SizedBox( + width: 200.0, + child: Text( + CupertinoTextSelectionToolbarButton.getButtonLabel( + context, + buttonItem, ), - ); - }).toList(), + ), + ), + ); + }).toList(), ); }, ), diff --git a/context_menus/lib/custom_menu_page.dart b/context_menus/lib/custom_menu_page.dart index 9645391ac69..53deaceacd0 100644 --- a/context_menus/lib/custom_menu_page.dart +++ b/context_menus/lib/custom_menu_page.dart @@ -47,11 +47,10 @@ class CustomMenuPage extends StatelessWidget { contextMenuBuilder: (context, editableTextState) { return _MyContextMenu( anchor: editableTextState.contextMenuAnchors.primaryAnchor, - children: - AdaptiveTextSelectionToolbar.getAdaptiveButtons( - context, - editableTextState.contextMenuButtonItems, - ).toList(), + children: AdaptiveTextSelectionToolbar.getAdaptiveButtons( + context, + editableTextState.contextMenuButtonItems, + ).toList(), ); }, ), diff --git a/context_menus/lib/default_values_page.dart b/context_menus/lib/default_values_page.dart index d3759a63d2a..8063e7618cd 100644 --- a/context_menus/lib/default_values_page.dart +++ b/context_menus/lib/default_values_page.dart @@ -62,7 +62,11 @@ class DefaultValuesPage extends StatelessWidget { 'This example simply shows what happens when contextMenuBuilder is given null, a custom value, or omitted altogether.', ), const SizedBox(height: 40.0), - TextField(maxLines: 2, minLines: 2, controller: _controllerNone), + TextField( + maxLines: 2, + minLines: 2, + controller: _controllerNone, + ), TextField( maxLines: 2, minLines: 2, diff --git a/context_menus/lib/email_button_page.dart b/context_menus/lib/email_button_page.dart index a5c7f35d1de..8a243005e83 100644 --- a/context_menus/lib/email_button_page.dart +++ b/context_menus/lib/email_button_page.dart @@ -22,9 +22,8 @@ class EmailButtonPage extends StatelessWidget { DialogRoute _showDialog(BuildContext context) { return DialogRoute( context: context, - builder: - (context) => - const AlertDialog(title: Text('You clicked send email!')), + builder: (context) => + const AlertDialog(title: Text('You clicked send email!')), ); } @@ -64,7 +63,9 @@ class EmailButtonPage extends StatelessWidget { editableTextState.textEditingValue; final List buttonItems = editableTextState.contextMenuButtonItems; - if (isValidEmail(value.selection.textInside(value.text))) { + if (isValidEmail( + value.selection.textInside(value.text), + )) { buttonItems.insert( 0, ContextMenuButtonItem( diff --git a/context_menus/lib/field_types_page.dart b/context_menus/lib/field_types_page.dart index 2fde4bbee7c..9c68505811b 100644 --- a/context_menus/lib/field_types_page.dart +++ b/context_menus/lib/field_types_page.dart @@ -26,16 +26,16 @@ class FieldTypesPage extends StatelessWidget { "CupertinoTextField can't show Material menus by default. On non-Apple platforms, you'll still see a Cupertino menu here.", ); - final TextEditingController _cupertinoControllerFixed = TextEditingController( + final TextEditingController + _cupertinoControllerFixed = TextEditingController( text: "But CupertinoTextField can be made to adaptively show any menu. You'll see the correct menu for your platform here.", ); - final TextEditingController _cupertinoControllerForced = - TextEditingController( - text: - 'Or forced to always show a specific menu (Material desktop menu).', - ); + final TextEditingController + _cupertinoControllerForced = TextEditingController( + text: 'Or forced to always show a specific menu (Material desktop menu).', + ); final TextEditingController _editableController = TextEditingController( text: @@ -67,7 +67,10 @@ class FieldTypesPage extends StatelessWidget { const SizedBox(height: 20.0), TextField(maxLines: 3, controller: _controller), const SizedBox(height: 60.0), - CupertinoTextField(maxLines: 3, controller: _cupertinoController), + CupertinoTextField( + maxLines: 3, + controller: _cupertinoController, + ), const SizedBox(height: 20.0), CupertinoTextField( maxLines: 3, @@ -85,11 +88,10 @@ class FieldTypesPage extends StatelessWidget { contextMenuBuilder: (context, editableTextState) { return DesktopTextSelectionToolbar( anchor: editableTextState.contextMenuAnchors.primaryAnchor, - children: - AdaptiveTextSelectionToolbar.getAdaptiveButtons( - context, - editableTextState.contextMenuButtonItems, - ).toList(), + children: AdaptiveTextSelectionToolbar.getAdaptiveButtons( + context, + editableTextState.contextMenuButtonItems, + ).toList(), ); }, ), diff --git a/context_menus/lib/full_page.dart b/context_menus/lib/full_page.dart index 9ce311c23d3..626d86823c3 100644 --- a/context_menus/lib/full_page.dart +++ b/context_menus/lib/full_page.dart @@ -107,7 +107,9 @@ class FullPage extends StatelessWidget { editableTextState.textEditingValue; final List buttonItems = editableTextState.contextMenuButtonItems; - if (isValidEmail(value.selection.textInside(value.text))) { + if (isValidEmail( + value.selection.textInside(value.text), + )) { buttonItems.insert( 0, ContextMenuButtonItem( @@ -115,7 +117,10 @@ class FullPage extends StatelessWidget { onPressed: () { ContextMenuController.removeAny(); Navigator.of(context).push( - _showDialog(context, 'You clicked send email'), + _showDialog( + context, + 'You clicked send email', + ), ); }, ), @@ -126,26 +131,25 @@ class FullPage extends StatelessWidget { // Build the default buttons, but make them look crazy. // Note that in a real project you may want to build // different buttons depending on the platform. - children: - buttonItems.map((buttonItem) { - return CupertinoButton( - borderRadius: null, - color: const Color(0xffaaaa00), - disabledColor: const Color(0xffaaaaff), - onPressed: buttonItem.onPressed, - padding: const EdgeInsets.all(10.0), - pressedOpacity: 0.7, - child: SizedBox( - width: 200.0, - child: Text( - CupertinoTextSelectionToolbarButton.getButtonLabel( - context, - buttonItem, - ), - ), + children: buttonItems.map((buttonItem) { + return CupertinoButton( + borderRadius: null, + color: const Color(0xffaaaa00), + disabledColor: const Color(0xffaaaaff), + onPressed: buttonItem.onPressed, + padding: const EdgeInsets.all(10.0), + pressedOpacity: 0.7, + child: SizedBox( + width: 200.0, + child: Text( + CupertinoTextSelectionToolbarButton.getButtonLabel( + context, + buttonItem, ), - ); - }).toList(), + ), + ), + ); + }).toList(), ); }, ), diff --git a/context_menus/lib/global_selection_page.dart b/context_menus/lib/global_selection_page.dart index 35c53b7df20..0d7b43011a5 100644 --- a/context_menus/lib/global_selection_page.dart +++ b/context_menus/lib/global_selection_page.dart @@ -9,7 +9,8 @@ class GlobalSelectionPage extends StatelessWidget { static const String route = 'global-selection'; static const String title = 'Global Selection Example'; - static const String subtitle = 'Context menus in and out of global selection'; + static const String subtitle = + 'Context menus in and out of global selection'; static const String url = '$kCodeUrl/global_selection_page.dart'; final PlatformCallback onChangedPlatform; diff --git a/context_menus/lib/image_page.dart b/context_menus/lib/image_page.dart index c3ebf1cf775..1c33ea6d3e3 100644 --- a/context_menus/lib/image_page.dart +++ b/context_menus/lib/image_page.dart @@ -19,10 +19,9 @@ class ImagePage extends StatelessWidget { DialogRoute _showDialog(BuildContext context) { return DialogRoute( context: context, - builder: - (context) => const AlertDialog( - title: Text('Image saved! (not really though)'), - ), + builder: (context) => const AlertDialog( + title: Text('Image saved! (not really though)'), + ), ); } @@ -49,7 +48,9 @@ class ImagePage extends StatelessWidget { ContextMenuRegion( contextMenuBuilder: (context, offset) { return AdaptiveTextSelectionToolbar.buttonItems( - anchors: TextSelectionToolbarAnchors(primaryAnchor: offset), + anchors: TextSelectionToolbarAnchors( + primaryAnchor: offset, + ), buttonItems: [ ContextMenuButtonItem( onPressed: () { diff --git a/context_menus/lib/main.dart b/context_menus/lib/main.dart index 566534f5b56..e67fa3411ff 100644 --- a/context_menus/lib/main.dart +++ b/context_menus/lib/main.dart @@ -64,36 +64,30 @@ class _MyAppState extends State { initialRoute: '/', routes: { '/': (context) => MyHomePage(onChangedPlatform: onChangedPlatform), - AnywherePage.route: - (context) => AnywherePage(onChangedPlatform: onChangedPlatform), - CustomButtonsPage.route: - (context) => - CustomButtonsPage(onChangedPlatform: onChangedPlatform), - CustomMenuPage.route: - (context) => CustomMenuPage(onChangedPlatform: onChangedPlatform), - ReorderedButtonsPage.route: - (context) => - ReorderedButtonsPage(onChangedPlatform: onChangedPlatform), - EmailButtonPage.route: - (context) => EmailButtonPage(onChangedPlatform: onChangedPlatform), - ImagePage.route: - (context) => ImagePage(onChangedPlatform: onChangedPlatform), - FieldTypesPage.route: - (context) => FieldTypesPage(onChangedPlatform: onChangedPlatform), - FullPage.route: - (context) => FullPage(onChangedPlatform: onChangedPlatform), - ModifiedActionPage.route: - (context) => - ModifiedActionPage(onChangedPlatform: onChangedPlatform), - GlobalSelectionPage.route: - (context) => - GlobalSelectionPage(onChangedPlatform: onChangedPlatform), - DefaultValuesPage.route: - (context) => - DefaultValuesPage(onChangedPlatform: onChangedPlatform), - CascadingMenuPage.route: - (context) => - CascadingMenuPage(onChangedPlatform: onChangedPlatform), + AnywherePage.route: (context) => + AnywherePage(onChangedPlatform: onChangedPlatform), + CustomButtonsPage.route: (context) => + CustomButtonsPage(onChangedPlatform: onChangedPlatform), + CustomMenuPage.route: (context) => + CustomMenuPage(onChangedPlatform: onChangedPlatform), + ReorderedButtonsPage.route: (context) => + ReorderedButtonsPage(onChangedPlatform: onChangedPlatform), + EmailButtonPage.route: (context) => + EmailButtonPage(onChangedPlatform: onChangedPlatform), + ImagePage.route: (context) => + ImagePage(onChangedPlatform: onChangedPlatform), + FieldTypesPage.route: (context) => + FieldTypesPage(onChangedPlatform: onChangedPlatform), + FullPage.route: (context) => + FullPage(onChangedPlatform: onChangedPlatform), + ModifiedActionPage.route: (context) => + ModifiedActionPage(onChangedPlatform: onChangedPlatform), + GlobalSelectionPage.route: (context) => + GlobalSelectionPage(onChangedPlatform: onChangedPlatform), + DefaultValuesPage.route: (context) => + DefaultValuesPage(onChangedPlatform: onChangedPlatform), + CascadingMenuPage.route: (context) => + CascadingMenuPage(onChangedPlatform: onChangedPlatform), }, ); } diff --git a/context_menus/lib/modified_action_page.dart b/context_menus/lib/modified_action_page.dart index b1456861595..68587f0cbd3 100644 --- a/context_menus/lib/modified_action_page.dart +++ b/context_menus/lib/modified_action_page.dart @@ -22,10 +22,9 @@ class ModifiedActionPage extends StatelessWidget { DialogRoute _showDialog(BuildContext context) { return DialogRoute( context: context, - builder: - (context) => const AlertDialog( - title: Text('Copied, but also showed this dialog.'), - ), + builder: (context) => const AlertDialog( + title: Text('Copied, but also showed this dialog.'), + ), ); } diff --git a/context_menus/lib/platform_selector.dart b/context_menus/lib/platform_selector.dart index 5ce1eeafe20..9df3e99d2cd 100644 --- a/context_menus/lib/platform_selector.dart +++ b/context_menus/lib/platform_selector.dart @@ -37,19 +37,18 @@ class _PlatformSelectorState extends State { widget.onChangedPlatform(value); setState(() {}); }, - items: - TargetPlatform.values.map((platform) { - return DropdownMenuItem( - value: platform, - child: Row( - children: [ - if (platform == originaPlatform) - const Icon(Icons.home, color: Color(0xff616161)), - Text(_platformToString(platform)), - ], - ), - ); - }).toList(), + items: TargetPlatform.values.map((platform) { + return DropdownMenuItem( + value: platform, + child: Row( + children: [ + if (platform == originaPlatform) + const Icon(Icons.home, color: Color(0xff616161)), + Text(_platformToString(platform)), + ], + ), + ); + }).toList(), ), ); } diff --git a/context_menus/lib/reordered_buttons_page.dart b/context_menus/lib/reordered_buttons_page.dart index 700bbd2b19d..bc138469fcc 100644 --- a/context_menus/lib/reordered_buttons_page.dart +++ b/context_menus/lib/reordered_buttons_page.dart @@ -11,7 +11,8 @@ class ReorderedButtonsPage extends StatelessWidget { static const String route = 'reordered-buttons'; static const String title = 'Reordered Buttons'; - static const String subtitle = 'The usual buttons, but in a different order.'; + static const String subtitle = + 'The usual buttons, but in a different order.'; static const String url = '$kCodeUrl/reordered_buttons_page.dart'; final PlatformCallback onChangedPlatform; @@ -61,19 +62,25 @@ class ReorderedButtonsPage extends StatelessWidget { in editableTextState.contextMenuButtonItems) { buttonItemsMap[buttonItem.type] = buttonItem; } - final List - reorderedButtonItems = [ - if (buttonItemsMap.containsKey( - ContextMenuButtonType.selectAll, - )) - buttonItemsMap[ContextMenuButtonType.selectAll]!, - if (buttonItemsMap.containsKey(ContextMenuButtonType.paste)) - buttonItemsMap[ContextMenuButtonType.paste]!, - if (buttonItemsMap.containsKey(ContextMenuButtonType.copy)) - buttonItemsMap[ContextMenuButtonType.copy]!, - if (buttonItemsMap.containsKey(ContextMenuButtonType.cut)) - buttonItemsMap[ContextMenuButtonType.cut]!, - ]; + final List reorderedButtonItems = + [ + if (buttonItemsMap.containsKey( + ContextMenuButtonType.selectAll, + )) + buttonItemsMap[ContextMenuButtonType.selectAll]!, + if (buttonItemsMap.containsKey( + ContextMenuButtonType.paste, + )) + buttonItemsMap[ContextMenuButtonType.paste]!, + if (buttonItemsMap.containsKey( + ContextMenuButtonType.copy, + )) + buttonItemsMap[ContextMenuButtonType.copy]!, + if (buttonItemsMap.containsKey( + ContextMenuButtonType.cut, + )) + buttonItemsMap[ContextMenuButtonType.cut]!, + ]; return AdaptiveTextSelectionToolbar.buttonItems( anchors: editableTextState.contextMenuAnchors, buttonItems: reorderedButtonItems, diff --git a/context_menus/pubspec.yaml b/context_menus/pubspec.yaml index 2b66fb6dfa7..1636d6dd090 100644 --- a/context_menus/pubspec.yaml +++ b/context_menus/pubspec.yaml @@ -1,5 +1,7 @@ name: context_menus description: A new Flutter project. +version: 1.0.0+1 +resolution: workspace # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. @@ -17,10 +19,10 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.0+1 + environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -32,7 +34,6 @@ dependencies: flutter: sdk: flutter - # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 @@ -44,7 +45,6 @@ dev_dependencies: flutter_test: sdk: flutter - # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/context_menus/test/custom_buttons_page_test.dart b/context_menus/test/custom_buttons_page_test.dart index ea070a753e1..93ddc7196af 100644 --- a/context_menus/test/custom_buttons_page_test.dart +++ b/context_menus/test/custom_buttons_page_test.dart @@ -37,7 +37,10 @@ void main() { expect(find.byType(AdaptiveTextSelectionToolbar), findsOneWidget); switch (defaultTargetPlatform) { case TargetPlatform.iOS: - expect(find.byType(CupertinoTextSelectionToolbarButton), findsNothing); + expect( + find.byType(CupertinoTextSelectionToolbarButton), + findsNothing, + ); expect(find.byType(CupertinoButton), findsNWidgets(2)); case TargetPlatform.macOS: expect(find.byType(CupertinoButton), findsNWidgets(2)); @@ -52,7 +55,10 @@ void main() { case TargetPlatform.linux: case TargetPlatform.windows: expect(find.byType(CupertinoButton), findsNWidgets(1)); - expect(find.byType(DesktopTextSelectionToolbarButton), findsNothing); + expect( + find.byType(DesktopTextSelectionToolbarButton), + findsNothing, + ); } }); } diff --git a/context_menus/test/custom_menu_page_test.dart b/context_menus/test/custom_menu_page_test.dart index 1a98fe096b5..96761cdf760 100644 --- a/context_menus/test/custom_menu_page_test.dart +++ b/context_menus/test/custom_menu_page_test.dart @@ -7,7 +7,9 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { - testWidgets('Shows default buttons in a custom context menu', (tester) async { + testWidgets('Shows default buttons in a custom context menu', ( + tester, + ) async { await tester.pumpWidget(const MyApp()); // Navigate to the CustomMenuPage example. @@ -33,7 +35,10 @@ void main() { // A custom context menu is shown, and the buttons are the default ones. expect(find.byType(AdaptiveTextSelectionToolbar), findsNothing); - expect(find.byType(CupertinoAdaptiveTextSelectionToolbar), findsNothing); + expect( + find.byType(CupertinoAdaptiveTextSelectionToolbar), + findsNothing, + ); switch (defaultTargetPlatform) { case TargetPlatform.iOS: expect( @@ -47,7 +52,10 @@ void main() { ); case TargetPlatform.android: case TargetPlatform.fuchsia: - expect(find.byType(TextSelectionToolbarTextButton), findsNWidgets(1)); + expect( + find.byType(TextSelectionToolbarTextButton), + findsNWidgets(1), + ); case TargetPlatform.linux: case TargetPlatform.windows: expect( diff --git a/context_menus/test/default_values_page_test.dart b/context_menus/test/default_values_page_test.dart index 7dfe325f43f..1f6713df264 100644 --- a/context_menus/test/default_values_page_test.dart +++ b/context_menus/test/default_values_page_test.dart @@ -55,7 +55,10 @@ void main() { ); case TargetPlatform.android: case TargetPlatform.fuchsia: - expect(find.byType(TextSelectionToolbarTextButton), findsNWidgets(1)); + expect( + find.byType(TextSelectionToolbarTextButton), + findsNWidgets(1), + ); case TargetPlatform.linux: case TargetPlatform.windows: expect( diff --git a/context_menus/test/email_button_page_test.dart b/context_menus/test/email_button_page_test.dart index 351dbcf8fdf..309556ba99e 100644 --- a/context_menus/test/email_button_page_test.dart +++ b/context_menus/test/email_button_page_test.dart @@ -61,7 +61,10 @@ void main() { ); case TargetPlatform.android: case TargetPlatform.fuchsia: - expect(find.byType(TextSelectionToolbarTextButton), findsNWidgets(3)); + expect( + find.byType(TextSelectionToolbarTextButton), + findsNWidgets(3), + ); case TargetPlatform.linux: case TargetPlatform.windows: expect( @@ -111,7 +114,10 @@ void main() { ); case TargetPlatform.android: case TargetPlatform.fuchsia: - expect(find.byType(TextSelectionToolbarTextButton), findsNWidgets(4)); + expect( + find.byType(TextSelectionToolbarTextButton), + findsNWidgets(4), + ); case TargetPlatform.linux: case TargetPlatform.windows: expect( diff --git a/context_menus/test/field_types_page_test.dart b/context_menus/test/field_types_page_test.dart index fa4ce8cf7e0..3f2beb43698 100644 --- a/context_menus/test/field_types_page_test.dart +++ b/context_menus/test/field_types_page_test.dart @@ -44,7 +44,10 @@ void main() { expect(find.byType(AdaptiveTextSelectionToolbar), findsOneWidget); switch (defaultTargetPlatform) { case TargetPlatform.iOS: - expect(find.byType(CupertinoTextSelectionToolbar), findsOneWidget); + expect( + find.byType(CupertinoTextSelectionToolbar), + findsOneWidget, + ); case TargetPlatform.android: expect(find.byType(TextSelectionToolbar), findsOneWidget); case TargetPlatform.fuchsia: @@ -83,7 +86,10 @@ void main() { case TargetPlatform.iOS: case TargetPlatform.android: case TargetPlatform.fuchsia: - expect(find.byType(CupertinoTextSelectionToolbar), findsOneWidget); + expect( + find.byType(CupertinoTextSelectionToolbar), + findsOneWidget, + ); case TargetPlatform.macOS: case TargetPlatform.linux: case TargetPlatform.windows: @@ -96,7 +102,10 @@ void main() { // Tap the next field to hide the context menu. await tester.tap(find.byType(CupertinoTextField).at(1)); await tester.pumpAndSettle(); - expect(find.byType(CupertinoAdaptiveTextSelectionToolbar), findsNothing); + expect( + find.byType(CupertinoAdaptiveTextSelectionToolbar), + findsNothing, + ); // Right click on the fixed CupertinoTextField. gesture = await tester.startGesture( @@ -113,7 +122,10 @@ void main() { expect(find.byType(AdaptiveTextSelectionToolbar), findsOneWidget); switch (defaultTargetPlatform) { case TargetPlatform.iOS: - expect(find.byType(CupertinoTextSelectionToolbar), findsOneWidget); + expect( + find.byType(CupertinoTextSelectionToolbar), + findsOneWidget, + ); case TargetPlatform.android: expect(find.byType(TextSelectionToolbar), findsOneWidget); case TargetPlatform.fuchsia: @@ -145,7 +157,10 @@ void main() { // The DesktopTextSelectionToolbar is shown for all platforms. expect(find.byType(AdaptiveTextSelectionToolbar), findsNothing); - expect(find.byType(CupertinoAdaptiveTextSelectionToolbar), findsNothing); + expect( + find.byType(CupertinoAdaptiveTextSelectionToolbar), + findsNothing, + ); expect(find.byType(DesktopTextSelectionToolbar), findsOneWidget); // Tap the next field to hide the context menu. @@ -168,7 +183,10 @@ void main() { expect(find.byType(AdaptiveTextSelectionToolbar), findsOneWidget); switch (defaultTargetPlatform) { case TargetPlatform.iOS: - expect(find.byType(CupertinoTextSelectionToolbar), findsOneWidget); + expect( + find.byType(CupertinoTextSelectionToolbar), + findsOneWidget, + ); case TargetPlatform.android: expect(find.byType(TextSelectionToolbar), findsOneWidget); case TargetPlatform.fuchsia: diff --git a/context_menus/test/global_selection_page_test.dart b/context_menus/test/global_selection_page_test.dart index 9f6a52fb88a..619ed3a41b8 100644 --- a/context_menus/test/global_selection_page_test.dart +++ b/context_menus/test/global_selection_page_test.dart @@ -5,43 +5,49 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { - testWidgets('Gives correct behavior for all values of contextMenuBuilder', ( - tester, - ) async { - await tester.pumpWidget(const MyApp()); + testWidgets( + 'Gives correct behavior for all values of contextMenuBuilder', + ( + tester, + ) async { + await tester.pumpWidget(const MyApp()); - // Navigate to the GlobalSelectionPage example. - await tester.dragUntilVisible( - find.text(GlobalSelectionPage.title), - find.byType(ListView), - const Offset(0.0, -100.0), - ); - await tester.pumpAndSettle(); - await tester.tap(find.text(GlobalSelectionPage.title)); - await tester.pumpAndSettle(); - expect( - find.descendant( - of: find.byType(AppBar), - matching: find.text(GlobalSelectionPage.title), - ), - findsOneWidget, - ); + // Navigate to the GlobalSelectionPage example. + await tester.dragUntilVisible( + find.text(GlobalSelectionPage.title), + find.byType(ListView), + const Offset(0.0, -100.0), + ); + await tester.pumpAndSettle(); + await tester.tap(find.text(GlobalSelectionPage.title)); + await tester.pumpAndSettle(); + expect( + find.descendant( + of: find.byType(AppBar), + matching: find.text(GlobalSelectionPage.title), + ), + findsOneWidget, + ); - // Right click on the plain Text widget. - TestGesture gesture = await tester.startGesture( - tester.getCenter( - find.descendant(of: find.byType(ListView), matching: find.byType(Text)), - ), - kind: PointerDeviceKind.mouse, - buttons: kSecondaryMouseButton, - ); - await tester.pump(); - await gesture.up(); - await gesture.removePointer(); - await tester.pumpAndSettle(); + // Right click on the plain Text widget. + TestGesture gesture = await tester.startGesture( + tester.getCenter( + find.descendant( + of: find.byType(ListView), + matching: find.byType(Text), + ), + ), + kind: PointerDeviceKind.mouse, + buttons: kSecondaryMouseButton, + ); + await tester.pump(); + await gesture.up(); + await gesture.removePointer(); + await tester.pumpAndSettle(); - // The default context menu is shown with a custom button. - expect(find.byType(AdaptiveTextSelectionToolbar), findsOneWidget); - expect(find.text('Back'), findsOneWidget); - }); + // The default context menu is shown with a custom button. + expect(find.byType(AdaptiveTextSelectionToolbar), findsOneWidget); + expect(find.text('Back'), findsOneWidget); + }, + ); } diff --git a/context_menus/test/utils.dart b/context_menus/test/utils.dart index a54ce5cd7d9..5d4f6e989ff 100644 --- a/context_menus/test/utils.dart +++ b/context_menus/test/utils.dart @@ -40,6 +40,9 @@ List globalize( RenderBox box, ) { return points.map((point) { - return TextSelectionPoint(box.localToGlobal(point.point), point.direction); + return TextSelectionPoint( + box.localToGlobal(point.point), + point.direction, + ); }).toList(); } diff --git a/date_planner/lib/event.dart b/date_planner/lib/event.dart index 7f4f2b5ddf5..3dae0df4f74 100644 --- a/date_planner/lib/event.dart +++ b/date_planner/lib/event.dart @@ -39,7 +39,7 @@ class Event implements Comparable { ); } - updateWith(Event e) { + void updateWith(Event e) { title = e.title; color = e.color; icon = e.icon; diff --git a/date_planner/lib/event_detail.dart b/date_planner/lib/event_detail.dart index 23a386728aa..6407d65015b 100644 --- a/date_planner/lib/event_detail.dart +++ b/date_planner/lib/event_detail.dart @@ -55,9 +55,8 @@ class _EventDetailState extends State { Navigator.of(context) .push( CupertinoPageRoute<(IconData, ColorOptions)?>( - builder: - (_) => - SymbolEditor(event.icon, event.color), + builder: (_) => + SymbolEditor(event.icon, event.color), ), ) .then(((IconData, ColorOptions)? data) { diff --git a/date_planner/lib/event_editor.dart b/date_planner/lib/event_editor.dart index 7172d4b0809..03d0093e3f7 100644 --- a/date_planner/lib/event_editor.dart +++ b/date_planner/lib/event_editor.dart @@ -41,22 +41,21 @@ class _EventEditorState extends State { // // Is this maybe the issue here? // https://github.com/flutter/flutter/issues/91715 - leading: - isNew - ? CupertinoButton( - padding: EdgeInsets.zero, - child: const Text('Cancel'), - onPressed: () => Navigator.pop(context, null), - ) - : CupertinoButton( - padding: EdgeInsets.zero, - onPressed: () { - Navigator.pop(context, event); - }, - child: const Row( - children: [Icon(CupertinoIcons.back), Text('Date Planner')], - ), + leading: isNew + ? CupertinoButton( + padding: EdgeInsets.zero, + child: const Text('Cancel'), + onPressed: () => Navigator.pop(context, null), + ) + : CupertinoButton( + padding: EdgeInsets.zero, + onPressed: () { + Navigator.pop(context, event); + }, + child: const Row( + children: [Icon(CupertinoIcons.back), Text('Date Planner')], ), + ), trailing: CupertinoButton( padding: EdgeInsets.zero, child: Text(isNew ? 'Add' : (isEditing ? 'Done' : 'Edit')), diff --git a/date_planner/lib/event_list.dart b/date_planner/lib/event_list.dart index d430922d938..21155b58027 100644 --- a/date_planner/lib/event_list.dart +++ b/date_planner/lib/event_list.dart @@ -36,11 +36,10 @@ class EventList extends StatelessWidget { // Blocked on https://github.com/flutter/flutter/issues/42560. Event? newEvent = await Navigator.of(context).push( CupertinoPageRoute( - builder: - (_) => EventEditor( - event: Event(title: 'New event'), - isNew: true, - ), + builder: (_) => EventEditor( + event: Event(title: 'New event'), + isNew: true, + ), ), ); @@ -69,17 +68,15 @@ class EventList extends StatelessWidget { EventRow( event: e, onTap: () async { - Event? updatedEvent = await Navigator.of( - context, - ).push( - CupertinoPageRoute( - builder: - (_) => EventEditor( + Event? updatedEvent = await Navigator.of(context) + .push( + CupertinoPageRoute( + builder: (_) => EventEditor( event: e.copy(), isNew: false, ), - ), - ); + ), + ); if (updatedEvent == null) { // The editor passes back null when it deleted // the element. diff --git a/date_planner/lib/event_row.dart b/date_planner/lib/event_row.dart index dbde28b8e6e..1425693a3ac 100644 --- a/date_planner/lib/event_row.dart +++ b/date_planner/lib/event_row.dart @@ -31,9 +31,9 @@ class EventRow extends StatelessWidget { event.isComplete ? const Icon(CupertinoIcons.check_mark) : Text( - '${event.remainingTaskCount}', - style: const TextStyle(color: CupertinoColors.systemGrey), - ), + '${event.remainingTaskCount}', + style: const TextStyle(color: CupertinoColors.systemGrey), + ), const CupertinoListTileChevron(), ], ), diff --git a/date_planner/lib/symbol_editor.dart b/date_planner/lib/symbol_editor.dart index 48e2f1c0baa..a2299aeb476 100644 --- a/date_planner/lib/symbol_editor.dart +++ b/date_planner/lib/symbol_editor.dart @@ -39,11 +39,8 @@ class _SymbolEditorState extends State { CupertinoButton( padding: EdgeInsets.zero, child: const Text('Done'), - onPressed: - () => Navigator.pop(context, ( - _currentIcon, - _currentColor, - )), + onPressed: () => + Navigator.pop(context, (_currentIcon, _currentColor)), ), ], ), diff --git a/date_planner/lib/task_row.dart b/date_planner/lib/task_row.dart index f1535c9d77d..4c817ba07f6 100644 --- a/date_planner/lib/task_row.dart +++ b/date_planner/lib/task_row.dart @@ -29,14 +29,13 @@ class _TaskRowState extends State { return Row( children: [ CupertinoButton( - onPressed: - widget.isEditing - ? () { - setState(() { - widget.task.isCompleted = !widget.task.isCompleted; - }); - } - : null, + onPressed: widget.isEditing + ? () { + setState(() { + widget.task.isCompleted = !widget.task.isCompleted; + }); + } + : null, child: Icon( widget.task.isCompleted ? CupertinoIcons.checkmark_circle_fill @@ -45,15 +44,14 @@ class _TaskRowState extends State { ), ), Expanded( - child: - widget.isEditing - ? CupertinoTextField( - decoration: null, - padding: EdgeInsets.zero, - controller: _taskText, - onChanged: (value) => widget.task.text = value, - ) - : Text(widget.task.text), + child: widget.isEditing + ? CupertinoTextField( + decoration: null, + padding: EdgeInsets.zero, + controller: _taskText, + onChanged: (value) => widget.task.text = value, + ) + : Text(widget.task.text), ), ], ); diff --git a/date_planner/pubspec.yaml b/date_planner/pubspec.yaml index e8a484bce7d..4b9309fa040 100644 --- a/date_planner/pubspec.yaml +++ b/date_planner/pubspec.yaml @@ -2,9 +2,10 @@ name: date_planner description: "An iOS-style date planner." publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 0.1.0 +resolution: workspace environment: - sdk: ^3.7.0 + sdk: ^3.9.0-0 dependencies: flutter: @@ -15,4 +16,6 @@ dependencies: uuid: dev_dependencies: - flutter_lints: ^5.0.0 + analysis_defaults: + path: ../analysis_defaults + flutter_lints: ^6.0.0 diff --git a/deeplink_store_example/lib/main.dart b/deeplink_store_example/lib/main.dart index 0206c1fe624..2bdafeb62a6 100644 --- a/deeplink_store_example/lib/main.dart +++ b/deeplink_store_example/lib/main.dart @@ -33,14 +33,14 @@ class MyApp extends StatelessWidget { routes: [ GoRoute( path: '/', - builder: (_, __) => const ProductList(), + builder: (_, _) => const ProductList(), routes: [ - GoRoute(path: ':id', builder: (_, __) => const ProductDetails()), + GoRoute(path: ':id', builder: (_, _) => const ProductDetails()), ], ), GoRoute( path: '/category/:category', - builder: (_, __) => const ProductCategoryList(), + builder: (_, _) => const ProductCategoryList(), ), ], ), diff --git a/deeplink_store_example/lib/product_category_list.dart b/deeplink_store_example/lib/product_category_list.dart index 210156d4a31..e794aeef092 100644 --- a/deeplink_store_example/lib/product_category_list.dart +++ b/deeplink_store_example/lib/product_category_list.dart @@ -30,10 +30,9 @@ class ProductCategoryList extends StatelessWidget { value.toString().contains(state.pathParameters['category']!), orElse: () => Category.all, ); - final List children = - ProductsRepository.loadProducts( - category: category, - ).map((Product p) => RowItem(product: p)).toList(); + final List children = ProductsRepository.loadProducts( + category: category, + ).map((Product p) => RowItem(product: p)).toList(); return Scaffold( backgroundColor: Styles.scaffoldBackground, body: CustomScrollView( diff --git a/deeplink_store_example/lib/product_list.dart b/deeplink_store_example/lib/product_list.dart index 50ef37848b3..569c81d3f52 100644 --- a/deeplink_store_example/lib/product_list.dart +++ b/deeplink_store_example/lib/product_list.dart @@ -23,10 +23,9 @@ class ProductList extends StatelessWidget { @override Widget build(BuildContext context) { - final List children = - ProductsRepository.loadProducts() - .map((Product p) => RowItem(product: p)) - .toList(); + final List children = ProductsRepository.loadProducts() + .map((Product p) => RowItem(product: p)) + .toList(); return Scaffold( backgroundColor: Styles.scaffoldBackground, body: CustomScrollView( diff --git a/deeplink_store_example/pubspec.yaml b/deeplink_store_example/pubspec.yaml index 9f295df77d4..398a213960d 100644 --- a/deeplink_store_example/pubspec.yaml +++ b/deeplink_store_example/pubspec.yaml @@ -1,5 +1,8 @@ name: deeplink_store_example description: A new Flutter project. +version: 1.0.0+1 +resolution: workspace + # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev @@ -16,10 +19,10 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.0+1 + environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -31,23 +34,23 @@ dependencies: flutter: sdk: flutter - # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 shrine_images: ^2.0.2 - go_router: ^15.0.0 + go_router: ^16.0.0 dev_dependencies: + analysis_defaults: + path: ../analysis_defaults flutter_test: sdk: flutter - # The "flutter_lints" package below contains a set of recommended lints to # encourage good coding practices. The lint set provided by the package is # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^5.0.0 + flutter_lints: ^6.0.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/desktop_photo_search/fluent_ui/lib/main.dart b/desktop_photo_search/fluent_ui/lib/main.dart index 7c57e7f13cc..cd0e164006f 100644 --- a/desktop_photo_search/fluent_ui/lib/main.dart +++ b/desktop_photo_search/fluent_ui/lib/main.dart @@ -24,7 +24,9 @@ void main() { Logger.root.level = Level.ALL; Logger.root.onRecord.listen((rec) { // ignore: avoid_print - print('${rec.loggerName} ${rec.level.name}: ${rec.time}: ${rec.message}'); + print( + '${rec.loggerName} ${rec.level.name}: ${rec.time}: ${rec.message}', + ); }); if (unsplashAccessKey.isEmpty) { @@ -39,8 +41,8 @@ void main() { runApp( ChangeNotifierProvider( - create: - (context) => PhotoSearchModel(Unsplash(accessKey: unsplashAccessKey)), + create: (context) => + PhotoSearchModel(Unsplash(accessKey: unsplashAccessKey)), child: const UnsplashSearchApp(), ), ); @@ -50,7 +52,8 @@ const double windowWidth = 1024; const double windowHeight = 800; void setupWindow() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { + if (!kIsWeb && + (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { WidgetsFlutterBinding.ensureInitialized(); setWindowMinSize(const Size(windowWidth, windowHeight)); } @@ -84,9 +87,9 @@ class UnsplashHomePage extends StatelessWidget { onSelected: () { showDialog( context: context, - builder: - (context) => - PhotoSearchDialog(callback: photoSearchModel.addSearch), + builder: (context) => PhotoSearchDialog( + callback: photoSearchModel.addSearch, + ), ); }, ), @@ -118,12 +121,11 @@ class UnsplashHomePage extends StatelessWidget { return UnsplashNotice( child: Container( color: Colors.white, - child: - photoSearchModel.entries.isNotEmpty - ? const UnsplashSearchContent() - : const Center( - child: Text('Search for Photos using the Search menu'), - ), + child: photoSearchModel.entries.isNotEmpty + ? const UnsplashSearchContent() + : const Center( + child: Text('Search for Photos using the Search menu'), + ), ), ); } diff --git a/desktop_photo_search/fluent_ui/lib/src/model/photo_search_model.dart b/desktop_photo_search/fluent_ui/lib/src/model/photo_search_model.dart index aa792db2872..c3b1878bddd 100644 --- a/desktop_photo_search/fluent_ui/lib/src/model/photo_search_model.dart +++ b/desktop_photo_search/fluent_ui/lib/src/model/photo_search_model.dart @@ -45,5 +45,6 @@ class PhotoSearchModel extends ChangeNotifier { notifyListeners(); } - Future download({required Photo photo}) => _client.download(photo); + Future download({required Photo photo}) => + _client.download(photo); } diff --git a/desktop_photo_search/fluent_ui/lib/src/model/search.g.dart b/desktop_photo_search/fluent_ui/lib/src/model/search.g.dart index 27a09b458e8..578c88f1b3a 100644 --- a/desktop_photo_search/fluent_ui/lib/src/model/search.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/model/search.g.dart @@ -33,7 +33,9 @@ class _$SearchSerializer implements StructuredSerializer { 'results', serializers.serialize( object.results, - specifiedType: const FullType(BuiltList, const [const FullType(Photo)]), + specifiedType: const FullType(BuiltList, const [ + const FullType(Photo), + ]), ), ]; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.dart index f1bd356482c..e7607c0eabb 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.dart @@ -21,7 +21,9 @@ abstract class ApiError implements Built { BuiltList? get errors; String toJson() { - return json.encode(serializers.serializeWith(ApiError.serializer, this)); + return json.encode( + serializers.serializeWith(ApiError.serializer, this), + ); } static ApiError? fromJson(String jsonString) { diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.g.dart index 191309a7b05..acc2aab46e4 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.g.dart @@ -106,8 +106,9 @@ class _$ApiError extends ApiError { @override String toString() { - return (newBuiltValueToStringHelper(r'ApiError') - ..add('errors', errors)).toString(); + return (newBuiltValueToStringHelper( + r'ApiError', + )..add('errors', errors)).toString(); } } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.g.dart index 40b38857dd3..f37c6c9eb1f 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.g.dart @@ -39,7 +39,10 @@ class _$CurrentUserCollectionsSerializer result ..add('title') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.publishedAt; @@ -47,7 +50,10 @@ class _$CurrentUserCollectionsSerializer result ..add('published_at') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.updatedAt; @@ -55,7 +61,10 @@ class _$CurrentUserCollectionsSerializer result ..add('updated_at') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } return result; @@ -134,7 +143,11 @@ class _$CurrentUserCollections extends CurrentUserCollections { this.publishedAt, this.updatedAt, }) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CurrentUserCollections', 'id'); + BuiltValueNullFieldError.checkNotNull( + id, + r'CurrentUserCollections', + 'id', + ); } @override diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.g.dart index b65aa8b30e6..1896c86fe25 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.g.dart @@ -31,7 +31,10 @@ class _$ExifSerializer implements StructuredSerializer { result ..add('make') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.model; @@ -39,7 +42,10 @@ class _$ExifSerializer implements StructuredSerializer { result ..add('model') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.exposureTime; @@ -47,7 +53,10 @@ class _$ExifSerializer implements StructuredSerializer { result ..add('exposure_time') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.aperture; @@ -55,7 +64,10 @@ class _$ExifSerializer implements StructuredSerializer { result ..add('aperture') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.focalLength; @@ -63,14 +75,19 @@ class _$ExifSerializer implements StructuredSerializer { result ..add('focal_length') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.iso; if (value != null) { result ..add('iso') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } return result; } @@ -131,7 +148,10 @@ class _$ExifSerializer implements StructuredSerializer { break; case 'iso': result.iso = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; } @@ -225,7 +245,8 @@ class ExifBuilder implements Builder { String? _exposureTime; String? get exposureTime => _$this._exposureTime; - set exposureTime(String? exposureTime) => _$this._exposureTime = exposureTime; + set exposureTime(String? exposureTime) => + _$this._exposureTime = exposureTime; String? _aperture; String? get aperture => _$this._aperture; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/links.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/links.g.dart index 7327ab571eb..5645e7ec735 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/links.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/links.g.dart @@ -31,7 +31,10 @@ class _$LinksSerializer implements StructuredSerializer { result ..add('self') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.html; @@ -39,7 +42,10 @@ class _$LinksSerializer implements StructuredSerializer { result ..add('html') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.download; @@ -47,7 +53,10 @@ class _$LinksSerializer implements StructuredSerializer { result ..add('download') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.downloadLocation; @@ -55,7 +64,10 @@ class _$LinksSerializer implements StructuredSerializer { result ..add('download_location') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } return result; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/location.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/location.dart index f79667b1c76..0a7ebacc567 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/location.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/location.dart @@ -27,7 +27,9 @@ abstract class Location implements Built { Position? get position; String toJson() { - return json.encode(serializers.serializeWith(Location.serializer, this)); + return json.encode( + serializers.serializeWith(Location.serializer, this), + ); } static Location? fromJson(String jsonString) { diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/location.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/location.g.dart index 7b0e1d5ed55..7fe7b1ca9fe 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/location.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/location.g.dart @@ -31,7 +31,10 @@ class _$LocationSerializer implements StructuredSerializer { result ..add('city') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.country; @@ -39,7 +42,10 @@ class _$LocationSerializer implements StructuredSerializer { result ..add('country') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.position; @@ -47,7 +53,10 @@ class _$LocationSerializer implements StructuredSerializer { result ..add('position') ..add( - serializers.serialize(value, specifiedType: const FullType(Position)), + serializers.serialize( + value, + specifiedType: const FullType(Position), + ), ); } return result; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.g.dart index 854a39489c2..c032a759c29 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.g.dart @@ -26,7 +26,10 @@ class _$PhotoSerializer implements StructuredSerializer { }) { final result = [ 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), + serializers.serialize( + object.id, + specifiedType: const FullType(String), + ), ]; Object? value; value = object.createdAt; @@ -34,7 +37,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('created_at') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.updatedAt; @@ -42,47 +48,64 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('updated_at') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.width; if (value != null) { result ..add('width') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.height; if (value != null) { result ..add('height') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.color; if (value != null) { result ..add('color') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.downloads; if (value != null) { result ..add('downloads') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.likes; if (value != null) { result ..add('likes') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.likedByUser; if (value != null) { result ..add('liked_by_user') ..add( - serializers.serialize(value, specifiedType: const FullType(bool)), + serializers.serialize( + value, + specifiedType: const FullType(bool), + ), ); } value = object.description; @@ -90,7 +113,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('description') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.exif; @@ -98,7 +124,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('exif') ..add( - serializers.serialize(value, specifiedType: const FullType(Exif)), + serializers.serialize( + value, + specifiedType: const FullType(Exif), + ), ); } value = object.location; @@ -106,7 +135,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('location') ..add( - serializers.serialize(value, specifiedType: const FullType(Location)), + serializers.serialize( + value, + specifiedType: const FullType(Location), + ), ); } value = object.tags; @@ -140,7 +172,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('urls') ..add( - serializers.serialize(value, specifiedType: const FullType(Urls)), + serializers.serialize( + value, + specifiedType: const FullType(Urls), + ), ); } value = object.links; @@ -148,7 +183,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('links') ..add( - serializers.serialize(value, specifiedType: const FullType(Links)), + serializers.serialize( + value, + specifiedType: const FullType(Links), + ), ); } value = object.user; @@ -156,7 +194,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('user') ..add( - serializers.serialize(value, specifiedType: const FullType(User)), + serializers.serialize( + value, + specifiedType: const FullType(User), + ), ); } return result; @@ -202,12 +243,18 @@ class _$PhotoSerializer implements StructuredSerializer { break; case 'width': result.width = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'height': result.height = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'color': @@ -220,12 +267,18 @@ class _$PhotoSerializer implements StructuredSerializer { break; case 'downloads': result.downloads = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'likes': result.likes = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'liked_by_user': @@ -246,7 +299,10 @@ class _$PhotoSerializer implements StructuredSerializer { break; case 'exif': result.exif.replace( - serializers.deserialize(value, specifiedType: const FullType(Exif))! + serializers.deserialize( + value, + specifiedType: const FullType(Exif), + )! as Exif, ); break; @@ -283,7 +339,10 @@ class _$PhotoSerializer implements StructuredSerializer { break; case 'urls': result.urls.replace( - serializers.deserialize(value, specifiedType: const FullType(Urls))! + serializers.deserialize( + value, + specifiedType: const FullType(Urls), + )! as Urls, ); break; @@ -298,7 +357,10 @@ class _$PhotoSerializer implements StructuredSerializer { break; case 'user': result.user.replace( - serializers.deserialize(value, specifiedType: const FullType(User))! + serializers.deserialize( + value, + specifiedType: const FullType(User), + )! as User, ); break; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/position.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/position.dart index f09be4dc8d6..b57bb93b25e 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/position.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/position.dart @@ -23,7 +23,9 @@ abstract class Position implements Built { double get longitude; String toJson() { - return json.encode(serializers.serializeWith(Position.serializer, this)); + return json.encode( + serializers.serializeWith(Position.serializer, this), + ); } static Position? fromJson(String jsonString) { diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/position.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/position.g.dart index 3126843db1c..c8619d5c64e 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/position.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/position.g.dart @@ -87,8 +87,16 @@ class _$Position extends Position { (new PositionBuilder()..update(updates))._build(); _$Position._({required this.latitude, required this.longitude}) : super._() { - BuiltValueNullFieldError.checkNotNull(latitude, r'Position', 'latitude'); - BuiltValueNullFieldError.checkNotNull(longitude, r'Position', 'longitude'); + BuiltValueNullFieldError.checkNotNull( + latitude, + r'Position', + 'latitude', + ); + BuiltValueNullFieldError.checkNotNull( + longitude, + r'Position', + 'longitude', + ); } @override diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.g.dart index e34fd9f1517..65cbb6493a1 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.g.dart @@ -33,7 +33,9 @@ class _$SearchPhotosResponseSerializer 'results', serializers.serialize( object.results, - specifiedType: const FullType(BuiltList, const [const FullType(Photo)]), + specifiedType: const FullType(BuiltList, const [ + const FullType(Photo), + ]), ), ]; Object? value; @@ -41,13 +43,17 @@ class _$SearchPhotosResponseSerializer if (value != null) { result ..add('total') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.totalPages; if (value != null) { result ..add('total_pages') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } return result; } @@ -68,12 +74,18 @@ class _$SearchPhotosResponseSerializer switch (key) { case 'total': result.total = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'total_pages': result.totalPages = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'results': @@ -106,8 +118,11 @@ class _$SearchPhotosResponse extends SearchPhotosResponse { void Function(SearchPhotosResponseBuilder)? updates, ]) => (new SearchPhotosResponseBuilder()..update(updates))._build(); - _$SearchPhotosResponse._({this.total, this.totalPages, required this.results}) - : super._() { + _$SearchPhotosResponse._({ + this.total, + this.totalPages, + required this.results, + }) : super._() { BuiltValueNullFieldError.checkNotNull( results, r'SearchPhotosResponse', diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.g.dart index c0197208437..4a9ac210a8d 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.g.dart @@ -98,8 +98,9 @@ class _$Tags extends Tags { @override String toString() { - return (newBuiltValueToStringHelper(r'Tags') - ..add('title', title)).toString(); + return (newBuiltValueToStringHelper( + r'Tags', + )..add('title', title)).toString(); } } @@ -139,7 +140,11 @@ class TagsBuilder implements Builder { final _$result = _$v ?? new _$Tags._( - title: BuiltValueNullFieldError.checkNotNull(title, r'Tags', 'title'), + title: BuiltValueNullFieldError.checkNotNull( + title, + r'Tags', + 'title', + ), ); replace(_$result); return _$result; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.g.dart index d35e8705edf..f8f5862cc37 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.g.dart @@ -31,7 +31,10 @@ class _$UrlsSerializer implements StructuredSerializer { result ..add('raw') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.full; @@ -39,7 +42,10 @@ class _$UrlsSerializer implements StructuredSerializer { result ..add('full') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.regular; @@ -47,7 +53,10 @@ class _$UrlsSerializer implements StructuredSerializer { result ..add('regular') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.small; @@ -55,7 +64,10 @@ class _$UrlsSerializer implements StructuredSerializer { result ..add('small') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.thumb; @@ -63,7 +75,10 @@ class _$UrlsSerializer implements StructuredSerializer { result ..add('thumb') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } return result; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/user.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/user.g.dart index 5281c3faa82..cf00d103229 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/user.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/user.g.dart @@ -26,14 +26,20 @@ class _$UserSerializer implements StructuredSerializer { }) { final result = [ 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), + serializers.serialize( + object.id, + specifiedType: const FullType(String), + ), 'username', serializers.serialize( object.username, specifiedType: const FullType(String), ), 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), + serializers.serialize( + object.name, + specifiedType: const FullType(String), + ), ]; Object? value; value = object.updatedAt; @@ -41,7 +47,10 @@ class _$UserSerializer implements StructuredSerializer { result ..add('updated_at') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.portfolioUrl; @@ -49,7 +58,10 @@ class _$UserSerializer implements StructuredSerializer { result ..add('portfolio_url') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.bio; @@ -57,7 +69,10 @@ class _$UserSerializer implements StructuredSerializer { result ..add('bio') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.location; @@ -65,33 +80,45 @@ class _$UserSerializer implements StructuredSerializer { result ..add('location') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.totalLikes; if (value != null) { result ..add('total_likes') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.totalPhotos; if (value != null) { result ..add('total_photos') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.totalCollections; if (value != null) { result ..add('total_collections') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.links; if (value != null) { result ..add('links') ..add( - serializers.serialize(value, specifiedType: const FullType(Links)), + serializers.serialize( + value, + specifiedType: const FullType(Links), + ), ); } return result; @@ -169,17 +196,26 @@ class _$UserSerializer implements StructuredSerializer { break; case 'total_likes': result.totalLikes = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'total_photos': result.totalPhotos = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'total_collections': result.totalCollections = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'links': @@ -324,7 +360,8 @@ class UserBuilder implements Builder { String? _portfolioUrl; String? get portfolioUrl => _$this._portfolioUrl; - set portfolioUrl(String? portfolioUrl) => _$this._portfolioUrl = portfolioUrl; + set portfolioUrl(String? portfolioUrl) => + _$this._portfolioUrl = portfolioUrl; String? _bio; String? get bio => _$this._bio; @@ -399,7 +436,11 @@ class UserBuilder implements Builder { r'User', 'username', ), - name: BuiltValueNullFieldError.checkNotNull(name, r'User', 'name'), + name: BuiltValueNullFieldError.checkNotNull( + name, + r'User', + 'name', + ), portfolioUrl: portfolioUrl, bio: bio, location: location, diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart index 743abdaf378..fc55e98f048 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart @@ -39,20 +39,18 @@ class _PhotoDetailsState extends State { uri: Uri.parse( 'https://unsplash.com/@${widget.photo.user!.username}?utm_source=$unsplashAppName&utm_medium=referral', ), - builder: - (context, followLink) => HyperlinkButton( - onPressed: followLink, - child: Text(widget.photo.user!.name), - ), + builder: (context, followLink) => HyperlinkButton( + onPressed: followLink, + child: Text(widget.photo.user!.name), + ), ), const Text('on'), Link( uri: _unsplashHomepage, - builder: - (context, followLink) => HyperlinkButton( - onPressed: followLink, - child: const Text('Unsplash'), - ), + builder: (context, followLink) => HyperlinkButton( + onPressed: followLink, + child: const Text('Unsplash'), + ), ), ], ); diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/photo_search_dialog.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/photo_search_dialog.dart index 37de11f9e98..fa83f813b81 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/photo_search_dialog.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/photo_search_dialog.dart @@ -48,13 +48,12 @@ class _PhotoSearchDialogState extends State { ), actions: [ FilledButton( - onPressed: - _searchEnabled - ? () { - widget.callback(_controller.text); - Navigator.of(context).pop(); - } - : null, + onPressed: _searchEnabled + ? () { + widget.callback(_controller.text); + Navigator.of(context).pop(); + } + : null, child: const Text('Search'), ), Button( diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/policy_dialog.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/policy_dialog.dart index a0c91ab8993..add7f3d924d 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/policy_dialog.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/policy_dialog.dart @@ -29,16 +29,15 @@ class PolicyDialog extends StatelessWidget { fontWeight: FontWeight.bold, color: Colors.blue.normal, ), - recognizer: - TapGestureRecognizer() - ..onTap = () async { - final url = Uri.parse( - 'https://policies.google.com/terms', - ); - if (await url_launcher.canLaunchUrl(url)) { - await url_launcher.launchUrl(url); - } - }, + recognizer: TapGestureRecognizer() + ..onTap = () async { + final url = Uri.parse( + 'https://policies.google.com/terms', + ); + if (await url_launcher.canLaunchUrl(url)) { + await url_launcher.launchUrl(url); + } + }, ), ], ), @@ -55,14 +54,13 @@ class PolicyDialog extends StatelessWidget { fontWeight: FontWeight.bold, color: Colors.blue.normal, ), - recognizer: - TapGestureRecognizer() - ..onTap = () async { - final url = Uri.parse('https://unsplash.com/terms'); - if (await url_launcher.canLaunchUrl(url)) { - await url_launcher.launchUrl(url); - } - }, + recognizer: TapGestureRecognizer() + ..onTap = () async { + final url = Uri.parse('https://unsplash.com/terms'); + if (await url_launcher.canLaunchUrl(url)) { + await url_launcher.launchUrl(url); + } + }, ), ], ), diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/split.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/split.dart index 4790bf8bcaf..a4890e3def3 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/split.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/split.dart @@ -144,7 +144,9 @@ class _SplitState extends State { child: DecoratedBox( decoration: BoxDecoration( color: Theme.of(context).dividerColor, - borderRadius: BorderRadius.circular(Split.dividerMainAxisSize), + borderRadius: BorderRadius.circular( + Split.dividerMainAxisSize, + ), ), child: SizedBox( height: isHorizontal ? 2.0 : Split.dividerMainAxisSize - 2.0, diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_notice.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_notice.dart index ed86de980bc..074eebbdbf9 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_notice.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_notice.dart @@ -68,13 +68,12 @@ class _UnsplashDialog extends StatelessWidget { children: [ TextSpan( text: 'Unsplash', - recognizer: - TapGestureRecognizer() - ..onTap = () async { - if (!await launchUrl(_unsplashHomepage)) { - throw 'Could not launch $_unsplashHomepage'; - } - }, + recognizer: TapGestureRecognizer() + ..onTap = () async { + if (!await launchUrl(_unsplashHomepage)) { + throw 'Could not launch $_unsplashHomepage'; + } + }, style: TextStyle(color: Colors.blue), ), const TextSpan( @@ -87,16 +86,18 @@ class _UnsplashDialog extends StatelessWidget { ), TextSpan( text: 'how Unsplash collects and uses data', - recognizer: - TapGestureRecognizer() - ..onTap = () async { - if (!await launchUrl(_unsplashPrivacyPolicy)) { - throw 'Could not launch $_unsplashPrivacyPolicy'; - } - }, + recognizer: TapGestureRecognizer() + ..onTap = () async { + if (!await launchUrl(_unsplashPrivacyPolicy)) { + throw 'Could not launch $_unsplashPrivacyPolicy'; + } + }, style: TextStyle(color: Colors.blue), ), - const TextSpan(text: '.', style: TextStyle(color: Colors.grey)), + const TextSpan( + text: '.', + style: TextStyle(color: Colors.grey), + ), ], ), ), diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart index 85738d3b20c..a805cad43eb 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart @@ -44,34 +44,33 @@ class _UnsplashSearchContentState extends State { ), ), secondChild: Center( - child: - photoSearchModel.selectedPhoto != null - ? PhotoDetails( - photo: photoSearchModel.selectedPhoto!, - onPhotoSave: (photo) async { - final saveLocation = await getSaveLocation( - suggestedName: '${photo.id}.jpg', - acceptedTypeGroups: [ - const XTypeGroup( - label: 'JPG', - extensions: ['jpg'], - mimeTypes: ['image/jpeg'], - ), - ], + child: photoSearchModel.selectedPhoto != null + ? PhotoDetails( + photo: photoSearchModel.selectedPhoto!, + onPhotoSave: (photo) async { + final saveLocation = await getSaveLocation( + suggestedName: '${photo.id}.jpg', + acceptedTypeGroups: [ + const XTypeGroup( + label: 'JPG', + extensions: ['jpg'], + mimeTypes: ['image/jpeg'], + ), + ], + ); + if (saveLocation != null) { + final fileData = await photoSearchModel.download( + photo: photo, + ); + final photoFile = XFile.fromData( + fileData, + mimeType: 'image/jpeg', ); - if (saveLocation != null) { - final fileData = await photoSearchModel.download( - photo: photo, - ); - final photoFile = XFile.fromData( - fileData, - mimeType: 'image/jpeg', - ); - await photoFile.saveTo(saveLocation.path); - } - }, - ) - : Container(), + await photoFile.saveTo(saveLocation.path); + } + }, + ) + : Container(), ), ); } @@ -85,26 +84,25 @@ class _UnsplashSearchContentState extends State { return TreeViewItem( content: Text(searchEntry.query), - children: - searchEntry.photos - .map( - (photo) => TreeViewItem( - content: Semantics( - button: true, - onTap: () => selectPhoto(photo), - label: labelForPhoto(photo), - excludeSemantics: true, - child: GestureDetector( - onTap: () => selectPhoto(photo), - child: Text( - labelForPhoto(photo), - style: const TextStyle(color: Colors.black), - ), - ), + children: searchEntry.photos + .map( + (photo) => TreeViewItem( + content: Semantics( + button: true, + onTap: () => selectPhoto(photo), + label: labelForPhoto(photo), + excludeSemantics: true, + child: GestureDetector( + onTap: () => selectPhoto(photo), + child: Text( + labelForPhoto(photo), + style: const TextStyle(color: Colors.black), ), ), - ) - .toList(), + ), + ), + ) + .toList(), ); } } diff --git a/desktop_photo_search/fluent_ui/pubspec.yaml b/desktop_photo_search/fluent_ui/pubspec.yaml index 38e6c7988ec..9863e8bc6b6 100644 --- a/desktop_photo_search/fluent_ui/pubspec.yaml +++ b/desktop_photo_search/fluent_ui/pubspec.yaml @@ -2,9 +2,10 @@ name: desktop_photo_search description: Search for Photos, using the Unsplash API. publish_to: 'none' version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: built_collection: ^5.1.1 @@ -34,7 +35,7 @@ dev_dependencies: analysis_defaults: path: ../../analysis_defaults async: ^2.11.0 - build: ^2.4.1 + build: ^3.0.0 build_runner: ^2.4.6 built_value_generator: ^8.6.1 flutter_test: diff --git a/desktop_photo_search/material/lib/main.dart b/desktop_photo_search/material/lib/main.dart index 27b42135b1c..319a4f8a987 100644 --- a/desktop_photo_search/material/lib/main.dart +++ b/desktop_photo_search/material/lib/main.dart @@ -24,7 +24,9 @@ void main() { Logger.root.level = Level.ALL; Logger.root.onRecord.listen((rec) { // ignore: avoid_print - print('${rec.loggerName} ${rec.level.name}: ${rec.time}: ${rec.message}'); + print( + '${rec.loggerName} ${rec.level.name}: ${rec.time}: ${rec.message}', + ); }); if (unsplashAccessKey.isEmpty) { @@ -39,8 +41,8 @@ void main() { runApp( ChangeNotifierProvider( - create: - (context) => PhotoSearchModel(Unsplash(accessKey: unsplashAccessKey)), + create: (context) => + PhotoSearchModel(Unsplash(accessKey: unsplashAccessKey)), child: const UnsplashSearchApp(), ), ); @@ -50,7 +52,8 @@ const double windowWidth = 1024; const double windowHeight = 800; void setupWindow() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { + if (!kIsWeb && + (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { WidgetsFlutterBinding.ensureInitialized(); setWindowMinSize(const Size(windowWidth, windowHeight)); } @@ -85,9 +88,9 @@ class UnsplashHomePage extends StatelessWidget { onSelected: () { showDialog( context: context, - builder: - (context) => - PhotoSearchDialog(callback: photoSearchModel.addSearch), + builder: (context) => PhotoSearchDialog( + callback: photoSearchModel.addSearch, + ), ); }, ), @@ -119,20 +122,17 @@ class UnsplashHomePage extends StatelessWidget { return UnsplashNotice( child: Scaffold( appBar: AppBar(title: Text(title)), - body: - photoSearchModel.entries.isNotEmpty - ? const UnsplashSearchContent() - : const Center( - child: Text('Search for Photos using the Fab button'), - ), - floatingActionButton: FloatingActionButton( - onPressed: - () => showDialog( - context: context, - builder: - (context) => - PhotoSearchDialog(callback: photoSearchModel.addSearch), + body: photoSearchModel.entries.isNotEmpty + ? const UnsplashSearchContent() + : const Center( + child: Text('Search for Photos using the Fab button'), ), + floatingActionButton: FloatingActionButton( + onPressed: () => showDialog( + context: context, + builder: (context) => + PhotoSearchDialog(callback: photoSearchModel.addSearch), + ), tooltip: 'Search for a photo', child: const Icon(Icons.search), ), diff --git a/desktop_photo_search/material/lib/src/model/photo_search_model.dart b/desktop_photo_search/material/lib/src/model/photo_search_model.dart index aa792db2872..c3b1878bddd 100644 --- a/desktop_photo_search/material/lib/src/model/photo_search_model.dart +++ b/desktop_photo_search/material/lib/src/model/photo_search_model.dart @@ -45,5 +45,6 @@ class PhotoSearchModel extends ChangeNotifier { notifyListeners(); } - Future download({required Photo photo}) => _client.download(photo); + Future download({required Photo photo}) => + _client.download(photo); } diff --git a/desktop_photo_search/material/lib/src/model/search.g.dart b/desktop_photo_search/material/lib/src/model/search.g.dart index 27a09b458e8..578c88f1b3a 100644 --- a/desktop_photo_search/material/lib/src/model/search.g.dart +++ b/desktop_photo_search/material/lib/src/model/search.g.dart @@ -33,7 +33,9 @@ class _$SearchSerializer implements StructuredSerializer { 'results', serializers.serialize( object.results, - specifiedType: const FullType(BuiltList, const [const FullType(Photo)]), + specifiedType: const FullType(BuiltList, const [ + const FullType(Photo), + ]), ), ]; diff --git a/desktop_photo_search/material/lib/src/unsplash/api_error.dart b/desktop_photo_search/material/lib/src/unsplash/api_error.dart index f1bd356482c..e7607c0eabb 100644 --- a/desktop_photo_search/material/lib/src/unsplash/api_error.dart +++ b/desktop_photo_search/material/lib/src/unsplash/api_error.dart @@ -21,7 +21,9 @@ abstract class ApiError implements Built { BuiltList? get errors; String toJson() { - return json.encode(serializers.serializeWith(ApiError.serializer, this)); + return json.encode( + serializers.serializeWith(ApiError.serializer, this), + ); } static ApiError? fromJson(String jsonString) { diff --git a/desktop_photo_search/material/lib/src/unsplash/api_error.g.dart b/desktop_photo_search/material/lib/src/unsplash/api_error.g.dart index 191309a7b05..acc2aab46e4 100644 --- a/desktop_photo_search/material/lib/src/unsplash/api_error.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/api_error.g.dart @@ -106,8 +106,9 @@ class _$ApiError extends ApiError { @override String toString() { - return (newBuiltValueToStringHelper(r'ApiError') - ..add('errors', errors)).toString(); + return (newBuiltValueToStringHelper( + r'ApiError', + )..add('errors', errors)).toString(); } } diff --git a/desktop_photo_search/material/lib/src/unsplash/current_user_collections.g.dart b/desktop_photo_search/material/lib/src/unsplash/current_user_collections.g.dart index 40b38857dd3..f37c6c9eb1f 100644 --- a/desktop_photo_search/material/lib/src/unsplash/current_user_collections.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/current_user_collections.g.dart @@ -39,7 +39,10 @@ class _$CurrentUserCollectionsSerializer result ..add('title') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.publishedAt; @@ -47,7 +50,10 @@ class _$CurrentUserCollectionsSerializer result ..add('published_at') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.updatedAt; @@ -55,7 +61,10 @@ class _$CurrentUserCollectionsSerializer result ..add('updated_at') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } return result; @@ -134,7 +143,11 @@ class _$CurrentUserCollections extends CurrentUserCollections { this.publishedAt, this.updatedAt, }) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CurrentUserCollections', 'id'); + BuiltValueNullFieldError.checkNotNull( + id, + r'CurrentUserCollections', + 'id', + ); } @override diff --git a/desktop_photo_search/material/lib/src/unsplash/exif.g.dart b/desktop_photo_search/material/lib/src/unsplash/exif.g.dart index b65aa8b30e6..1896c86fe25 100644 --- a/desktop_photo_search/material/lib/src/unsplash/exif.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/exif.g.dart @@ -31,7 +31,10 @@ class _$ExifSerializer implements StructuredSerializer { result ..add('make') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.model; @@ -39,7 +42,10 @@ class _$ExifSerializer implements StructuredSerializer { result ..add('model') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.exposureTime; @@ -47,7 +53,10 @@ class _$ExifSerializer implements StructuredSerializer { result ..add('exposure_time') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.aperture; @@ -55,7 +64,10 @@ class _$ExifSerializer implements StructuredSerializer { result ..add('aperture') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.focalLength; @@ -63,14 +75,19 @@ class _$ExifSerializer implements StructuredSerializer { result ..add('focal_length') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.iso; if (value != null) { result ..add('iso') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } return result; } @@ -131,7 +148,10 @@ class _$ExifSerializer implements StructuredSerializer { break; case 'iso': result.iso = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; } @@ -225,7 +245,8 @@ class ExifBuilder implements Builder { String? _exposureTime; String? get exposureTime => _$this._exposureTime; - set exposureTime(String? exposureTime) => _$this._exposureTime = exposureTime; + set exposureTime(String? exposureTime) => + _$this._exposureTime = exposureTime; String? _aperture; String? get aperture => _$this._aperture; diff --git a/desktop_photo_search/material/lib/src/unsplash/links.g.dart b/desktop_photo_search/material/lib/src/unsplash/links.g.dart index 7327ab571eb..5645e7ec735 100644 --- a/desktop_photo_search/material/lib/src/unsplash/links.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/links.g.dart @@ -31,7 +31,10 @@ class _$LinksSerializer implements StructuredSerializer { result ..add('self') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.html; @@ -39,7 +42,10 @@ class _$LinksSerializer implements StructuredSerializer { result ..add('html') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.download; @@ -47,7 +53,10 @@ class _$LinksSerializer implements StructuredSerializer { result ..add('download') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.downloadLocation; @@ -55,7 +64,10 @@ class _$LinksSerializer implements StructuredSerializer { result ..add('download_location') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } return result; diff --git a/desktop_photo_search/material/lib/src/unsplash/location.dart b/desktop_photo_search/material/lib/src/unsplash/location.dart index f79667b1c76..0a7ebacc567 100644 --- a/desktop_photo_search/material/lib/src/unsplash/location.dart +++ b/desktop_photo_search/material/lib/src/unsplash/location.dart @@ -27,7 +27,9 @@ abstract class Location implements Built { Position? get position; String toJson() { - return json.encode(serializers.serializeWith(Location.serializer, this)); + return json.encode( + serializers.serializeWith(Location.serializer, this), + ); } static Location? fromJson(String jsonString) { diff --git a/desktop_photo_search/material/lib/src/unsplash/location.g.dart b/desktop_photo_search/material/lib/src/unsplash/location.g.dart index 7b0e1d5ed55..7fe7b1ca9fe 100644 --- a/desktop_photo_search/material/lib/src/unsplash/location.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/location.g.dart @@ -31,7 +31,10 @@ class _$LocationSerializer implements StructuredSerializer { result ..add('city') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.country; @@ -39,7 +42,10 @@ class _$LocationSerializer implements StructuredSerializer { result ..add('country') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.position; @@ -47,7 +53,10 @@ class _$LocationSerializer implements StructuredSerializer { result ..add('position') ..add( - serializers.serialize(value, specifiedType: const FullType(Position)), + serializers.serialize( + value, + specifiedType: const FullType(Position), + ), ); } return result; diff --git a/desktop_photo_search/material/lib/src/unsplash/photo.g.dart b/desktop_photo_search/material/lib/src/unsplash/photo.g.dart index 854a39489c2..c032a759c29 100644 --- a/desktop_photo_search/material/lib/src/unsplash/photo.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/photo.g.dart @@ -26,7 +26,10 @@ class _$PhotoSerializer implements StructuredSerializer { }) { final result = [ 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), + serializers.serialize( + object.id, + specifiedType: const FullType(String), + ), ]; Object? value; value = object.createdAt; @@ -34,7 +37,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('created_at') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.updatedAt; @@ -42,47 +48,64 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('updated_at') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.width; if (value != null) { result ..add('width') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.height; if (value != null) { result ..add('height') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.color; if (value != null) { result ..add('color') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.downloads; if (value != null) { result ..add('downloads') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.likes; if (value != null) { result ..add('likes') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.likedByUser; if (value != null) { result ..add('liked_by_user') ..add( - serializers.serialize(value, specifiedType: const FullType(bool)), + serializers.serialize( + value, + specifiedType: const FullType(bool), + ), ); } value = object.description; @@ -90,7 +113,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('description') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.exif; @@ -98,7 +124,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('exif') ..add( - serializers.serialize(value, specifiedType: const FullType(Exif)), + serializers.serialize( + value, + specifiedType: const FullType(Exif), + ), ); } value = object.location; @@ -106,7 +135,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('location') ..add( - serializers.serialize(value, specifiedType: const FullType(Location)), + serializers.serialize( + value, + specifiedType: const FullType(Location), + ), ); } value = object.tags; @@ -140,7 +172,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('urls') ..add( - serializers.serialize(value, specifiedType: const FullType(Urls)), + serializers.serialize( + value, + specifiedType: const FullType(Urls), + ), ); } value = object.links; @@ -148,7 +183,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('links') ..add( - serializers.serialize(value, specifiedType: const FullType(Links)), + serializers.serialize( + value, + specifiedType: const FullType(Links), + ), ); } value = object.user; @@ -156,7 +194,10 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('user') ..add( - serializers.serialize(value, specifiedType: const FullType(User)), + serializers.serialize( + value, + specifiedType: const FullType(User), + ), ); } return result; @@ -202,12 +243,18 @@ class _$PhotoSerializer implements StructuredSerializer { break; case 'width': result.width = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'height': result.height = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'color': @@ -220,12 +267,18 @@ class _$PhotoSerializer implements StructuredSerializer { break; case 'downloads': result.downloads = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'likes': result.likes = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'liked_by_user': @@ -246,7 +299,10 @@ class _$PhotoSerializer implements StructuredSerializer { break; case 'exif': result.exif.replace( - serializers.deserialize(value, specifiedType: const FullType(Exif))! + serializers.deserialize( + value, + specifiedType: const FullType(Exif), + )! as Exif, ); break; @@ -283,7 +339,10 @@ class _$PhotoSerializer implements StructuredSerializer { break; case 'urls': result.urls.replace( - serializers.deserialize(value, specifiedType: const FullType(Urls))! + serializers.deserialize( + value, + specifiedType: const FullType(Urls), + )! as Urls, ); break; @@ -298,7 +357,10 @@ class _$PhotoSerializer implements StructuredSerializer { break; case 'user': result.user.replace( - serializers.deserialize(value, specifiedType: const FullType(User))! + serializers.deserialize( + value, + specifiedType: const FullType(User), + )! as User, ); break; diff --git a/desktop_photo_search/material/lib/src/unsplash/position.dart b/desktop_photo_search/material/lib/src/unsplash/position.dart index f09be4dc8d6..b57bb93b25e 100644 --- a/desktop_photo_search/material/lib/src/unsplash/position.dart +++ b/desktop_photo_search/material/lib/src/unsplash/position.dart @@ -23,7 +23,9 @@ abstract class Position implements Built { double get longitude; String toJson() { - return json.encode(serializers.serializeWith(Position.serializer, this)); + return json.encode( + serializers.serializeWith(Position.serializer, this), + ); } static Position? fromJson(String jsonString) { diff --git a/desktop_photo_search/material/lib/src/unsplash/position.g.dart b/desktop_photo_search/material/lib/src/unsplash/position.g.dart index 3126843db1c..c8619d5c64e 100644 --- a/desktop_photo_search/material/lib/src/unsplash/position.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/position.g.dart @@ -87,8 +87,16 @@ class _$Position extends Position { (new PositionBuilder()..update(updates))._build(); _$Position._({required this.latitude, required this.longitude}) : super._() { - BuiltValueNullFieldError.checkNotNull(latitude, r'Position', 'latitude'); - BuiltValueNullFieldError.checkNotNull(longitude, r'Position', 'longitude'); + BuiltValueNullFieldError.checkNotNull( + latitude, + r'Position', + 'latitude', + ); + BuiltValueNullFieldError.checkNotNull( + longitude, + r'Position', + 'longitude', + ); } @override diff --git a/desktop_photo_search/material/lib/src/unsplash/search_photos_response.g.dart b/desktop_photo_search/material/lib/src/unsplash/search_photos_response.g.dart index e34fd9f1517..65cbb6493a1 100644 --- a/desktop_photo_search/material/lib/src/unsplash/search_photos_response.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/search_photos_response.g.dart @@ -33,7 +33,9 @@ class _$SearchPhotosResponseSerializer 'results', serializers.serialize( object.results, - specifiedType: const FullType(BuiltList, const [const FullType(Photo)]), + specifiedType: const FullType(BuiltList, const [ + const FullType(Photo), + ]), ), ]; Object? value; @@ -41,13 +43,17 @@ class _$SearchPhotosResponseSerializer if (value != null) { result ..add('total') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.totalPages; if (value != null) { result ..add('total_pages') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } return result; } @@ -68,12 +74,18 @@ class _$SearchPhotosResponseSerializer switch (key) { case 'total': result.total = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'total_pages': result.totalPages = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'results': @@ -106,8 +118,11 @@ class _$SearchPhotosResponse extends SearchPhotosResponse { void Function(SearchPhotosResponseBuilder)? updates, ]) => (new SearchPhotosResponseBuilder()..update(updates))._build(); - _$SearchPhotosResponse._({this.total, this.totalPages, required this.results}) - : super._() { + _$SearchPhotosResponse._({ + this.total, + this.totalPages, + required this.results, + }) : super._() { BuiltValueNullFieldError.checkNotNull( results, r'SearchPhotosResponse', diff --git a/desktop_photo_search/material/lib/src/unsplash/tags.g.dart b/desktop_photo_search/material/lib/src/unsplash/tags.g.dart index c0197208437..4a9ac210a8d 100644 --- a/desktop_photo_search/material/lib/src/unsplash/tags.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/tags.g.dart @@ -98,8 +98,9 @@ class _$Tags extends Tags { @override String toString() { - return (newBuiltValueToStringHelper(r'Tags') - ..add('title', title)).toString(); + return (newBuiltValueToStringHelper( + r'Tags', + )..add('title', title)).toString(); } } @@ -139,7 +140,11 @@ class TagsBuilder implements Builder { final _$result = _$v ?? new _$Tags._( - title: BuiltValueNullFieldError.checkNotNull(title, r'Tags', 'title'), + title: BuiltValueNullFieldError.checkNotNull( + title, + r'Tags', + 'title', + ), ); replace(_$result); return _$result; diff --git a/desktop_photo_search/material/lib/src/unsplash/urls.g.dart b/desktop_photo_search/material/lib/src/unsplash/urls.g.dart index d35e8705edf..f8f5862cc37 100644 --- a/desktop_photo_search/material/lib/src/unsplash/urls.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/urls.g.dart @@ -31,7 +31,10 @@ class _$UrlsSerializer implements StructuredSerializer { result ..add('raw') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.full; @@ -39,7 +42,10 @@ class _$UrlsSerializer implements StructuredSerializer { result ..add('full') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.regular; @@ -47,7 +53,10 @@ class _$UrlsSerializer implements StructuredSerializer { result ..add('regular') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.small; @@ -55,7 +64,10 @@ class _$UrlsSerializer implements StructuredSerializer { result ..add('small') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.thumb; @@ -63,7 +75,10 @@ class _$UrlsSerializer implements StructuredSerializer { result ..add('thumb') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } return result; diff --git a/desktop_photo_search/material/lib/src/unsplash/user.g.dart b/desktop_photo_search/material/lib/src/unsplash/user.g.dart index 5281c3faa82..cf00d103229 100644 --- a/desktop_photo_search/material/lib/src/unsplash/user.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/user.g.dart @@ -26,14 +26,20 @@ class _$UserSerializer implements StructuredSerializer { }) { final result = [ 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), + serializers.serialize( + object.id, + specifiedType: const FullType(String), + ), 'username', serializers.serialize( object.username, specifiedType: const FullType(String), ), 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), + serializers.serialize( + object.name, + specifiedType: const FullType(String), + ), ]; Object? value; value = object.updatedAt; @@ -41,7 +47,10 @@ class _$UserSerializer implements StructuredSerializer { result ..add('updated_at') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.portfolioUrl; @@ -49,7 +58,10 @@ class _$UserSerializer implements StructuredSerializer { result ..add('portfolio_url') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.bio; @@ -57,7 +69,10 @@ class _$UserSerializer implements StructuredSerializer { result ..add('bio') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.location; @@ -65,33 +80,45 @@ class _$UserSerializer implements StructuredSerializer { result ..add('location') ..add( - serializers.serialize(value, specifiedType: const FullType(String)), + serializers.serialize( + value, + specifiedType: const FullType(String), + ), ); } value = object.totalLikes; if (value != null) { result ..add('total_likes') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.totalPhotos; if (value != null) { result ..add('total_photos') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.totalCollections; if (value != null) { result ..add('total_collections') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add( + serializers.serialize(value, specifiedType: const FullType(int)), + ); } value = object.links; if (value != null) { result ..add('links') ..add( - serializers.serialize(value, specifiedType: const FullType(Links)), + serializers.serialize( + value, + specifiedType: const FullType(Links), + ), ); } return result; @@ -169,17 +196,26 @@ class _$UserSerializer implements StructuredSerializer { break; case 'total_likes': result.totalLikes = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'total_photos': result.totalPhotos = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'total_collections': result.totalCollections = - serializers.deserialize(value, specifiedType: const FullType(int)) + serializers.deserialize( + value, + specifiedType: const FullType(int), + ) as int?; break; case 'links': @@ -324,7 +360,8 @@ class UserBuilder implements Builder { String? _portfolioUrl; String? get portfolioUrl => _$this._portfolioUrl; - set portfolioUrl(String? portfolioUrl) => _$this._portfolioUrl = portfolioUrl; + set portfolioUrl(String? portfolioUrl) => + _$this._portfolioUrl = portfolioUrl; String? _bio; String? get bio => _$this._bio; @@ -399,7 +436,11 @@ class UserBuilder implements Builder { r'User', 'username', ), - name: BuiltValueNullFieldError.checkNotNull(name, r'User', 'name'), + name: BuiltValueNullFieldError.checkNotNull( + name, + r'User', + 'name', + ), portfolioUrl: portfolioUrl, bio: bio, location: location, diff --git a/desktop_photo_search/material/lib/src/widgets/photo_details.dart b/desktop_photo_search/material/lib/src/widgets/photo_details.dart index 2da4eb311df..96b190630b1 100644 --- a/desktop_photo_search/material/lib/src/widgets/photo_details.dart +++ b/desktop_photo_search/material/lib/src/widgets/photo_details.dart @@ -37,20 +37,18 @@ class _PhotoDetailsState extends State { uri: Uri.parse( 'https://unsplash.com/@${widget.photo.user!.username}?utm_source=$unsplashAppName&utm_medium=referral', ), - builder: - (context, followLink) => TextButton( - onPressed: followLink, - child: Text(widget.photo.user!.name), - ), + builder: (context, followLink) => TextButton( + onPressed: followLink, + child: Text(widget.photo.user!.name), + ), ), const Text(' on '), Link( uri: _unsplashHomepage, - builder: - (context, followLink) => TextButton( - onPressed: followLink, - child: const Text('Unsplash'), - ), + builder: (context, followLink) => TextButton( + onPressed: followLink, + child: const Text('Unsplash'), + ), ), ], ); diff --git a/desktop_photo_search/material/lib/src/widgets/photo_search_dialog.dart b/desktop_photo_search/material/lib/src/widgets/photo_search_dialog.dart index 28aee440a6b..28cd62e6470 100644 --- a/desktop_photo_search/material/lib/src/widgets/photo_search_dialog.dart +++ b/desktop_photo_search/material/lib/src/widgets/photo_search_dialog.dart @@ -55,13 +55,12 @@ class _PhotoSearchDialogState extends State { child: const Text('CANCEL'), ), TextButton( - onPressed: - _searchEnabled - ? () { - widget.callback(_controller.text); - Navigator.of(context).pop(); - } - : null, + onPressed: _searchEnabled + ? () { + widget.callback(_controller.text); + Navigator.of(context).pop(); + } + : null, child: const Text('SEARCH'), ), ], diff --git a/desktop_photo_search/material/lib/src/widgets/policy_dialog.dart b/desktop_photo_search/material/lib/src/widgets/policy_dialog.dart index dfc1ca73839..792b7526dea 100644 --- a/desktop_photo_search/material/lib/src/widgets/policy_dialog.dart +++ b/desktop_photo_search/material/lib/src/widgets/policy_dialog.dart @@ -29,16 +29,15 @@ class PolicyDialog extends StatelessWidget { fontWeight: FontWeight.bold, color: Colors.lightBlue, ), - recognizer: - TapGestureRecognizer() - ..onTap = () async { - final url = Uri.parse( - 'https://policies.google.com/terms', - ); - if (await url_launcher.canLaunchUrl(url)) { - await url_launcher.launchUrl(url); - } - }, + recognizer: TapGestureRecognizer() + ..onTap = () async { + final url = Uri.parse( + 'https://policies.google.com/terms', + ); + if (await url_launcher.canLaunchUrl(url)) { + await url_launcher.launchUrl(url); + } + }, ), ], ), @@ -55,14 +54,13 @@ class PolicyDialog extends StatelessWidget { fontWeight: FontWeight.bold, color: Colors.lightBlue, ), - recognizer: - TapGestureRecognizer() - ..onTap = () async { - final url = Uri.parse('https://unsplash.com/terms'); - if (await url_launcher.canLaunchUrl(url)) { - await url_launcher.launchUrl(url); - } - }, + recognizer: TapGestureRecognizer() + ..onTap = () async { + final url = Uri.parse('https://unsplash.com/terms'); + if (await url_launcher.canLaunchUrl(url)) { + await url_launcher.launchUrl(url); + } + }, ), ], ), diff --git a/desktop_photo_search/material/lib/src/widgets/split.dart b/desktop_photo_search/material/lib/src/widgets/split.dart index 4790bf8bcaf..a4890e3def3 100644 --- a/desktop_photo_search/material/lib/src/widgets/split.dart +++ b/desktop_photo_search/material/lib/src/widgets/split.dart @@ -144,7 +144,9 @@ class _SplitState extends State { child: DecoratedBox( decoration: BoxDecoration( color: Theme.of(context).dividerColor, - borderRadius: BorderRadius.circular(Split.dividerMainAxisSize), + borderRadius: BorderRadius.circular( + Split.dividerMainAxisSize, + ), ), child: SizedBox( height: isHorizontal ? 2.0 : Split.dividerMainAxisSize - 2.0, diff --git a/desktop_photo_search/material/lib/src/widgets/unsplash_notice.dart b/desktop_photo_search/material/lib/src/widgets/unsplash_notice.dart index 3845ba0e903..22e2c46aaf3 100644 --- a/desktop_photo_search/material/lib/src/widgets/unsplash_notice.dart +++ b/desktop_photo_search/material/lib/src/widgets/unsplash_notice.dart @@ -69,13 +69,12 @@ class _UnsplashDialog extends StatelessWidget { children: [ TextSpan( text: 'Unsplash', - recognizer: - TapGestureRecognizer() - ..onTap = () async { - if (!await launchUrl(_unsplashHomepage)) { - throw 'Could not launch $_unsplashHomepage'; - } - }, + recognizer: TapGestureRecognizer() + ..onTap = () async { + if (!await launchUrl(_unsplashHomepage)) { + throw 'Could not launch $_unsplashHomepage'; + } + }, style: const TextStyle(color: Colors.blue), ), const TextSpan( @@ -88,16 +87,18 @@ class _UnsplashDialog extends StatelessWidget { ), TextSpan( text: 'how Unsplash collects and uses data', - recognizer: - TapGestureRecognizer() - ..onTap = () async { - if (!await launchUrl(_unsplashPrivacyPolicy)) { - throw 'Could not launch $_unsplashPrivacyPolicy'; - } - }, + recognizer: TapGestureRecognizer() + ..onTap = () async { + if (!await launchUrl(_unsplashPrivacyPolicy)) { + throw 'Could not launch $_unsplashPrivacyPolicy'; + } + }, style: const TextStyle(color: Colors.blue), ), - const TextSpan(text: '.', style: TextStyle(color: Colors.grey)), + const TextSpan( + text: '.', + style: TextStyle(color: Colors.grey), + ), ], ), ), diff --git a/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart b/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart index ac74dd53818..93e181462a2 100644 --- a/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart +++ b/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart @@ -46,34 +46,33 @@ class _UnsplashSearchContentState extends State { ), ), secondChild: Center( - child: - photoSearchModel.selectedPhoto != null - ? PhotoDetails( - photo: photoSearchModel.selectedPhoto!, - onPhotoSave: (photo) async { - final saveLocation = await getSaveLocation( - suggestedName: '${photo.id}.jpg', - acceptedTypeGroups: [ - const XTypeGroup( - label: 'JPG', - extensions: ['jpg'], - mimeTypes: ['image/jpeg'], - ), - ], + child: photoSearchModel.selectedPhoto != null + ? PhotoDetails( + photo: photoSearchModel.selectedPhoto!, + onPhotoSave: (photo) async { + final saveLocation = await getSaveLocation( + suggestedName: '${photo.id}.jpg', + acceptedTypeGroups: [ + const XTypeGroup( + label: 'JPG', + extensions: ['jpg'], + mimeTypes: ['image/jpeg'], + ), + ], + ); + if (saveLocation != null) { + final fileData = await photoSearchModel.download( + photo: photo, + ); + final photoFile = XFile.fromData( + fileData, + mimeType: 'image/jpeg', ); - if (saveLocation != null) { - final fileData = await photoSearchModel.download( - photo: photo, - ); - final photoFile = XFile.fromData( - fileData, - mimeType: 'image/jpeg', - ); - await photoFile.saveTo(saveLocation.path); - } - }, - ) - : Container(), + await photoFile.saveTo(saveLocation.path); + } + }, + ) + : Container(), ), ); } @@ -87,28 +86,27 @@ class _UnsplashSearchContentState extends State { return TreeNode( content: Expanded(child: Text(searchEntry.query)), - children: - searchEntry.photos - .map( - (photo) => TreeNode( - content: Expanded( - child: Semantics( - button: true, - onTap: () => selectPhoto(photo), - label: labelForPhoto(photo), - excludeSemantics: true, - child: InkWell( - onTap: () => selectPhoto(photo), - child: Padding( - padding: const EdgeInsets.all(12), - child: Text(labelForPhoto(photo)), - ), - ), + children: searchEntry.photos + .map( + (photo) => TreeNode( + content: Expanded( + child: Semantics( + button: true, + onTap: () => selectPhoto(photo), + label: labelForPhoto(photo), + excludeSemantics: true, + child: InkWell( + onTap: () => selectPhoto(photo), + child: Padding( + padding: const EdgeInsets.all(12), + child: Text(labelForPhoto(photo)), ), ), ), - ) - .toList(), + ), + ), + ) + .toList(), ); } } diff --git a/desktop_photo_search/material/pubspec.yaml b/desktop_photo_search/material/pubspec.yaml index 798f0c93041..5a46a857e53 100644 --- a/desktop_photo_search/material/pubspec.yaml +++ b/desktop_photo_search/material/pubspec.yaml @@ -1,10 +1,11 @@ -name: desktop_photo_search +name: desktop_photo_search_material description: Search for Photos, using the Unsplash API. publish_to: 'none' version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: built_collection: ^5.1.1 @@ -20,7 +21,6 @@ dependencies: git: url: https://github.com/google/flutter-desktop-embedding.git path: plugins/menubar - ref: 6c66ad23ee79749f30a8eece542cf54eaf157ed8 provider: ^6.0.5 transparent_image: ^2.0.1 url_launcher: ^6.1.12 @@ -29,13 +29,12 @@ dependencies: git: url: https://github.com/google/flutter-desktop-embedding.git path: plugins/window_size - ref: 6c66ad23ee79749f30a8eece542cf54eaf157ed8 dev_dependencies: analysis_defaults: path: ../../analysis_defaults async: ^2.11.0 - build: ^2.4.1 + build: ^3.0.0 build_runner: ^2.4.6 built_value_generator: ^8.6.1 flutter_test: diff --git a/desktop_photo_search/material/test/unsplash_test.dart b/desktop_photo_search/material/test/unsplash_test.dart index 5d0d5bd2a16..c276c929340 100644 --- a/desktop_photo_search/material/test/unsplash_test.dart +++ b/desktop_photo_search/material/test/unsplash_test.dart @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'package:desktop_photo_search/src/unsplash/photo.dart'; -import 'package:desktop_photo_search/src/unsplash/search_photos_response.dart'; -import 'package:desktop_photo_search/src/unsplash/unsplash.dart'; -import 'package:desktop_photo_search/src/unsplash/user.dart'; +import 'package:desktop_photo_search_material/src/unsplash/photo.dart'; +import 'package:desktop_photo_search_material/src/unsplash/search_photos_response.dart'; +import 'package:desktop_photo_search_material/src/unsplash/unsplash.dart'; +import 'package:desktop_photo_search_material/src/unsplash/user.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:http/http.dart'; import 'package:http/testing.dart'; diff --git a/desktop_photo_search/material/test/widget_test.dart b/desktop_photo_search/material/test/widget_test.dart index d169c146c5c..26f7d607c85 100644 --- a/desktop_photo_search/material/test/widget_test.dart +++ b/desktop_photo_search/material/test/widget_test.dart @@ -4,10 +4,10 @@ import 'dart:typed_data'; -import 'package:desktop_photo_search/src/model/photo_search_model.dart'; -import 'package:desktop_photo_search/src/unsplash/photo.dart'; -import 'package:desktop_photo_search/src/unsplash/search_photos_response.dart'; -import 'package:desktop_photo_search/src/unsplash/unsplash.dart'; +import 'package:desktop_photo_search_material/src/model/photo_search_model.dart'; +import 'package:desktop_photo_search_material/src/unsplash/photo.dart'; +import 'package:desktop_photo_search_material/src/unsplash/search_photos_response.dart'; +import 'package:desktop_photo_search_material/src/unsplash/unsplash.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:provider/provider.dart'; diff --git a/devtools_options.yaml b/devtools_options.yaml new file mode 100644 index 00000000000..fa0b357c4f4 --- /dev/null +++ b/devtools_options.yaml @@ -0,0 +1,3 @@ +description: This file stores settings for Dart & Flutter DevTools. +documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states +extensions: diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000000..c0223c7b001 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,13 @@ + + + + + Redirecting... + + + + +

Redirecting...

+

If you are not redirected automatically, follow this link to the Flutter learning resources.

+ + diff --git a/dynamic_theme/lib/main.dart b/dynamic_theme/lib/main.dart index 37c4292e18e..b61f2855bc6 100644 --- a/dynamic_theme/lib/main.dart +++ b/dynamic_theme/lib/main.dart @@ -266,30 +266,29 @@ class _ExampleState extends State { final reversed = messages.value.reversed; return Scaffold( appBar: AppBar(title: Text(widget.title)), - body: - messages.value.isEmpty - ? const Center( - child: Padding( - padding: EdgeInsets.all(32.0), - child: Text( - 'Start changing the theme! Try typing ' - 'in requests like "Make the colors darker" or "Make the ' - 'font larger" and see what happens.', - ), + body: messages.value.isEmpty + ? const Center( + child: Padding( + padding: EdgeInsets.all(32.0), + child: Text( + 'Start changing the theme! Try typing ' + 'in requests like "Make the colors darker" or "Make the ' + 'font larger" and see what happens.', ), - ) - : ListView.builder( - padding: const EdgeInsets.all(8), - reverse: true, - itemCount: reversed.length, - itemBuilder: (context, index) { - final (sender, message) = reversed.elementAt(index); - return MessageWidget( - isFromUser: sender == Sender.user, - text: message, - ); - }, ), + ) + : ListView.builder( + padding: const EdgeInsets.all(8), + reverse: true, + itemCount: reversed.length, + itemBuilder: (context, index) { + final (sender, message) = reversed.elementAt(index); + return MessageWidget( + isFromUser: sender == Sender.user, + text: message, + ); + }, + ), bottomNavigationBar: BottomAppBar( padding: const EdgeInsets.all(8), child: Row( diff --git a/dynamic_theme/lib/widgets/api_key_widget.dart b/dynamic_theme/lib/widgets/api_key_widget.dart index 002d35f720e..341d079986a 100644 --- a/dynamic_theme/lib/widgets/api_key_widget.dart +++ b/dynamic_theme/lib/widgets/api_key_widget.dart @@ -44,11 +44,10 @@ class ApiKeyWidget extends StatelessWidget { Link( uri: Uri.https('aistudio.google.com', '/app/apikey'), target: LinkTarget.blank, - builder: - (context, followLink) => TextButton( - onPressed: followLink, - child: const Text('Get an API Key'), - ), + builder: (context, followLink) => TextButton( + onPressed: followLink, + child: const Text('Get an API Key'), + ), ), ], ), diff --git a/dynamic_theme/lib/widgets/message_widget.dart b/dynamic_theme/lib/widgets/message_widget.dart index 95dae91029a..74b45df1a8c 100644 --- a/dynamic_theme/lib/widgets/message_widget.dart +++ b/dynamic_theme/lib/widgets/message_widget.dart @@ -30,17 +30,17 @@ class MessageWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Row( - mainAxisAlignment: - isFromUser ? MainAxisAlignment.end : MainAxisAlignment.start, + mainAxisAlignment: isFromUser + ? MainAxisAlignment.end + : MainAxisAlignment.start, children: [ Flexible( child: Container( constraints: const BoxConstraints(maxWidth: 520), decoration: BoxDecoration( - color: - isFromUser - ? Theme.of(context).colorScheme.primaryContainer - : Theme.of(context).colorScheme.surfaceContainerHighest, + color: isFromUser + ? Theme.of(context).colorScheme.primaryContainer + : Theme.of(context).colorScheme.surfaceContainerHighest, borderRadius: BorderRadius.circular(18), ), padding: const EdgeInsets.symmetric(vertical: 15, horizontal: 20), diff --git a/dynamic_theme/pubspec.yaml b/dynamic_theme/pubspec.yaml index d3e29bfdf39..97d4a955fec 100644 --- a/dynamic_theme/pubspec.yaml +++ b/dynamic_theme/pubspec.yaml @@ -2,8 +2,9 @@ name: dynamic_theme description: "Sample app for the google_generative_ai package" publish_to: 'none' version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: @@ -13,9 +14,11 @@ dependencies: url_launcher: ^6.2.6 dev_dependencies: + analysis_defaults: + path: ../analysis_defaults flutter_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ^6.0.0 flutter: uses-material-design: true diff --git a/experimental/README.md b/experimental/README.md index 801e2042d6b..b67d4a41009 100644 --- a/experimental/README.md +++ b/experimental/README.md @@ -1,37 +1,5 @@ -# Deprecation warning +# Deprecated -The `experimental` directory will be retired with the release of Flutter 3.32, -tentatively scheduled for May 2025. At that time, remaining samples will be deleted. +The `experimental` directory has been deprecated. All samples within have been deleted or moved to [github.com/flutter/demos][] ---- - - -# Master channel samples - -In this directory, you'll find samples that target Flutter's master channel. -They may take advantage of new SDK features that haven't landed in the -stable channel, and they may crash, lock up your machine, or otherwise fail to -run correctly. In other words, consider everything in this directory to be an -experiment. - -We're maintaining these samples here so that folks can see some of Flutter's -upcoming features as they evolve and get a sense for how they'll eventually -be used. If you'd like to run the apps, make sure to switch to the master -channel first: - -```bash -flutter channel master -flutter upgrade -``` - -When you're done, use this command to return to the safety of the stable -channel: - -```bash -flutter channel stable -``` - -## Want more info about the repo in general? - -See the [README](../README.md) in the repo's root folder. diff --git a/experimental/federated_plugin/README.md b/experimental/federated_plugin/README.md index 2dc52b3cfaf..ffb580bda61 100644 --- a/experimental/federated_plugin/README.md +++ b/experimental/federated_plugin/README.md @@ -1,20 +1,3 @@ -# federated_plugin +# Sample moved -A Flutter plugin sample that shows how to implement a federated plugin to retrieve current battery level on different platforms. - -This sample is currently being built. Not all platforms and functionality are in place. - -## Goals for this sample - -* Show how to develop a federated plugin which supports Android, iOS, web & desktop. -* Demonstrate how to use Platform Channels to communicate with different platforms including Web and Desktop. - -## Questions/issues - -If you have a general question about Flutter, the best places to go are: - -* [The FlutterDev Google Group](https://groups.google.com/forum/#!forum/flutter-dev) -* [The Flutter Gitter channel](https://gitter.im/flutter/flutter) -* [StackOverflow](https://stackoverflow.com/questions/tagged/flutter) - -If you run into an issue with the sample itself, please file an issue [here](https://github.com/flutter/samples/issues). \ No newline at end of file +The `federated_plugin` sample has been moved to the [flutter/demos][https://github.com/flutter/demos] repository, and is no longer maintained. diff --git a/experimental/federated_plugin/federated_plugin/.gitignore b/experimental/federated_plugin/federated_plugin/.gitignore deleted file mode 100644 index 9be145fde98..00000000000 --- a/experimental/federated_plugin/federated_plugin/.gitignore +++ /dev/null @@ -1,29 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# 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 -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -.dart_tool/ -.packages -build/ diff --git a/experimental/federated_plugin/federated_plugin/.metadata b/experimental/federated_plugin/federated_plugin/.metadata deleted file mode 100644 index 8c15ad72ba2..00000000000 --- a/experimental/federated_plugin/federated_plugin/.metadata +++ /dev/null @@ -1,10 +0,0 @@ -# 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: 77d935af4db863f6abd0b9c31c7e6df2a13de57b - channel: stable - -project_type: plugin diff --git a/experimental/federated_plugin/federated_plugin/CHANGELOG.md b/experimental/federated_plugin/federated_plugin/CHANGELOG.md deleted file mode 100644 index 41cc7d8192e..00000000000 --- a/experimental/federated_plugin/federated_plugin/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## 0.0.1 - -* TODO: Describe initial release. diff --git a/experimental/federated_plugin/federated_plugin/android/.gitignore b/experimental/federated_plugin/federated_plugin/android/.gitignore deleted file mode 100644 index c6cbe562a42..00000000000 --- a/experimental/federated_plugin/federated_plugin/android/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/workspace.xml -/.idea/libraries -.DS_Store -/build -/captures diff --git a/experimental/federated_plugin/federated_plugin/android/build.gradle b/experimental/federated_plugin/federated_plugin/android/build.gradle deleted file mode 100644 index 4e6d92440b8..00000000000 --- a/experimental/federated_plugin/federated_plugin/android/build.gradle +++ /dev/null @@ -1,50 +0,0 @@ -group 'dev.flutter.federated_plugin' -version '1.0-SNAPSHOT' - -buildscript { - ext.kotlin_version = '1.3.50' - repositories { - google() - mavenCentral() - } - - dependencies { - classpath 'com.android.tools.build:gradle:4.1.0' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} - -rootProject.allprojects { - repositories { - google() - mavenCentral() - } -} - -apply plugin: 'com.android.library' -apply plugin: 'kotlin-android' - -android { - compileSdkVersion 30 - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } - - kotlinOptions { - jvmTarget = '1.8' - } - - sourceSets { - main.java.srcDirs += 'src/main/kotlin' - } - - defaultConfig { - minSdkVersion 16 - } -} - -dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" -} diff --git a/experimental/federated_plugin/federated_plugin/android/settings.gradle b/experimental/federated_plugin/federated_plugin/android/settings.gradle deleted file mode 100644 index 8f719cd0116..00000000000 --- a/experimental/federated_plugin/federated_plugin/android/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -rootProject.name = 'federated_plugin' diff --git a/experimental/federated_plugin/federated_plugin/android/src/main/AndroidManifest.xml b/experimental/federated_plugin/federated_plugin/android/src/main/AndroidManifest.xml deleted file mode 100644 index 22a910cef61..00000000000 --- a/experimental/federated_plugin/federated_plugin/android/src/main/AndroidManifest.xml +++ /dev/null @@ -1,3 +0,0 @@ - - diff --git a/experimental/federated_plugin/federated_plugin/android/src/main/kotlin/dev/flutter/federated_plugin/FederatedPlugin.kt b/experimental/federated_plugin/federated_plugin/android/src/main/kotlin/dev/flutter/federated_plugin/FederatedPlugin.kt deleted file mode 100644 index c85fecf8be8..00000000000 --- a/experimental/federated_plugin/federated_plugin/android/src/main/kotlin/dev/flutter/federated_plugin/FederatedPlugin.kt +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package dev.flutter.federated_plugin - -import android.content.Context -import android.content.Intent -import android.content.IntentFilter -import android.os.BatteryManager -import android.os.Build -import androidx.annotation.NonNull - -import io.flutter.embedding.engine.plugins.FlutterPlugin -import io.flutter.plugin.common.MethodCall -import io.flutter.plugin.common.MethodChannel -import io.flutter.plugin.common.MethodChannel.MethodCallHandler -import io.flutter.plugin.common.MethodChannel.Result - -class FederatedPlugin : FlutterPlugin, MethodCallHandler { - private lateinit var channel: MethodChannel - private var context: Context? = null - - override fun onAttachedToEngine(@NonNull flutterPluginBinding: FlutterPlugin.FlutterPluginBinding) { - channel = MethodChannel(flutterPluginBinding.binaryMessenger, "battery") - channel.setMethodCallHandler(this) - context = flutterPluginBinding.applicationContext - } - - override fun onMethodCall(@NonNull call: MethodCall, @NonNull result: Result) { - if (call.method == "getBatteryLevel") { - val batteryLevel: Int - - batteryLevel = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { - val batteryManager = context?.getSystemService(Context.BATTERY_SERVICE) as BatteryManager - batteryManager.getIntProperty(BatteryManager.BATTERY_PROPERTY_CAPACITY) - } else { - val intent = IntentFilter(Intent.ACTION_BATTERY_CHANGED).let { intentFilter -> - context?.registerReceiver(null, intentFilter) - } - intent!!.getIntExtra(BatteryManager.EXTRA_LEVEL, -1) * 100 / intent.getIntExtra(BatteryManager.EXTRA_SCALE, -1) - } - - if (batteryLevel < 0) { - result.error("STATUS_UNAVAILABLE", "Not able to determine battery level.", null) - } else { - result.success(batteryLevel) - } - } else { - result.notImplemented() - } - } - - override fun onDetachedFromEngine(@NonNull binding: FlutterPlugin.FlutterPluginBinding) { - channel.setMethodCallHandler(null) - context = null - } -} diff --git a/experimental/federated_plugin/federated_plugin/example/.gitignore b/experimental/federated_plugin/federated_plugin/example/.gitignore deleted file mode 100644 index 0fa6b675c0a..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/.gitignore +++ /dev/null @@ -1,46 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Web related -lib/generated_plugin_registrant.dart - -# 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 diff --git a/experimental/federated_plugin/federated_plugin/example/.metadata b/experimental/federated_plugin/federated_plugin/example/.metadata deleted file mode 100644 index fd70cabc06d..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/.metadata +++ /dev/null @@ -1,10 +0,0 @@ -# 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: 77d935af4db863f6abd0b9c31c7e6df2a13de57b - channel: stable - -project_type: app diff --git a/experimental/federated_plugin/federated_plugin/example/README.md b/experimental/federated_plugin/federated_plugin/example/README.md deleted file mode 100644 index 6cd01f271b6..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# federated_plugin_example - -Demonstrates how to use the federated_plugin plugin. diff --git a/experimental/federated_plugin/federated_plugin/example/analysis_options.yaml b/experimental/federated_plugin/federated_plugin/example/analysis_options.yaml deleted file mode 100644 index 13d6fe105a3..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: package:analysis_defaults/flutter.yaml diff --git a/experimental/federated_plugin/federated_plugin/example/android/.gitignore b/experimental/federated_plugin/federated_plugin/example/android/.gitignore deleted file mode 100644 index 6f568019d3c..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -gradle-wrapper.jar -/.gradle -/captures/ -/gradlew -/gradlew.bat -/local.properties -GeneratedPluginRegistrant.java - -# Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app -key.properties -**/*.keystore -**/*.jks diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/build.gradle b/experimental/federated_plugin/federated_plugin/example/android/app/build.gradle deleted file mode 100644 index 48b36eca4ef..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/app/build.gradle +++ /dev/null @@ -1,68 +0,0 @@ -def localProperties = new Properties() -def localPropertiesFile = rootProject.file('local.properties') -if (localPropertiesFile.exists()) { - localPropertiesFile.withReader('UTF-8') { reader -> - localProperties.load(reader) - } -} - -def flutterRoot = localProperties.getProperty('flutter.sdk') -if (flutterRoot == null) { - throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") -} - -def flutterVersionCode = localProperties.getProperty('flutter.versionCode') -if (flutterVersionCode == null) { - flutterVersionCode = '1' -} - -def flutterVersionName = localProperties.getProperty('flutter.versionName') -if (flutterVersionName == null) { - flutterVersionName = '1.0' -} - -apply plugin: 'com.android.application' -apply plugin: 'kotlin-android' -apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" - -android { - compileSdkVersion flutter.compileSdkVersion - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } - - kotlinOptions { - jvmTarget = '1.8' - } - - sourceSets { - main.java.srcDirs += 'src/main/kotlin' - } - - defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "dev.flutter.federated_plugin_example" - minSdkVersion flutter.minSdkVersion - targetSdkVersion flutter.targetSdkVersion - versionCode flutterVersionCode.toInteger() - versionName flutterVersionName - } - - buildTypes { - release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig signingConfigs.debug - } - } -} - -flutter { - source '../..' -} - -dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" -} diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/debug/AndroidManifest.xml b/experimental/federated_plugin/federated_plugin/example/android/app/src/debug/AndroidManifest.xml deleted file mode 100644 index 7d525237e76..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/app/src/debug/AndroidManifest.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/AndroidManifest.xml b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/AndroidManifest.xml deleted file mode 100644 index 887b665d699..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/kotlin/dev/flutter/example/MainActivity.kt b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/kotlin/dev/flutter/example/MainActivity.kt deleted file mode 100644 index d37e09f4e54..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/kotlin/dev/flutter/example/MainActivity.kt +++ /dev/null @@ -1,6 +0,0 @@ -package dev.flutter.example - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity: FlutterActivity() { -} diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/kotlin/dev/flutter/federated_plugin_example/MainActivity.kt b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/kotlin/dev/flutter/federated_plugin_example/MainActivity.kt deleted file mode 100644 index de6cd71a436..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/kotlin/dev/flutter/federated_plugin_example/MainActivity.kt +++ /dev/null @@ -1,6 +0,0 @@ -package dev.flutter.federated_plugin_example - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity: FlutterActivity() { -} diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/drawable-v21/launch_background.xml b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/drawable-v21/launch_background.xml deleted file mode 100644 index f74085f3f6a..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/drawable-v21/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/drawable/launch_background.xml b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/drawable/launch_background.xml deleted file mode 100644 index 304732f8842..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/drawable/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index db77bb4b7b0..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 17987b79bb8..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 09d4391482b..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index d5f1c8d34e7..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 4d6372eebdb..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/values-night/styles.xml b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/values-night/styles.xml deleted file mode 100644 index 3db14bb5391..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/values-night/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/values/styles.xml b/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/values/styles.xml deleted file mode 100644 index d460d1e9215..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/app/src/main/res/values/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/android/app/src/profile/AndroidManifest.xml b/experimental/federated_plugin/federated_plugin/example/android/app/src/profile/AndroidManifest.xml deleted file mode 100644 index 7d525237e76..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/app/src/profile/AndroidManifest.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/android/build.gradle b/experimental/federated_plugin/federated_plugin/example/android/build.gradle deleted file mode 100644 index 24047dce5d4..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/build.gradle +++ /dev/null @@ -1,31 +0,0 @@ -buildscript { - ext.kotlin_version = '1.3.50' - repositories { - google() - mavenCentral() - } - - dependencies { - classpath 'com.android.tools.build:gradle:4.1.0' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} - -allprojects { - repositories { - google() - mavenCentral() - } -} - -rootProject.buildDir = '../build' -subprojects { - project.buildDir = "${rootProject.buildDir}/${project.name}" -} -subprojects { - project.evaluationDependsOn(':app') -} - -task clean(type: Delete) { - delete rootProject.buildDir -} diff --git a/experimental/federated_plugin/federated_plugin/example/android/gradle.properties b/experimental/federated_plugin/federated_plugin/example/android/gradle.properties deleted file mode 100644 index 94adc3a3f97..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/gradle.properties +++ /dev/null @@ -1,3 +0,0 @@ -org.gradle.jvmargs=-Xmx1536M -android.useAndroidX=true -android.enableJetifier=true diff --git a/experimental/federated_plugin/federated_plugin/example/android/gradle/wrapper/gradle-wrapper.properties b/experimental/federated_plugin/federated_plugin/example/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index bc6a58afdda..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Fri Jun 23 08:50:38 CEST 2017 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip diff --git a/experimental/federated_plugin/federated_plugin/example/android/settings.gradle b/experimental/federated_plugin/federated_plugin/example/android/settings.gradle deleted file mode 100644 index 44e62bcf06a..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/android/settings.gradle +++ /dev/null @@ -1,11 +0,0 @@ -include ':app' - -def localPropertiesFile = new File(rootProject.projectDir, "local.properties") -def properties = new Properties() - -assert localPropertiesFile.exists() -localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } - -def flutterSdkPath = properties.getProperty("flutter.sdk") -assert flutterSdkPath != null, "flutter.sdk not set in local.properties" -apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" diff --git a/experimental/federated_plugin/federated_plugin/example/ios/.gitignore b/experimental/federated_plugin/federated_plugin/example/ios/.gitignore deleted file mode 100644 index 7a7f9873ad7..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -**/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 diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Flutter/Debug.xcconfig b/experimental/federated_plugin/federated_plugin/example/ios/Flutter/Debug.xcconfig deleted file mode 100644 index ec97fc6f302..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Flutter/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "Generated.xcconfig" diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Flutter/Release.xcconfig b/experimental/federated_plugin/federated_plugin/example/ios/Flutter/Release.xcconfig deleted file mode 100644 index c4855bfe200..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Flutter/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "Generated.xcconfig" diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Podfile b/experimental/federated_plugin/federated_plugin/example/ios/Podfile deleted file mode 100644 index 1e8c3c90a55..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Podfile +++ /dev/null @@ -1,41 +0,0 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '9.0' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_ios_podfile_setup - -target 'Runner' do - use_frameworks! - use_modular_headers! - - flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_ios_build_settings(target) - end -end diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.pbxproj b/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 8bae9417955..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,549 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 50; - objects = { - -/* Begin PBXBuildFile section */ - 05F5AA9A8918E7054FF69BBB /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 30D3D9621395C516E82FBA97 /* Pods_Runner.framework */; }; - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 30D3D9621395C516E82FBA97 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 447027611B96046137396C04 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - 66FD4F9678EE12C6021DDC4C /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - AE02D38AA281AD19B3FBAE7B /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 05F5AA9A8918E7054FF69BBB /* Pods_Runner.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0F9960076300DD52FCCDCAC1 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 30D3D9621395C516E82FBA97 /* Pods_Runner.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 44C3AAFD416E2CBFA5D43075 /* Pods */ = { - isa = PBXGroup; - children = ( - 447027611B96046137396C04 /* Pods-Runner.debug.xcconfig */, - 66FD4F9678EE12C6021DDC4C /* Pods-Runner.release.xcconfig */, - AE02D38AA281AD19B3FBAE7B /* Pods-Runner.profile.xcconfig */, - ); - name = Pods; - path = Pods; - sourceTree = ""; - }; - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - 44C3AAFD416E2CBFA5D43075 /* Pods */, - 0F9960076300DD52FCCDCAC1 /* Frameworks */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - C01D951D1D8DEFCA6C06A108 /* [CP] Check Pods Manifest.lock */, - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - F9CBF189CFE3019A377CBAB3 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1300; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 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 */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - 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; - 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"; - }; - C01D951D1D8DEFCA6C06A108 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - F9CBF189CFE3019A377CBAB3 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.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 = dev.flutter.federatedPluginExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.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 = dev.flutter.federatedPluginExample; - 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 = dev.flutter.federatedPluginExample; - 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 */ - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5ea1..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 21a3cc14c74..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5ea1..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/AppDelegate.swift b/experimental/federated_plugin/federated_plugin/example/ios/Runner/AppDelegate.swift deleted file mode 100644 index 70693e4a8c1..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import UIKit -import Flutter - -@UIApplicationMain -@objc class AppDelegate: FlutterAppDelegate { - override func application( - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - GeneratedPluginRegistrant.register(with: self) - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } -} diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d36b1fab2d9..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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" - } -} diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png deleted file mode 100644 index dc9ada4725e..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png deleted file mode 100644 index 28c6bf03016..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png deleted file mode 100644 index 2ccbfd967d9..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png deleted file mode 100644 index f091b6b0bca..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index 4cde12118dd..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png deleted file mode 100644 index d0ef06e7edb..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png deleted file mode 100644 index dcdc2306c28..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png deleted file mode 100644 index 2ccbfd967d9..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png deleted file mode 100644 index c8f9ed8f5ce..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png deleted file mode 100644 index a6d6b8609df..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png deleted file mode 100644 index a6d6b8609df..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index 75b2d164a5a..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png deleted file mode 100644 index c4df70d39da..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png deleted file mode 100644 index 6a84f41e14e..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png deleted file mode 100644 index d0e1f585360..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 0bedcf2fd46..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "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" - } -} diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md deleted file mode 100644 index 89c2725b70f..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. \ No newline at end of file diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c7c93..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Base.lproj/Main.storyboard b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c28516fb3..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Info.plist b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Info.plist deleted file mode 100644 index ca05d0bd97a..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Federated Plugin - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - federated_plugin_example - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - - diff --git a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Runner-Bridging-Header.h b/experimental/federated_plugin/federated_plugin/example/ios/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 308a2a560b4..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/ios/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1 +0,0 @@ -#import "GeneratedPluginRegistrant.h" diff --git a/experimental/federated_plugin/federated_plugin/example/lib/main.dart b/experimental/federated_plugin/federated_plugin/example/lib/main.dart deleted file mode 100644 index c17ad14cdb8..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/lib/main.dart +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:federated_plugin/federated_plugin.dart'; -import 'package:flutter/material.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({super.key}); - - @override - Widget build(BuildContext context) { - return MaterialApp(theme: ThemeData.light(), home: const HomePage()); - } -} - -/// Demonstrates how to use the getBatteryLevel method from federated_plugin to retrieve -/// current battery level of device. -class HomePage extends StatefulWidget { - const HomePage({super.key}); - - @override - State createState() => _HomePageState(); -} - -class _HomePageState extends State { - int? batteryLevel; - - @override - Widget build(BuildContext context) { - return Scaffold( - appBar: AppBar(title: const Text('Federated Plugin Demo')), - body: Center( - child: Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - batteryLevel == null - ? const SizedBox.shrink() - : Text( - 'Battery Level: $batteryLevel', - style: Theme.of(context).textTheme.headlineSmall, - ), - const SizedBox(height: 16), - FilledButton( - onPressed: () async { - try { - final result = await getBatteryLevel(); - setState(() { - batteryLevel = result; - }); - } catch (error) { - if (!context.mounted) return; - ScaffoldMessenger.of(context).showSnackBar( - SnackBar( - backgroundColor: Theme.of(context).primaryColor, - content: Text((error as dynamic).message as String), - ), - ); - } - }, - child: const Text('Get Battery Level'), - ), - ], - ), - ), - ); - } -} diff --git a/experimental/federated_plugin/federated_plugin/example/macos/.gitignore b/experimental/federated_plugin/federated_plugin/example/macos/.gitignore deleted file mode 100644 index 746adbb6b9e..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -# Flutter-related -**/Flutter/ephemeral/ -**/Pods/ - -# Xcode-related -**/dgph -**/xcuserdata/ diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Flutter/Flutter-Debug.xcconfig b/experimental/federated_plugin/federated_plugin/example/macos/Flutter/Flutter-Debug.xcconfig deleted file mode 100644 index 4b81f9b2d20..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Flutter/Flutter-Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Flutter/Flutter-Release.xcconfig b/experimental/federated_plugin/federated_plugin/example/macos/Flutter/Flutter-Release.xcconfig deleted file mode 100644 index 5caa9d1579e..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Flutter/Flutter-Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Flutter/GeneratedPluginRegistrant.swift b/experimental/federated_plugin/federated_plugin/example/macos/Flutter/GeneratedPluginRegistrant.swift deleted file mode 100644 index 0d51469d75f..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated file. Do not edit. -// - -import FlutterMacOS -import Foundation - -import federated_plugin_macos - -func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - FederatedPluginMacosPlugin.register(with: registry.registrar(forPlugin: "FederatedPluginMacosPlugin")) -} diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Podfile b/experimental/federated_plugin/federated_plugin/example/macos/Podfile deleted file mode 100644 index dade8dfad0d..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Podfile +++ /dev/null @@ -1,40 +0,0 @@ -platform :osx, '10.11' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_macos_podfile_setup - -target 'Runner' do - use_frameworks! - use_modular_headers! - - flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_macos_build_settings(target) - end -end diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcodeproj/project.pbxproj b/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 659aec35ef1..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,632 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 51; - objects = { - -/* Begin PBXAggregateTarget section */ - 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = { - isa = PBXAggregateTarget; - buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */; - buildPhases = ( - 33CC111E2044C6BF0003C045 /* ShellScript */, - ); - dependencies = ( - ); - name = "Flutter Assemble"; - productName = FLX; - }; -/* End PBXAggregateTarget section */ - -/* Begin PBXBuildFile section */ - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; }; - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; }; - 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; }; - 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; }; - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; - C58C13458B8C1F1C0B003A42 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B52B3AE71320C78F7034ECA8 /* Pods_Runner.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 33CC10E52044A3C60003C045 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 33CC111A2044C6BA0003C045; - remoteInfo = FLX; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 33CC110E2044A8840003C045 /* Bundle Framework */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Bundle Framework"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1671D9D3B0356EFB54861951 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; - 33CC10ED2044A3C60003C045 /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; - 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; - 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; }; - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; }; - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; }; - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; }; - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; }; - 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; }; - 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; }; - 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; }; - 45FDBBDD4581EECA19893003 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; }; - 8FC351F79983970A66307AC9 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; - B52B3AE71320C78F7034ECA8 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 33CC10EA2044A3C60003C045 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C58C13458B8C1F1C0B003A42 /* Pods_Runner.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 2B77B711C096CBDA06689A67 /* Pods */ = { - isa = PBXGroup; - children = ( - 45FDBBDD4581EECA19893003 /* Pods-Runner.debug.xcconfig */, - 8FC351F79983970A66307AC9 /* Pods-Runner.release.xcconfig */, - 1671D9D3B0356EFB54861951 /* Pods-Runner.profile.xcconfig */, - ); - name = Pods; - path = Pods; - sourceTree = ""; - }; - 33BA886A226E78AF003329D5 /* Configs */ = { - isa = PBXGroup; - children = ( - 33E5194F232828860026EE4D /* AppInfo.xcconfig */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */, - ); - path = Configs; - sourceTree = ""; - }; - 33CC10E42044A3C60003C045 = { - isa = PBXGroup; - children = ( - 33FAB671232836740065AC1E /* Runner */, - 33CEB47122A05771004F2AC0 /* Flutter */, - 33CC10EE2044A3C60003C045 /* Products */, - D73912EC22F37F3D000D13A0 /* Frameworks */, - 2B77B711C096CBDA06689A67 /* Pods */, - ); - sourceTree = ""; - }; - 33CC10EE2044A3C60003C045 /* Products */ = { - isa = PBXGroup; - children = ( - 33CC10ED2044A3C60003C045 /* example.app */, - ); - name = Products; - sourceTree = ""; - }; - 33CC11242044D66E0003C045 /* Resources */ = { - isa = PBXGroup; - children = ( - 33CC10F22044A3C60003C045 /* Assets.xcassets */, - 33CC10F42044A3C60003C045 /* MainMenu.xib */, - 33CC10F72044A3C60003C045 /* Info.plist */, - ); - name = Resources; - path = ..; - sourceTree = ""; - }; - 33CEB47122A05771004F2AC0 /* Flutter */ = { - isa = PBXGroup; - children = ( - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */, - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */, - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */, - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */, - ); - path = Flutter; - sourceTree = ""; - }; - 33FAB671232836740065AC1E /* Runner */ = { - isa = PBXGroup; - children = ( - 33CC10F02044A3C60003C045 /* AppDelegate.swift */, - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, - 33E51913231747F40026EE4D /* DebugProfile.entitlements */, - 33E51914231749380026EE4D /* Release.entitlements */, - 33CC11242044D66E0003C045 /* Resources */, - 33BA886A226E78AF003329D5 /* Configs */, - ); - path = Runner; - sourceTree = ""; - }; - D73912EC22F37F3D000D13A0 /* Frameworks */ = { - isa = PBXGroup; - children = ( - B52B3AE71320C78F7034ECA8 /* Pods_Runner.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 33CC10EC2044A3C60003C045 /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - C6FC087C0C366A8D70EA0FE7 /* [CP] Check Pods Manifest.lock */, - 33CC10E92044A3C60003C045 /* Sources */, - 33CC10EA2044A3C60003C045 /* Frameworks */, - 33CC10EB2044A3C60003C045 /* Resources */, - 33CC110E2044A8840003C045 /* Bundle Framework */, - 3399D490228B24CF009A79C7 /* ShellScript */, - 50A44A481605D096E0AB4045 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 33CC11202044C79F0003C045 /* PBXTargetDependency */, - ); - name = Runner; - productName = Runner; - productReference = 33CC10ED2044A3C60003C045 /* example.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 33CC10E52044A3C60003C045 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 1300; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 33CC10EC2044A3C60003C045 = { - CreatedOnToolsVersion = 9.2; - LastSwiftMigration = 1100; - ProvisioningStyle = Automatic; - SystemCapabilities = { - com.apple.Sandbox = { - enabled = 1; - }; - }; - }; - 33CC111A2044C6BA0003C045 = { - CreatedOnToolsVersion = 9.2; - ProvisioningStyle = Manual; - }; - }; - }; - buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 33CC10E42044A3C60003C045; - productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 33CC10EC2044A3C60003C045 /* Runner */, - 33CC111A2044C6BA0003C045 /* Flutter Assemble */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 33CC10EB2044A3C60003C045 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */, - 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3399D490228B24CF009A79C7 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - 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"; - }; - 50A44A481605D096E0AB4045 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - C6FC087C0C366A8D70EA0FE7 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 33CC10E92044A3C60003C045 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */, - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */, - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; - targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 33CC10F42044A3C60003C045 /* MainMenu.xib */ = { - isa = PBXVariantGroup; - children = ( - 33CC10F52044A3C60003C045 /* Base */, - ); - name = MainMenu.xib; - path = Runner; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 338D0CE9231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Profile; - }; - 338D0CEA231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Profile; - }; - 338D0CEB231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Profile; - }; - 33CC10F92044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 33CC10FA2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Release; - }; - 33CC10FC2044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 33CC10FD2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - 33CC111C2044C6BA0003C045 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 33CC111D2044C6BA0003C045 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10F92044A3C60003C045 /* Debug */, - 33CC10FA2044A3C60003C045 /* Release */, - 338D0CE9231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10FC2044A3C60003C045 /* Debug */, - 33CC10FD2044A3C60003C045 /* Release */, - 338D0CEA231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC111C2044C6BA0003C045 /* Debug */, - 33CC111D2044C6BA0003C045 /* Release */, - 338D0CEB231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 33CC10E52044A3C60003C045 /* Project object */; -} diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/AppDelegate.swift b/experimental/federated_plugin/federated_plugin/example/macos/Runner/AppDelegate.swift deleted file mode 100644 index d53ef643772..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/AppDelegate.swift +++ /dev/null @@ -1,9 +0,0 @@ -import Cocoa -import FlutterMacOS - -@NSApplicationMain -class AppDelegate: FlutterAppDelegate { - override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { - return true - } -} diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index a2ec33f19f1..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "images" : [ - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_16.png", - "scale" : "1x" - }, - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "2x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "1x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_64.png", - "scale" : "2x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_128.png", - "scale" : "1x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "2x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "1x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "2x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "1x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_1024.png", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png deleted file mode 100644 index 3c4935a7ca8..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png deleted file mode 100644 index ed4cc164216..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png deleted file mode 100644 index 483be613897..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png deleted file mode 100644 index bcbf36df2f2..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png deleted file mode 100644 index 9c0a6528647..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png deleted file mode 100644 index e71a726136a..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png deleted file mode 100644 index 8a31fe2dd3f..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Base.lproj/MainMenu.xib b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Base.lproj/MainMenu.xib deleted file mode 100644 index 537341abf99..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Base.lproj/MainMenu.xib +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/AppInfo.xcconfig b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/AppInfo.xcconfig deleted file mode 100644 index a1f74089f86..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/AppInfo.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -// Application-level settings for the Runner target. -// -// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the -// future. If not, the values below would default to using the project name when this becomes a -// 'flutter create' template. - -// The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = example - -// The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.example - -// The copyright displayed in application information -PRODUCT_COPYRIGHT = Copyright Β© 2022 dev.flutter. All rights reserved. diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Debug.xcconfig b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Debug.xcconfig deleted file mode 100644 index 36b0fd9464f..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Debug.xcconfig" -#include "Warnings.xcconfig" diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Release.xcconfig b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Release.xcconfig deleted file mode 100644 index dff4f49561c..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Release.xcconfig" -#include "Warnings.xcconfig" diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Warnings.xcconfig b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Warnings.xcconfig deleted file mode 100644 index 42bcbf4780b..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Warnings.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings -GCC_WARN_UNDECLARED_SELECTOR = YES -CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES -CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE -CLANG_WARN__DUPLICATE_METHOD_MATCH = YES -CLANG_WARN_PRAGMA_PACK = YES -CLANG_WARN_STRICT_PROTOTYPES = YES -CLANG_WARN_COMMA = YES -GCC_WARN_STRICT_SELECTOR_MATCH = YES -CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES -CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES -GCC_WARN_SHADOW = YES -CLANG_WARN_UNREACHABLE_CODE = YES diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/DebugProfile.entitlements b/experimental/federated_plugin/federated_plugin/example/macos/Runner/DebugProfile.entitlements deleted file mode 100644 index dddb8a30c85..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/DebugProfile.entitlements +++ /dev/null @@ -1,12 +0,0 @@ - - - - - com.apple.security.app-sandbox - - com.apple.security.cs.allow-jit - - com.apple.security.network.server - - - diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Info.plist b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Info.plist deleted file mode 100644 index 4789daa6a44..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - $(PRODUCT_COPYRIGHT) - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/MainFlutterWindow.swift b/experimental/federated_plugin/federated_plugin/example/macos/Runner/MainFlutterWindow.swift deleted file mode 100644 index 2722837ec91..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/MainFlutterWindow.swift +++ /dev/null @@ -1,15 +0,0 @@ -import Cocoa -import FlutterMacOS - -class MainFlutterWindow: NSWindow { - override func awakeFromNib() { - let flutterViewController = FlutterViewController.init() - let windowFrame = self.frame - self.contentViewController = flutterViewController - self.setFrame(windowFrame, display: true) - - RegisterGeneratedPlugins(registry: flutterViewController) - - super.awakeFromNib() - } -} diff --git a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Release.entitlements b/experimental/federated_plugin/federated_plugin/example/macos/Runner/Release.entitlements deleted file mode 100644 index 852fa1a4728..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/macos/Runner/Release.entitlements +++ /dev/null @@ -1,8 +0,0 @@ - - - - - com.apple.security.app-sandbox - - - diff --git a/experimental/federated_plugin/federated_plugin/example/pubspec.yaml b/experimental/federated_plugin/federated_plugin/example/pubspec.yaml deleted file mode 100644 index 03bea4d14bc..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/pubspec.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: federated_plugin_example -description: Demonstrates how to use the federated_plugin plugin. - -publish_to: 'none' # Remove this line if you wish to publish to pub.dev - -environment: - sdk: ^3.7.0-0 - -dependencies: - flutter: - sdk: flutter - - federated_plugin: - path: ../ - cupertino_icons: ^1.0.2 - -dev_dependencies: - analysis_defaults: - path: ../../../../analysis_defaults - flutter_test: - sdk: flutter - -flutter: - uses-material-design: true diff --git a/experimental/federated_plugin/federated_plugin/example/test/widget_test.dart b/experimental/federated_plugin/federated_plugin/example/test/widget_test.dart deleted file mode 100644 index 597a07b8e25..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/test/widget_test.dart +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:federated_plugin_example/main.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import 'package:flutter_test/flutter_test.dart'; - -void main() { - group('federated plugin demo tests', () { - const batteryLevel = 45; - - testWidgets('get current battery level from platform', (tester) async { - tester.binding.defaultBinaryMessenger.setMockMethodCallHandler( - const MethodChannel('battery'), - (call) async { - if (call.method == 'getBatteryLevel') { - return batteryLevel; - } - return 0; - }, - ); - await tester.pumpWidget(const MyApp()); - - // Tap button to retrieve current battery level from platform. - await tester.tap(find.byType(FilledButton)); - await tester.pumpAndSettle(); - - expect(find.text('Battery Level: $batteryLevel'), findsOneWidget); - }); - }); -} diff --git a/experimental/federated_plugin/federated_plugin/example/web/favicon.png b/experimental/federated_plugin/federated_plugin/example/web/favicon.png deleted file mode 100644 index 8aaa46ac1ae..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/web/favicon.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-192.png b/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-192.png deleted file mode 100644 index b749bfef074..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-192.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-512.png b/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-512.png deleted file mode 100644 index 88cfd48dff1..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-512.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-maskable-192.png b/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-maskable-192.png deleted file mode 100644 index eb9b4d76e52..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-maskable-192.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-maskable-512.png b/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-maskable-512.png deleted file mode 100644 index d69c56691fb..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/web/icons/Icon-maskable-512.png and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/web/index.html b/experimental/federated_plugin/federated_plugin/example/web/index.html deleted file mode 100644 index b6b9dd23495..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/web/index.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - - - - - - example - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/web/manifest.json b/experimental/federated_plugin/federated_plugin/example/web/manifest.json deleted file mode 100644 index 096edf8fe4c..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/web/manifest.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "example", - "short_name": "example", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A new Flutter project.", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] -} diff --git a/experimental/federated_plugin/federated_plugin/example/windows/.gitignore b/experimental/federated_plugin/federated_plugin/example/windows/.gitignore deleted file mode 100644 index d492d0d98c8..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -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/ diff --git a/experimental/federated_plugin/federated_plugin/example/windows/CMakeLists.txt b/experimental/federated_plugin/federated_plugin/example/windows/CMakeLists.txt deleted file mode 100644 index 1633297a0c7..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/CMakeLists.txt +++ /dev/null @@ -1,95 +0,0 @@ -cmake_minimum_required(VERSION 3.14) -project(example LANGUAGES CXX) - -set(BINARY_NAME "example") - -cmake_policy(SET CMP0063 NEW) - -set(CMAKE_INSTALL_RPATH "$ORIGIN/lib") - -# Configure build options. -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() - -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. -function(APPLY_STANDARD_SETTINGS TARGET) - target_compile_features(${TARGET} PUBLIC cxx_std_17) - target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100") - target_compile_options(${TARGET} PRIVATE /EHsc) - target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0") - target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>") -endfunction() - -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") - -# Flutter library and tool build rules. -add_subdirectory(${FLUTTER_MANAGED_DIR}) - -# Application build -add_subdirectory("runner") - -# Generated plugin build rules, which manage building the plugins and adding -# them to the application. -include(flutter/generated_plugins.cmake) - - -# === Installation === -# Support files are copied into place next to the executable, so that it can -# run in place. This is done instead of making a separate bundle (as on Linux) -# so that building and running from within Visual Studio will work. -set(BUILD_BUNDLE_DIR "$") -# Make the "install" step default, as it's required to run. -set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1) -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) -endif() - -set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") -set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}") - -install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -if(PLUGIN_BUNDLED_LIBRARIES) - install(FILES "${PLUGIN_BUNDLED_LIBRARIES}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endif() - -# Fully re-copy the assets directory on each build to avoid having stale files -# from a previous install. -set(FLUTTER_ASSET_DIR_NAME "flutter_assets") -install(CODE " - file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") - " COMPONENT Runtime) -install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" - DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) - -# Install the AOT library on non-Debug builds only. -install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - CONFIGURATIONS Profile;Release - COMPONENT Runtime) diff --git a/experimental/federated_plugin/federated_plugin/example/windows/flutter/CMakeLists.txt b/experimental/federated_plugin/federated_plugin/example/windows/flutter/CMakeLists.txt deleted file mode 100644 index b2e4bd8d658..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/flutter/CMakeLists.txt +++ /dev/null @@ -1,103 +0,0 @@ -cmake_minimum_required(VERSION 3.14) - -set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") - -# Configuration provided via flutter tool. -include(${EPHEMERAL_DIR}/generated_config.cmake) - -# TODO: Move the rest of this into files in ephemeral. See -# https://github.com/flutter/flutter/issues/57146. -set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") - -# === Flutter Library === -set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") - -# Published to parent scope for install step. -set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) -set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) -set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) -set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE) - -list(APPEND FLUTTER_LIBRARY_HEADERS - "flutter_export.h" - "flutter_windows.h" - "flutter_messenger.h" - "flutter_plugin_registrar.h" - "flutter_texture_registrar.h" -) -list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/") -add_library(flutter INTERFACE) -target_include_directories(flutter INTERFACE - "${EPHEMERAL_DIR}" -) -target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib") -add_dependencies(flutter flutter_assemble) - -# === Wrapper === -list(APPEND CPP_WRAPPER_SOURCES_CORE - "core_implementations.cc" - "standard_codec.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/") -list(APPEND CPP_WRAPPER_SOURCES_PLUGIN - "plugin_registrar.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/") -list(APPEND CPP_WRAPPER_SOURCES_APP - "flutter_engine.cc" - "flutter_view_controller.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/") - -# Wrapper sources needed for a plugin. -add_library(flutter_wrapper_plugin STATIC - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_PLUGIN} -) -apply_standard_settings(flutter_wrapper_plugin) -set_target_properties(flutter_wrapper_plugin PROPERTIES - POSITION_INDEPENDENT_CODE ON) -set_target_properties(flutter_wrapper_plugin PROPERTIES - CXX_VISIBILITY_PRESET hidden) -target_link_libraries(flutter_wrapper_plugin PUBLIC flutter) -target_include_directories(flutter_wrapper_plugin PUBLIC - "${WRAPPER_ROOT}/include" -) -add_dependencies(flutter_wrapper_plugin flutter_assemble) - -# Wrapper sources needed for the runner. -add_library(flutter_wrapper_app STATIC - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_APP} -) -apply_standard_settings(flutter_wrapper_app) -target_link_libraries(flutter_wrapper_app PUBLIC flutter) -target_include_directories(flutter_wrapper_app PUBLIC - "${WRAPPER_ROOT}/include" -) -add_dependencies(flutter_wrapper_app flutter_assemble) - -# === Flutter tool backend === -# _phony_ is a non-existent file to force this command to run every time, -# since currently there's no way to get a full input/output list from the -# flutter tool. -set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_") -set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE) -add_custom_command( - OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} - ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN} - ${CPP_WRAPPER_SOURCES_APP} - ${PHONY_OUTPUT} - COMMAND ${CMAKE_COMMAND} -E env - ${FLUTTER_TOOL_ENVIRONMENT} - "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" - windows-x64 $ - VERBATIM -) -add_custom_target(flutter_assemble DEPENDS - "${FLUTTER_LIBRARY}" - ${FLUTTER_LIBRARY_HEADERS} - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_PLUGIN} - ${CPP_WRAPPER_SOURCES_APP} -) diff --git a/experimental/federated_plugin/federated_plugin/example/windows/flutter/generated_plugin_registrant.cc b/experimental/federated_plugin/federated_plugin/example/windows/flutter/generated_plugin_registrant.cc deleted file mode 100644 index 369d3bae4b3..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,14 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - -#include - -void RegisterPlugins(flutter::PluginRegistry* registry) { - FederatedPluginWindowsPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("FederatedPluginWindowsPlugin")); -} diff --git a/experimental/federated_plugin/federated_plugin/example/windows/flutter/generated_plugin_registrant.h b/experimental/federated_plugin/federated_plugin/example/windows/flutter/generated_plugin_registrant.h deleted file mode 100644 index dc139d85a93..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void RegisterPlugins(flutter::PluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/experimental/federated_plugin/federated_plugin/example/windows/flutter/generated_plugins.cmake b/experimental/federated_plugin/federated_plugin/example/windows/flutter/generated_plugins.cmake deleted file mode 100644 index d9e53e87acf..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/flutter/generated_plugins.cmake +++ /dev/null @@ -1,24 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST - federated_plugin_windows -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) - -foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) -endforeach(ffi_plugin) diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/CMakeLists.txt b/experimental/federated_plugin/federated_plugin/example/windows/runner/CMakeLists.txt deleted file mode 100644 index de2d8916b72..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/CMakeLists.txt +++ /dev/null @@ -1,17 +0,0 @@ -cmake_minimum_required(VERSION 3.14) -project(runner LANGUAGES CXX) - -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_standard_settings(${BINARY_NAME}) -target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") -target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) -target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") -add_dependencies(${BINARY_NAME} flutter_assemble) diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/Runner.rc b/experimental/federated_plugin/federated_plugin/example/windows/runner/Runner.rc deleted file mode 100644 index 52ef87bfa98..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/Runner.rc +++ /dev/null @@ -1,121 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#pragma code_page(65001) -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "winres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (United States) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""winres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_APP_ICON ICON "resources\\app_icon.ico" - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -#ifdef FLUTTER_BUILD_NUMBER -#define VERSION_AS_NUMBER FLUTTER_BUILD_NUMBER -#else -#define VERSION_AS_NUMBER 1,0,0 -#endif - -#ifdef FLUTTER_BUILD_NAME -#define VERSION_AS_STRING #FLUTTER_BUILD_NAME -#else -#define VERSION_AS_STRING "1.0.0" -#endif - -VS_VERSION_INFO VERSIONINFO - FILEVERSION VERSION_AS_NUMBER - PRODUCTVERSION VERSION_AS_NUMBER - FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0x0L -#endif - FILEOS VOS__WINDOWS32 - FILETYPE VFT_APP - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "dev.flutter" "\0" - VALUE "FileDescription", "A new Flutter project." "\0" - VALUE "FileVersion", VERSION_AS_STRING "\0" - VALUE "InternalName", "example" "\0" - VALUE "LegalCopyright", "Copyright (C) 2022 dev.flutter. All rights reserved." "\0" - VALUE "OriginalFilename", "example.exe" "\0" - VALUE "ProductName", "example" "\0" - VALUE "ProductVersion", VERSION_AS_STRING "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - -#endif // English (United States) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/flutter_window.cpp b/experimental/federated_plugin/federated_plugin/example/windows/runner/flutter_window.cpp deleted file mode 100644 index b43b9095ea3..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/flutter_window.cpp +++ /dev/null @@ -1,61 +0,0 @@ -#include "flutter_window.h" - -#include - -#include "flutter/generated_plugin_registrant.h" - -FlutterWindow::FlutterWindow(const flutter::DartProject& project) - : project_(project) {} - -FlutterWindow::~FlutterWindow() {} - -bool FlutterWindow::OnCreate() { - if (!Win32Window::OnCreate()) { - return false; - } - - RECT frame = GetClientArea(); - - // The size here must match the window dimensions to avoid unnecessary surface - // creation / destruction in the startup path. - flutter_controller_ = std::make_unique( - frame.right - frame.left, frame.bottom - frame.top, project_); - // Ensure that basic setup of the controller was successful. - if (!flutter_controller_->engine() || !flutter_controller_->view()) { - return false; - } - RegisterPlugins(flutter_controller_->engine()); - SetChildContent(flutter_controller_->view()->GetNativeWindow()); - return true; -} - -void FlutterWindow::OnDestroy() { - if (flutter_controller_) { - flutter_controller_ = nullptr; - } - - Win32Window::OnDestroy(); -} - -LRESULT -FlutterWindow::MessageHandler(HWND hwnd, UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - // Give Flutter, including plugins, an opportunity to handle window messages. - if (flutter_controller_) { - std::optional result = - flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam, - lparam); - if (result) { - return *result; - } - } - - switch (message) { - case WM_FONTCHANGE: - flutter_controller_->engine()->ReloadSystemFonts(); - break; - } - - return Win32Window::MessageHandler(hwnd, message, wparam, lparam); -} diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/flutter_window.h b/experimental/federated_plugin/federated_plugin/example/windows/runner/flutter_window.h deleted file mode 100644 index 6da0652f05f..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/flutter_window.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef RUNNER_FLUTTER_WINDOW_H_ -#define RUNNER_FLUTTER_WINDOW_H_ - -#include -#include - -#include - -#include "win32_window.h" - -// A window that does nothing but host a Flutter view. -class FlutterWindow : public Win32Window { - public: - // Creates a new FlutterWindow hosting a Flutter view running |project|. - explicit FlutterWindow(const flutter::DartProject& project); - virtual ~FlutterWindow(); - - protected: - // Win32Window: - bool OnCreate() override; - void OnDestroy() override; - LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, - LPARAM const lparam) noexcept override; - - private: - // The project to run. - flutter::DartProject project_; - - // The Flutter instance hosted by this window. - std::unique_ptr flutter_controller_; -}; - -#endif // RUNNER_FLUTTER_WINDOW_H_ diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/main.cpp b/experimental/federated_plugin/federated_plugin/example/windows/runner/main.cpp deleted file mode 100644 index bcb57b0e2aa..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/main.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include - -#include "flutter_window.h" -#include "utils.h" - -int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, - _In_ wchar_t *command_line, _In_ int show_command) { - // Attach to console when present (e.g., 'flutter run') or create a - // new console when running with a debugger. - if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { - CreateAndAttachConsole(); - } - - // Initialize COM, so that it is available for use in the library and/or - // plugins. - ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); - - flutter::DartProject project(L"data"); - - std::vector command_line_arguments = - GetCommandLineArguments(); - - project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); - - FlutterWindow window(project); - Win32Window::Point origin(10, 10); - Win32Window::Size size(1280, 720); - if (!window.CreateAndShow(L"example", origin, size)) { - return EXIT_FAILURE; - } - window.SetQuitOnClose(true); - - ::MSG msg; - while (::GetMessage(&msg, nullptr, 0, 0)) { - ::TranslateMessage(&msg); - ::DispatchMessage(&msg); - } - - ::CoUninitialize(); - return EXIT_SUCCESS; -} diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/resource.h b/experimental/federated_plugin/federated_plugin/example/windows/runner/resource.h deleted file mode 100644 index 66a65d1e4a7..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/resource.h +++ /dev/null @@ -1,16 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Runner.rc -// -#define IDI_APP_ICON 101 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/resources/app_icon.ico b/experimental/federated_plugin/federated_plugin/example/windows/runner/resources/app_icon.ico deleted file mode 100644 index c04e20caf63..00000000000 Binary files a/experimental/federated_plugin/federated_plugin/example/windows/runner/resources/app_icon.ico and /dev/null differ diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/runner.exe.manifest b/experimental/federated_plugin/federated_plugin/example/windows/runner/runner.exe.manifest deleted file mode 100644 index c977c4a4258..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/runner.exe.manifest +++ /dev/null @@ -1,20 +0,0 @@ - - - - - PerMonitorV2 - - - - - - - - - - - - - - - diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/utils.cpp b/experimental/federated_plugin/federated_plugin/example/windows/runner/utils.cpp deleted file mode 100644 index d19bdbbcc32..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/utils.cpp +++ /dev/null @@ -1,64 +0,0 @@ -#include "utils.h" - -#include -#include -#include -#include - -#include - -void CreateAndAttachConsole() { - if (::AllocConsole()) { - FILE *unused; - if (freopen_s(&unused, "CONOUT$", "w", stdout)) { - _dup2(_fileno(stdout), 1); - } - if (freopen_s(&unused, "CONOUT$", "w", stderr)) { - _dup2(_fileno(stdout), 2); - } - std::ios::sync_with_stdio(); - FlutterDesktopResyncOutputStreams(); - } -} - -std::vector GetCommandLineArguments() { - // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use. - int argc; - wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc); - if (argv == nullptr) { - return std::vector(); - } - - std::vector command_line_arguments; - - // Skip the first argument as it's the binary name. - for (int i = 1; i < argc; i++) { - command_line_arguments.push_back(Utf8FromUtf16(argv[i])); - } - - ::LocalFree(argv); - - return command_line_arguments; -} - -std::string Utf8FromUtf16(const wchar_t* utf16_string) { - if (utf16_string == nullptr) { - return std::string(); - } - int target_length = ::WideCharToMultiByte( - CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - -1, nullptr, 0, nullptr, nullptr); - if (target_length == 0) { - return std::string(); - } - std::string utf8_string; - utf8_string.resize(target_length); - int converted_length = ::WideCharToMultiByte( - CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - -1, utf8_string.data(), - target_length, nullptr, nullptr); - if (converted_length == 0) { - return std::string(); - } - return utf8_string; -} diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/utils.h b/experimental/federated_plugin/federated_plugin/example/windows/runner/utils.h deleted file mode 100644 index 3879d547557..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/utils.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef RUNNER_UTILS_H_ -#define RUNNER_UTILS_H_ - -#include -#include - -// Creates a console for the process, and redirects stdout and stderr to -// it for both the runner and the Flutter library. -void CreateAndAttachConsole(); - -// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string -// encoded in UTF-8. Returns an empty std::string on failure. -std::string Utf8FromUtf16(const wchar_t* utf16_string); - -// Gets the command line arguments passed in as a std::vector, -// encoded in UTF-8. Returns an empty std::vector on failure. -std::vector GetCommandLineArguments(); - -#endif // RUNNER_UTILS_H_ diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/win32_window.cpp b/experimental/federated_plugin/federated_plugin/example/windows/runner/win32_window.cpp deleted file mode 100644 index c10f08dc7da..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/win32_window.cpp +++ /dev/null @@ -1,245 +0,0 @@ -#include "win32_window.h" - -#include - -#include "resource.h" - -namespace { - -constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW"; - -// The number of Win32Window objects that currently exist. -static int g_active_window_count = 0; - -using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd); - -// Scale helper to convert logical scaler values to physical using passed in -// scale factor -int Scale(int source, double scale_factor) { - return static_cast(source * scale_factor); -} - -// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module. -// This API is only needed for PerMonitor V1 awareness mode. -void EnableFullDpiSupportIfAvailable(HWND hwnd) { - HMODULE user32_module = LoadLibraryA("User32.dll"); - if (!user32_module) { - return; - } - auto enable_non_client_dpi_scaling = - reinterpret_cast( - GetProcAddress(user32_module, "EnableNonClientDpiScaling")); - if (enable_non_client_dpi_scaling != nullptr) { - enable_non_client_dpi_scaling(hwnd); - FreeLibrary(user32_module); - } -} - -} // namespace - -// Manages the Win32Window's window class registration. -class WindowClassRegistrar { - public: - ~WindowClassRegistrar() = default; - - // Returns the singleton registar instance. - static WindowClassRegistrar* GetInstance() { - if (!instance_) { - instance_ = new WindowClassRegistrar(); - } - return instance_; - } - - // Returns the name of the window class, registering the class if it hasn't - // previously been registered. - const wchar_t* GetWindowClass(); - - // Unregisters the window class. Should only be called if there are no - // instances of the window. - void UnregisterWindowClass(); - - private: - WindowClassRegistrar() = default; - - static WindowClassRegistrar* instance_; - - bool class_registered_ = false; -}; - -WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr; - -const wchar_t* WindowClassRegistrar::GetWindowClass() { - if (!class_registered_) { - WNDCLASS window_class{}; - window_class.hCursor = LoadCursor(nullptr, IDC_ARROW); - window_class.lpszClassName = kWindowClassName; - window_class.style = CS_HREDRAW | CS_VREDRAW; - window_class.cbClsExtra = 0; - window_class.cbWndExtra = 0; - window_class.hInstance = GetModuleHandle(nullptr); - window_class.hIcon = - LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON)); - window_class.hbrBackground = 0; - window_class.lpszMenuName = nullptr; - window_class.lpfnWndProc = Win32Window::WndProc; - RegisterClass(&window_class); - class_registered_ = true; - } - return kWindowClassName; -} - -void WindowClassRegistrar::UnregisterWindowClass() { - UnregisterClass(kWindowClassName, nullptr); - class_registered_ = false; -} - -Win32Window::Win32Window() { - ++g_active_window_count; -} - -Win32Window::~Win32Window() { - --g_active_window_count; - Destroy(); -} - -bool Win32Window::CreateAndShow(const std::wstring& title, - const Point& origin, - const Size& size) { - Destroy(); - - const wchar_t* window_class = - WindowClassRegistrar::GetInstance()->GetWindowClass(); - - const POINT target_point = {static_cast(origin.x), - static_cast(origin.y)}; - HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST); - UINT dpi = FlutterDesktopGetDpiForMonitor(monitor); - double scale_factor = dpi / 96.0; - - HWND window = CreateWindow( - window_class, title.c_str(), WS_OVERLAPPEDWINDOW | WS_VISIBLE, - Scale(origin.x, scale_factor), Scale(origin.y, scale_factor), - Scale(size.width, scale_factor), Scale(size.height, scale_factor), - nullptr, nullptr, GetModuleHandle(nullptr), this); - - if (!window) { - return false; - } - - return OnCreate(); -} - -// static -LRESULT CALLBACK Win32Window::WndProc(HWND const window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - if (message == WM_NCCREATE) { - auto window_struct = reinterpret_cast(lparam); - SetWindowLongPtr(window, GWLP_USERDATA, - reinterpret_cast(window_struct->lpCreateParams)); - - auto that = static_cast(window_struct->lpCreateParams); - EnableFullDpiSupportIfAvailable(window); - that->window_handle_ = window; - } else if (Win32Window* that = GetThisFromHandle(window)) { - return that->MessageHandler(window, message, wparam, lparam); - } - - return DefWindowProc(window, message, wparam, lparam); -} - -LRESULT -Win32Window::MessageHandler(HWND hwnd, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - switch (message) { - case WM_DESTROY: - window_handle_ = nullptr; - Destroy(); - if (quit_on_close_) { - PostQuitMessage(0); - } - return 0; - - case WM_DPICHANGED: { - auto newRectSize = reinterpret_cast(lparam); - LONG newWidth = newRectSize->right - newRectSize->left; - LONG newHeight = newRectSize->bottom - newRectSize->top; - - SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth, - newHeight, SWP_NOZORDER | SWP_NOACTIVATE); - - return 0; - } - case WM_SIZE: { - RECT rect = GetClientArea(); - if (child_content_ != nullptr) { - // Size and position the child window. - MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left, - rect.bottom - rect.top, TRUE); - } - return 0; - } - - case WM_ACTIVATE: - if (child_content_ != nullptr) { - SetFocus(child_content_); - } - return 0; - } - - return DefWindowProc(window_handle_, message, wparam, lparam); -} - -void Win32Window::Destroy() { - OnDestroy(); - - if (window_handle_) { - DestroyWindow(window_handle_); - window_handle_ = nullptr; - } - if (g_active_window_count == 0) { - WindowClassRegistrar::GetInstance()->UnregisterWindowClass(); - } -} - -Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept { - return reinterpret_cast( - GetWindowLongPtr(window, GWLP_USERDATA)); -} - -void Win32Window::SetChildContent(HWND content) { - child_content_ = content; - SetParent(content, window_handle_); - RECT frame = GetClientArea(); - - MoveWindow(content, frame.left, frame.top, frame.right - frame.left, - frame.bottom - frame.top, true); - - SetFocus(child_content_); -} - -RECT Win32Window::GetClientArea() { - RECT frame; - GetClientRect(window_handle_, &frame); - return frame; -} - -HWND Win32Window::GetHandle() { - return window_handle_; -} - -void Win32Window::SetQuitOnClose(bool quit_on_close) { - quit_on_close_ = quit_on_close; -} - -bool Win32Window::OnCreate() { - // No-op; provided for subclasses. - return true; -} - -void Win32Window::OnDestroy() { - // No-op; provided for subclasses. -} diff --git a/experimental/federated_plugin/federated_plugin/example/windows/runner/win32_window.h b/experimental/federated_plugin/federated_plugin/example/windows/runner/win32_window.h deleted file mode 100644 index 17ba431125b..00000000000 --- a/experimental/federated_plugin/federated_plugin/example/windows/runner/win32_window.h +++ /dev/null @@ -1,98 +0,0 @@ -#ifndef RUNNER_WIN32_WINDOW_H_ -#define RUNNER_WIN32_WINDOW_H_ - -#include - -#include -#include -#include - -// A class abstraction for a high DPI-aware Win32 Window. Intended to be -// inherited from by classes that wish to specialize with custom -// rendering and input handling -class Win32Window { - public: - struct Point { - unsigned int x; - unsigned int y; - Point(unsigned int x, unsigned int y) : x(x), y(y) {} - }; - - struct Size { - unsigned int width; - unsigned int height; - Size(unsigned int width, unsigned int height) - : width(width), height(height) {} - }; - - Win32Window(); - virtual ~Win32Window(); - - // Creates and shows a win32 window with |title| and position and size using - // |origin| and |size|. New windows are created on the default monitor. Window - // sizes are specified to the OS in physical pixels, hence to ensure a - // consistent size to will treat the width height passed in to this function - // as logical pixels and scale to appropriate for the default monitor. Returns - // true if the window was created successfully. - bool CreateAndShow(const std::wstring& title, - const Point& origin, - const Size& size); - - // Release OS resources associated with window. - void Destroy(); - - // Inserts |content| into the window tree. - void SetChildContent(HWND content); - - // Returns the backing Window handle to enable clients to set icon and other - // window properties. Returns nullptr if the window has been destroyed. - HWND GetHandle(); - - // If true, closing this window will quit the application. - void SetQuitOnClose(bool quit_on_close); - - // Return a RECT representing the bounds of the current client area. - RECT GetClientArea(); - - protected: - // Processes and route salient window messages for mouse handling, - // size change and DPI. Delegates handling of these to member overloads that - // inheriting classes can handle. - virtual LRESULT MessageHandler(HWND window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept; - - // Called when CreateAndShow is called, allowing subclass window-related - // setup. Subclasses should return false if setup fails. - virtual bool OnCreate(); - - // Called when Destroy is called. - virtual void OnDestroy(); - - private: - friend class WindowClassRegistrar; - - // OS callback called by message pump. Handles the WM_NCCREATE message which - // is passed when the non-client area is being created and enables automatic - // non-client DPI scaling so that the non-client area automatically - // responsponds to changes in DPI. All other messages are handled by - // MessageHandler. - static LRESULT CALLBACK WndProc(HWND const window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept; - - // Retrieves a class instance pointer for |window| - static Win32Window* GetThisFromHandle(HWND const window) noexcept; - - bool quit_on_close_ = false; - - // window handle for top level window. - HWND window_handle_ = nullptr; - - // window handle for hosted content. - HWND child_content_ = nullptr; -}; - -#endif // RUNNER_WIN32_WINDOW_H_ diff --git a/experimental/federated_plugin/federated_plugin/ios/Assets/.gitkeep b/experimental/federated_plugin/federated_plugin/ios/Assets/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/experimental/federated_plugin/federated_plugin/ios/Classes/FederatedPlugin.h b/experimental/federated_plugin/federated_plugin/ios/Classes/FederatedPlugin.h deleted file mode 100644 index ebcdf4e7e09..00000000000 --- a/experimental/federated_plugin/federated_plugin/ios/Classes/FederatedPlugin.h +++ /dev/null @@ -1,4 +0,0 @@ -#import - -@interface FederatedPlugin : NSObject -@end diff --git a/experimental/federated_plugin/federated_plugin/ios/Classes/FederatedPlugin.m b/experimental/federated_plugin/federated_plugin/ios/Classes/FederatedPlugin.m deleted file mode 100644 index bedb63cb066..00000000000 --- a/experimental/federated_plugin/federated_plugin/ios/Classes/FederatedPlugin.m +++ /dev/null @@ -1,15 +0,0 @@ -#import "FederatedPlugin.h" -#if __has_include() -#import -#else -// Support project import fallback if the generated compatibility header -// is not copied when this plugin is created as a library. -// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816 -#import "federated_plugin-Swift.h" -#endif - -@implementation FederatedPlugin -+ (void)registerWithRegistrar:(NSObject*)registrar { - [SwiftFederatedPlugin registerWithRegistrar:registrar]; -} -@end diff --git a/experimental/federated_plugin/federated_plugin/ios/Classes/SwiftFederatedPlugin.swift b/experimental/federated_plugin/federated_plugin/ios/Classes/SwiftFederatedPlugin.swift deleted file mode 100644 index 689bb2fdb4a..00000000000 --- a/experimental/federated_plugin/federated_plugin/ios/Classes/SwiftFederatedPlugin.swift +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import Flutter -import UIKit - -public class SwiftFederatedPlugin: NSObject, FlutterPlugin { - public static func register(with registrar: FlutterPluginRegistrar) { - let channel = FlutterMethodChannel(name: "battery", binaryMessenger: registrar.messenger()) - let instance = SwiftFederatedPlugin() - registrar.addMethodCallDelegate(instance, channel: channel) - } - - public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) { - guard call.method == "getBatteryLevel" else { - result(FlutterMethodNotImplemented) - return - } - - let device = UIDevice.current - device.isBatteryMonitoringEnabled = true - - if device.batteryState == UIDevice.BatteryState.unknown { - result(FlutterError(code: "STATUS_UNAVAILABLE", message: "Not able to determine battery level", details: nil)) - } - - result(Int(device.batteryLevel * 100)) - } -} diff --git a/experimental/federated_plugin/federated_plugin/ios/federated_plugin.podspec b/experimental/federated_plugin/federated_plugin/ios/federated_plugin.podspec deleted file mode 100644 index 2a2fede8905..00000000000 --- a/experimental/federated_plugin/federated_plugin/ios/federated_plugin.podspec +++ /dev/null @@ -1,23 +0,0 @@ -# -# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. -# Run `pod lib lint federated_plugin.podspec` to validate before publishing. -# -Pod::Spec.new do |s| - s.name = 'federated_plugin' - s.version = '0.0.1' - s.summary = 'A new flutter plugin project.' - s.description = <<-DESC -A new flutter plugin project. - DESC - s.homepage = 'http://example.com' - s.license = { :file => '../LICENSE' } - s.author = { 'Your Company' => 'email@example.com' } - s.source = { :path => '.' } - s.source_files = 'Classes/**/*' - s.dependency 'Flutter' - s.platform = :ios, '9.0' - - # Flutter.framework does not contain a i386 slice. - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } - s.swift_version = '5.0' -end diff --git a/experimental/federated_plugin/federated_plugin/lib/federated_plugin.dart b/experimental/federated_plugin/federated_plugin/lib/federated_plugin.dart deleted file mode 100644 index 6b83ab72483..00000000000 --- a/experimental/federated_plugin/federated_plugin/lib/federated_plugin.dart +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:async'; - -import 'package:federated_plugin_platform_interface/federated_plugin_platform_interface.dart'; - -/// Returns the current battery level of device. -/// -/// It uses [FederatedPluginInterface] interface to provide current battery level. -Future getBatteryLevel() async { - return await FederatedPluginInterface.instance.getBatteryLevel(); -} diff --git a/experimental/federated_plugin/federated_plugin/pubspec.yaml b/experimental/federated_plugin/federated_plugin/pubspec.yaml deleted file mode 100644 index b2685424c96..00000000000 --- a/experimental/federated_plugin/federated_plugin/pubspec.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: federated_plugin -description: A new flutter plugin project to demonstrate how to implement federated plugin. -version: 0.0.1 - -publish_to: "none" - -environment: - sdk: ^3.7.0-0 - -dependencies: - flutter: - sdk: flutter - federated_plugin_platform_interface: - path: ../federated_plugin_platform_interface - federated_plugin_web: - path: ../federated_plugin_web - federated_plugin_windows: - path: ../federated_plugin_windows - federated_plugin_macos: - path: ../federated_plugin_macos - -dev_dependencies: - analysis_defaults: - path: ../../../analysis_defaults - flutter_test: - sdk: flutter - -flutter: - plugin: - platforms: - android: - package: dev.flutter.federated_plugin - pluginClass: FederatedPlugin - ios: - pluginClass: SwiftFederatedPlugin - web: - default_package: federated_plugin_web - windows: - default_package: federated_plugin_windows - macos: - default_package: federated_plugin_macos diff --git a/experimental/federated_plugin/federated_plugin/test/federated_plugin_test.dart b/experimental/federated_plugin/federated_plugin/test/federated_plugin_test.dart deleted file mode 100644 index 833fda455af..00000000000 --- a/experimental/federated_plugin/federated_plugin/test/federated_plugin_test.dart +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:federated_plugin/federated_plugin.dart'; -import 'package:flutter/services.dart'; -import 'package:flutter_test/flutter_test.dart'; - -void main() { - TestWidgetsFlutterBinding.ensureInitialized(); - - group('Federated Plugin Test', () { - const batteryLevel = 34; - - testWidgets('getBatteryLevel method test', (tester) async { - tester.binding.defaultBinaryMessenger.setMockMethodCallHandler( - const MethodChannel('battery'), - (call) async { - if (call.method == 'getBatteryLevel') { - return batteryLevel; - } - return 0; - }, - ); - final result = await getBatteryLevel(); - expect(result, batteryLevel); - }); - }); -} diff --git a/experimental/federated_plugin/federated_plugin_macos/.gitignore b/experimental/federated_plugin/federated_plugin_macos/.gitignore deleted file mode 100644 index 9be145fde98..00000000000 --- a/experimental/federated_plugin/federated_plugin_macos/.gitignore +++ /dev/null @@ -1,29 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# 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 -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -.dart_tool/ -.packages -build/ diff --git a/experimental/federated_plugin/federated_plugin_macos/analysis_options.yaml b/experimental/federated_plugin/federated_plugin_macos/analysis_options.yaml deleted file mode 100644 index 13d6fe105a3..00000000000 --- a/experimental/federated_plugin/federated_plugin_macos/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: package:analysis_defaults/flutter.yaml diff --git a/experimental/federated_plugin/federated_plugin_macos/example/README.md b/experimental/federated_plugin/federated_plugin_macos/example/README.md deleted file mode 100644 index 922ad9c3160..00000000000 --- a/experimental/federated_plugin/federated_plugin_macos/example/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# federated_plugin_macos_example - -To view the usage of plugin, head over to [federated_plugin/example](../../federated_plugin/example). diff --git a/experimental/federated_plugin/federated_plugin_macos/lib/federated_plugin_macos.dart b/experimental/federated_plugin/federated_plugin_macos/lib/federated_plugin_macos.dart deleted file mode 100644 index 76d0f54c665..00000000000 --- a/experimental/federated_plugin/federated_plugin_macos/lib/federated_plugin_macos.dart +++ /dev/null @@ -1,2 +0,0 @@ -// The federated_plugin_macos uses the default BatteryMethodChannel used by -// federated_plugin_platform_interface to do platform calls. diff --git a/experimental/federated_plugin/federated_plugin_macos/macos/Classes/FederatedPluginMacosPlugin.swift b/experimental/federated_plugin/federated_plugin_macos/macos/Classes/FederatedPluginMacosPlugin.swift deleted file mode 100644 index 8375b0e0af9..00000000000 --- a/experimental/federated_plugin/federated_plugin_macos/macos/Classes/FederatedPluginMacosPlugin.swift +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import Cocoa -import FlutterMacOS -import IOKit.ps - -public class FederatedPluginMacosPlugin: NSObject, FlutterPlugin { - public static func register(with registrar: FlutterPluginRegistrar) { - let channel = FlutterMethodChannel(name: "battery", binaryMessenger: registrar.messenger) - let instance = FederatedPluginMacosPlugin() - registrar.addMethodCallDelegate(instance, channel: channel) - } - - public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) { - switch call.method { - case "getBatteryLevel": - getBatteryLevel(result) - default: - result(FlutterMethodNotImplemented) - } - } - - private func getBatteryLevel(_ result: FlutterResult) { - let snapshot = IOPSCopyPowerSourcesInfo().takeRetainedValue() - let sources = IOPSCopyPowerSourcesList(snapshot).takeRetainedValue() as Array - let sourceInfo : NSDictionary = IOPSGetPowerSourceDescription(snapshot, sources[0]).takeUnretainedValue() - - guard let capacity = sourceInfo[kIOPSCurrentCapacityKey] as? Int else { - result(FlutterError(code: "STATUS_UNAVAILABLE", message: "Not able to determine battery level", details: nil)) - return - } - - result(capacity) - } -} diff --git a/experimental/federated_plugin/federated_plugin_macos/macos/federated_plugin_macos.podspec b/experimental/federated_plugin/federated_plugin_macos/macos/federated_plugin_macos.podspec deleted file mode 100644 index b918b59e792..00000000000 --- a/experimental/federated_plugin/federated_plugin_macos/macos/federated_plugin_macos.podspec +++ /dev/null @@ -1,22 +0,0 @@ -# -# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. -# Run `pod lib lint federated_plugin_macos.podspec` to validate before publishing. -# -Pod::Spec.new do |s| - s.name = 'federated_plugin_macos' - s.version = '0.0.1' - s.summary = 'A new flutter plugin project.' - s.description = <<-DESC -A new flutter plugin project. - DESC - s.homepage = 'http://example.com' - s.license = { :file => '../LICENSE' } - s.author = { 'Your Company' => 'email@example.com' } - s.source = { :path => '.' } - s.source_files = 'Classes/**/*' - s.dependency 'FlutterMacOS' - - s.platform = :osx, '10.11' - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } - s.swift_version = '5.0' -end diff --git a/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml b/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml deleted file mode 100644 index 8eaef2b727b..00000000000 --- a/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: federated_plugin_macos -description: macOS implementation of federated_plugin to retrieve current battery level. -version: 0.0.1 -homepage: - -environment: - sdk: ^3.7.0-0 - -dependencies: - flutter: - sdk: flutter - -dev_dependencies: - analysis_defaults: - path: ../../../analysis_defaults - flutter_test: - sdk: flutter - -flutter: - plugin: - platforms: - macos: - pluginClass: FederatedPluginMacosPlugin diff --git a/experimental/federated_plugin/federated_plugin_platform_interface/.gitignore b/experimental/federated_plugin/federated_plugin_platform_interface/.gitignore deleted file mode 100644 index 9be145fde98..00000000000 --- a/experimental/federated_plugin/federated_plugin_platform_interface/.gitignore +++ /dev/null @@ -1,29 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# 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 -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -.dart_tool/ -.packages -build/ diff --git a/experimental/federated_plugin/federated_plugin_platform_interface/.metadata b/experimental/federated_plugin/federated_plugin_platform_interface/.metadata deleted file mode 100644 index af84dae5eb2..00000000000 --- a/experimental/federated_plugin/federated_plugin_platform_interface/.metadata +++ /dev/null @@ -1,10 +0,0 @@ -# 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: 77d935af4db863f6abd0b9c31c7e6df2a13de57b - channel: stable - -project_type: package diff --git a/experimental/federated_plugin/federated_plugin_platform_interface/analysis_options.yaml b/experimental/federated_plugin/federated_plugin_platform_interface/analysis_options.yaml deleted file mode 100644 index 13d6fe105a3..00000000000 --- a/experimental/federated_plugin/federated_plugin_platform_interface/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: package:analysis_defaults/flutter.yaml diff --git a/experimental/federated_plugin/federated_plugin_platform_interface/lib/battery_method_channel.dart b/experimental/federated_plugin/federated_plugin_platform_interface/lib/battery_method_channel.dart deleted file mode 100644 index 11f31ad7d90..00000000000 --- a/experimental/federated_plugin/federated_plugin_platform_interface/lib/battery_method_channel.dart +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:federated_plugin_platform_interface/federated_plugin_platform_interface.dart'; -import 'package:flutter/services.dart'; - -/// Implements [FederatedPluginInterface] using [MethodChannel] to fetch -/// battery level from platform. -class BatteryMethodChannel extends FederatedPluginInterface { - static const MethodChannel _methodChannel = MethodChannel('battery'); - - @override - Future getBatteryLevel() async { - return await _methodChannel.invokeMethod('getBatteryLevel') as int; - } -} diff --git a/experimental/federated_plugin/federated_plugin_platform_interface/lib/federated_plugin_platform_interface.dart b/experimental/federated_plugin/federated_plugin_platform_interface/lib/federated_plugin_platform_interface.dart deleted file mode 100644 index 595c82f9c66..00000000000 --- a/experimental/federated_plugin/federated_plugin_platform_interface/lib/federated_plugin_platform_interface.dart +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:federated_plugin_platform_interface/battery_method_channel.dart'; -import 'package:plugin_platform_interface/plugin_platform_interface.dart'; - -/// Interface which allows all the platform plugins to implement the same -/// functionality. -abstract class FederatedPluginInterface extends PlatformInterface { - FederatedPluginInterface() : super(token: _object); - - static FederatedPluginInterface _federatedPluginInterface = - BatteryMethodChannel(); - - static final Object _object = Object(); - - /// Provides instance of [BatteryMethodChannel] to invoke platform calls. - static FederatedPluginInterface get instance => _federatedPluginInterface; - - static set instance(FederatedPluginInterface instance) { - PlatformInterface.verifyToken(instance, _object); - _federatedPluginInterface = instance; - } - - /// Returns the current battery level of device. - Future getBatteryLevel() async { - throw UnimplementedError('getBatteryLevel() has not been implemented.'); - } -} diff --git a/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml b/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml deleted file mode 100644 index 11bbb86582c..00000000000 --- a/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: federated_plugin_platform_interface -description: A platform interface for federated_plugin. -version: 0.0.1 -homepage: - -environment: - sdk: ^3.7.0-0 - -dependencies: - flutter: - sdk: flutter - plugin_platform_interface: ^2.0.2 - -dev_dependencies: - analysis_defaults: - path: ../../../analysis_defaults - flutter_test: - sdk: flutter diff --git a/experimental/federated_plugin/federated_plugin_platform_interface/test/federated_plugin_platform_interface_test.dart b/experimental/federated_plugin/federated_plugin_platform_interface/test/federated_plugin_platform_interface_test.dart deleted file mode 100644 index 3c302abc778..00000000000 --- a/experimental/federated_plugin/federated_plugin_platform_interface/test/federated_plugin_platform_interface_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:federated_plugin_platform_interface/battery_method_channel.dart'; -import 'package:flutter/services.dart'; -import 'package:flutter_test/flutter_test.dart'; - -void main() { - TestWidgetsFlutterBinding.ensureInitialized(); - - group('MethodChannel test', () { - const batteryLevel = 89; - - testWidgets('getBatteryLevel method test', (tester) async { - tester.binding.defaultBinaryMessenger.setMockMethodCallHandler( - const MethodChannel('battery'), - (call) async { - if (call.method == 'getBatteryLevel') { - return batteryLevel; - } - return 0; - }, - ); - final locationMethodChannel = BatteryMethodChannel(); - final result = await locationMethodChannel.getBatteryLevel(); - expect(result, batteryLevel); - }); - }); -} diff --git a/experimental/federated_plugin/federated_plugin_web/.gitignore b/experimental/federated_plugin/federated_plugin_web/.gitignore deleted file mode 100644 index 89aaf2a97f1..00000000000 --- a/experimental/federated_plugin/federated_plugin_web/.gitignore +++ /dev/null @@ -1,78 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# 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/ -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -build/ - -# Android related -**/android/**/gradle-wrapper.jar -**/android/.gradle -**/android/captures/ -**/android/gradlew -**/android/gradlew.bat -**/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/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.* - -# Web related -lib/generated_plugin_registrant.dart - -# 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 diff --git a/experimental/federated_plugin/federated_plugin_web/.metadata b/experimental/federated_plugin/federated_plugin_web/.metadata deleted file mode 100644 index 8d52aa40e8f..00000000000 --- a/experimental/federated_plugin/federated_plugin_web/.metadata +++ /dev/null @@ -1,10 +0,0 @@ -# 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: 8c5c720ce60b1761ec2963053e0d415df60a29e1 - channel: master - -project_type: package diff --git a/experimental/federated_plugin/federated_plugin_web/README.md b/experimental/federated_plugin/federated_plugin_web/README.md deleted file mode 100644 index 8ad8ce4df7d..00000000000 --- a/experimental/federated_plugin/federated_plugin_web/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# federated_plugin_web - -A flutter plugin to provide location support for web. The web implementation -of `federated_plugin` is tested using [integration_test](https://pub.dev/packages/integration_test) package. - -### Steps to run integration test on browser - -- Download and install the ChromeDriver from [here](https://chromedriver.chromium.org/downloads) -for the version of Chrome you are using. -- Start the driver using `chromedrive --port=4444` -- Run the test using `flutter drive -d web-server --browser-name=chrome --release --target=test_driver/federated_plugin_web_integration.dart` diff --git a/experimental/federated_plugin/federated_plugin_web/analysis_options.yaml b/experimental/federated_plugin/federated_plugin_web/analysis_options.yaml deleted file mode 100644 index 13d6fe105a3..00000000000 --- a/experimental/federated_plugin/federated_plugin_web/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: package:analysis_defaults/flutter.yaml diff --git a/experimental/federated_plugin/federated_plugin_web/lib/federated_plugin_web.dart b/experimental/federated_plugin/federated_plugin_web/lib/federated_plugin_web.dart deleted file mode 100644 index da628a41c91..00000000000 --- a/experimental/federated_plugin/federated_plugin_web/lib/federated_plugin_web.dart +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:federated_plugin_platform_interface/federated_plugin_platform_interface.dart'; -import 'package:flutter/services.dart'; -import 'package:flutter_web_plugins/flutter_web_plugins.dart'; -import 'package:web/web.dart' as html; - -/// Web Implementation of [FederatedPluginInterface] to retrieve current battery -/// level of device. -class FederatedPlugin extends FederatedPluginInterface { - final html.Navigator _navigator; - - /// Constructor to override the navigator object for testing purpose. - FederatedPlugin({html.Navigator? navigator}) - : _navigator = navigator ?? html.window.navigator; - - /// Method to register the plugin which sets [FederatedPlugin] to be the default - /// instance of [FederatedPluginInterface]. - static void registerWith(Registrar registrar) { - FederatedPluginInterface.instance = FederatedPlugin(); - } - - /// Returns the current battery level of device. - /// - /// If any error, it's assume that the BatteryManager API is not supported by - /// browser. - @override - Future getBatteryLevel() async { - try { - final battery = _navigator.getBattery() as html.BatteryManager; - // The battery level retrieved is in range of 0.0 to 1.0. - return battery.level * 100 as int; - } catch (error) { - throw PlatformException( - code: 'STATUS_UNAVAILABLE', - message: 'The plugin is not supported by the browser.', - details: null, - ); - } - } -} diff --git a/experimental/federated_plugin/federated_plugin_web/pubspec.yaml b/experimental/federated_plugin/federated_plugin_web/pubspec.yaml deleted file mode 100644 index 42f574abc8c..00000000000 --- a/experimental/federated_plugin/federated_plugin_web/pubspec.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: federated_plugin_web -description: Web implementation of federated_plugin to retrieve current battery level. -version: 0.0.1 -publish_to: none - -environment: - sdk: ^3.7.0-0 - -dependencies: - flutter: - sdk: flutter - flutter_web_plugins: - sdk: flutter - federated_plugin_platform_interface: - path: ../federated_plugin_platform_interface - web: ^1.1.0 - -dev_dependencies: - analysis_defaults: - path: ../../../analysis_defaults - flutter_test: - sdk: flutter - integration_test: - sdk: flutter - mockito: ^5.0.2 - -flutter: - plugin: - platforms: - web: - pluginClass: FederatedPlugin - fileName: federated_plugin_web.dart diff --git a/experimental/federated_plugin/federated_plugin_web/test_driver/federated_plugin_web_integration_test.dart b/experimental/federated_plugin/federated_plugin_web/test_driver/federated_plugin_web_integration_test.dart deleted file mode 100644 index ca0d54c6577..00000000000 --- a/experimental/federated_plugin/federated_plugin_web/test_driver/federated_plugin_web_integration_test.dart +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:async'; - -import 'package:integration_test/integration_test_driver.dart'; - -Future main() async => integrationDriver(); diff --git a/experimental/federated_plugin/federated_plugin_web/web/index.html b/experimental/federated_plugin/federated_plugin_web/web/index.html deleted file mode 100644 index 2cf1b6a2566..00000000000 --- a/experimental/federated_plugin/federated_plugin_web/web/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - Browser Tests - - - - - diff --git a/experimental/federated_plugin/federated_plugin_windows/.gitignore b/experimental/federated_plugin/federated_plugin_windows/.gitignore deleted file mode 100644 index 9be145fde98..00000000000 --- a/experimental/federated_plugin/federated_plugin_windows/.gitignore +++ /dev/null @@ -1,29 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# 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 -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -.dart_tool/ -.packages -build/ diff --git a/experimental/federated_plugin/federated_plugin_windows/.metadata b/experimental/federated_plugin/federated_plugin_windows/.metadata deleted file mode 100644 index 8c15ad72ba2..00000000000 --- a/experimental/federated_plugin/federated_plugin_windows/.metadata +++ /dev/null @@ -1,10 +0,0 @@ -# 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: 77d935af4db863f6abd0b9c31c7e6df2a13de57b - channel: stable - -project_type: plugin diff --git a/experimental/federated_plugin/federated_plugin_windows/analysis_options.yaml b/experimental/federated_plugin/federated_plugin_windows/analysis_options.yaml deleted file mode 100644 index 13d6fe105a3..00000000000 --- a/experimental/federated_plugin/federated_plugin_windows/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: package:analysis_defaults/flutter.yaml diff --git a/experimental/federated_plugin/federated_plugin_windows/example/README.md b/experimental/federated_plugin/federated_plugin_windows/example/README.md deleted file mode 100644 index 94cbe1de65f..00000000000 --- a/experimental/federated_plugin/federated_plugin_windows/example/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# federated_plugin_windows_example - -To view the usage of plugin, head over to [federated_plugin/example](../../federated_plugin/example). diff --git a/experimental/federated_plugin/federated_plugin_windows/lib/federated_plugin_windows.dart b/experimental/federated_plugin/federated_plugin_windows/lib/federated_plugin_windows.dart deleted file mode 100644 index 136d1d687d4..00000000000 --- a/experimental/federated_plugin/federated_plugin_windows/lib/federated_plugin_windows.dart +++ /dev/null @@ -1,2 +0,0 @@ -// The federated_plugin_windows uses the default BatteryMethodChannel used by -// federated_plugin_platform_interface to do platform calls. diff --git a/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml b/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml deleted file mode 100644 index bc67592eae2..00000000000 --- a/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: federated_plugin_windows -description: Windows implementation of federated_plugin to retrieve current battery level. -version: 0.0.1 -homepage: - -environment: - sdk: ^3.7.0-0 - -dependencies: - flutter: - sdk: flutter - -dev_dependencies: - analysis_defaults: - path: ../../../analysis_defaults - flutter_test: - sdk: flutter - -flutter: - plugin: - platforms: - windows: - pluginClass: FederatedPluginWindowsPlugin diff --git a/experimental/federated_plugin/federated_plugin_windows/windows/.gitignore b/experimental/federated_plugin/federated_plugin_windows/windows/.gitignore deleted file mode 100644 index b3eb2be169a..00000000000 --- a/experimental/federated_plugin/federated_plugin_windows/windows/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -flutter/ - -# 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/ diff --git a/experimental/federated_plugin/federated_plugin_windows/windows/CMakeLists.txt b/experimental/federated_plugin/federated_plugin_windows/windows/CMakeLists.txt deleted file mode 100644 index 94b8c64104f..00000000000 --- a/experimental/federated_plugin/federated_plugin_windows/windows/CMakeLists.txt +++ /dev/null @@ -1,24 +0,0 @@ -cmake_minimum_required(VERSION 3.14) -set(PROJECT_NAME "federated_plugin_windows") -project(${PROJECT_NAME} LANGUAGES CXX) - -# This value is used when generating builds using this plugin, so it must -# not be changed -set(PLUGIN_NAME "federated_plugin_windows_plugin") - -add_library(${PLUGIN_NAME} SHARED - "federated_plugin_windows_plugin.cpp" -) -apply_standard_settings(${PLUGIN_NAME}) -set_target_properties(${PLUGIN_NAME} PROPERTIES - CXX_VISIBILITY_PRESET hidden) -target_compile_definitions(${PLUGIN_NAME} PRIVATE FLUTTER_PLUGIN_IMPL) -target_include_directories(${PLUGIN_NAME} INTERFACE - "${CMAKE_CURRENT_SOURCE_DIR}/include") -target_link_libraries(${PLUGIN_NAME} PRIVATE flutter flutter_wrapper_plugin) - -# List of absolute paths to libraries that should be bundled with the plugin -set(federated_plugin_windows_bundled_libraries - "" - PARENT_SCOPE -) diff --git a/experimental/federated_plugin/federated_plugin_windows/windows/federated_plugin_windows_plugin.cpp b/experimental/federated_plugin/federated_plugin_windows/windows/federated_plugin_windows_plugin.cpp deleted file mode 100644 index 334877158aa..00000000000 --- a/experimental/federated_plugin/federated_plugin_windows/windows/federated_plugin_windows_plugin.cpp +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "include/federated_plugin_windows/federated_plugin_windows_plugin.h" - -// This must be included before many other Windows headers. -#include - -#include -#include -#include - -#include -#include - -namespace { - -class FederatedPluginWindowsPlugin : public flutter::Plugin { - public: - static void RegisterWithRegistrar(flutter::PluginRegistrarWindows *registrar); - - FederatedPluginWindowsPlugin(); - - virtual ~FederatedPluginWindowsPlugin(); - - private: - // Called when a method is called on this plugin's channel from Dart. - void HandleMethodCall( - const flutter::MethodCall &method_call, - std::unique_ptr> result); -}; - -// static -void FederatedPluginWindowsPlugin::RegisterWithRegistrar( - flutter::PluginRegistrarWindows *registrar) { - auto channel = - std::make_unique>( - registrar->messenger(), "battery", - &flutter::StandardMethodCodec::GetInstance()); - - auto plugin = std::make_unique(); - - channel->SetMethodCallHandler( - [plugin_pointer = plugin.get()](const auto &call, auto result) { - plugin_pointer->HandleMethodCall(call, std::move(result)); - }); - - registrar->AddPlugin(std::move(plugin)); -} - -FederatedPluginWindowsPlugin::FederatedPluginWindowsPlugin() {} - -FederatedPluginWindowsPlugin::~FederatedPluginWindowsPlugin() {} - -void FederatedPluginWindowsPlugin::HandleMethodCall( - const flutter::MethodCall &method_call, - std::unique_ptr> result) { - if (method_call.method_name().compare("getBatteryLevel") == 0) { - SYSTEM_POWER_STATUS systemPower; - // GetSystemPowerStatus will retrieve the power status of the system. - if (GetSystemPowerStatus(&systemPower)) { - int batteryLevel = systemPower.BatteryLifePercent; - // The batteryLevel value in the range 0 to 100, or 255 if status is unknown. - if (batteryLevel != 255) { - flutter::EncodableValue response(batteryLevel); - result->Success(&response); - } - else { - result->Error("STATUS_UNAVAILABLE", "Not able to determine battery level."); - } - } - else { - result->Error("STATUS_UNAVAILABLE", "Not able to determine battery level."); - } - } - else { - result->NotImplemented(); - } -} - -} // namespace - -void FederatedPluginWindowsPluginRegisterWithRegistrar( - FlutterDesktopPluginRegistrarRef registrar) { - FederatedPluginWindowsPlugin::RegisterWithRegistrar( - flutter::PluginRegistrarManager::GetInstance() - ->GetRegistrar(registrar)); -} diff --git a/experimental/federated_plugin/federated_plugin_windows/windows/include/federated_plugin_windows/federated_plugin_windows_plugin.h b/experimental/federated_plugin/federated_plugin_windows/windows/include/federated_plugin_windows/federated_plugin_windows_plugin.h deleted file mode 100644 index 0becf0c7947..00000000000 --- a/experimental/federated_plugin/federated_plugin_windows/windows/include/federated_plugin_windows/federated_plugin_windows_plugin.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef FLUTTER_PLUGIN_FEDERATED_PLUGIN_WINDOWS_PLUGIN_H_ -#define FLUTTER_PLUGIN_FEDERATED_PLUGIN_WINDOWS_PLUGIN_H_ - -#include - -#ifdef FLUTTER_PLUGIN_IMPL -#define FLUTTER_PLUGIN_EXPORT __declspec(dllexport) -#else -#define FLUTTER_PLUGIN_EXPORT __declspec(dllimport) -#endif - -#if defined(__cplusplus) -extern "C" { -#endif - -FLUTTER_PLUGIN_EXPORT void FederatedPluginWindowsPluginRegisterWithRegistrar( - FlutterDesktopPluginRegistrarRef registrar); - -#if defined(__cplusplus) -} // extern "C" -#endif - -#endif // FLUTTER_PLUGIN_FEDERATED_PLUGIN_WINDOWS_PLUGIN_H_ diff --git a/experimental/varfont_shader_puzzle/.gitignore b/experimental/varfont_shader_puzzle/.gitignore deleted file mode 100644 index 24476c5d1eb..00000000000 --- a/experimental/varfont_shader_puzzle/.gitignore +++ /dev/null @@ -1,44 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/experimental/varfont_shader_puzzle/.metadata b/experimental/varfont_shader_puzzle/.metadata deleted file mode 100644 index 620c3fb0b9d..00000000000 --- a/experimental/varfont_shader_puzzle/.metadata +++ /dev/null @@ -1,42 +0,0 @@ -# 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: "db7ef5bf9f59442b0e200a90587e8fa5e0c6336a" - channel: "stable" - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - base_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - - platform: android - create_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - base_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - - platform: ios - create_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - base_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - - platform: linux - create_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - base_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - - platform: macos - create_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - base_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - - platform: windows - create_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - base_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/experimental/varfont_shader_puzzle/README.md b/experimental/varfont_shader_puzzle/README.md index cec255b5c22..1d136ce8544 100644 --- a/experimental/varfont_shader_puzzle/README.md +++ b/experimental/varfont_shader_puzzle/README.md @@ -1,3 +1,3 @@ -# Type Jam +# Sample moved -A simple typographically-themed puzzle app to explore creative use of variable fonts and shaders in Flutter. +The `varfont_shader_puzzle` sample has been moved to the [flutter/demos][https://github.com/flutter/demos] repository, and is no longer maintained. diff --git a/experimental/varfont_shader_puzzle/analysis_options.yaml b/experimental/varfont_shader_puzzle/analysis_options.yaml deleted file mode 100644 index 13d6fe105a3..00000000000 --- a/experimental/varfont_shader_puzzle/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: package:analysis_defaults/flutter.yaml diff --git a/experimental/varfont_shader_puzzle/android/.gitignore b/experimental/varfont_shader_puzzle/android/.gitignore deleted file mode 100644 index 6f568019d3c..00000000000 --- a/experimental/varfont_shader_puzzle/android/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -gradle-wrapper.jar -/.gradle -/captures/ -/gradlew -/gradlew.bat -/local.properties -GeneratedPluginRegistrant.java - -# Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app -key.properties -**/*.keystore -**/*.jks diff --git a/experimental/varfont_shader_puzzle/android/app/build.gradle b/experimental/varfont_shader_puzzle/android/app/build.gradle deleted file mode 100644 index 665ab67229d..00000000000 --- a/experimental/varfont_shader_puzzle/android/app/build.gradle +++ /dev/null @@ -1,67 +0,0 @@ -plugins { - id "com.android.application" - id "kotlin-android" - id "dev.flutter.flutter-gradle-plugin" -} - -def localProperties = new Properties() -def localPropertiesFile = rootProject.file('local.properties') -if (localPropertiesFile.exists()) { - localPropertiesFile.withReader('UTF-8') { reader -> - localProperties.load(reader) - } -} - -def flutterVersionCode = localProperties.getProperty('flutter.versionCode') -if (flutterVersionCode == null) { - flutterVersionCode = '1' -} - -def flutterVersionName = localProperties.getProperty('flutter.versionName') -if (flutterVersionName == null) { - flutterVersionName = '1.0' -} - -android { - namespace "com.example.varfont_shader_puzzle" - compileSdkVersion flutter.compileSdkVersion - ndkVersion flutter.ndkVersion - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } - - kotlinOptions { - jvmTarget = '1.8' - } - - sourceSets { - main.java.srcDirs += 'src/main/kotlin' - } - - defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.example.varfont_shader_puzzle" - // You can update the following values to match your application needs. - // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. - minSdkVersion flutter.minSdkVersion - targetSdkVersion flutter.targetSdkVersion - versionCode flutterVersionCode.toInteger() - versionName flutterVersionName - } - - buildTypes { - release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig signingConfigs.debug - } - } -} - -flutter { - source '../..' -} - -dependencies {} diff --git a/experimental/varfont_shader_puzzle/android/app/src/debug/AndroidManifest.xml b/experimental/varfont_shader_puzzle/android/app/src/debug/AndroidManifest.xml deleted file mode 100644 index 399f6981d5d..00000000000 --- a/experimental/varfont_shader_puzzle/android/app/src/debug/AndroidManifest.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/AndroidManifest.xml b/experimental/varfont_shader_puzzle/android/app/src/main/AndroidManifest.xml deleted file mode 100644 index 69cf431ac00..00000000000 --- a/experimental/varfont_shader_puzzle/android/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/kotlin/com/example/varfont_shader_puzzle/MainActivity.kt b/experimental/varfont_shader_puzzle/android/app/src/main/kotlin/com/example/varfont_shader_puzzle/MainActivity.kt deleted file mode 100644 index ec859b3e172..00000000000 --- a/experimental/varfont_shader_puzzle/android/app/src/main/kotlin/com/example/varfont_shader_puzzle/MainActivity.kt +++ /dev/null @@ -1,6 +0,0 @@ -package com.example.varfont_shader_puzzle - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity: FlutterActivity() { -} diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/res/drawable-v21/launch_background.xml b/experimental/varfont_shader_puzzle/android/app/src/main/res/drawable-v21/launch_background.xml deleted file mode 100644 index f74085f3f6a..00000000000 --- a/experimental/varfont_shader_puzzle/android/app/src/main/res/drawable-v21/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/res/drawable/launch_background.xml b/experimental/varfont_shader_puzzle/android/app/src/main/res/drawable/launch_background.xml deleted file mode 100644 index 304732f8842..00000000000 --- a/experimental/varfont_shader_puzzle/android/app/src/main/res/drawable/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index db77bb4b7b0..00000000000 Binary files a/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 17987b79bb8..00000000000 Binary files a/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 09d4391482b..00000000000 Binary files a/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index d5f1c8d34e7..00000000000 Binary files a/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 4d6372eebdb..00000000000 Binary files a/experimental/varfont_shader_puzzle/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/res/values-night/styles.xml b/experimental/varfont_shader_puzzle/android/app/src/main/res/values-night/styles.xml deleted file mode 100644 index 06952be745f..00000000000 --- a/experimental/varfont_shader_puzzle/android/app/src/main/res/values-night/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/experimental/varfont_shader_puzzle/android/app/src/main/res/values/styles.xml b/experimental/varfont_shader_puzzle/android/app/src/main/res/values/styles.xml deleted file mode 100644 index cb1ef88056e..00000000000 --- a/experimental/varfont_shader_puzzle/android/app/src/main/res/values/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/experimental/varfont_shader_puzzle/android/app/src/profile/AndroidManifest.xml b/experimental/varfont_shader_puzzle/android/app/src/profile/AndroidManifest.xml deleted file mode 100644 index 399f6981d5d..00000000000 --- a/experimental/varfont_shader_puzzle/android/app/src/profile/AndroidManifest.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/experimental/varfont_shader_puzzle/android/build.gradle b/experimental/varfont_shader_puzzle/android/build.gradle deleted file mode 100644 index e83fb5daca3..00000000000 --- a/experimental/varfont_shader_puzzle/android/build.gradle +++ /dev/null @@ -1,30 +0,0 @@ -buildscript { - ext.kotlin_version = '1.7.10' - repositories { - google() - mavenCentral() - } - - dependencies { - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} - -allprojects { - repositories { - google() - mavenCentral() - } -} - -rootProject.buildDir = '../build' -subprojects { - project.buildDir = "${rootProject.buildDir}/${project.name}" -} -subprojects { - project.evaluationDependsOn(':app') -} - -tasks.register("clean", Delete) { - delete rootProject.buildDir -} diff --git a/experimental/varfont_shader_puzzle/android/gradle.properties b/experimental/varfont_shader_puzzle/android/gradle.properties deleted file mode 100644 index 598d13fee44..00000000000 --- a/experimental/varfont_shader_puzzle/android/gradle.properties +++ /dev/null @@ -1,3 +0,0 @@ -org.gradle.jvmargs=-Xmx4G -android.useAndroidX=true -android.enableJetifier=true diff --git a/experimental/varfont_shader_puzzle/android/gradle/wrapper/gradle-wrapper.properties b/experimental/varfont_shader_puzzle/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 3c472b99c6f..00000000000 --- a/experimental/varfont_shader_puzzle/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,5 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip diff --git a/experimental/varfont_shader_puzzle/android/settings.gradle b/experimental/varfont_shader_puzzle/android/settings.gradle deleted file mode 100644 index 7cd7128551b..00000000000 --- a/experimental/varfont_shader_puzzle/android/settings.gradle +++ /dev/null @@ -1,29 +0,0 @@ -pluginManagement { - def flutterSdkPath = { - def properties = new Properties() - file("local.properties").withInputStream { properties.load(it) } - def flutterSdkPath = properties.getProperty("flutter.sdk") - assert flutterSdkPath != null, "flutter.sdk not set in local.properties" - return flutterSdkPath - } - settings.ext.flutterSdkPath = flutterSdkPath() - - includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle") - - repositories { - google() - mavenCentral() - gradlePluginPortal() - } - - plugins { - id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false - } -} - -plugins { - id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "7.3.0" apply false -} - -include ":app" diff --git a/experimental/varfont_shader_puzzle/assets/fonts/Amstelvar-Roman[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,wdth,wght,opsz].ttf b/experimental/varfont_shader_puzzle/assets/fonts/Amstelvar-Roman[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,wdth,wght,opsz].ttf deleted file mode 100644 index 062b4a45a07..00000000000 Binary files a/experimental/varfont_shader_puzzle/assets/fonts/Amstelvar-Roman[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,wdth,wght,opsz].ttf and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/assets/fonts/Roboto-Bold.ttf b/experimental/varfont_shader_puzzle/assets/fonts/Roboto-Bold.ttf deleted file mode 100644 index 43da14d84ec..00000000000 Binary files a/experimental/varfont_shader_puzzle/assets/fonts/Roboto-Bold.ttf and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/assets/fonts/Roboto-Regular.ttf b/experimental/varfont_shader_puzzle/assets/fonts/Roboto-Regular.ttf deleted file mode 100644 index ddf4bfacb39..00000000000 Binary files a/experimental/varfont_shader_puzzle/assets/fonts/Roboto-Regular.ttf and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/assets/images/specimen-1-glitch.png b/experimental/varfont_shader_puzzle/assets/images/specimen-1-glitch.png deleted file mode 100644 index 3e4f2bbb378..00000000000 Binary files a/experimental/varfont_shader_puzzle/assets/images/specimen-1-glitch.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/assets/images/specimen-1.png b/experimental/varfont_shader_puzzle/assets/images/specimen-1.png deleted file mode 100644 index 9914ed907b8..00000000000 Binary files a/experimental/varfont_shader_puzzle/assets/images/specimen-1.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/assets/images/specimen-2.png b/experimental/varfont_shader_puzzle/assets/images/specimen-2.png deleted file mode 100644 index 01682fb93ef..00000000000 Binary files a/experimental/varfont_shader_puzzle/assets/images/specimen-2.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/assets/images/wallpaper1.png b/experimental/varfont_shader_puzzle/assets/images/wallpaper1.png deleted file mode 100644 index b7d18502bb5..00000000000 Binary files a/experimental/varfont_shader_puzzle/assets/images/wallpaper1.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/assets/images/wallpaper2.png b/experimental/varfont_shader_puzzle/assets/images/wallpaper2.png deleted file mode 100644 index 01c48273066..00000000000 Binary files a/experimental/varfont_shader_puzzle/assets/images/wallpaper2.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/assets/images/wallpaper3.png b/experimental/varfont_shader_puzzle/assets/images/wallpaper3.png deleted file mode 100644 index 6f4af438c38..00000000000 Binary files a/experimental/varfont_shader_puzzle/assets/images/wallpaper3.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/codelab_rebuild.yaml b/experimental/varfont_shader_puzzle/codelab_rebuild.yaml deleted file mode 100644 index 46a1ecc55d6..00000000000 --- a/experimental/varfont_shader_puzzle/codelab_rebuild.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Run with tooling from https://github.com/flutter/codelabs/tree/main/tooling/codelab_rebuild -name: Animations rebuild script -steps: - - name: Remove runners - rmdirs: - - android - - ios - - linux - - macos - - windows - - name: Flutter recreate - flutter: create . --platforms android,ios,linux,macos,windows - - name: Build for iOS - flutter: build ios --simulator - - name: Build for macOS - flutter: build macos diff --git a/experimental/varfont_shader_puzzle/ios/.gitignore b/experimental/varfont_shader_puzzle/ios/.gitignore deleted file mode 100644 index 7a7f9873ad7..00000000000 --- a/experimental/varfont_shader_puzzle/ios/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -**/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 diff --git a/experimental/varfont_shader_puzzle/ios/Flutter/Debug.xcconfig b/experimental/varfont_shader_puzzle/ios/Flutter/Debug.xcconfig deleted file mode 100644 index ec97fc6f302..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Flutter/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "Generated.xcconfig" diff --git a/experimental/varfont_shader_puzzle/ios/Flutter/Release.xcconfig b/experimental/varfont_shader_puzzle/ios/Flutter/Release.xcconfig deleted file mode 100644 index c4855bfe200..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Flutter/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "Generated.xcconfig" diff --git a/experimental/varfont_shader_puzzle/ios/Podfile b/experimental/varfont_shader_puzzle/ios/Podfile deleted file mode 100644 index fdcc671eb34..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Podfile +++ /dev/null @@ -1,44 +0,0 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '11.0' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_ios_podfile_setup - -target 'Runner' do - use_frameworks! - use_modular_headers! - - flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) - target 'RunnerTests' do - inherit! :search_paths - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_ios_build_settings(target) - end -end diff --git a/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.pbxproj b/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 4cf52239576..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,722 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXBuildFile section */ - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 2D29E31A3A79F9333791B51D /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73A94518C1B077566B730F17 /* Pods_Runner.framework */; }; - 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 */; }; - 891BD033C601B72D562DF8C0 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C6933D4A3C5277B69ACBFB6E /* Pods_RunnerTests.framework */; }; - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 97C146E61CF9000F007C117D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 97C146ED1CF9000F007C117D; - remoteInfo = Runner; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 0D9FDBAE730D44B5DAF66533 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 1F18FCED1ECA53679E854763 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 43CE1627606473C19FB03FF3 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; - 517D85BC067A0EA0E96EA4A8 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; - 6364E8B2E7C9C391682E8BCF /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 73A94518C1B077566B730F17 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - C6933D4A3C5277B69ACBFB6E /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - F9EB5298186B85BCAD585118 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2D29E31A3A79F9333791B51D /* Pods_Runner.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DF1CD5C6DFB4874767236D73 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 891BD033C601B72D562DF8C0 /* Pods_RunnerTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 07DA3946E7E7EFEFFAD0000F /* Frameworks */ = { - isa = PBXGroup; - children = ( - 73A94518C1B077566B730F17 /* Pods_Runner.framework */, - C6933D4A3C5277B69ACBFB6E /* Pods_RunnerTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 2D4C743D47EF854290F46B78 /* Pods */ = { - isa = PBXGroup; - children = ( - F9EB5298186B85BCAD585118 /* Pods-Runner.debug.xcconfig */, - 1F18FCED1ECA53679E854763 /* Pods-Runner.release.xcconfig */, - 6364E8B2E7C9C391682E8BCF /* Pods-Runner.profile.xcconfig */, - 0D9FDBAE730D44B5DAF66533 /* Pods-RunnerTests.debug.xcconfig */, - 43CE1627606473C19FB03FF3 /* Pods-RunnerTests.release.xcconfig */, - 517D85BC067A0EA0E96EA4A8 /* Pods-RunnerTests.profile.xcconfig */, - ); - name = Pods; - path = Pods; - sourceTree = ""; - }; - 331C8082294A63A400263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C807B294A618700263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - 331C8082294A63A400263BE5 /* RunnerTests */, - 2D4C743D47EF854290F46B78 /* Pods */, - 07DA3946E7E7EFEFFAD0000F /* Frameworks */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - 331C8081294A63A400263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C8080294A63A400263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - 1CC0CE02DDD22E3C34E46370 /* [CP] Check Pods Manifest.lock */, - 331C807D294A63A400263BE5 /* Sources */, - 331C807F294A63A400263BE5 /* Resources */, - DF1CD5C6DFB4874767236D73 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 331C8086294A63A400263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 8C070EA05DFDB24F15A12816 /* [CP] Check Pods Manifest.lock */, - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - 3F8C0B811F28285ABC292845 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C8080294A63A400263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 97C146ED1CF9000F007C117D; - }; - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - 331C8080294A63A400263BE5 /* RunnerTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C807F294A63A400263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 1CC0CE02DDD22E3C34E46370 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 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"; - }; - 3F8C0B811F28285ABC292845 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 8C070EA05DFDB24F15A12816 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 9740EEB61CF901F6004384FC /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C807D294A63A400263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 97C146ED1CF9000F007C117D /* Runner */; - targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.varfontShaderPuzzle; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 331C8088294A63A400263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0D9FDBAE730D44B5DAF66533 /* Pods-RunnerTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.varfontShaderPuzzle.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Debug; - }; - 331C8089294A63A400263BE5 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 43CE1627606473C19FB03FF3 /* Pods-RunnerTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.varfontShaderPuzzle.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Release; - }; - 331C808A294A63A400263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 517D85BC067A0EA0E96EA4A8 /* Pods-RunnerTests.profile.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.varfontShaderPuzzle.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Profile; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.varfontShaderPuzzle; - 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.varfontShaderPuzzle; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C8088294A63A400263BE5 /* Debug */, - 331C8089294A63A400263BE5 /* Release */, - 331C808A294A63A400263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a6254..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5ea1..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index 87131a09bea..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/varfont_shader_puzzle/ios/Runner.xcworkspace/contents.xcworkspacedata b/experimental/varfont_shader_puzzle/ios/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 21a3cc14c74..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/experimental/varfont_shader_puzzle/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/experimental/varfont_shader_puzzle/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/experimental/varfont_shader_puzzle/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/experimental/varfont_shader_puzzle/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5ea1..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/experimental/varfont_shader_puzzle/ios/Runner/AppDelegate.swift b/experimental/varfont_shader_puzzle/ios/Runner/AppDelegate.swift deleted file mode 100644 index 70693e4a8c1..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import UIKit -import Flutter - -@UIApplicationMain -@objc class AppDelegate: FlutterAppDelegate { - override func application( - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - GeneratedPluginRegistrant.register(with: self) - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } -} diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d36b1fab2d9..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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" - } -} diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png deleted file mode 100644 index dc9ada4725e..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png deleted file mode 100644 index 7353c41ecf9..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png deleted file mode 100644 index 797d452e458..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png deleted file mode 100644 index 6ed2d933e11..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index 4cd7b0099ca..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png deleted file mode 100644 index fe730945a01..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png deleted file mode 100644 index 321773cd857..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png deleted file mode 100644 index 797d452e458..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png deleted file mode 100644 index 502f463a9bc..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png deleted file mode 100644 index 0ec30343922..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png deleted file mode 100644 index 0ec30343922..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index e9f5fea27c7..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png deleted file mode 100644 index 84ac32ae7d9..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png deleted file mode 100644 index 8953cba0906..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png deleted file mode 100644 index 0467bf12aa4..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 0bedcf2fd46..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "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" - } -} diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md deleted file mode 100644 index 89c2725b70f..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. \ No newline at end of file diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Base.lproj/LaunchScreen.storyboard b/experimental/varfont_shader_puzzle/ios/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c7c93..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Base.lproj/Main.storyboard b/experimental/varfont_shader_puzzle/ios/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c28516fb3..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Info.plist b/experimental/varfont_shader_puzzle/ios/Runner/Info.plist deleted file mode 100644 index 1028badf239..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner/Info.plist +++ /dev/null @@ -1,49 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Varfont Shader Puzzle - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - varfont_shader_puzzle - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - CADisableMinimumFrameDurationOnPhone - - UIApplicationSupportsIndirectInputEvents - - - diff --git a/experimental/varfont_shader_puzzle/ios/Runner/Runner-Bridging-Header.h b/experimental/varfont_shader_puzzle/ios/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 308a2a560b4..00000000000 --- a/experimental/varfont_shader_puzzle/ios/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1 +0,0 @@ -#import "GeneratedPluginRegistrant.h" diff --git a/experimental/varfont_shader_puzzle/ios/RunnerTests/RunnerTests.swift b/experimental/varfont_shader_puzzle/ios/RunnerTests/RunnerTests.swift deleted file mode 100644 index 86a7c3b1b61..00000000000 --- a/experimental/varfont_shader_puzzle/ios/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -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. - } - -} diff --git a/experimental/varfont_shader_puzzle/lib/components/components.dart b/experimental/varfont_shader_puzzle/lib/components/components.dart deleted file mode 100644 index f6974e9d96a..00000000000 --- a/experimental/varfont_shader_puzzle/lib/components/components.dart +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -export 'fragment_shaded.dart'; -export 'lightboxed_panel.dart'; -export 'rotator_puzzle.dart'; -export 'wonky_anim_palette.dart'; -export 'wonky_char.dart'; diff --git a/experimental/varfont_shader_puzzle/lib/components/fragment_shaded.dart b/experimental/varfont_shader_puzzle/lib/components/fragment_shaded.dart deleted file mode 100644 index 80b74aa4c19..00000000000 --- a/experimental/varfont_shader_puzzle/lib/components/fragment_shaded.dart +++ /dev/null @@ -1,282 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:ui' as ui; - -import 'package:flutter/material.dart'; -import 'package:flutter/rendering.dart'; - -enum Shader { - nothing('nothing'), - bwSplit('bw_split'), - colorSplit('color_split'), - rowOffset('row_offset'), - wavyCirc('wavy_circ'), - wavy('wavy'), - wavy2('wavy2'); - - const Shader(this.name); - final String name; - Future get program => - ui.FragmentProgram.fromAsset('shaders/$name.frag'); -} - -class FragmentShaded extends StatefulWidget { - final Widget child; - final Shader shader; - final int shaderDuration; - static const int dampenDuration = 1000; - static final Map _programCache = {}; - - const FragmentShaded({ - required this.shader, - required this.shaderDuration, - required this.child, - super.key, - }); - - @override - State createState() => FragmentShadedState(); -} - -class FragmentShadedState extends State - with TickerProviderStateMixin { - late final AnimationController _controller; - late final Animation _dampenAnimation; - late final Animation _dampenCurve; - late final AnimationController _dampenController; - late AnimatingSamplerBuilder builder; - - @override - void initState() { - super.initState(); - _controller = AnimationController( - vsync: this, - duration: Duration(milliseconds: widget.shaderDuration), - )..repeat(reverse: false); - _dampenController = AnimationController( - vsync: this, - duration: const Duration(milliseconds: FragmentShaded.dampenDuration), - ); - _dampenCurve = CurvedAnimation( - parent: _dampenController, - curve: Curves.easeInOut, - ); - _dampenAnimation = Tween( - begin: 1.0, - end: 0.0, - ).animate(_dampenCurve); - initializeFragmentProgramsAndBuilder(); - } - - Future initializeFragmentProgramsAndBuilder() async { - if (FragmentShaded._programCache.isEmpty) { - for (final shader in Shader.values) { - FragmentShaded._programCache[shader] = await shader.program; - } - } - - setState(() { - builder = AnimatingSamplerBuilder( - _controller, - _dampenAnimation, - FragmentShaded._programCache[widget.shader]!.fragmentShader(), - ); - }); - } - - @override - void dispose() { - _controller.dispose(); - _dampenController.dispose(); - super.dispose(); - } - - @override - Widget build(BuildContext context) { - if (null == FragmentShaded._programCache[widget.shader]) { - setState(() {}); - return const SizedBox(width: 0, height: 0); - } - return Transform.scale( - scale: 0.5, - child: ShaderSamplerBuilder(builder, child: widget.child), - ); - } - - void startDampening() { - _dampenController.forward(); - } -} - -class AnimatingSamplerBuilder extends SamplerBuilder { - AnimatingSamplerBuilder( - this.animation, - this.dampenAnimation, - this.fragmentShader, - ) { - animation.addListener(notifyListeners); - dampenAnimation.addListener(notifyListeners); - } - - final Animation animation; - final Animation dampenAnimation; - - final ui.FragmentShader fragmentShader; - - @override - void paint(ui.Image image, Size size, ui.Canvas canvas) { - // animation - fragmentShader.setFloat(0, animation.value); - // width - fragmentShader.setFloat(1, size.width); - // height - fragmentShader.setFloat(2, size.height); - // dampener - fragmentShader.setFloat(3, dampenAnimation.value); - // sampler - fragmentShader.setImageSampler(0, image); - - canvas.drawRect(Offset.zero & size, Paint()..shader = fragmentShader); - } -} - -abstract class SamplerBuilder extends ChangeNotifier { - void paint(ui.Image image, Size size, ui.Canvas canvas); -} - -class ShaderSamplerBuilder extends StatelessWidget { - const ShaderSamplerBuilder(this.builder, {required this.child, super.key}); - - final SamplerBuilder builder; - final Widget child; - - @override - Widget build(BuildContext context) { - return RepaintBoundary(child: _ShaderSamplerImpl(builder, child: child)); - } -} - -class _ShaderSamplerImpl extends SingleChildRenderObjectWidget { - const _ShaderSamplerImpl(this.builder, {super.child}); - - final SamplerBuilder builder; - - @override - RenderObject createRenderObject(BuildContext context) { - return _RenderShaderSamplerBuilderWidget( - devicePixelRatio: MediaQuery.of(context).devicePixelRatio, - builder: builder, - ); - } - - @override - void updateRenderObject( - BuildContext context, - covariant RenderObject renderObject, - ) { - (renderObject as _RenderShaderSamplerBuilderWidget) - ..devicePixelRatio = MediaQuery.of(context).devicePixelRatio - ..builder = builder; - } -} - -// A render object that conditionally converts its child into a [ui.Image] -// and then paints it in place of the child. -class _RenderShaderSamplerBuilderWidget extends RenderProxyBox { - // Create a new [_RenderSnapshotWidget]. - _RenderShaderSamplerBuilderWidget({ - required double devicePixelRatio, - required SamplerBuilder builder, - }) : _devicePixelRatio = devicePixelRatio, - _builder = builder; - - /// The device pixel ratio used to create the child image. - double get devicePixelRatio => _devicePixelRatio; - double _devicePixelRatio; - set devicePixelRatio(double value) { - if (value == devicePixelRatio) { - return; - } - _devicePixelRatio = value; - if (_childRaster == null) { - return; - } else { - _childRaster?.dispose(); - _childRaster = null; - markNeedsPaint(); - } - } - - /// The painter used to paint the child snapshot or child widgets. - SamplerBuilder get builder => _builder; - SamplerBuilder _builder; - set builder(SamplerBuilder value) { - if (value == builder) { - return; - } - builder.removeListener(markNeedsPaint); - _builder = value; - builder.addListener(markNeedsPaint); - markNeedsPaint(); - } - - ui.Image? _childRaster; - - @override - void attach(PipelineOwner owner) { - builder.addListener(markNeedsPaint); - super.attach(owner); - } - - @override - void detach() { - _childRaster?.dispose(); - _childRaster = null; - builder.removeListener(markNeedsPaint); - super.detach(); - } - - @override - void dispose() { - builder.removeListener(markNeedsPaint); - _childRaster?.dispose(); - _childRaster = null; - super.dispose(); - } - - // Paint [child] with this painting context, then convert to a raster and detach all - // children from this layer. - ui.Image? _paintAndDetachToImage() { - final OffsetLayer offsetLayer = OffsetLayer(); - final PaintingContext context = PaintingContext( - offsetLayer, - Offset.zero & size, - ); - super.paint(context, Offset.zero); - // This ignore is here because this method is protected by the `PaintingContext`. Adding a new - // method that performs the work of `_paintAndDetachToImage` would avoid the need for this, but - // that would conflict with our goals of minimizing painting context. - // ignore: invalid_use_of_protected_member - context.stopRecordingIfNeeded(); - final ui.Image image = offsetLayer.toImageSync( - Offset.zero & size, - pixelRatio: devicePixelRatio, - ); - offsetLayer.dispose(); - return image; - } - - @override - void paint(PaintingContext context, Offset offset) { - if (size.isEmpty) { - _childRaster?.dispose(); - _childRaster = null; - return; - } - _childRaster?.dispose(); - _childRaster = _paintAndDetachToImage(); - builder.paint(_childRaster!, size, context.canvas); - } -} diff --git a/experimental/varfont_shader_puzzle/lib/components/lightboxed_panel.dart b/experimental/varfont_shader_puzzle/lib/components/lightboxed_panel.dart deleted file mode 100644 index 2e99e93a0ba..00000000000 --- a/experimental/varfont_shader_puzzle/lib/components/lightboxed_panel.dart +++ /dev/null @@ -1,140 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import '../page_content/pages_flow.dart'; -import '../styles.dart'; - -class LightboxedPanel extends StatefulWidget { - final PageConfig pageConfig; - final List content; - final double width = 300; - final Function? onDismiss; - final bool fadeOnDismiss; - final int? autoDismissAfter; - final bool buildButton; - final Color lightBoxBgColor; - final Color cardBgColor; - - const LightboxedPanel({ - super.key, - required this.pageConfig, - required this.content, - this.onDismiss, - this.fadeOnDismiss = true, - this.autoDismissAfter, - this.buildButton = true, - this.lightBoxBgColor = const Color.fromARGB(200, 255, 255, 255), - this.cardBgColor = Colors.white, - }); - - @override - State createState() => _LightboxedPanelState(); -} - -class _LightboxedPanelState extends State { - bool _fading = false; - bool _show = true; - late int _fadeOutDur = 200; - - @override - void initState() { - _fadeOutDur = widget.fadeOnDismiss ? _fadeOutDur : 0; - if (null != widget.autoDismissAfter) { - _fadeOutDur = 0; - Future.delayed( - Duration(milliseconds: widget.autoDismissAfter!), - handleDismiss, - ); - } - super.initState(); - } - - void handleDismiss() { - if (widget.fadeOnDismiss) { - setState(() { - _fading = true; - }); - } - Future.delayed(Duration(milliseconds: _fadeOutDur), () { - setState(() { - if (widget.fadeOnDismiss) { - _show = false; - } - if (null != widget.onDismiss) { - widget.onDismiss!(); - } - }); - }); - } - - List buttonComponents() { - return [ - Column( - children: [ - const SizedBox(height: 8), - TextButton( - onPressed: handleDismiss, - style: ButtonStyles.style(), - child: Text( - 'OK', - style: TextStyles.bodyStyle().copyWith( - color: Colors.white, - height: 1.2, - ), - ), - ), - ], - ), - ]; - } - - @override - Widget build(BuildContext context) { - if (_show) { - return AnimatedOpacity( - opacity: _fading ? 0 : 1, - curve: Curves.easeOut, - duration: Duration(milliseconds: _fadeOutDur), - child: DecoratedBox( - decoration: BoxDecoration(color: widget.lightBoxBgColor), - child: Center( - child: SizedBox( - width: widget.width, - child: DecoratedBox( - decoration: BoxDecoration( - color: widget.cardBgColor, - border: Border.all( - color: const Color.fromARGB(255, 200, 200, 200), - width: 1.0, - ), - boxShadow: const [ - BoxShadow( - color: Color.fromARGB(30, 0, 0, 0), - offset: Offset.zero, - blurRadius: 4.0, - spreadRadius: 2.0, - ), - ], - borderRadius: const BorderRadius.all(Radius.circular(10.0)), - ), - child: Padding( - padding: const EdgeInsets.all(20.0), - child: Column( - mainAxisSize: MainAxisSize.min, - crossAxisAlignment: CrossAxisAlignment.stretch, - children: - widget.content + - (widget.buildButton ? buttonComponents() : []), - ), - ), - ), - ), - ), - ), - ); - } - return const SizedBox(width: 0, height: 0); - } -} diff --git a/experimental/varfont_shader_puzzle/lib/components/rotator_puzzle.dart b/experimental/varfont_shader_puzzle/lib/components/rotator_puzzle.dart deleted file mode 100644 index f84ad4a71ca..00000000000 --- a/experimental/varfont_shader_puzzle/lib/components/rotator_puzzle.dart +++ /dev/null @@ -1,431 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:math'; -import 'dart:ui' as ui; - -import 'package:flutter/material.dart'; -import 'package:flutter/rendering.dart'; - -import '../model/puzzle_model.dart'; -import '../page_content/pages_flow.dart'; -import 'components.dart'; - -class RotatorPuzzle extends StatefulWidget { - final PageConfig pageConfig; - final int numTiles; - final int puzzleNum; - final Shader shader; - final int shaderDuration; - - final String tileShadedString; - final double tileShadedStringSize; - final EdgeInsets tileShadedStringPadding; - final int tileShadedStringAnimDuration; - final List tileShadedStringAnimSettings; - final double tileScaleModifier; - - const RotatorPuzzle({ - super.key, - required this.pageConfig, - required this.numTiles, - required this.puzzleNum, - required this.shader, - required this.shaderDuration, - required this.tileShadedString, - required this.tileShadedStringSize, - required this.tileShadedStringPadding, - required this.tileShadedStringAnimDuration, - this.tileShadedStringAnimSettings = const [], - this.tileScaleModifier = 1.0, - }); - - @override - State createState() => RotatorPuzzleState(); -} - -class RotatorPuzzleState extends State - with TickerProviderStateMixin { - late PuzzleModel puzzleModel; - bool solved = false; - late final AnimationController animationController = AnimationController( - vsync: this, - duration: const Duration(milliseconds: 1000), - ); - late final CurvedAnimation animationCurve = CurvedAnimation( - parent: animationController, - curve: const Interval(0.2, 0.45, curve: Curves.easeOut), - ); - late Animation opacAnimation = Tween( - begin: 0.4, - end: 1.0, - ).animate(animationCurve)..addListener(() { - setState(() {}); - }); - - List> tileKeys = []; - GlobalKey shadedWidgetStackHackStateKey = GlobalKey(); - GlobalKey shadedWidgetRepaintBoundaryKey = GlobalKey(); - GlobalKey tileBgWonkyCharKey = GlobalKey(); - ui.Image? shadedImg; - - @override - void initState() { - for (int i = 0; i < widget.numTiles; i++) { - tileKeys.add(GlobalKey()); - } - puzzleModel = PuzzleModel( - dim: widget.numTiles, - ); //TODO check if correct; correlate dim and numTiles; probably get rid of numTiles - generateTiles(); - shuffle(); - super.initState(); - } - - List generateTiles() { - // TODO move to build? - List tiles = []; - int dim = sqrt(widget.numTiles).round(); - for (int i = 0; i < widget.numTiles; i++) { - RotatorPuzzleTile tile = RotatorPuzzleTile( - key: tileKeys[i], - tileID: i, - row: (i / dim).floor(), - col: i % dim, - parentState: this, - shader: widget.shader, - shaderDuration: widget.shaderDuration, - tileShadedString: widget.tileShadedString, - tileShadedStringSize: widget.tileShadedStringSize, - tileShadedStringPadding: widget.tileShadedStringPadding, - animationSettings: widget.tileShadedStringAnimSettings, - tileShadedStringAnimDuration: widget.tileShadedStringAnimDuration, - tileScaleModifier: widget.tileScaleModifier, - ); - tiles.add(tile); - } - return tiles; - } - - void handlePointerDown({required int tileID}) { - puzzleModel.rotateTile(tileID); - if (puzzleModel.allRotationsCorrect()) { - handleSolved(); - } - } - - void handleSolved() { - animationController.addStatusListener((status) { - solved = true; - for (GlobalKey k in tileKeys) { - if (null != k.currentState && k.currentState!.mounted) { - startDampening(); - tileBgWonkyCharKey.currentState!.stopAnimation(); - } - } - if (status == AnimationStatus.completed) { - Future.delayed( - const Duration(milliseconds: FragmentShaded.dampenDuration + 250), - () { - widget.pageConfig.pageController.nextPage( - duration: const Duration( - milliseconds: PagesFlow.pageScrollDuration, - ), - curve: Curves.easeOut, - ); - }, - ); - } - }); - animationController.forward(); - } - - void shuffle() { - Random rng = Random(0xC00010FF); - for (int i = 0; i < widget.numTiles; i++) { - int rando = rng.nextInt(3); - puzzleModel.setTileStatus(i, rando); - if (puzzleModel.allRotationsCorrect()) { - // fallback to prevent starting on solved puzzle - puzzleModel.setTileStatus(0, 1); - } - } - } - - double tileSize() { - return widget.pageConfig.puzzleSize / sqrt(widget.numTiles); - } - - List tileCoords({required int row, required int col}) { - return [col * tileSize(), row * tileSize()]; - } - - void setImageFromRepaintBoundary(GlobalKey which) { - final BuildContext? context = which.currentContext; - if (null != context) { - final RenderRepaintBoundary boundary = - context.findRenderObject()! as RenderRepaintBoundary; - final ui.Image img = boundary.toImageSync(); - if (mounted) { - setState(() { - shadedImg = img; - }); - } - } - } - - void startDampening() { - if (null != shadedWidgetStackHackStateKey.currentState && - shadedWidgetStackHackStateKey.currentState!.mounted) { - shadedWidgetStackHackStateKey.currentState!.startDampening(); - } - } - - @override - Widget build(BuildContext context) { - // TODO fix widget implementation to remove the need for this hack - // to force a setState rebuild - WidgetsBinding.instance.addPostFrameCallback((_) { - if (mounted) { - setState(() {}); - } - }); - // end hack ---------------- - setImageFromRepaintBoundary(shadedWidgetRepaintBoundaryKey); - return Center( - child: SizedBox( - width: widget.pageConfig.puzzleSize, - height: widget.pageConfig.puzzleSize, - child: Opacity( - opacity: opacAnimation.value, - child: Stack( - children: - [ - Positioned( - left: -9999, - top: -9999, - child: RepaintBoundary( - key: shadedWidgetRepaintBoundaryKey, - child: SizedBox( - width: widget.pageConfig.puzzleSize * 4, - height: widget.pageConfig.puzzleSize * 4, - child: Center( - child: FragmentShaded( - key: shadedWidgetStackHackStateKey, - shader: widget.shader, - shaderDuration: widget.shaderDuration, - child: Padding( - padding: widget.tileShadedStringPadding, - child: WonkyChar( - key: tileBgWonkyCharKey, - text: widget.tileShadedString, - size: widget.tileShadedStringSize, - animDurationMillis: - widget.tileShadedStringAnimDuration, - animationSettings: - widget.tileShadedStringAnimSettings, - ), - ), - ), - ), - ), - ), - ), - ] + - generateTiles(), - ), - ), - ), - ); - } -} - -//////////////////////////////////////////////////////// - -class RotatorPuzzleTile extends StatefulWidget { - final int tileID; - final RotatorPuzzleState parentState; - final Shader shader; - final int shaderDuration; - final String tileShadedString; - final double tileShadedStringSize; - final EdgeInsets tileShadedStringPadding; - final int tileShadedStringAnimDuration; - final List animationSettings; - final double tileScaleModifier; - - // TODO get row/col out into model - final int row; - final int col; - - RotatorPuzzleTile({ - super.key, - required this.tileID, - required this.row, - required this.col, - required this.parentState, - required this.shader, - required this.shaderDuration, - required this.tileShadedString, - required this.tileShadedStringSize, - required this.tileShadedStringPadding, - required this.animationSettings, - required this.tileShadedStringAnimDuration, - required this.tileScaleModifier, - }); - - final State tileState = RotatorPuzzleTileState(); - - @override - State createState() => RotatorPuzzleTileState(); -} - -class RotatorPuzzleTileState extends State - with TickerProviderStateMixin { - double touchedOpac = 0.0; - Duration touchedOpacDur = const Duration(milliseconds: 50); - late final AnimationController animationController = AnimationController( - vsync: this, - duration: const Duration(milliseconds: 100), - ); - late final CurvedAnimation animationCurve = CurvedAnimation( - parent: animationController, - curve: Curves.easeOut, - ); - late Animation animation; - - @override - void initState() { - super.initState(); - animation = Tween( - // initialize animation to starting point - begin: currentStatus() * pi * 0.5, - end: currentStatus() * pi * 0.5, - ).animate(animationController); - } - - @override - Widget build(BuildContext context) { - // TODO fix widget implementation to remove the need for this hack - // to force a setState rebuild - WidgetsBinding.instance.addPostFrameCallback((_) { - if (mounted) { - setState(() {}); - } - }); - // end hack ------------------------------ - List coords = widget.parentState.tileCoords( - row: widget.row, - col: widget.col, - ); - double zeroPoint = - widget.parentState.widget.pageConfig.puzzleSize * .5 - - widget.parentState.tileSize() * 0.5; - - return Stack( - children: [ - Stack( - children: [ - Positioned( - left: coords[0], - top: coords[1], - child: Transform( - transform: Matrix4.rotationZ(animation.value), - alignment: Alignment.center, - child: GestureDetector( - onTap: handlePointerDown, - child: ClipRect( - child: SizedBox( - width: widget.parentState.tileSize(), - height: widget.parentState.tileSize(), - child: OverflowBox( - maxHeight: - widget.parentState.widget.pageConfig.puzzleSize, - maxWidth: - widget.parentState.widget.pageConfig.puzzleSize, - child: Transform.translate( - offset: Offset( - zeroPoint - - widget.col * widget.parentState.tileSize(), - zeroPoint - - widget.row * widget.parentState.tileSize(), - ), - child: SizedBox( - width: - widget.parentState.widget.pageConfig.puzzleSize, - height: - widget.parentState.widget.pageConfig.puzzleSize, - child: Transform.scale( - scale: widget.tileScaleModifier, - child: RawImage( - image: widget.parentState.shadedImg, - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - // puzzle tile overlay fades in/out on tap, to indicate touched tile - Positioned( - left: coords[0], - top: coords[1], - child: IgnorePointer( - child: AnimatedOpacity( - opacity: touchedOpac, - duration: touchedOpacDur, - onEnd: () { - if (touchedOpac == 1.0) { - touchedOpac = 0.0; - touchedOpacDur = const Duration(milliseconds: 300); - setState(() {}); - } - }, - child: DecoratedBox( - decoration: const BoxDecoration( - color: Color.fromARGB(120, 0, 0, 0), - ), - child: SizedBox( - width: widget.parentState.tileSize(), - height: widget.parentState.tileSize(), - ), - ), - ), - ), - ), - ], - ), - ], - ); - } - - void handlePointerDown() { - if (!widget.parentState.solved) { - int oldStatus = currentStatus(); - widget.parentState.handlePointerDown(tileID: widget.tileID); - touchedOpac = 1.0; - touchedOpacDur = const Duration(milliseconds: 100); - rotateTile(oldStatus: oldStatus); - setState(() {}); - } - } - - int currentStatus() { - return widget.parentState.puzzleModel.getTileStatus(widget.tileID); - } - - void rotateTile({required int oldStatus}) { - animation = Tween( - begin: oldStatus * pi * 0.5, - end: currentStatus() * pi * 0.5, - ).animate(animationController)..addListener(() { - setState(() {}); - }); - animationController.reset(); - animationController.forward(); - } -} diff --git a/experimental/varfont_shader_puzzle/lib/components/wonky_anim_palette.dart b/experimental/varfont_shader_puzzle/lib/components/wonky_anim_palette.dart deleted file mode 100644 index a3e2acbcf8a..00000000000 --- a/experimental/varfont_shader_puzzle/lib/components/wonky_anim_palette.dart +++ /dev/null @@ -1,332 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:math'; -import 'package:flutter/material.dart'; -import '../components/components.dart'; - -// WonkyAnimPalette class is meant to be used with WonkyChar -// to create animations based on variable font settings (aka 'axes'), -// and a few basic settings like scale, rotation, etc. -// The choice of variable font axes to implement in this class and -// default min/max values for variable font axes are hard-coded -// for Amstelvar font, packaged and used in this project. -// Other variable fonts will have different available axes and min/max values. -// -// See articles on variable fonts at https://fonts.google.com/knowledge/topics/variable_fonts -// See a list of variable fonts in the Google Fonts lineup, along with -// an enumeration of variable font axes at https://fonts.google.com/variablefonts - -class WonkyAnimPalette { - const WonkyAnimPalette({Key? key}); - static const Curve defaultCurve = Curves.easeInOut; - - // basic (settings unrelated to variable font) - static WonkyAnimSetting scale({ - double from = 1, - double to = 2, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'basic', - property: 'scale', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting offsetX({ - double from = -50, - double to = 50, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'basic', - property: 'offsetX', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting offsetY({ - double from = -50, - double to = 50, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'basic', - property: 'offsetY', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting rotation({ - double from = -pi, - double to = pi, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'basic', - property: 'rotation', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting color({ - Color from = Colors.blue, - Color to = Colors.red, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'basic', - property: 'color', - fromTo: RangeColor(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - // font variants (variable font settings) - static WonkyAnimSetting opticalSize({ - double from = 8, - double to = 144, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'opsz', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting weight({ - double from = 100, - double to = 1000, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'wght', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting grade({ - double from = -300, - double to = 500, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'GRAD', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting slant({ - double from = -10, - double to = 0, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'slnt', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting width({ - double from = 50, - double to = 125, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'wdth', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting thickStroke({ - double from = 18, - double to = 263, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'XOPQ', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting thinStroke({ - double from = 15, - double to = 132, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'YOPQ', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting counterWd({ - double from = 324, - double to = 640, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'XTRA', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting upperCaseHt({ - double from = 500, - double to = 1000, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'YTUC', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting lowerCaseHt({ - double from = 420, - double to = 570, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'YTLC', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting ascenderHt({ - double from = 500, - double to = 983, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'YTAS', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting descenderDepth({ - double from = -500, - double to = -138, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'YTDE', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } - - static WonkyAnimSetting figureHt({ - double from = 425, - double to = 1000, - double startAt = 0, - double endAt = 1, - Curve curve = defaultCurve, - }) { - return WonkyAnimSetting( - type: 'fv', - property: 'YTFI', - fromTo: RangeDbl(from: from, to: to), - startAt: startAt, - endAt: endAt, - curve: curve, - ); - } -} diff --git a/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart b/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart deleted file mode 100644 index 399dbef0c64..00000000000 --- a/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart +++ /dev/null @@ -1,242 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:ui' as ui; - -import 'package:flutter/foundation.dart' show kDebugMode; -import 'package:flutter/material.dart'; - -class WonkyChar extends StatefulWidget { - final String text; - final double size; - final double baseRotation; - final int animDurationMillis; - final List animationSettings; - const WonkyChar({ - super.key, - required this.text, - required this.size, - this.baseRotation = 0, - this.animDurationMillis = 1000, - this.animationSettings = const [], - }); - - @override - State createState() => WonkyCharState(); -} - -class WonkyCharState extends State - with SingleTickerProviderStateMixin { - bool loopingAnimation = true; - late AnimationController _animController; - final List> _curves = []; - late final List _fvAnimations = []; - final List _fvAxes = []; - // default curve and animations in case user sets nothing for them - late final defaultCurve = CurvedAnimation( - parent: _animController, - curve: const Interval(0, 1, curve: Curves.linear), - ); - late Animation _scaleAnimation = Tween( - begin: 1, - end: 1, - ).animate(defaultCurve); - late Animation _offsetXAnimation = Tween( - begin: 0, - end: 0, - ).animate(defaultCurve); - late Animation _offsetYAnimation = Tween( - begin: 0, - end: 0, - ).animate(defaultCurve); - late Animation _rotationAnimation = Tween( - begin: 0, - end: 0, - ).animate(defaultCurve); - late Animation _colorAnimation = ColorTween( - begin: Colors.black, - end: Colors.black, - ).animate(defaultCurve); - - @override - void initState() { - super.initState(); - initAnimations(widget.animationSettings); - _animController - ..addListener(() { - setState(() {}); - }) - ..addStatusListener((status) { - if (status == AnimationStatus.completed && loopingAnimation) { - _animController.reverse(); - } else if (status == AnimationStatus.dismissed && loopingAnimation) { - _animController.forward(); - } - }); - _animController.forward(); - } - - @override - void dispose() { - _animController.dispose(); - super.dispose(); - } - - void stopAnimation() { - _animController.stop(); - } - - @override - Widget build(BuildContext context) { - List fontVariations = []; - for (int i = 0; i < _fvAxes.length; i++) { - fontVariations.add( - ui.FontVariation(_fvAxes[i], _fvAnimations[i].value as double), - ); - } - return Transform( - alignment: Alignment.center, - transform: - Matrix4.translationValues( - _offsetXAnimation.value as double, - _offsetYAnimation.value as double, - 0, - ) - ..scale(_scaleAnimation.value) - ..rotateZ( - widget.baseRotation + (_rotationAnimation.value as double), - ), - child: IgnorePointer( - child: Text( - widget.text, - textAlign: TextAlign.center, - style: TextStyle( - color: _colorAnimation.value as Color?, - fontFamily: 'Amstelvar', - fontSize: widget.size, - fontVariations: fontVariations, - ), - ), - ), - ); - } - - void initAnimations(List settings) { - _animController = AnimationController( - vsync: this, - duration: Duration(milliseconds: widget.animDurationMillis), - ); - for (WonkyAnimSetting s in settings) { - final curve = CurvedAnimation( - parent: _animController, - curve: Interval(s.startAt, s.endAt, curve: s.curve), - ); - late Animation animation; - if (s.property == 'color') { - animation = ColorTween( - begin: s.fromTo.fromValue() as Color?, - end: s.fromTo.toValue() as Color?, - ).animate(curve); - } else { - animation = Tween( - begin: s.fromTo.fromValue() as double, - end: s.fromTo.toValue() as double, - ).animate(curve); - } - if (s.type == 'fv') { - _fvAxes.add(s.property); - _fvAnimations.add(animation); - } else if (s.type == 'basic') { - switch (s.property) { - case 'scale': - { - _scaleAnimation = animation; - } - case 'rotation': - { - _rotationAnimation = animation; - } - case 'offsetX': - { - _offsetXAnimation = animation; - } - case 'offsetY': - { - _offsetYAnimation = animation; - } - case 'color': - { - _colorAnimation = animation; - } - default: - { - if (kDebugMode) { - print( - '**ERROR** unrecognized property to animate: ${s.property}', - ); - } - } - } - } - // save refs to all curves just to persist in mem, don't need to touch them again - _curves.add(curve); - } - } -} - -abstract class WCRange { - WCRange(); - T fromValue(); - T toValue(); -} - -class RangeColor implements WCRange { - Color from; - Color to; - RangeColor({required this.from, required this.to}); - @override - Color fromValue() { - return from; - } - - @override - Color toValue() { - return to; - } -} - -class RangeDbl implements WCRange { - double from; - double to; - - RangeDbl({required this.from, required this.to}); - - @override - double fromValue() { - return from; - } - - @override - double toValue() { - return to; - } -} - -class WonkyAnimSetting { - // just the animation - String type; // 'fv' for fontVariation, 'basic' for everything else - String property; //font variation axis, or 'size'/'rotation'/etc. - WCRange fromTo; - double startAt; // 0 to 1 rel to controller - double endAt; // same as start - Curve curve; - WonkyAnimSetting({ - required this.type, - required this.property, - required this.fromTo, - required this.startAt, - required this.endAt, - required this.curve, - }); -} diff --git a/experimental/varfont_shader_puzzle/lib/main.dart b/experimental/varfont_shader_puzzle/lib/main.dart deleted file mode 100644 index bf845e2d0f1..00000000000 --- a/experimental/varfont_shader_puzzle/lib/main.dart +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import '../page_content/pages_flow.dart'; - -void main() { - runApp(const TypePuzzle()); -} - -class TypePuzzle extends StatelessWidget { - const TypePuzzle({super.key}); - - @override - Widget build(BuildContext context) { - return MaterialApp( - debugShowCheckedModeBanner: false, - title: 'Type Jam', - theme: ThemeData(primarySwatch: Colors.grey), - home: const Scaffold(appBar: null, body: PagesFlow()), - ); - } -} diff --git a/experimental/varfont_shader_puzzle/lib/model/puzzle_model.dart b/experimental/varfont_shader_puzzle/lib/model/puzzle_model.dart deleted file mode 100644 index f1dfd6c7bfe..00000000000 --- a/experimental/varfont_shader_puzzle/lib/model/puzzle_model.dart +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -class PuzzleModel { - final int dim; // num tiles in any one dir; dim x dim board - - // 2d array like a board - // x is the tileID and its position in the array mirrors the board - List> positions = [[]]; - - // rotation states, where index == tileID - // x is num of CCW rotations off from correct (x % 4 == 0 indicates correct) - List status = []; - - PuzzleModel({required this.dim}) { - for (int i = 0; i < dim; i++) { - if (positions[positions.length - 1].length == dim) { - positions.add([]); - } - positions[positions.length - 1].add(i); - status.add(0); - } - } - - bool allRotationsCorrect() { - for (int i = 0; i < status.length; i++) { - if (status[i] % 4 != 0) { - return false; - } - } - return true; - } - - void setTileStatus(int tileID, int newStatus) { - status[tileID] = newStatus; - } - - int getTileStatus(int tileID) { - return status[tileID]; - } - - void rotateTile(int tileID) { - status[tileID]--; - } - - int getRotationOfTile(int tileID) { - return status[tileID]; - } -} diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_ascender_descender.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_ascender_descender.dart deleted file mode 100644 index ce9c13d0a4e..00000000000 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_ascender_descender.dart +++ /dev/null @@ -1,211 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:math'; - -import 'package:flutter/material.dart'; - -import '../components/components.dart'; -import '../page_content/pages_flow.dart'; -import '../styles.dart'; - -class PageAscenderDescender extends SinglePage { - const PageAscenderDescender({super.key, required super.pageConfig}); - @override - State createState() => _PageAscenderDescenderState(); -} - -class _PageAscenderDescenderState extends SinglePageState { - @override - Widget createTopicIntro() { - return LightboxedPanel( - pageConfig: widget.pageConfig, - content: [ - Text( - 'Ascenders & Descenders'.toUpperCase(), - style: TextStyles.headlineStyle(), - textAlign: TextAlign.left, - ), - Text( - 'Fonts can also vary based on their ' - 'individual pieces, like the ascenders (the parts that ' - 'extend upward) and the descenders (which extend downward)! ' - 'Piece this letter together and lock in its ' - 'wobbly ascenders and descenders!', - style: TextStyles.bodyStyle(), - textAlign: TextAlign.left, - ), - ], - ); - } - - @override - List buildWonkyChars() { - return [ - Positioned( - left: widget.pageConfig.wonkyCharLargeSize * 0.08, - top: widget.pageConfig.wonkyCharLargeSize * -0.1, - child: WonkyChar( - text: 'l', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: 0.15 * pi, - animDurationMillis: 3200, - animationSettings: [ - WonkyAnimPalette.ascenderHt( - from: 500, - to: 983, - curve: Curves.easeInOut, - ), - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - curve: Curves.easeInOut, - ), - ], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.34, - top: widget.pageConfig.wonkyCharLargeSize * 0.12, - child: WonkyChar( - text: 'g', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.12 * pi, - animDurationMillis: 3200, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - curve: Curves.easeInOut, - ), - WonkyAnimPalette.descenderDepth(from: -500, to: -138), - ], - ), - ), - Positioned( - right: widget.pageConfig.wonkyCharLargeSize * -0.1, - top: widget.pageConfig.wonkyCharLargeSize * -0.5, - child: WonkyChar( - text: 'q', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: 0.15 * pi, - animDurationMillis: 5000, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - ), - WonkyAnimPalette.descenderDepth( - from: -240, - to: -440, - startAt: 0.3, - endAt: 0.7, - curve: Curves.bounceOut, - ), - ], - ), - ), - // lower half -------------------------------------- - Positioned( - left: widget.pageConfig.wonkyCharSmallSize * 0.1, - bottom: widget.pageConfig.wonkyCharSmallSize * -0.34, - child: WonkyChar( - text: 'f', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.15 * pi, - animDurationMillis: 12000, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - ), - WonkyAnimPalette.ascenderHt(from: 600, to: 980), - ], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.17, - bottom: widget.pageConfig.wonkyCharLargeSize * 0.5, - child: WonkyChar( - text: 'p', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.15 * pi, - animDurationMillis: 3000, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - ), - WonkyAnimPalette.descenderDepth( - from: -390, - to: -220, - curve: Curves.linear, - ), - ], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.4, - bottom: widget.pageConfig.wonkyCharSmallSize * 0.25, - child: WonkyChar( - text: 'k', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.15 * pi, - animDurationMillis: 3000, - animationSettings: [ - WonkyAnimPalette.ascenderHt( - from: 600, - to: 840, - curve: Curves.linear, - ), - ], - ), - ), - Positioned( - right: widget.pageConfig.wonkyCharLargeSize * 0.05, - bottom: widget.pageConfig.wonkyCharLargeSize * -0.04, - child: WonkyChar( - text: 'j', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: 0.2 * pi, - animDurationMillis: 5000, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - ), - WonkyAnimPalette.descenderDepth(from: -200, to: -500), - ], - ), - ), - ]; - } - - @override - Widget createPuzzle() { - return RotatorPuzzle( - pageConfig: widget.pageConfig, - numTiles: 9, - puzzleNum: 3, - shader: Shader.rowOffset, - shaderDuration: 2000, - tileShadedString: 'fyd', - tileShadedStringPadding: EdgeInsets.only( - top: 0.233 * widget.pageConfig.puzzleSize, - bottom: 0, - left: 0.465 * widget.pageConfig.puzzleSize, - right: 0.465 * widget.pageConfig.puzzleSize, - ), - tileShadedStringSize: 1.86 * widget.pageConfig.puzzleSize, - tileScaleModifier: 2.7, - tileShadedStringAnimDuration: 2000, - tileShadedStringAnimSettings: [ - WonkyAnimPalette.weight(from: 200, to: 200), - WonkyAnimPalette.width(from: 50, to: 50), - WonkyAnimPalette.ascenderHt(from: 700, to: 980), - WonkyAnimPalette.descenderDepth(from: -238, to: -138), - ], - ); - } -} diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_post.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_post.dart deleted file mode 100644 index 71d37c457f5..00000000000 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_post.dart +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import '../components/components.dart'; -import '../page_content/pages_flow.dart'; -import '../styles.dart'; - -class PageNarrativePost extends NarrativePage { - const PageNarrativePost({super.key, required super.pageConfig}); - - @override - State createState() => _PageNarrativePostState(); -} - -class _PageNarrativePostState extends NarrativePageState { - @override - void initState() { - panels = [ - LightboxedPanel( - pageConfig: widget.pageConfig, - fadeOnDismiss: false, - buildButton: true, - onDismiss: super.handleIntroDismiss, - content: [ - Text( - 'Whew, we put everything back together just before the font launch.', - style: TextStyles.bodyStyle(), - textAlign: TextAlign.left, - ), - const SizedBox(height: 8), - const Image(image: AssetImage('assets/images/specimen-1.png')), - Text( - 'As a reward, please enjoy the FontCo wallpapers on the next screen. Congratulations!', - style: TextStyles.bodyStyle(), - textAlign: TextAlign.left, - ), - ], - ), - ]; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return panels[panelIndex]; - } -} diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_pre.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_pre.dart deleted file mode 100644 index 4f78f0734ea..00000000000 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_pre.dart +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; -import '../components/components.dart'; -import '../page_content/pages_flow.dart'; -import '../styles.dart'; - -class PageNarrativePre extends NarrativePage { - const PageNarrativePre({super.key, required super.pageConfig}); - - @override - State createState() => _PageNarrativePreState(); -} - -class _PageNarrativePreState extends NarrativePageState { - @override - void initState() { - panels = [ - LightboxedPanel( - key: UniqueKey(), - pageConfig: widget.pageConfig, - fadeOnDismiss: false, - onDismiss: super.handleIntroDismiss, - content: [ - Text( - 'Welcome to your first day on the FontCo team! Are you ready to help us publish our newest font, Designer Pro?', - style: TextStyles.bodyStyle(), - textAlign: TextAlign.left, - ), - const SizedBox(height: 8), - const Image(image: AssetImage('assets/images/specimen-1.png')), - ], - ), - LightboxedPanel( - key: UniqueKey(), - pageConfig: widget.pageConfig, - fadeOnDismiss: false, - onDismiss: super.handleIntroDismiss, - autoDismissAfter: 100, - buildButton: false, - lightBoxBgColor: Colors.black, - cardBgColor: Colors.black, - content: [ - Transform.scale( - scaleX: -1, - child: Text( - 'Welcome to your first day on the FontCo team! Are you ready to help us publish our newest font, Designer Pro?', - style: TextStyles.bodyStyle().copyWith(color: Colors.white), - textAlign: TextAlign.left, - ), - ), - const SizedBox(height: 8), - Transform.scale( - scaleX: -1, - child: const Image( - image: AssetImage('assets/images/specimen-1-glitch.png'), - ), - ), - const SizedBox(height: 56), - ], - ), - LightboxedPanel( - key: UniqueKey(), - pageConfig: widget.pageConfig, - fadeOnDismiss: false, - onDismiss: super.handleIntroDismiss, - autoDismissAfter: 100, - buildButton: false, - lightBoxBgColor: Colors.black, - cardBgColor: Colors.black, - content: [ - Transform.scale( - scaleX: -1, - child: Transform.translate( - offset: const Offset(20.0, 0.0), - child: Text( - 'Welcome to your first day on the FontCo team! Are you ready to help us publish our newest font, Designer Pro?', - style: TextStyles.bodyStyle().copyWith(color: Colors.white), - textAlign: TextAlign.left, - ), - ), - ), - const SizedBox(height: 8), - Transform.scale( - scaleX: -1, - child: Transform.translate( - offset: const Offset(-20.0, 0.0), - child: const Image( - image: AssetImage('assets/images/specimen-1-glitch.png'), - ), - ), - ), - const SizedBox(height: 56), - ], - ), - LightboxedPanel( - key: UniqueKey(), - pageConfig: widget.pageConfig, - fadeOnDismiss: false, - onDismiss: super.handleIntroDismiss, - autoDismissAfter: 100, - buildButton: false, - lightBoxBgColor: Colors.black, - cardBgColor: Colors.black, - content: [ - Transform.scale( - scaleX: -1, - child: Text( - 'Welcome to your first day on the FontCo team! Are you ready to help us publish our newest font, Designer Pro?', - style: TextStyles.bodyStyle().copyWith(color: Colors.white), - textAlign: TextAlign.left, - ), - ), - const SizedBox(height: 8), - Transform.scale( - scaleX: -1, - child: const Image( - image: AssetImage('assets/images/specimen-1-glitch.png'), - ), - ), - const SizedBox(height: 56), - ], - ), - LightboxedPanel( - key: UniqueKey(), - pageConfig: widget.pageConfig, - fadeOnDismiss: false, - onDismiss: super.handleIntroDismiss, - content: [ - Text( - 'Oh no, you clicked the button too hard! Now the font file is glitched. Help us put the letters back together so we can launch!', - style: TextStyles.bodyStyle(), - textAlign: TextAlign.left, - ), - const SizedBox(height: 8), - const Image(image: AssetImage('assets/images/specimen-2.png')), - ], - ), - ]; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return panels[panelIndex]; - } -} diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_optical_size.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_optical_size.dart deleted file mode 100644 index 25cf974cab4..00000000000 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_optical_size.dart +++ /dev/null @@ -1,163 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:math'; - -import 'package:flutter/material.dart'; - -import '../components/components.dart'; -import '../page_content/pages_flow.dart'; -import '../styles.dart'; - -class PageOpticalSize extends SinglePage { - const PageOpticalSize({super.key, required super.pageConfig}); - - @override - State createState() => _PageOpticalSizeState(); -} - -class _PageOpticalSizeState extends SinglePageState { - @override - Widget createTopicIntro() { - return LightboxedPanel( - pageConfig: widget.pageConfig, - content: [ - Text( - 'Optical Size'.toUpperCase(), - style: TextStyles.headlineStyle(), - textAlign: TextAlign.left, - ), - Text( - 'Optical size adjusts the type according to how large it will be shown. ' - 'Smaller type usually calls for less contrast between the thin and thick ' - 'parts the letter, while larger type calls for more contrast. ' - 'Put this glitching letter back together and lock in the optical size!', - style: TextStyles.bodyStyle(), - textAlign: TextAlign.left, - ), - ], - ); - } - - @override - List buildWonkyChars() { - return [ - Positioned( - left: widget.pageConfig.wonkyCharLargeSize * -0.13, - top: widget.pageConfig.wonkyCharLargeSize * -0.3, - child: WonkyChar( - text: 'O', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: 0.15 * pi, - animDurationMillis: 3200, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - curve: Curves.easeInOut, - ), - WonkyAnimPalette.opticalSize(from: 70, to: 144), - ], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.37, - top: widget.pageConfig.wonkyCharLargeSize * 0.37, - child: WonkyChar( - text: '@', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.12 * pi, - animDurationMillis: 3200, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - curve: Curves.easeInOut, - ), - WonkyAnimPalette.opticalSize(from: 78, to: 8), - ], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.57, - top: widget.pageConfig.wonkyCharSmallSize * -0.02, - child: WonkyChar( - text: 'r', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.15 * pi, - animationSettings: [WonkyAnimPalette.opticalSize(from: 32, to: 106)], - ), - ), - Positioned( - right: widget.pageConfig.wonkyCharLargeSize * 0.03, - top: widget.pageConfig.wonkyCharLargeSize * -0.26, - child: WonkyChar( - text: 'e', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: -0.15 * pi, - animDurationMillis: 5000, - animationSettings: [WonkyAnimPalette.opticalSize(from: 70, to: 144)], - ), - ), - // lower half -------------------------------------- - Positioned( - left: widget.pageConfig.wonkyCharLargeSize * 0.1, - bottom: widget.pageConfig.wonkyCharLargeSize * 0.05, - child: WonkyChar( - text: 'i', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: -0.04 * pi, - animationSettings: [WonkyAnimPalette.opticalSize(from: 40, to: 8)], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.37, - bottom: widget.pageConfig.wonkyCharLargeSize * -0.04, - child: WonkyChar( - text: 'Z', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.15 * pi, - animationSettings: [WonkyAnimPalette.opticalSize(from: 8, to: 60)], - ), - ), - Positioned( - right: widget.pageConfig.wonkyCharLargeSize * -0.14, - bottom: widget.pageConfig.wonkyCharLargeSize * -0.1, - child: WonkyChar( - text: 'A', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: 0.15 * pi, - animDurationMillis: 12000, - animationSettings: [ - WonkyAnimPalette.opticalSize(from: 80, to: 20), - WonkyAnimPalette.rotation(from: -0.01 * pi, to: 0.01 * pi), - ], - ), - ), - ]; - } - - @override - Widget createPuzzle() { - return RotatorPuzzle( - pageConfig: widget.pageConfig, - numTiles: 16, - puzzleNum: 4, - shader: Shader.wavy, - shaderDuration: 5000, - tileShadedString: 'Z', - tileShadedStringPadding: EdgeInsets.only( - bottom: 0.349 * widget.pageConfig.puzzleSize, - ), - tileScaleModifier: 2.6, - tileShadedStringSize: 2.79 * widget.pageConfig.puzzleSize, - tileShadedStringAnimDuration: 3000, - tileShadedStringAnimSettings: [ - WonkyAnimPalette.weight(from: 1000, to: 1000), - WonkyAnimPalette.width(from: 125, to: 125), - WonkyAnimPalette.opticalSize(from: 8, to: 144), - ], - ); - } -} diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_weight.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_weight.dart deleted file mode 100644 index da93a7fe9e6..00000000000 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_weight.dart +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:math'; - -import 'package:flutter/material.dart'; - -import '../components/components.dart'; -import '../page_content/pages_flow.dart'; -import '../styles.dart'; - -class PageWeight extends SinglePage { - const PageWeight({super.key, required super.pageConfig}); - - @override - State createState() => _PageWeightState(); -} - -class _PageWeightState extends SinglePageState { - @override - Widget createTopicIntro() { - return LightboxedPanel( - pageConfig: widget.pageConfig, - content: [ - Text( - 'Weight'.toUpperCase(), - style: TextStyles.headlineStyle(), - textAlign: TextAlign.left, - ), - Text( - 'You probably knew that fonts can vary by weight, or the boldness, ' - 'as we can see in the letters on this page. Tap the pieces of the ' - 'broken letter to bring it back together, but don’t get distracted ' - 'by its oscillating weight!', - style: TextStyles.bodyStyle(), - textAlign: TextAlign.left, - ), - ], - ); - } - - @override - List buildWonkyChars() { - return [ - Positioned( - left: widget.pageConfig.wonkyCharLargeSize * -0.01, - top: widget.pageConfig.wonkyCharLargeSize * -0.26, - child: WonkyChar( - text: 'S', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: 0.15 * pi, - animDurationMillis: 3200, - animationSettings: [ - WonkyAnimPalette.weight( - from: 100, - to: 300, - curve: Curves.easeInOut, - ), - ], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.34, - top: widget.pageConfig.wonkyCharLargeSize * 0.3, - child: WonkyChar( - text: 't', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.12 * pi, - animDurationMillis: 3200, - animationSettings: [ - WonkyAnimPalette.weight( - from: 1000, - to: 800, - curve: Curves.easeInOut, - ), - ], - ), - ), - Positioned( - right: widget.pageConfig.wonkyCharLargeSize * 0.07, - top: widget.pageConfig.wonkyCharLargeSize * -0.26, - child: WonkyChar( - text: 'q', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: -0.15 * pi, - animDurationMillis: 5000, - animationSettings: [WonkyAnimPalette.weight(from: 200, to: 500)], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.5, - top: widget.pageConfig.wonkyCharSmallSize * 0.3, - child: WonkyChar( - text: '*', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.15 * pi, - animationSettings: [WonkyAnimPalette.weight(from: 100, to: 400)], - ), - ), - // lower half -------------------------------------- - Positioned( - left: widget.pageConfig.wonkyCharLargeSize * -0.2, - bottom: widget.pageConfig.wonkyCharLargeSize * -0.34, - child: WonkyChar( - text: 'C', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: -0.15 * pi, - animDurationMillis: 7000, - animationSettings: [WonkyAnimPalette.weight(from: 1000, to: 700)], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.42, - bottom: widget.pageConfig.wonkyCharLargeSize * 0.02, - child: WonkyChar( - text: 'f', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.15 * pi, - animDurationMillis: 4000, - animationSettings: [WonkyAnimPalette.weight(from: 100, to: 200)], - ), - ), - Positioned( - right: widget.pageConfig.wonkyCharLargeSize * -0.2, - bottom: widget.pageConfig.wonkyCharLargeSize * -0.23, - child: WonkyChar( - text: 'R', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: -1.15 * pi, - animDurationMillis: 2000, - animationSettings: [WonkyAnimPalette.weight(from: 700, to: 900)], - ), - ), - ]; - } - - @override - Widget createPuzzle() { - return RotatorPuzzle( - pageConfig: widget.pageConfig, - numTiles: 9, - puzzleNum: 1, - shader: Shader.wavy2, - shaderDuration: 3000, - tileShadedString: 'W', - tileShadedStringPadding: EdgeInsets.only( - left: 0.698 * widget.pageConfig.puzzleSize, - right: 0.698 * widget.pageConfig.puzzleSize, - ), - tileShadedStringSize: 2.79 * widget.pageConfig.puzzleSize, - tileScaleModifier: 2.4, - tileShadedStringAnimDuration: 1000, - tileShadedStringAnimSettings: [ - WonkyAnimPalette.weight(from: 600, to: 1000), - WonkyAnimPalette.width(from: 50, to: 50), - ], - ); - } -} diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_width.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_width.dart deleted file mode 100644 index 1e77117d668..00000000000 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_width.dart +++ /dev/null @@ -1,190 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:math'; - -import 'package:flutter/material.dart'; - -import '../components/components.dart'; -import '../page_content/pages_flow.dart'; -import '../styles.dart'; - -class PageWidth extends SinglePage { - const PageWidth({super.key, required super.pageConfig}); - @override - State createState() => _PageWidthState(); -} - -class _PageWidthState extends SinglePageState { - @override - Widget createTopicIntro() { - return LightboxedPanel( - pageConfig: widget.pageConfig, - content: [ - Text( - 'Width'.toUpperCase(), - style: TextStyles.headlineStyle(), - textAlign: TextAlign.left, - ), - Text( - 'Fonts can vary by width as well. Choosing a new width setting is better ' - 'than stretching letters in an image editor, which would just distort the letter. ' - 'Solve this letter puzzle to clear the glitch and set the width!', - style: TextStyles.bodyStyle(), - textAlign: TextAlign.left, - ), - ], - ); - } - - @override - List buildWonkyChars() { - return [ - Positioned( - left: widget.pageConfig.wonkyCharLargeSize * -0.17, - top: widget.pageConfig.wonkyCharLargeSize * -0.2, - child: WonkyChar( - text: 'r', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: -0.15 * pi, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - ), - WonkyAnimPalette.width(from: 120, to: 125), - ], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.3, - top: widget.pageConfig.wonkyCharLargeSize * 0.42, - child: WonkyChar( - text: 'x', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.12 * pi, - animDurationMillis: 3200, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - curve: Curves.easeInOut, - ), - WonkyAnimPalette.width(from: 70, to: 50), - WonkyAnimPalette.offsetY(from: -6, to: 2, curve: Curves.easeInOut), - WonkyAnimPalette.rotation(from: -0.04 * pi, to: 0.005 * pi), - ], - ), - ), - Positioned( - right: widget.pageConfig.wonkyCharLargeSize * 0, - top: widget.pageConfig.wonkyCharLargeSize * -0.2, - child: WonkyChar( - text: 'F', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: 0.15 * pi, - animDurationMillis: 3200, - animationSettings: [ - WonkyAnimPalette.width(from: 120, to: 125), - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - ), - ], - ), - ), - - // lower half -------------------------------------- - Positioned( - left: widget.pageConfig.wonkyCharLargeSize * -0.2, - bottom: widget.pageConfig.wonkyCharLargeSize * -0.3, - child: WonkyChar( - text: 'W', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: -0.15 * pi, - animDurationMillis: 6000, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - ), - WonkyAnimPalette.width(from: 75, to: 50), - ], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.4, - bottom: widget.pageConfig.wonkyCharLargeSize * 0.1, - child: WonkyChar( - text: 'h', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.15 * pi, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - ), - WonkyAnimPalette.width(from: 90, to: 115), - ], - ), - ), - Positioned( - left: widget.pageConfig.screenWidth * 0.75, - bottom: widget.pageConfig.wonkyCharSmallSize * -0.24, - child: WonkyChar( - text: 'K', - size: widget.pageConfig.wonkyCharSmallSize, - baseRotation: -0.15 * pi, - animDurationMillis: 5000, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - ), - WonkyAnimPalette.width(from: 125, to: 90, startAt: 0.3, endAt: 0.7), - ], - ), - ), - Positioned( - right: widget.pageConfig.wonkyCharLargeSize * 0.0, - bottom: widget.pageConfig.wonkyCharLargeSize * 0.1, - child: WonkyChar( - text: '?', - size: widget.pageConfig.wonkyCharLargeSize, - baseRotation: -1.67 * pi, - animationSettings: [ - WonkyAnimPalette.weight( - from: PageConfig.baseWeight, - to: PageConfig.baseWeight, - ), - WonkyAnimPalette.width(from: 110, to: 60), - ], - ), - ), - ]; - } - - @override - Widget createPuzzle() { - return RotatorPuzzle( - pageConfig: widget.pageConfig, - numTiles: 16, - puzzleNum: 2, - shader: Shader.bwSplit, - shaderDuration: 2000, - tileShadedString: 'S', - tileShadedStringPadding: EdgeInsets.only( - left: 0.349 * widget.pageConfig.puzzleSize, - right: 0.349 * widget.pageConfig.puzzleSize, - ), - tileShadedStringSize: 3.256 * widget.pageConfig.puzzleSize, - tileScaleModifier: 2.34, - tileShadedStringAnimDuration: 2000, - tileShadedStringAnimSettings: [ - WonkyAnimPalette.weight(from: 200, to: 200), - WonkyAnimPalette.width(from: 50, to: 125), - ], - ); - } -} diff --git a/experimental/varfont_shader_puzzle/lib/page_content/pages.dart b/experimental/varfont_shader_puzzle/lib/page_content/pages.dart deleted file mode 100644 index 602f1aba52a..00000000000 --- a/experimental/varfont_shader_puzzle/lib/page_content/pages.dart +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -export 'page_ascender_descender.dart'; -export 'page_narrative_post.dart'; -export 'page_narrative_pre.dart'; -export 'page_optical_size.dart'; -export 'page_weight.dart'; -export 'page_width.dart'; diff --git a/experimental/varfont_shader_puzzle/lib/page_content/pages_flow.dart b/experimental/varfont_shader_puzzle/lib/page_content/pages_flow.dart deleted file mode 100644 index 607d9c7861a..00000000000 --- a/experimental/varfont_shader_puzzle/lib/page_content/pages_flow.dart +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:math'; - -import 'package:flutter/material.dart'; - -import '../components/components.dart'; -import '../page_content/wallpapers_flow.dart'; -import 'pages.dart'; - -class PagesFlow extends StatefulWidget { - const PagesFlow({super.key}); - - static const pageScrollDuration = 400; - - @override - State createState() => _PagesFlowState(); -} - -class _PagesFlowState extends State { - late PageController pageController = PageController(); - - @override - Widget build(BuildContext context) { - final double screenWidth = MediaQuery.of(context).size.width; - final double screenHeight = MediaQuery.of(context).size.height; - bool narrowView = screenWidth * 1.8 < screenHeight ? true : false; - double puzzleSize = - narrowView ? screenWidth * 1 : min(screenHeight * 0.6, screenWidth); - double topBottomMargin = (screenHeight - puzzleSize) * 0.5; - double wonkyCharLargeSize = topBottomMargin * 1.0; - double wonkyCharSmallSize = wonkyCharLargeSize * 0.5; - PageConfig pageConfig = PageConfig( - screenWidth: screenWidth, - screenHeight: screenHeight, - narrowView: narrowView, - puzzleSize: puzzleSize, - pageController: pageController, - wonkyCharLargeSize: wonkyCharLargeSize, - wonkyCharSmallSize: wonkyCharSmallSize, - ); - - return PageView( - controller: pageController, - physics: const NeverScrollableScrollPhysics(), - scrollDirection: Axis.vertical, - children: [ - PageNarrativePre(pageConfig: pageConfig), - PageWeight(pageConfig: pageConfig), - PageAscenderDescender(pageConfig: pageConfig), - PageOpticalSize(pageConfig: pageConfig), - PageWidth(pageConfig: pageConfig), - PageNarrativePost(pageConfig: pageConfig), - const WallpapersFlow(), - ], - ); - } -} - -class PageConfig { - final double screenWidth; - final double screenHeight; - final bool narrowView; - final double puzzleSize; - final PageController pageController; - final double wonkyCharLargeSize; - final double wonkyCharSmallSize; - static double baseWeight = 800; - const PageConfig({ - Key? key, - required this.screenWidth, - required this.screenHeight, - required this.narrowView, - required this.puzzleSize, - required this.pageController, - required this.wonkyCharLargeSize, - required this.wonkyCharSmallSize, - }); -} - -class SinglePage extends StatefulWidget { - final PageConfig pageConfig; - const SinglePage({super.key, required this.pageConfig}); - - @override - State createState() => SinglePageState(); -} - -class SinglePageState extends State with TickerProviderStateMixin { - List buildWonkyChars() { - return []; - } - - Widget createPuzzle() { - return Container(); - } - - Widget createTopicIntro() { - return LightboxedPanel(pageConfig: widget.pageConfig, content: const []); - } - - @override - Widget build(BuildContext context) { - List c = []; - c.add(createPuzzle()); - c += buildWonkyChars(); - c.add(createTopicIntro()); - return Stack(children: c); - } - - void puzzleDone() {} -} - -class NarrativePage extends StatefulWidget { - final PageConfig pageConfig; - const NarrativePage({super.key, required this.pageConfig}); - - @override - State createState() => NarrativePageState(); -} - -class NarrativePageState extends State - with TickerProviderStateMixin { - int panelIndex = 0; - List panels = []; - - void handleIntroDismiss() { - Future.delayed(const Duration(milliseconds: 50), () { - setState(() { - if (panelIndex == panels.length - 1) { - widget.pageConfig.pageController.nextPage( - duration: const Duration( - milliseconds: PagesFlow.pageScrollDuration, - ), - curve: Curves.easeOut, - ); - } else { - panelIndex++; - } - }); - }); - } - - @override - Widget build(BuildContext context) { - switch (panelIndex) { - default: - return Container(); - } - } - - void puzzleDone() {} -} diff --git a/experimental/varfont_shader_puzzle/lib/page_content/wallpapers_flow.dart b/experimental/varfont_shader_puzzle/lib/page_content/wallpapers_flow.dart deleted file mode 100644 index 24120c9359c..00000000000 --- a/experimental/varfont_shader_puzzle/lib/page_content/wallpapers_flow.dart +++ /dev/null @@ -1,426 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/foundation.dart'; -import 'package:flutter/material.dart'; - -class WallpapersFlow extends StatefulWidget { - const WallpapersFlow({super.key}); - - @override - State createState() => _WallpapersFlowState(); -} - -class _WallpapersFlowState extends State { - int pageNum = 0; - int numPages = 4; - - @override - void initState() { - LicenseRegistry.addLicense( - () => Stream.value( - LicenseEntryWithLineBreaks(['roboto_font'], robotoLicense), - ), - ); - LicenseRegistry.addLicense( - () => Stream.value( - LicenseEntryWithLineBreaks([ - 'amstelvar_font', - ], amstelvarLicense), - ), - ); - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Stack( - children: [ - PageView( - onPageChanged: (value) { - setState(() { - pageNum = value; - }); - }, - children: const [ - DecoratedBox( - decoration: BoxDecoration(color: Colors.black), - child: Center( - child: Image( - image: AssetImage('assets/images/wallpaper3.png'), - fit: BoxFit.contain, - ), - ), - ), - DecoratedBox( - decoration: BoxDecoration(color: Colors.black), - child: Center( - child: Image( - image: AssetImage('assets/images/wallpaper1.png'), - fit: BoxFit.contain, - ), - ), - ), - DecoratedBox( - decoration: BoxDecoration(color: Colors.black), - child: Center( - child: Image( - image: AssetImage('assets/images/wallpaper2.png'), - fit: BoxFit.contain, - ), - ), - ), - LicensePage(), - ], - ), - Align( - alignment: Alignment.bottomCenter, - child: Padding( - padding: const EdgeInsets.only(bottom: 20.0), - child: Container( - width: 100, - height: 30, - decoration: BoxDecoration( - borderRadius: BorderRadius.circular(15), - color: const Color.fromARGB(220, 0, 0, 0), - ), - child: Center( - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceAround, - children: _buildScrollDots(), - ), - ), - ), - ), - ), - ], - ); - } - - List _buildScrollDots() { - List dots = []; - for (int i = 0; i < numPages; i++) { - Color dotColor = - i == pageNum - ? const Color.fromARGB(255, 255, 255, 255) - : const Color.fromARGB(255, 105, 105, 105); - Widget d = Container( - width: 16, - height: 16, - decoration: BoxDecoration( - color: dotColor, - borderRadius: BorderRadius.circular(8.0), - border: Border.all(color: Colors.white, width: 0.5), - ), - ); - dots.add(d); - } - return dots; - } - - final String robotoLicense = ''' -Apache License -Version 2.0, January 2004 -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, -and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by -the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all -other entities that control, are controlled by, or are under common -control with that entity. For the purposes of this definition, -"control" means (i) the power, direct or indirect, to cause the -direction or management of such entity, whether by contract or -otherwise, or (ii) ownership of fifty percent (50%) or more of the -outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity -exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, -including but not limited to software source code, documentation -source, and configuration files. - -"Object" form shall mean any form resulting from mechanical -transformation or translation of a Source form, including but -not limited to compiled object code, generated documentation, -and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or -Object form, made available under the License, as indicated by a -copyright notice that is included in or attached to the work -(an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object -form, that is based on (or derived from) the Work and for which the -editorial revisions, annotations, elaborations, or other modifications -represent, as a whole, an original work of authorship. For the purposes -of this License, Derivative Works shall not include works that remain -separable from, or merely link (or bind by name) to the interfaces of, -the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including -the original version of the Work and any modifications or additions -to that Work or Derivative Works thereof, that is intentionally -submitted to Licensor for inclusion in the Work by the copyright owner -or by an individual or Legal Entity authorized to submit on behalf of -the copyright owner. For the purposes of this definition, "submitted" -means any form of electronic, verbal, or written communication sent -to the Licensor or its representatives, including but not limited to -communication on electronic mailing lists, source code control systems, -and issue tracking systems that are managed by, or on behalf of, the -Licensor for the purpose of discussing and improving the Work, but -excluding communication that is conspicuously marked or otherwise -designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity -on behalf of whom a Contribution has been received by Licensor and -subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of -this License, each Contributor hereby grants to You a perpetual, -worldwide, non-exclusive, no-charge, royalty-free, irrevocable -copyright license to reproduce, prepare Derivative Works of, -publicly display, publicly perform, sublicense, and distribute the -Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of -this License, each Contributor hereby grants to You a perpetual, -worldwide, non-exclusive, no-charge, royalty-free, irrevocable -(except as stated in this section) patent license to make, have made, -use, offer to sell, sell, import, and otherwise transfer the Work, -where such license applies only to those patent claims licensable -by such Contributor that are necessarily infringed by their -Contribution(s) alone or by combination of their Contribution(s) -with the Work to which such Contribution(s) was submitted. If You -institute patent litigation against any entity (including a -cross-claim or counterclaim in a lawsuit) alleging that the Work -or a Contribution incorporated within the Work constitutes direct -or contributory patent infringement, then any patent licenses -granted to You under this License for that Work shall terminate -as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the -Work or Derivative Works thereof in any medium, with or without -modifications, and in Source or Object form, provided that You -meet the following conditions: - -(a) You must give any other recipients of the Work or -Derivative Works a copy of this License; and - -(b) You must cause any modified files to carry prominent notices -stating that You changed the files; and - -(c) You must retain, in the Source form of any Derivative Works -that You distribute, all copyright, patent, trademark, and -attribution notices from the Source form of the Work, -excluding those notices that do not pertain to any part of -the Derivative Works; and - -(d) If the Work includes a "NOTICE" text file as part of its -distribution, then any Derivative Works that You distribute must -include a readable copy of the attribution notices contained -within such NOTICE file, excluding those notices that do not -pertain to any part of the Derivative Works, in at least one -of the following places: within a NOTICE text file distributed -as part of the Derivative Works; within the Source form or -documentation, if provided along with the Derivative Works; or, -within a display generated by the Derivative Works, if and -wherever such third-party notices normally appear. The contents -of the NOTICE file are for informational purposes only and -do not modify the License. You may add Your own attribution -notices within Derivative Works that You distribute, alongside -or as an addendum to the NOTICE text from the Work, provided -that such additional attribution notices cannot be construed -as modifying the License. - -You may add Your own copyright statement to Your modifications and -may provide additional or different license terms and conditions -for use, reproduction, or distribution of Your modifications, or -for any such Derivative Works as a whole, provided Your use, -reproduction, and distribution of the Work otherwise complies with -the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, -any Contribution intentionally submitted for inclusion in the Work -by You to the Licensor shall be under the terms and conditions of -this License, without any additional terms or conditions. -Notwithstanding the above, nothing herein shall supersede or modify -the terms of any separate license agreement you may have executed -with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade -names, trademarks, service marks, or product names of the Licensor, -except as required for reasonable and customary use in describing the -origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or -agreed to in writing, Licensor provides the Work (and each -Contributor provides its Contributions) on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -implied, including, without limitation, any warranties or conditions -of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A -PARTICULAR PURPOSE. You are solely responsible for determining the -appropriateness of using or redistributing the Work and assume any -risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, -whether in tort (including negligence), contract, or otherwise, -unless required by applicable law (such as deliberate and grossly -negligent acts) or agreed to in writing, shall any Contributor be -liable to You for damages, including any direct, indirect, special, -incidental, or consequential damages of any character arising as a -result of this License or out of the use or inability to use the -Work (including but not limited to damages for loss of goodwill, -work stoppage, computer failure or malfunction, or any and all -other commercial damages or losses), even if such Contributor -has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing -the Work or Derivative Works thereof, You may choose to offer, -and charge a fee for, acceptance of support, warranty, indemnity, -or other liability obligations and/or rights consistent with this -License. However, in accepting such obligations, You may act only -on Your own behalf and on Your sole responsibility, not on behalf -of any other Contributor, and only if You agree to indemnify, -defend, and hold each Contributor harmless for any liability -incurred by, or claims asserted against, such Contributor by reason -of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -APPENDIX: How to apply the Apache License to your work. - -To apply the Apache License to your work, attach the following -boilerplate notice, with the fields enclosed by brackets "[]" -replaced with your own identifying information. (Don't include -the brackets!) The text should be enclosed in the appropriate -comment syntax for the file format. We also recommend that a -file or class name and description of purpose be included on the -same "printed page" as the copyright notice for easier -identification within third-party archives. - -Copyright [yyyy] [name of copyright owner] - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - '''; - - final String amstelvarLicense = ''' -Copyright 2016 The Amstelvar Project Authors (info@fontbureau.com) - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE - -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS - -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS - -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION - -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER - -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. - '''; -} diff --git a/experimental/varfont_shader_puzzle/lib/styles.dart b/experimental/varfont_shader_puzzle/lib/styles.dart deleted file mode 100644 index 996b3b8d575..00000000000 --- a/experimental/varfont_shader_puzzle/lib/styles.dart +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; - -class TextStyles { - const TextStyles({Key? key}); - - static TextStyle bodyStyle() { - return const TextStyle( - fontFamily: 'Roboto', - fontSize: 16, - color: Colors.black, - fontWeight: FontWeight.w400, - height: 1.5, - ); - } - - static TextStyle headlineStyle() { - return const TextStyle( - fontFamily: 'Roboto', - fontSize: 16, - color: Colors.black, - fontWeight: FontWeight.w700, - height: 1.5, - ); - } -} - -class ButtonStyles { - static ButtonStyle style() { - return ButtonStyle( - fixedSize: WidgetStateProperty.resolveWith((states) { - return const Size(100, 36); - }), - shape: WidgetStateProperty.resolveWith((states) { - return const RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(18)), - ); - }), - overlayColor: null, - backgroundColor: WidgetStateProperty.resolveWith((states) { - if (states.contains(WidgetState.hovered)) { - return Colors.black; // Hovered bg (for desktop with mouse) - } - return Colors.grey[600]; // Default bg - }), - ); - } -} diff --git a/experimental/varfont_shader_puzzle/linux/.gitignore b/experimental/varfont_shader_puzzle/linux/.gitignore deleted file mode 100644 index d3896c98444..00000000000 --- a/experimental/varfont_shader_puzzle/linux/.gitignore +++ /dev/null @@ -1 +0,0 @@ -flutter/ephemeral diff --git a/experimental/varfont_shader_puzzle/linux/CMakeLists.txt b/experimental/varfont_shader_puzzle/linux/CMakeLists.txt deleted file mode 100644 index ad80430450c..00000000000 --- a/experimental/varfont_shader_puzzle/linux/CMakeLists.txt +++ /dev/null @@ -1,145 +0,0 @@ -# Project-level configuration. -cmake_minimum_required(VERSION 3.10) -project(runner LANGUAGES CXX) - -# The name of the executable created for the application. Change this to change -# the on-disk name of your application. -set(BINARY_NAME "varfont_shader_puzzle") -# The unique GTK application identifier for this application. See: -# https://wiki.gnome.org/HowDoI/ChooseApplicationID -set(APPLICATION_ID "com.example.varfont_shader_puzzle") - -# Explicitly opt in to modern CMake behaviors to avoid warnings with recent -# versions of CMake. -cmake_policy(SET CMP0063 NEW) - -# Load bundled libraries from the lib/ directory relative to the binary. -set(CMAKE_INSTALL_RPATH "$ORIGIN/lib") - -# Root filesystem for cross-building. -if(FLUTTER_TARGET_PLATFORM_SYSROOT) - set(CMAKE_SYSROOT ${FLUTTER_TARGET_PLATFORM_SYSROOT}) - set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT}) - set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) - set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) - set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) - set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) -endif() - -# Define build configuration options. -if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) - set(CMAKE_BUILD_TYPE "Debug" CACHE - STRING "Flutter build mode" FORCE) - set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS - "Debug" "Profile" "Release") -endif() - -# Compilation settings that should be applied to most targets. -# -# Be cautious about adding new options here, as plugins use this function by -# default. In most cases, you should add new options to specific targets instead -# of modifying this function. -function(APPLY_STANDARD_SETTINGS TARGET) - target_compile_features(${TARGET} PUBLIC cxx_std_14) - target_compile_options(${TARGET} PRIVATE -Wall -Werror) - target_compile_options(${TARGET} PRIVATE "$<$>:-O3>") - target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>") -endfunction() - -# Flutter library and tool build rules. -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") -add_subdirectory(${FLUTTER_MANAGED_DIR}) - -# System-level dependencies. -find_package(PkgConfig REQUIRED) -pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) - -add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}") - -# Define the application target. To change its name, change BINARY_NAME above, -# not the value here, or `flutter run` will no longer work. -# -# Any new source files that you add to the application should be added here. -add_executable(${BINARY_NAME} - "main.cc" - "my_application.cc" - "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" -) - -# Apply the standard set of build settings. This can be removed for applications -# that need different build settings. -apply_standard_settings(${BINARY_NAME}) - -# Add dependency libraries. Add any application-specific dependencies here. -target_link_libraries(${BINARY_NAME} PRIVATE flutter) -target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK) - -# Run the Flutter tool portions of the build. This must not be removed. -add_dependencies(${BINARY_NAME} flutter_assemble) - -# Only the install-generated bundle's copy of the executable will launch -# correctly, since the resources must in the right relative locations. To avoid -# people trying to run the unbundled copy, put it in a subdirectory instead of -# the default top-level location. -set_target_properties(${BINARY_NAME} - PROPERTIES - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run" -) - - -# Generated plugin build rules, which manage building the plugins and adding -# them to the application. -include(flutter/generated_plugins.cmake) - - -# === Installation === -# By default, "installing" just makes a relocatable bundle in the build -# directory. -set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle") -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) -endif() - -# Start with a clean build bundle directory every time. -install(CODE " - file(REMOVE_RECURSE \"${BUILD_BUNDLE_DIR}/\") - " COMPONENT Runtime) - -set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") -set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib") - -install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES}) - install(FILES "${bundled_library}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endforeach(bundled_library) - -# Copy the native assets provided by the build.dart from all packages. -set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/linux/") -install(DIRECTORY "${NATIVE_ASSETS_DIR}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -# Fully re-copy the assets directory on each build to avoid having stale files -# from a previous install. -set(FLUTTER_ASSET_DIR_NAME "flutter_assets") -install(CODE " - file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") - " COMPONENT Runtime) -install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" - DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) - -# Install the AOT library on non-Debug builds only. -if(NOT CMAKE_BUILD_TYPE MATCHES "Debug") - install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endif() diff --git a/experimental/varfont_shader_puzzle/linux/flutter/CMakeLists.txt b/experimental/varfont_shader_puzzle/linux/flutter/CMakeLists.txt deleted file mode 100644 index d5bd01648a9..00000000000 --- a/experimental/varfont_shader_puzzle/linux/flutter/CMakeLists.txt +++ /dev/null @@ -1,88 +0,0 @@ -# This file controls Flutter-level build steps. It should not be edited. -cmake_minimum_required(VERSION 3.10) - -set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") - -# Configuration provided via flutter tool. -include(${EPHEMERAL_DIR}/generated_config.cmake) - -# TODO: Move the rest of this into files in ephemeral. See -# https://github.com/flutter/flutter/issues/57146. - -# Serves the same purpose as list(TRANSFORM ... PREPEND ...), -# which isn't available in 3.10. -function(list_prepend LIST_NAME PREFIX) - set(NEW_LIST "") - foreach(element ${${LIST_NAME}}) - list(APPEND NEW_LIST "${PREFIX}${element}") - endforeach(element) - set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE) -endfunction() - -# === Flutter Library === -# System-level dependencies. -find_package(PkgConfig REQUIRED) -pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) -pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0) -pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0) - -set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so") - -# Published to parent scope for install step. -set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) -set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) -set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) -set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE) - -list(APPEND FLUTTER_LIBRARY_HEADERS - "fl_basic_message_channel.h" - "fl_binary_codec.h" - "fl_binary_messenger.h" - "fl_dart_project.h" - "fl_engine.h" - "fl_json_message_codec.h" - "fl_json_method_codec.h" - "fl_message_codec.h" - "fl_method_call.h" - "fl_method_channel.h" - "fl_method_codec.h" - "fl_method_response.h" - "fl_plugin_registrar.h" - "fl_plugin_registry.h" - "fl_standard_message_codec.h" - "fl_standard_method_codec.h" - "fl_string_codec.h" - "fl_value.h" - "fl_view.h" - "flutter_linux.h" -) -list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/") -add_library(flutter INTERFACE) -target_include_directories(flutter INTERFACE - "${EPHEMERAL_DIR}" -) -target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}") -target_link_libraries(flutter INTERFACE - PkgConfig::GTK - PkgConfig::GLIB - PkgConfig::GIO -) -add_dependencies(flutter flutter_assemble) - -# === Flutter tool backend === -# _phony_ is a non-existent file to force this command to run every time, -# since currently there's no way to get a full input/output list from the -# flutter tool. -add_custom_command( - OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} - ${CMAKE_CURRENT_BINARY_DIR}/_phony_ - COMMAND ${CMAKE_COMMAND} -E env - ${FLUTTER_TOOL_ENVIRONMENT} - "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh" - ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE} - VERBATIM -) -add_custom_target(flutter_assemble DEPENDS - "${FLUTTER_LIBRARY}" - ${FLUTTER_LIBRARY_HEADERS} -) diff --git a/experimental/varfont_shader_puzzle/linux/flutter/generated_plugin_registrant.cc b/experimental/varfont_shader_puzzle/linux/flutter/generated_plugin_registrant.cc deleted file mode 100644 index e71a16d23d0..00000000000 --- a/experimental/varfont_shader_puzzle/linux/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - - -void fl_register_plugins(FlPluginRegistry* registry) { -} diff --git a/experimental/varfont_shader_puzzle/linux/flutter/generated_plugin_registrant.h b/experimental/varfont_shader_puzzle/linux/flutter/generated_plugin_registrant.h deleted file mode 100644 index e0f0a47bc08..00000000000 --- a/experimental/varfont_shader_puzzle/linux/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void fl_register_plugins(FlPluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/experimental/varfont_shader_puzzle/linux/flutter/generated_plugins.cmake b/experimental/varfont_shader_puzzle/linux/flutter/generated_plugins.cmake deleted file mode 100644 index 2e1de87a7eb..00000000000 --- a/experimental/varfont_shader_puzzle/linux/flutter/generated_plugins.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) - -foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) -endforeach(ffi_plugin) diff --git a/experimental/varfont_shader_puzzle/linux/main.cc b/experimental/varfont_shader_puzzle/linux/main.cc deleted file mode 100644 index e7c5c543703..00000000000 --- a/experimental/varfont_shader_puzzle/linux/main.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include "my_application.h" - -int main(int argc, char** argv) { - g_autoptr(MyApplication) app = my_application_new(); - return g_application_run(G_APPLICATION(app), argc, argv); -} diff --git a/experimental/varfont_shader_puzzle/linux/my_application.cc b/experimental/varfont_shader_puzzle/linux/my_application.cc deleted file mode 100644 index af4aa59f8a7..00000000000 --- a/experimental/varfont_shader_puzzle/linux/my_application.cc +++ /dev/null @@ -1,104 +0,0 @@ -#include "my_application.h" - -#include -#ifdef GDK_WINDOWING_X11 -#include -#endif - -#include "flutter/generated_plugin_registrant.h" - -struct _MyApplication { - GtkApplication parent_instance; - char** dart_entrypoint_arguments; -}; - -G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION) - -// Implements GApplication::activate. -static void my_application_activate(GApplication* application) { - MyApplication* self = MY_APPLICATION(application); - GtkWindow* window = - GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application))); - - // Use a header bar when running in GNOME as this is the common style used - // by applications and is the setup most users will be using (e.g. Ubuntu - // desktop). - // If running on X and not using GNOME then just use a traditional title bar - // in case the window manager does more exotic layout, e.g. tiling. - // If running on Wayland assume the header bar will work (may need changing - // if future cases occur). - gboolean use_header_bar = TRUE; -#ifdef GDK_WINDOWING_X11 - GdkScreen* screen = gtk_window_get_screen(window); - if (GDK_IS_X11_SCREEN(screen)) { - const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen); - if (g_strcmp0(wm_name, "GNOME Shell") != 0) { - use_header_bar = FALSE; - } - } -#endif - if (use_header_bar) { - GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); - gtk_widget_show(GTK_WIDGET(header_bar)); - gtk_header_bar_set_title(header_bar, "varfont_shader_puzzle"); - 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, "varfont_shader_puzzle"); - } - - gtk_window_set_default_size(window, 1280, 720); - gtk_widget_show(GTK_WIDGET(window)); - - g_autoptr(FlDartProject) project = fl_dart_project_new(); - fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments); - - FlView* view = fl_view_new(project); - gtk_widget_show(GTK_WIDGET(view)); - gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); - - fl_register_plugins(FL_PLUGIN_REGISTRY(view)); - - gtk_widget_grab_focus(GTK_WIDGET(view)); -} - -// Implements GApplication::local_command_line. -static gboolean my_application_local_command_line(GApplication* application, gchar*** arguments, int* exit_status) { - MyApplication* self = MY_APPLICATION(application); - // Strip out the first argument as it is the binary name. - self->dart_entrypoint_arguments = g_strdupv(*arguments + 1); - - g_autoptr(GError) error = nullptr; - if (!g_application_register(application, nullptr, &error)) { - g_warning("Failed to register: %s", error->message); - *exit_status = 1; - return TRUE; - } - - g_application_activate(application); - *exit_status = 0; - - return TRUE; -} - -// Implements GObject::dispose. -static void my_application_dispose(GObject* object) { - MyApplication* self = MY_APPLICATION(object); - g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev); - G_OBJECT_CLASS(my_application_parent_class)->dispose(object); -} - -static void my_application_class_init(MyApplicationClass* klass) { - G_APPLICATION_CLASS(klass)->activate = my_application_activate; - G_APPLICATION_CLASS(klass)->local_command_line = my_application_local_command_line; - G_OBJECT_CLASS(klass)->dispose = my_application_dispose; -} - -static void my_application_init(MyApplication* self) {} - -MyApplication* my_application_new() { - return MY_APPLICATION(g_object_new(my_application_get_type(), - "application-id", APPLICATION_ID, - "flags", G_APPLICATION_NON_UNIQUE, - nullptr)); -} diff --git a/experimental/varfont_shader_puzzle/linux/my_application.h b/experimental/varfont_shader_puzzle/linux/my_application.h deleted file mode 100644 index 72271d5e417..00000000000 --- a/experimental/varfont_shader_puzzle/linux/my_application.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef FLUTTER_MY_APPLICATION_H_ -#define FLUTTER_MY_APPLICATION_H_ - -#include - -G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, - GtkApplication) - -/** - * my_application_new: - * - * Creates a new Flutter-based application. - * - * Returns: a new #MyApplication. - */ -MyApplication* my_application_new(); - -#endif // FLUTTER_MY_APPLICATION_H_ diff --git a/experimental/varfont_shader_puzzle/macos/.gitignore b/experimental/varfont_shader_puzzle/macos/.gitignore deleted file mode 100644 index 746adbb6b9e..00000000000 --- a/experimental/varfont_shader_puzzle/macos/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -# Flutter-related -**/Flutter/ephemeral/ -**/Pods/ - -# Xcode-related -**/dgph -**/xcuserdata/ diff --git a/experimental/varfont_shader_puzzle/macos/Flutter/Flutter-Debug.xcconfig b/experimental/varfont_shader_puzzle/macos/Flutter/Flutter-Debug.xcconfig deleted file mode 100644 index 4b81f9b2d20..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Flutter/Flutter-Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/experimental/varfont_shader_puzzle/macos/Flutter/Flutter-Release.xcconfig b/experimental/varfont_shader_puzzle/macos/Flutter/Flutter-Release.xcconfig deleted file mode 100644 index 5caa9d1579e..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Flutter/Flutter-Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/experimental/varfont_shader_puzzle/macos/Flutter/GeneratedPluginRegistrant.swift b/experimental/varfont_shader_puzzle/macos/Flutter/GeneratedPluginRegistrant.swift deleted file mode 100644 index e777c67df22..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Flutter/GeneratedPluginRegistrant.swift +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated file. Do not edit. -// - -import FlutterMacOS -import Foundation - -import path_provider_foundation - -func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) -} diff --git a/experimental/varfont_shader_puzzle/macos/Podfile b/experimental/varfont_shader_puzzle/macos/Podfile deleted file mode 100644 index c795730db8e..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Podfile +++ /dev/null @@ -1,43 +0,0 @@ -platform :osx, '10.14' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_macos_podfile_setup - -target 'Runner' do - use_frameworks! - use_modular_headers! - - flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) - target 'RunnerTests' do - inherit! :search_paths - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_macos_build_settings(target) - end -end diff --git a/experimental/varfont_shader_puzzle/macos/Runner.xcodeproj/project.pbxproj b/experimental/varfont_shader_puzzle/macos/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 0a1dbc3b78e..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,791 +0,0 @@ -// !$*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 */; }; - 9AD9C7CBBD29DB185019EF48 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A1AD57E306C7913C852FBBA4 /* Pods_RunnerTests.framework */; }; - FA96D6B9CBC6E13557F9110C /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A624D26F7047752B3346B282 /* Pods_Runner.framework */; }; -/* 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 */ - 02634EB403290F109558BF3C /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; - 0E2712B9A70A6FD93CF5D7E7 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - 10D6E80226A2DE5C9DEF84C5 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; - 23BC1B8C8CB2FB797DD34104 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; - 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; - 33CC10ED2044A3C60003C045 /* varfont_shader_puzzle.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = varfont_shader_puzzle.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; - 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; - 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; }; - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; }; - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; }; - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; }; - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; }; - 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; }; - 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; }; - 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; }; - 38EF51A217BB444E8F1A714B /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; - 9DA93DF1A5822B2C98DA5037 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - A1AD57E306C7913C852FBBA4 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - A624D26F7047752B3346B282 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 331C80D2294CF70F00263BE5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 9AD9C7CBBD29DB185019EF48 /* Pods_RunnerTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10EA2044A3C60003C045 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - FA96D6B9CBC6E13557F9110C /* Pods_Runner.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 331C80D6294CF71000263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C80D7294CF71000263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 33BA886A226E78AF003329D5 /* Configs */ = { - isa = PBXGroup; - children = ( - 33E5194F232828860026EE4D /* AppInfo.xcconfig */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */, - ); - path = Configs; - sourceTree = ""; - }; - 33CC10E42044A3C60003C045 = { - isa = PBXGroup; - children = ( - 33FAB671232836740065AC1E /* Runner */, - 33CEB47122A05771004F2AC0 /* Flutter */, - 331C80D6294CF71000263BE5 /* RunnerTests */, - 33CC10EE2044A3C60003C045 /* Products */, - D73912EC22F37F3D000D13A0 /* Frameworks */, - 7C86745D0D82044E969BACB8 /* Pods */, - ); - sourceTree = ""; - }; - 33CC10EE2044A3C60003C045 /* Products */ = { - isa = PBXGroup; - children = ( - 33CC10ED2044A3C60003C045 /* varfont_shader_puzzle.app */, - 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 33CC11242044D66E0003C045 /* Resources */ = { - isa = PBXGroup; - children = ( - 33CC10F22044A3C60003C045 /* Assets.xcassets */, - 33CC10F42044A3C60003C045 /* MainMenu.xib */, - 33CC10F72044A3C60003C045 /* Info.plist */, - ); - name = Resources; - path = ..; - sourceTree = ""; - }; - 33CEB47122A05771004F2AC0 /* Flutter */ = { - isa = PBXGroup; - children = ( - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */, - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */, - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */, - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */, - ); - path = Flutter; - sourceTree = ""; - }; - 33FAB671232836740065AC1E /* Runner */ = { - isa = PBXGroup; - children = ( - 33CC10F02044A3C60003C045 /* AppDelegate.swift */, - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, - 33E51913231747F40026EE4D /* DebugProfile.entitlements */, - 33E51914231749380026EE4D /* Release.entitlements */, - 33CC11242044D66E0003C045 /* Resources */, - 33BA886A226E78AF003329D5 /* Configs */, - ); - path = Runner; - sourceTree = ""; - }; - 7C86745D0D82044E969BACB8 /* Pods */ = { - isa = PBXGroup; - children = ( - 0E2712B9A70A6FD93CF5D7E7 /* Pods-Runner.debug.xcconfig */, - 9DA93DF1A5822B2C98DA5037 /* Pods-Runner.release.xcconfig */, - 38EF51A217BB444E8F1A714B /* Pods-Runner.profile.xcconfig */, - 02634EB403290F109558BF3C /* Pods-RunnerTests.debug.xcconfig */, - 10D6E80226A2DE5C9DEF84C5 /* Pods-RunnerTests.release.xcconfig */, - 23BC1B8C8CB2FB797DD34104 /* Pods-RunnerTests.profile.xcconfig */, - ); - name = Pods; - path = Pods; - sourceTree = ""; - }; - D73912EC22F37F3D000D13A0 /* Frameworks */ = { - isa = PBXGroup; - children = ( - A624D26F7047752B3346B282 /* Pods_Runner.framework */, - A1AD57E306C7913C852FBBA4 /* Pods_RunnerTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C80D4294CF70F00263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - 1986167CB62CEBBA52986B8C /* [CP] Check Pods Manifest.lock */, - 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 = ( - E9CFF6D875A4761770870406 /* [CP] Check Pods Manifest.lock */, - 33CC10E92044A3C60003C045 /* Sources */, - 33CC10EA2044A3C60003C045 /* Frameworks */, - 33CC10EB2044A3C60003C045 /* Resources */, - 33CC110E2044A8840003C045 /* Bundle Framework */, - 3399D490228B24CF009A79C7 /* ShellScript */, - 74AFE9CCCD7F41E520B7612F /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 33CC11202044C79F0003C045 /* PBXTargetDependency */, - ); - name = Runner; - productName = Runner; - productReference = 33CC10ED2044A3C60003C045 /* varfont_shader_puzzle.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 33CC10E52044A3C60003C045 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C80D4294CF70F00263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 33CC10EC2044A3C60003C045; - }; - 33CC10EC2044A3C60003C045 = { - CreatedOnToolsVersion = 9.2; - LastSwiftMigration = 1100; - ProvisioningStyle = Automatic; - SystemCapabilities = { - com.apple.Sandbox = { - enabled = 1; - }; - }; - }; - 33CC111A2044C6BA0003C045 = { - CreatedOnToolsVersion = 9.2; - ProvisioningStyle = Manual; - }; - }; - }; - buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 33CC10E42044A3C60003C045; - productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 33CC10EC2044A3C60003C045 /* Runner */, - 331C80D4294CF70F00263BE5 /* RunnerTests */, - 33CC111A2044C6BA0003C045 /* Flutter Assemble */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C80D3294CF70F00263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10EB2044A3C60003C045 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */, - 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 1986167CB62CEBBA52986B8C /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 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"; - }; - 74AFE9CCCD7F41E520B7612F /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - E9CFF6D875A4761770870406 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C80D1294CF70F00263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10E92044A3C60003C045 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */, - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */, - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC10EC2044A3C60003C045 /* Runner */; - targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */; - }; - 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; - targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 33CC10F42044A3C60003C045 /* MainMenu.xib */ = { - isa = PBXVariantGroup; - children = ( - 33CC10F52044A3C60003C045 /* Base */, - ); - name = MainMenu.xib; - path = Runner; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 331C80DB294CF71000263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 02634EB403290F109558BF3C /* Pods-RunnerTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.varfontShaderPuzzle.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/varfont_shader_puzzle.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/varfont_shader_puzzle"; - }; - name = Debug; - }; - 331C80DC294CF71000263BE5 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 10D6E80226A2DE5C9DEF84C5 /* Pods-RunnerTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.varfontShaderPuzzle.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/varfont_shader_puzzle.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/varfont_shader_puzzle"; - }; - name = Release; - }; - 331C80DD294CF71000263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 23BC1B8C8CB2FB797DD34104 /* Pods-RunnerTests.profile.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.varfontShaderPuzzle.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/varfont_shader_puzzle.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/varfont_shader_puzzle"; - }; - name = Profile; - }; - 338D0CE9231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.14; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Profile; - }; - 338D0CEA231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Profile; - }; - 338D0CEB231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Profile; - }; - 33CC10F92044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.14; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 33CC10FA2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.14; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Release; - }; - 33CC10FC2044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 33CC10FD2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - 33CC111C2044C6BA0003C045 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 33CC111D2044C6BA0003C045 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C80DB294CF71000263BE5 /* Debug */, - 331C80DC294CF71000263BE5 /* Release */, - 331C80DD294CF71000263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10F92044A3C60003C045 /* Debug */, - 33CC10FA2044A3C60003C045 /* Release */, - 338D0CE9231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10FC2044A3C60003C045 /* Debug */, - 33CC10FD2044A3C60003C045 /* Release */, - 338D0CEA231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC111C2044C6BA0003C045 /* Debug */, - 33CC111D2044C6BA0003C045 /* Release */, - 338D0CEB231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 33CC10E52044A3C60003C045 /* Project object */; -} diff --git a/experimental/varfont_shader_puzzle/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/experimental/varfont_shader_puzzle/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/experimental/varfont_shader_puzzle/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/experimental/varfont_shader_puzzle/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index 0bd9e46303d..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/varfont_shader_puzzle/macos/Runner.xcworkspace/contents.xcworkspacedata b/experimental/varfont_shader_puzzle/macos/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 21a3cc14c74..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/experimental/varfont_shader_puzzle/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/experimental/varfont_shader_puzzle/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/experimental/varfont_shader_puzzle/macos/Runner/AppDelegate.swift b/experimental/varfont_shader_puzzle/macos/Runner/AppDelegate.swift deleted file mode 100644 index d53ef643772..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/AppDelegate.swift +++ /dev/null @@ -1,9 +0,0 @@ -import Cocoa -import FlutterMacOS - -@NSApplicationMain -class AppDelegate: FlutterAppDelegate { - override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { - return true - } -} diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index a2ec33f19f1..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "images" : [ - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_16.png", - "scale" : "1x" - }, - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "2x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "1x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_64.png", - "scale" : "2x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_128.png", - "scale" : "1x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "2x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "1x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "2x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "1x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_1024.png", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png deleted file mode 100644 index 82b6f9d9a33..00000000000 Binary files a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png deleted file mode 100644 index 13b35eba55c..00000000000 Binary files a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png deleted file mode 100644 index 0a3f5fa40fb..00000000000 Binary files a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png deleted file mode 100644 index bdb57226d5f..00000000000 Binary files a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png deleted file mode 100644 index f083318e09c..00000000000 Binary files a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png deleted file mode 100644 index 326c0e72c9d..00000000000 Binary files a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png deleted file mode 100644 index 2f1632cfddf..00000000000 Binary files a/experimental/varfont_shader_puzzle/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Base.lproj/MainMenu.xib b/experimental/varfont_shader_puzzle/macos/Runner/Base.lproj/MainMenu.xib deleted file mode 100644 index 80e867a4e06..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/Base.lproj/MainMenu.xib +++ /dev/null @@ -1,343 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Configs/AppInfo.xcconfig b/experimental/varfont_shader_puzzle/macos/Runner/Configs/AppInfo.xcconfig deleted file mode 100644 index 13b311fd489..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/Configs/AppInfo.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -// 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 = varfont_shader_puzzle - -// The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = com.example.varfontShaderPuzzle - -// The copyright displayed in application information -PRODUCT_COPYRIGHT = Copyright Β© 2023 com.example. All rights reserved. diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Configs/Debug.xcconfig b/experimental/varfont_shader_puzzle/macos/Runner/Configs/Debug.xcconfig deleted file mode 100644 index 36b0fd9464f..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/Configs/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Debug.xcconfig" -#include "Warnings.xcconfig" diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Configs/Release.xcconfig b/experimental/varfont_shader_puzzle/macos/Runner/Configs/Release.xcconfig deleted file mode 100644 index dff4f49561c..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/Configs/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Release.xcconfig" -#include "Warnings.xcconfig" diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Configs/Warnings.xcconfig b/experimental/varfont_shader_puzzle/macos/Runner/Configs/Warnings.xcconfig deleted file mode 100644 index 42bcbf4780b..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/Configs/Warnings.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings -GCC_WARN_UNDECLARED_SELECTOR = YES -CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES -CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE -CLANG_WARN__DUPLICATE_METHOD_MATCH = YES -CLANG_WARN_PRAGMA_PACK = YES -CLANG_WARN_STRICT_PROTOTYPES = YES -CLANG_WARN_COMMA = YES -GCC_WARN_STRICT_SELECTOR_MATCH = YES -CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES -CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES -GCC_WARN_SHADOW = YES -CLANG_WARN_UNREACHABLE_CODE = YES diff --git a/experimental/varfont_shader_puzzle/macos/Runner/DebugProfile.entitlements b/experimental/varfont_shader_puzzle/macos/Runner/DebugProfile.entitlements deleted file mode 100644 index dddb8a30c85..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/DebugProfile.entitlements +++ /dev/null @@ -1,12 +0,0 @@ - - - - - com.apple.security.app-sandbox - - com.apple.security.cs.allow-jit - - com.apple.security.network.server - - - diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Info.plist b/experimental/varfont_shader_puzzle/macos/Runner/Info.plist deleted file mode 100644 index 4789daa6a44..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - $(PRODUCT_COPYRIGHT) - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/experimental/varfont_shader_puzzle/macos/Runner/MainFlutterWindow.swift b/experimental/varfont_shader_puzzle/macos/Runner/MainFlutterWindow.swift deleted file mode 100644 index 3cc05eb2349..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/MainFlutterWindow.swift +++ /dev/null @@ -1,15 +0,0 @@ -import Cocoa -import FlutterMacOS - -class MainFlutterWindow: NSWindow { - override func awakeFromNib() { - let flutterViewController = FlutterViewController() - let windowFrame = self.frame - self.contentViewController = flutterViewController - self.setFrame(windowFrame, display: true) - - RegisterGeneratedPlugins(registry: flutterViewController) - - super.awakeFromNib() - } -} diff --git a/experimental/varfont_shader_puzzle/macos/Runner/Release.entitlements b/experimental/varfont_shader_puzzle/macos/Runner/Release.entitlements deleted file mode 100644 index 852fa1a4728..00000000000 --- a/experimental/varfont_shader_puzzle/macos/Runner/Release.entitlements +++ /dev/null @@ -1,8 +0,0 @@ - - - - - com.apple.security.app-sandbox - - - diff --git a/experimental/varfont_shader_puzzle/macos/RunnerTests/RunnerTests.swift b/experimental/varfont_shader_puzzle/macos/RunnerTests/RunnerTests.swift deleted file mode 100644 index 5418c9f5395..00000000000 --- a/experimental/varfont_shader_puzzle/macos/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import FlutterMacOS -import Cocoa -import XCTest - -class RunnerTests: XCTestCase { - - func testExample() { - // If you add code to the Runner application, consider adding tests here. - // See https://developer.apple.com/documentation/xctest for more information about using XCTest. - } - -} diff --git a/experimental/varfont_shader_puzzle/pubspec.yaml b/experimental/varfont_shader_puzzle/pubspec.yaml deleted file mode 100644 index b0f032ed65b..00000000000 --- a/experimental/varfont_shader_puzzle/pubspec.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: varfont_shader_puzzle -description: A new Flutter project. -publish_to: 'none' -version: 1.0.0+1 - -environment: - sdk: ^3.7.0-0 - -dependencies: - flutter: - sdk: flutter - google_fonts: ^6.0.0 - -dev_dependencies: - analysis_defaults: - path: ../../analysis_defaults - flutter_test: - sdk: flutter - -flutter: - uses-material-design: true - - assets: - - assets/images/ - - shaders: - - shaders/wavy.frag - - shaders/wavy2.frag - - shaders/wavy_circ.frag - - shaders/color_split.frag - - shaders/bw_split.frag - - shaders/row_offset.frag - - shaders/nothing.frag - - fonts: - - family: Roboto - fonts: - - asset: assets/fonts/Roboto-Regular.ttf - weight: 400 - - asset: assets/fonts/Roboto-Bold.ttf - weight: 700 - - family: Amstelvar - fonts: - - asset: assets/fonts/Amstelvar-Roman[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,wdth,wght,opsz].ttf diff --git a/experimental/varfont_shader_puzzle/shaders/bw_split.frag b/experimental/varfont_shader_puzzle/shaders/bw_split.frag deleted file mode 100644 index 22069f86bfb..00000000000 --- a/experimental/varfont_shader_puzzle/shaders/bw_split.frag +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#define PI 3.1415926538 - -uniform float uTime; -uniform vec2 uSize; -uniform float uDampener; - -out vec4 fragColor; - -uniform sampler2D uTexture; - -void main() -{ - float piTime = uTime * PI * 2; - vec2 texCoord = gl_FragCoord.xy / uSize.xy; - float offset = 50; - - float opacSum = 0.0; - vec4 thisCol = texture(uTexture, texCoord.xy); - - float x = texCoord.x + (offset / uSize.x * pow(sin(piTime), 4)) * uDampener; - if (x >= 0.0 && x <= 1.0) { - opacSum += 0.3 * texture(uTexture, vec2(x, texCoord.y)).a; - } - - x = texCoord.x - (offset / uSize.x * pow(sin(piTime + PI), 2)) * uDampener; - if (x >= 0.0 && x <= 1.0) { - opacSum += 0.3 * texture(uTexture, vec2(x, texCoord.y)).a; - } - - float y = texCoord.y + (offset / uSize.y * pow(sin(piTime + PI * 0.66), 4)) * uDampener; - if (y >= 0.0 && y <= 1.0) { - opacSum += 0.3 * texture(uTexture, vec2(texCoord.x, y)).a; - } - - fragColor = vec4(0.0, 0.0, 0.0, clamp(opacSum, 0.0, 1.0)); - -} diff --git a/experimental/varfont_shader_puzzle/shaders/color_split.frag b/experimental/varfont_shader_puzzle/shaders/color_split.frag deleted file mode 100644 index 99f474bb818..00000000000 --- a/experimental/varfont_shader_puzzle/shaders/color_split.frag +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#define PI 3.1415926538 - -uniform float uTime; -uniform vec2 uSize; -uniform float uDampener; - -out vec4 fragColor; - -uniform sampler2D uTexture; - -void main() -{ - float piTime = uTime * PI * 2; - vec2 texCoord = gl_FragCoord.xy / uSize.xy; - float offset = 15; - - vec4 thisCol = texture(uTexture, texCoord.xy); - vec4 rSrc = texture(uTexture, vec2(texCoord.x + offset / uSize.x * sin(piTime), texCoord.y)); - float r = rSrc.a; - - vec4 gSrc = texture(uTexture, vec2(texCoord.x + offset / uSize.x * sin(piTime + PI), texCoord.y)); - float g = gSrc.a; - - vec4 bSrc = texture(uTexture, vec2(texCoord.x, texCoord.y + offset / uSize.y * sin(piTime + PI * 0.66))); - float b = bSrc.a; - fragColor = vec4(r, g, b, clamp(r+g+b, 0.0, 1.0)); -} diff --git a/experimental/varfont_shader_puzzle/shaders/nothing.frag b/experimental/varfont_shader_puzzle/shaders/nothing.frag deleted file mode 100644 index a9a08403e18..00000000000 --- a/experimental/varfont_shader_puzzle/shaders/nothing.frag +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#define PI 3.1415926538 - -uniform float uTime; -uniform vec2 uSize; -uniform float uDampener; - -out vec4 fragColor; - -uniform sampler2D uTexture; - -void main() -{ - float piTime = uTime * PI * 2; - vec2 texCoord = gl_FragCoord.xy / uSize.xy; - fragColor = texture(uTexture, texCoord); -} diff --git a/experimental/varfont_shader_puzzle/shaders/row_offset.frag b/experimental/varfont_shader_puzzle/shaders/row_offset.frag deleted file mode 100644 index 74e4ba7075f..00000000000 --- a/experimental/varfont_shader_puzzle/shaders/row_offset.frag +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#define PI 3.1415926538 - -uniform float uTime; -uniform vec2 uSize; -uniform float uDampener; - -out vec4 fragColor; - -uniform sampler2D uTexture; - -void main() -{ - float piTime = uTime * PI * 2; - - vec2 texCoord = gl_FragCoord.xy / uSize.xy; - - float levels = 5; - float maxMag = 0.1; - float minMag = 0.02; - float magMod = maxMag / levels; - float row = floor(texCoord.y * uSize.y * 0.25); // resolution/density of rows - float offsetDir = mod(row, 2) == 0 ? -1 : 1; - float sinFn = cos(texCoord.y * 1 * PI + piTime); - float offset = (offsetDir * (minMag + maxMag * sinFn)) * uDampener; - - vec2 offsetTexCoord = vec2(texCoord.x + offset, texCoord.y); - vec4 outColor = texture(uTexture, offsetTexCoord); - if (texCoord.x + offset < 0.0 || texCoord.x + offset > 1.0) { - outColor = vec4(0.0, 0.0, 0.0, 0.0); - } - fragColor = outColor; -} diff --git a/experimental/varfont_shader_puzzle/shaders/wavy.frag b/experimental/varfont_shader_puzzle/shaders/wavy.frag deleted file mode 100644 index 89d5dda38f0..00000000000 --- a/experimental/varfont_shader_puzzle/shaders/wavy.frag +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#define PI 3.1415926538 - -uniform float uTime; -uniform vec2 uSize; -uniform float uDampener; - -out vec4 fragColor; - -uniform sampler2D uTexture; - -void main() -{ - float piTime = uTime * PI * 2; - - vec2 texCoord = gl_FragCoord.xy / uSize.xy; - int speed; - - // wavy - speed = 1; - float xAdj = texCoord.x * 3 * PI; - float waveFnVal = sin((xAdj + piTime * speed)); - float hackAdj = 0.0; - float offset = ( ((pow(waveFnVal, 2) * 0.5 - 0.5) * 0.2) + hackAdj ) * uDampener; - - vec2 offsetTexCoord = vec2(texCoord.x, texCoord.y + offset); - fragColor = texture(uTexture, offsetTexCoord); -} diff --git a/experimental/varfont_shader_puzzle/shaders/wavy2.frag b/experimental/varfont_shader_puzzle/shaders/wavy2.frag deleted file mode 100644 index da92fe19a30..00000000000 --- a/experimental/varfont_shader_puzzle/shaders/wavy2.frag +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#define PI 3.1415926538 - -uniform float uTime; -uniform vec2 uSize; -uniform float uDampener; - -out vec4 fragColor; - -uniform sampler2D uTexture; - -void main() -{ - float piTime = uTime * PI * 2; - - vec2 texCoord = gl_FragCoord.xy / uSize.xy; - float maxMag = 0.2; - - float thisMag = (sin(texCoord.y * 10 + piTime) + 1) * 0.5 * maxMag * uDampener; - float srcX; - srcX = texCoord.x + (0.5 - texCoord.x) * thisMag; - vec2 srcCoord = vec2(srcX, texCoord.y); - fragColor = texture(uTexture, srcCoord); -} diff --git a/experimental/varfont_shader_puzzle/shaders/wavy_circ.frag b/experimental/varfont_shader_puzzle/shaders/wavy_circ.frag deleted file mode 100644 index 9d0c2ce35c8..00000000000 --- a/experimental/varfont_shader_puzzle/shaders/wavy_circ.frag +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#define PI 3.1415926538 - -uniform float uTime; -uniform vec2 uSize; -uniform float uDampener; - -out vec4 fragColor; - -uniform sampler2D uTexture; - -void main() -{ - float piTime = uTime * PI * 2; - - vec2 texCoord = gl_FragCoord.xy / uSize.xy; - float maxMag = 0.4; - float minMag = 0.3; - float numRings = 6.0; - float ringVel = 4.0; - float numPeakShifts = 8.0; - float peakShiftVel = -3.0; - - float unitX = (texCoord.x - 0.5) * 2; - float unitY = (texCoord.y - 0.5) * 2; - float dist = distance(vec2(0, 0), vec2(unitX, unitY)); - float theta = atan(unitY, unitX) + PI; // add PI for atan2 values -PI to PI - float thisMag = (sin(theta * numRings - piTime * ringVel) + 1) * 0.5 * (cos(theta * numPeakShifts - piTime * peakShiftVel) + 1) * 0.5 * (maxMag - minMag) + minMag; - - float unitSrcDist = dist - dist * thisMag; - float unitSrcX = cos(theta) * unitSrcDist; - float unitSrcY = sin(theta) * unitSrcDist; - float texSrcX = unitSrcX * 0.5 + 0.5; - float texSrcY = unitSrcY * 0.5 + 0.5; - fragColor = texture(uTexture, vec2(texSrcX, texSrcY)); -} diff --git a/experimental/varfont_shader_puzzle/test/widget_test.dart b/experimental/varfont_shader_puzzle/test/widget_test.dart deleted file mode 100644 index 96e10aa451c..00000000000 --- a/experimental/varfont_shader_puzzle/test/widget_test.dart +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2023 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter_test/flutter_test.dart'; - -import 'package:varfont_shader_puzzle/main.dart'; - -void main() { - const welcomeText = - 'Welcome to your first day on the FontCo team! Are you ready to help us publish our newest font, Designer Pro?'; - const welcomeTextStep2 = - 'Oh no, you clicked the button too hard! Now the font file is glitched. Help us put the letters back together so we can launch!'; - - testWidgets('Initial display', (tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(const TypePuzzle()); - - // Verify intro text - expect(find.text(welcomeText), findsOneWidget); - expect(find.text(welcomeTextStep2), findsNothing); - - // Verify OK button - expect(find.text('OK'), findsOneWidget); - }); -} diff --git a/experimental/varfont_shader_puzzle/windows/.gitignore b/experimental/varfont_shader_puzzle/windows/.gitignore deleted file mode 100644 index d492d0d98c8..00000000000 --- a/experimental/varfont_shader_puzzle/windows/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -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/ diff --git a/experimental/varfont_shader_puzzle/windows/CMakeLists.txt b/experimental/varfont_shader_puzzle/windows/CMakeLists.txt deleted file mode 100644 index 49844b190c4..00000000000 --- a/experimental/varfont_shader_puzzle/windows/CMakeLists.txt +++ /dev/null @@ -1,108 +0,0 @@ -# Project-level configuration. -cmake_minimum_required(VERSION 3.14) -project(varfont_shader_puzzle 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 "varfont_shader_puzzle") - -# Explicitly opt in to modern CMake behaviors to avoid warnings with recent -# versions of CMake. -cmake_policy(VERSION 3.14...3.25) - -# Define build configuration option. -get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) -if(IS_MULTICONFIG) - set(CMAKE_CONFIGURATION_TYPES "Debug;Profile;Release" - CACHE STRING "" FORCE) -else() - if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) - set(CMAKE_BUILD_TYPE "Debug" CACHE - STRING "Flutter build mode" FORCE) - set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS - "Debug" "Profile" "Release") - endif() -endif() -# Define settings for the Profile build mode. -set(CMAKE_EXE_LINKER_FLAGS_PROFILE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}") -set(CMAKE_SHARED_LINKER_FLAGS_PROFILE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE}") -set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}") -set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}") - -# Use Unicode for all projects. -add_definitions(-DUNICODE -D_UNICODE) - -# Compilation settings that should be applied to most targets. -# -# Be cautious about adding new options here, as plugins use this function by -# default. In most cases, you should add new options to specific targets instead -# of modifying this function. -function(APPLY_STANDARD_SETTINGS TARGET) - target_compile_features(${TARGET} PUBLIC cxx_std_17) - target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100") - target_compile_options(${TARGET} PRIVATE /EHsc) - target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0") - target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>") -endfunction() - -# Flutter library and tool build rules. -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") -add_subdirectory(${FLUTTER_MANAGED_DIR}) - -# Application build; see runner/CMakeLists.txt. -add_subdirectory("runner") - - -# Generated plugin build rules, which manage building the plugins and adding -# them to the application. -include(flutter/generated_plugins.cmake) - - -# === Installation === -# Support files are copied into place next to the executable, so that it can -# run in place. This is done instead of making a separate bundle (as on Linux) -# so that building and running from within Visual Studio will work. -set(BUILD_BUNDLE_DIR "$") -# Make the "install" step default, as it's required to run. -set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1) -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) -endif() - -set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") -set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}") - -install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -if(PLUGIN_BUNDLED_LIBRARIES) - install(FILES "${PLUGIN_BUNDLED_LIBRARIES}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endif() - -# Copy the native assets provided by the build.dart from all packages. -set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/windows/") -install(DIRECTORY "${NATIVE_ASSETS_DIR}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -# Fully re-copy the assets directory on each build to avoid having stale files -# from a previous install. -set(FLUTTER_ASSET_DIR_NAME "flutter_assets") -install(CODE " - file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") - " COMPONENT Runtime) -install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" - DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) - -# Install the AOT library on non-Debug builds only. -install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - CONFIGURATIONS Profile;Release - COMPONENT Runtime) diff --git a/experimental/varfont_shader_puzzle/windows/flutter/CMakeLists.txt b/experimental/varfont_shader_puzzle/windows/flutter/CMakeLists.txt deleted file mode 100644 index 903f4899d6f..00000000000 --- a/experimental/varfont_shader_puzzle/windows/flutter/CMakeLists.txt +++ /dev/null @@ -1,109 +0,0 @@ -# This file controls Flutter-level build steps. It should not be edited. -cmake_minimum_required(VERSION 3.14) - -set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") - -# Configuration provided via flutter tool. -include(${EPHEMERAL_DIR}/generated_config.cmake) - -# TODO: Move the rest of this into files in ephemeral. See -# https://github.com/flutter/flutter/issues/57146. -set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") - -# Set fallback configurations for older versions of the flutter tool. -if (NOT DEFINED FLUTTER_TARGET_PLATFORM) - set(FLUTTER_TARGET_PLATFORM "windows-x64") -endif() - -# === Flutter Library === -set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") - -# Published to parent scope for install step. -set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) -set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) -set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) -set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE) - -list(APPEND FLUTTER_LIBRARY_HEADERS - "flutter_export.h" - "flutter_windows.h" - "flutter_messenger.h" - "flutter_plugin_registrar.h" - "flutter_texture_registrar.h" -) -list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/") -add_library(flutter INTERFACE) -target_include_directories(flutter INTERFACE - "${EPHEMERAL_DIR}" -) -target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib") -add_dependencies(flutter flutter_assemble) - -# === Wrapper === -list(APPEND CPP_WRAPPER_SOURCES_CORE - "core_implementations.cc" - "standard_codec.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/") -list(APPEND CPP_WRAPPER_SOURCES_PLUGIN - "plugin_registrar.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/") -list(APPEND CPP_WRAPPER_SOURCES_APP - "flutter_engine.cc" - "flutter_view_controller.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/") - -# Wrapper sources needed for a plugin. -add_library(flutter_wrapper_plugin STATIC - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_PLUGIN} -) -apply_standard_settings(flutter_wrapper_plugin) -set_target_properties(flutter_wrapper_plugin PROPERTIES - POSITION_INDEPENDENT_CODE ON) -set_target_properties(flutter_wrapper_plugin PROPERTIES - CXX_VISIBILITY_PRESET hidden) -target_link_libraries(flutter_wrapper_plugin PUBLIC flutter) -target_include_directories(flutter_wrapper_plugin PUBLIC - "${WRAPPER_ROOT}/include" -) -add_dependencies(flutter_wrapper_plugin flutter_assemble) - -# Wrapper sources needed for the runner. -add_library(flutter_wrapper_app STATIC - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_APP} -) -apply_standard_settings(flutter_wrapper_app) -target_link_libraries(flutter_wrapper_app PUBLIC flutter) -target_include_directories(flutter_wrapper_app PUBLIC - "${WRAPPER_ROOT}/include" -) -add_dependencies(flutter_wrapper_app flutter_assemble) - -# === Flutter tool backend === -# _phony_ is a non-existent file to force this command to run every time, -# since currently there's no way to get a full input/output list from the -# flutter tool. -set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_") -set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE) -add_custom_command( - OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} - ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN} - ${CPP_WRAPPER_SOURCES_APP} - ${PHONY_OUTPUT} - COMMAND ${CMAKE_COMMAND} -E env - ${FLUTTER_TOOL_ENVIRONMENT} - "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" - ${FLUTTER_TARGET_PLATFORM} $ - VERBATIM -) -add_custom_target(flutter_assemble DEPENDS - "${FLUTTER_LIBRARY}" - ${FLUTTER_LIBRARY_HEADERS} - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_PLUGIN} - ${CPP_WRAPPER_SOURCES_APP} -) diff --git a/experimental/varfont_shader_puzzle/windows/flutter/generated_plugin_registrant.cc b/experimental/varfont_shader_puzzle/windows/flutter/generated_plugin_registrant.cc deleted file mode 100644 index 8b6d4680af3..00000000000 --- a/experimental/varfont_shader_puzzle/windows/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - - -void RegisterPlugins(flutter::PluginRegistry* registry) { -} diff --git a/experimental/varfont_shader_puzzle/windows/flutter/generated_plugin_registrant.h b/experimental/varfont_shader_puzzle/windows/flutter/generated_plugin_registrant.h deleted file mode 100644 index dc139d85a93..00000000000 --- a/experimental/varfont_shader_puzzle/windows/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void RegisterPlugins(flutter::PluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/experimental/varfont_shader_puzzle/windows/flutter/generated_plugins.cmake b/experimental/varfont_shader_puzzle/windows/flutter/generated_plugins.cmake deleted file mode 100644 index b93c4c30c16..00000000000 --- a/experimental/varfont_shader_puzzle/windows/flutter/generated_plugins.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) - -foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) -endforeach(ffi_plugin) diff --git a/experimental/varfont_shader_puzzle/windows/runner/CMakeLists.txt b/experimental/varfont_shader_puzzle/windows/runner/CMakeLists.txt deleted file mode 100644 index 394917c053a..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/CMakeLists.txt +++ /dev/null @@ -1,40 +0,0 @@ -cmake_minimum_required(VERSION 3.14) -project(runner LANGUAGES CXX) - -# Define the application target. To change its name, change BINARY_NAME in the -# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer -# work. -# -# Any new source files that you add to the application should be added here. -add_executable(${BINARY_NAME} WIN32 - "flutter_window.cpp" - "main.cpp" - "utils.cpp" - "win32_window.cpp" - "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" - "Runner.rc" - "runner.exe.manifest" -) - -# Apply the standard set of build settings. This can be removed for applications -# that need different build settings. -apply_standard_settings(${BINARY_NAME}) - -# Add preprocessor definitions for the build version. -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}") - -# Disable Windows macros that collide with C++ standard library functions. -target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") - -# Add dependency libraries and include directories. Add any application-specific -# dependencies here. -target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) -target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib") -target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") - -# Run the Flutter tool portions of the build. This must not be removed. -add_dependencies(${BINARY_NAME} flutter_assemble) diff --git a/experimental/varfont_shader_puzzle/windows/runner/Runner.rc b/experimental/varfont_shader_puzzle/windows/runner/Runner.rc deleted file mode 100644 index c6f7bda3f5f..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/Runner.rc +++ /dev/null @@ -1,121 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#pragma code_page(65001) -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "winres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (United States) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""winres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_APP_ICON ICON "resources\\app_icon.ico" - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD) -#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD -#else -#define VERSION_AS_NUMBER 1,0,0,0 -#endif - -#if defined(FLUTTER_VERSION) -#define VERSION_AS_STRING FLUTTER_VERSION -#else -#define VERSION_AS_STRING "1.0.0" -#endif - -VS_VERSION_INFO VERSIONINFO - FILEVERSION VERSION_AS_NUMBER - PRODUCTVERSION VERSION_AS_NUMBER - FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0x0L -#endif - FILEOS VOS__WINDOWS32 - FILETYPE VFT_APP - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "com.example" "\0" - VALUE "FileDescription", "varfont_shader_puzzle" "\0" - VALUE "FileVersion", VERSION_AS_STRING "\0" - VALUE "InternalName", "varfont_shader_puzzle" "\0" - VALUE "LegalCopyright", "Copyright (C) 2023 com.example. All rights reserved." "\0" - VALUE "OriginalFilename", "varfont_shader_puzzle.exe" "\0" - VALUE "ProductName", "varfont_shader_puzzle" "\0" - VALUE "ProductVersion", VERSION_AS_STRING "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - -#endif // English (United States) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED diff --git a/experimental/varfont_shader_puzzle/windows/runner/flutter_window.cpp b/experimental/varfont_shader_puzzle/windows/runner/flutter_window.cpp deleted file mode 100644 index 955ee3038f9..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/flutter_window.cpp +++ /dev/null @@ -1,71 +0,0 @@ -#include "flutter_window.h" - -#include - -#include "flutter/generated_plugin_registrant.h" - -FlutterWindow::FlutterWindow(const flutter::DartProject& project) - : project_(project) {} - -FlutterWindow::~FlutterWindow() {} - -bool FlutterWindow::OnCreate() { - if (!Win32Window::OnCreate()) { - return false; - } - - RECT frame = GetClientArea(); - - // The size here must match the window dimensions to avoid unnecessary surface - // creation / destruction in the startup path. - flutter_controller_ = std::make_unique( - frame.right - frame.left, frame.bottom - frame.top, project_); - // Ensure that basic setup of the controller was successful. - if (!flutter_controller_->engine() || !flutter_controller_->view()) { - return false; - } - RegisterPlugins(flutter_controller_->engine()); - SetChildContent(flutter_controller_->view()->GetNativeWindow()); - - flutter_controller_->engine()->SetNextFrameCallback([&]() { - this->Show(); - }); - - // Flutter can complete the first frame before the "show window" callback is - // registered. The following call ensures a frame is pending to ensure the - // window is shown. It is a no-op if the first frame hasn't completed yet. - flutter_controller_->ForceRedraw(); - - return true; -} - -void FlutterWindow::OnDestroy() { - if (flutter_controller_) { - flutter_controller_ = nullptr; - } - - Win32Window::OnDestroy(); -} - -LRESULT -FlutterWindow::MessageHandler(HWND hwnd, UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - // Give Flutter, including plugins, an opportunity to handle window messages. - if (flutter_controller_) { - std::optional result = - flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam, - lparam); - if (result) { - return *result; - } - } - - switch (message) { - case WM_FONTCHANGE: - flutter_controller_->engine()->ReloadSystemFonts(); - break; - } - - return Win32Window::MessageHandler(hwnd, message, wparam, lparam); -} diff --git a/experimental/varfont_shader_puzzle/windows/runner/flutter_window.h b/experimental/varfont_shader_puzzle/windows/runner/flutter_window.h deleted file mode 100644 index 6da0652f05f..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/flutter_window.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef RUNNER_FLUTTER_WINDOW_H_ -#define RUNNER_FLUTTER_WINDOW_H_ - -#include -#include - -#include - -#include "win32_window.h" - -// A window that does nothing but host a Flutter view. -class FlutterWindow : public Win32Window { - public: - // Creates a new FlutterWindow hosting a Flutter view running |project|. - explicit FlutterWindow(const flutter::DartProject& project); - virtual ~FlutterWindow(); - - protected: - // Win32Window: - bool OnCreate() override; - void OnDestroy() override; - LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, - LPARAM const lparam) noexcept override; - - private: - // The project to run. - flutter::DartProject project_; - - // The Flutter instance hosted by this window. - std::unique_ptr flutter_controller_; -}; - -#endif // RUNNER_FLUTTER_WINDOW_H_ diff --git a/experimental/varfont_shader_puzzle/windows/runner/main.cpp b/experimental/varfont_shader_puzzle/windows/runner/main.cpp deleted file mode 100644 index b709e9fda06..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/main.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include - -#include "flutter_window.h" -#include "utils.h" - -int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, - _In_ wchar_t *command_line, _In_ int show_command) { - // Attach to console when present (e.g., 'flutter run') or create a - // new console when running with a debugger. - if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { - CreateAndAttachConsole(); - } - - // Initialize COM, so that it is available for use in the library and/or - // plugins. - ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); - - flutter::DartProject project(L"data"); - - std::vector command_line_arguments = - GetCommandLineArguments(); - - project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); - - FlutterWindow window(project); - Win32Window::Point origin(10, 10); - Win32Window::Size size(1280, 720); - if (!window.Create(L"varfont_shader_puzzle", origin, size)) { - return EXIT_FAILURE; - } - window.SetQuitOnClose(true); - - ::MSG msg; - while (::GetMessage(&msg, nullptr, 0, 0)) { - ::TranslateMessage(&msg); - ::DispatchMessage(&msg); - } - - ::CoUninitialize(); - return EXIT_SUCCESS; -} diff --git a/experimental/varfont_shader_puzzle/windows/runner/resource.h b/experimental/varfont_shader_puzzle/windows/runner/resource.h deleted file mode 100644 index 66a65d1e4a7..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/resource.h +++ /dev/null @@ -1,16 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Runner.rc -// -#define IDI_APP_ICON 101 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/experimental/varfont_shader_puzzle/windows/runner/resources/app_icon.ico b/experimental/varfont_shader_puzzle/windows/runner/resources/app_icon.ico deleted file mode 100644 index c04e20caf63..00000000000 Binary files a/experimental/varfont_shader_puzzle/windows/runner/resources/app_icon.ico and /dev/null differ diff --git a/experimental/varfont_shader_puzzle/windows/runner/runner.exe.manifest b/experimental/varfont_shader_puzzle/windows/runner/runner.exe.manifest deleted file mode 100644 index a42ea7687cb..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/runner.exe.manifest +++ /dev/null @@ -1,20 +0,0 @@ - - - - - PerMonitorV2 - - - - - - - - - - - - - - - diff --git a/experimental/varfont_shader_puzzle/windows/runner/utils.cpp b/experimental/varfont_shader_puzzle/windows/runner/utils.cpp deleted file mode 100644 index b2b08734db2..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/utils.cpp +++ /dev/null @@ -1,65 +0,0 @@ -#include "utils.h" - -#include -#include -#include -#include - -#include - -void CreateAndAttachConsole() { - if (::AllocConsole()) { - FILE *unused; - if (freopen_s(&unused, "CONOUT$", "w", stdout)) { - _dup2(_fileno(stdout), 1); - } - if (freopen_s(&unused, "CONOUT$", "w", stderr)) { - _dup2(_fileno(stdout), 2); - } - std::ios::sync_with_stdio(); - FlutterDesktopResyncOutputStreams(); - } -} - -std::vector GetCommandLineArguments() { - // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use. - int argc; - wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc); - if (argv == nullptr) { - return std::vector(); - } - - std::vector command_line_arguments; - - // Skip the first argument as it's the binary name. - for (int i = 1; i < argc; i++) { - command_line_arguments.push_back(Utf8FromUtf16(argv[i])); - } - - ::LocalFree(argv); - - return command_line_arguments; -} - -std::string Utf8FromUtf16(const wchar_t* utf16_string) { - if (utf16_string == nullptr) { - return std::string(); - } - int target_length = ::WideCharToMultiByte( - CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - -1, nullptr, 0, nullptr, nullptr) - -1; // remove the trailing null character - int input_length = (int)wcslen(utf16_string); - std::string utf8_string; - if (target_length <= 0 || target_length > utf8_string.max_size()) { - return utf8_string; - } - utf8_string.resize(target_length); - int converted_length = ::WideCharToMultiByte( - CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - input_length, utf8_string.data(), target_length, nullptr, nullptr); - if (converted_length == 0) { - return std::string(); - } - return utf8_string; -} diff --git a/experimental/varfont_shader_puzzle/windows/runner/utils.h b/experimental/varfont_shader_puzzle/windows/runner/utils.h deleted file mode 100644 index 3879d547557..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/utils.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef RUNNER_UTILS_H_ -#define RUNNER_UTILS_H_ - -#include -#include - -// Creates a console for the process, and redirects stdout and stderr to -// it for both the runner and the Flutter library. -void CreateAndAttachConsole(); - -// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string -// encoded in UTF-8. Returns an empty std::string on failure. -std::string Utf8FromUtf16(const wchar_t* utf16_string); - -// Gets the command line arguments passed in as a std::vector, -// encoded in UTF-8. Returns an empty std::vector on failure. -std::vector GetCommandLineArguments(); - -#endif // RUNNER_UTILS_H_ diff --git a/experimental/varfont_shader_puzzle/windows/runner/win32_window.cpp b/experimental/varfont_shader_puzzle/windows/runner/win32_window.cpp deleted file mode 100644 index 60608d0fe5b..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/win32_window.cpp +++ /dev/null @@ -1,288 +0,0 @@ -#include "win32_window.h" - -#include -#include - -#include "resource.h" - -namespace { - -/// Window attribute that enables dark mode window decorations. -/// -/// Redefined in case the developer's machine has a Windows SDK older than -/// version 10.0.22000.0. -/// See: https://docs.microsoft.com/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute -#ifndef DWMWA_USE_IMMERSIVE_DARK_MODE -#define DWMWA_USE_IMMERSIVE_DARK_MODE 20 -#endif - -constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW"; - -/// Registry key for app theme preference. -/// -/// A value of 0 indicates apps should use dark mode. A non-zero or missing -/// value indicates apps should use light mode. -constexpr const wchar_t kGetPreferredBrightnessRegKey[] = - L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize"; -constexpr const wchar_t kGetPreferredBrightnessRegValue[] = L"AppsUseLightTheme"; - -// The number of Win32Window objects that currently exist. -static int g_active_window_count = 0; - -using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd); - -// Scale helper to convert logical scaler values to physical using passed in -// scale factor -int Scale(int source, double scale_factor) { - return static_cast(source * scale_factor); -} - -// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module. -// This API is only needed for PerMonitor V1 awareness mode. -void EnableFullDpiSupportIfAvailable(HWND hwnd) { - HMODULE user32_module = LoadLibraryA("User32.dll"); - if (!user32_module) { - return; - } - auto enable_non_client_dpi_scaling = - reinterpret_cast( - GetProcAddress(user32_module, "EnableNonClientDpiScaling")); - if (enable_non_client_dpi_scaling != nullptr) { - enable_non_client_dpi_scaling(hwnd); - } - FreeLibrary(user32_module); -} - -} // namespace - -// Manages the Win32Window's window class registration. -class WindowClassRegistrar { - public: - ~WindowClassRegistrar() = default; - - // Returns the singleton registrar instance. - static WindowClassRegistrar* GetInstance() { - if (!instance_) { - instance_ = new WindowClassRegistrar(); - } - return instance_; - } - - // Returns the name of the window class, registering the class if it hasn't - // previously been registered. - const wchar_t* GetWindowClass(); - - // Unregisters the window class. Should only be called if there are no - // instances of the window. - void UnregisterWindowClass(); - - private: - WindowClassRegistrar() = default; - - static WindowClassRegistrar* instance_; - - bool class_registered_ = false; -}; - -WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr; - -const wchar_t* WindowClassRegistrar::GetWindowClass() { - if (!class_registered_) { - WNDCLASS window_class{}; - window_class.hCursor = LoadCursor(nullptr, IDC_ARROW); - window_class.lpszClassName = kWindowClassName; - window_class.style = CS_HREDRAW | CS_VREDRAW; - window_class.cbClsExtra = 0; - window_class.cbWndExtra = 0; - window_class.hInstance = GetModuleHandle(nullptr); - window_class.hIcon = - LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON)); - window_class.hbrBackground = 0; - window_class.lpszMenuName = nullptr; - window_class.lpfnWndProc = Win32Window::WndProc; - RegisterClass(&window_class); - class_registered_ = true; - } - return kWindowClassName; -} - -void WindowClassRegistrar::UnregisterWindowClass() { - UnregisterClass(kWindowClassName, nullptr); - class_registered_ = false; -} - -Win32Window::Win32Window() { - ++g_active_window_count; -} - -Win32Window::~Win32Window() { - --g_active_window_count; - Destroy(); -} - -bool Win32Window::Create(const std::wstring& title, - const Point& origin, - const Size& size) { - Destroy(); - - const wchar_t* window_class = - WindowClassRegistrar::GetInstance()->GetWindowClass(); - - const POINT target_point = {static_cast(origin.x), - static_cast(origin.y)}; - HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST); - UINT dpi = FlutterDesktopGetDpiForMonitor(monitor); - double scale_factor = dpi / 96.0; - - HWND window = CreateWindow( - window_class, title.c_str(), WS_OVERLAPPEDWINDOW, - Scale(origin.x, scale_factor), Scale(origin.y, scale_factor), - Scale(size.width, scale_factor), Scale(size.height, scale_factor), - nullptr, nullptr, GetModuleHandle(nullptr), this); - - if (!window) { - return false; - } - - UpdateTheme(window); - - return OnCreate(); -} - -bool Win32Window::Show() { - return ShowWindow(window_handle_, SW_SHOWNORMAL); -} - -// static -LRESULT CALLBACK Win32Window::WndProc(HWND const window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - if (message == WM_NCCREATE) { - auto window_struct = reinterpret_cast(lparam); - SetWindowLongPtr(window, GWLP_USERDATA, - reinterpret_cast(window_struct->lpCreateParams)); - - auto that = static_cast(window_struct->lpCreateParams); - EnableFullDpiSupportIfAvailable(window); - that->window_handle_ = window; - } else if (Win32Window* that = GetThisFromHandle(window)) { - return that->MessageHandler(window, message, wparam, lparam); - } - - return DefWindowProc(window, message, wparam, lparam); -} - -LRESULT -Win32Window::MessageHandler(HWND hwnd, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - switch (message) { - case WM_DESTROY: - window_handle_ = nullptr; - Destroy(); - if (quit_on_close_) { - PostQuitMessage(0); - } - return 0; - - case WM_DPICHANGED: { - auto newRectSize = reinterpret_cast(lparam); - LONG newWidth = newRectSize->right - newRectSize->left; - LONG newHeight = newRectSize->bottom - newRectSize->top; - - SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth, - newHeight, SWP_NOZORDER | SWP_NOACTIVATE); - - return 0; - } - case WM_SIZE: { - RECT rect = GetClientArea(); - if (child_content_ != nullptr) { - // Size and position the child window. - MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left, - rect.bottom - rect.top, TRUE); - } - return 0; - } - - case WM_ACTIVATE: - if (child_content_ != nullptr) { - SetFocus(child_content_); - } - return 0; - - case WM_DWMCOLORIZATIONCOLORCHANGED: - UpdateTheme(hwnd); - return 0; - } - - return DefWindowProc(window_handle_, message, wparam, lparam); -} - -void Win32Window::Destroy() { - OnDestroy(); - - if (window_handle_) { - DestroyWindow(window_handle_); - window_handle_ = nullptr; - } - if (g_active_window_count == 0) { - WindowClassRegistrar::GetInstance()->UnregisterWindowClass(); - } -} - -Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept { - return reinterpret_cast( - GetWindowLongPtr(window, GWLP_USERDATA)); -} - -void Win32Window::SetChildContent(HWND content) { - child_content_ = content; - SetParent(content, window_handle_); - RECT frame = GetClientArea(); - - MoveWindow(content, frame.left, frame.top, frame.right - frame.left, - frame.bottom - frame.top, true); - - SetFocus(child_content_); -} - -RECT Win32Window::GetClientArea() { - RECT frame; - GetClientRect(window_handle_, &frame); - return frame; -} - -HWND Win32Window::GetHandle() { - return window_handle_; -} - -void Win32Window::SetQuitOnClose(bool quit_on_close) { - quit_on_close_ = quit_on_close; -} - -bool Win32Window::OnCreate() { - // No-op; provided for subclasses. - return true; -} - -void Win32Window::OnDestroy() { - // No-op; provided for subclasses. -} - -void Win32Window::UpdateTheme(HWND const window) { - DWORD light_mode; - DWORD light_mode_size = sizeof(light_mode); - LSTATUS result = RegGetValue(HKEY_CURRENT_USER, kGetPreferredBrightnessRegKey, - kGetPreferredBrightnessRegValue, - RRF_RT_REG_DWORD, nullptr, &light_mode, - &light_mode_size); - - if (result == ERROR_SUCCESS) { - BOOL enable_dark_mode = light_mode == 0; - DwmSetWindowAttribute(window, DWMWA_USE_IMMERSIVE_DARK_MODE, - &enable_dark_mode, sizeof(enable_dark_mode)); - } -} diff --git a/experimental/varfont_shader_puzzle/windows/runner/win32_window.h b/experimental/varfont_shader_puzzle/windows/runner/win32_window.h deleted file mode 100644 index e901dde684e..00000000000 --- a/experimental/varfont_shader_puzzle/windows/runner/win32_window.h +++ /dev/null @@ -1,102 +0,0 @@ -#ifndef RUNNER_WIN32_WINDOW_H_ -#define RUNNER_WIN32_WINDOW_H_ - -#include - -#include -#include -#include - -// A class abstraction for a high DPI-aware Win32 Window. Intended to be -// inherited from by classes that wish to specialize with custom -// rendering and input handling -class Win32Window { - public: - struct Point { - unsigned int x; - unsigned int y; - Point(unsigned int x, unsigned int y) : x(x), y(y) {} - }; - - struct Size { - unsigned int width; - unsigned int height; - Size(unsigned int width, unsigned int height) - : width(width), height(height) {} - }; - - Win32Window(); - virtual ~Win32Window(); - - // Creates a win32 window with |title| that is positioned and sized using - // |origin| and |size|. New windows are created on the default monitor. Window - // sizes are specified to the OS in physical pixels, hence to ensure a - // consistent size this function will scale the inputted width and height as - // as appropriate for the default monitor. The window is invisible until - // |Show| is called. Returns true if the window was created successfully. - bool Create(const std::wstring& title, const Point& origin, const Size& size); - - // Show the current window. Returns true if the window was successfully shown. - bool Show(); - - // Release OS resources associated with window. - void Destroy(); - - // Inserts |content| into the window tree. - void SetChildContent(HWND content); - - // Returns the backing Window handle to enable clients to set icon and other - // window properties. Returns nullptr if the window has been destroyed. - HWND GetHandle(); - - // If true, closing this window will quit the application. - void SetQuitOnClose(bool quit_on_close); - - // Return a RECT representing the bounds of the current client area. - RECT GetClientArea(); - - protected: - // Processes and route salient window messages for mouse handling, - // size change and DPI. Delegates handling of these to member overloads that - // inheriting classes can handle. - virtual LRESULT MessageHandler(HWND window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept; - - // Called when CreateAndShow is called, allowing subclass window-related - // setup. Subclasses should return false if setup fails. - virtual bool OnCreate(); - - // Called when Destroy is called. - virtual void OnDestroy(); - - private: - friend class WindowClassRegistrar; - - // OS callback called by message pump. Handles the WM_NCCREATE message which - // is passed when the non-client area is being created and enables automatic - // non-client DPI scaling so that the non-client area automatically - // responds to changes in DPI. All other messages are handled by - // MessageHandler. - static LRESULT CALLBACK WndProc(HWND const window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept; - - // Retrieves a class instance pointer for |window| - static Win32Window* GetThisFromHandle(HWND const window) noexcept; - - // Update the window frame's theme to match the system theme. - static void UpdateTheme(HWND const window); - - bool quit_on_close_ = false; - - // window handle for top level window. - HWND window_handle_ = nullptr; - - // window handle for hosted content. - HWND child_content_ = nullptr; -}; - -#endif // RUNNER_WIN32_WINDOW_H_ diff --git a/experimental/veggieseasons/README.md b/experimental/veggieseasons/README.md deleted file mode 100644 index 75d68ca7101..00000000000 --- a/experimental/veggieseasons/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# Veggie Seasons - -The [Veggie Seasons](https://github.com/flutter/samples/tree/main/veggieseasons) app has been moved out of the experimental -directory of this repository as it now works on stable channel of Flutter. diff --git a/experimental/web_dashboard/.gitignore b/experimental/web_dashboard/.gitignore deleted file mode 100644 index a981f586a10..00000000000 --- a/experimental/web_dashboard/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# 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/ -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Exceptions to above rules. -!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages diff --git a/experimental/web_dashboard/README.md b/experimental/web_dashboard/README.md deleted file mode 100644 index 0d9ce84d684..00000000000 --- a/experimental/web_dashboard/README.md +++ /dev/null @@ -1,123 +0,0 @@ -# web_dashboard - -**In progress** - -A dashboard app that displays daily entries. - -1. How to use an AdaptiveScaffold adaptive layout for large, medium, and small -screens. -2. How to use Firebase [Cloud -Firestore](https://firebase.google.com/docs/firestore) database with Google -Sign-In. -3. How to use [charts](https://pub.dev/packages/charts_flutter) to display -data. -4. (in progress) How to set up routing for a web app - -This app is web-first, and isn't guaranteed to run on iOS, Android or desktop -platforms. - -## Running - -Normal mode (DDC): - -``` -flutter run -d chrome -``` - -Skia / CanvasKit mode: - -``` -flutter run -d chrome --release --dart-define=FLUTTER_WEB_USE_SKIA=true -``` - -## Running JSON code generator - -``` -flutter pub run grinder generate -``` - -## Add Firebase - -### Step 1: Create a new Firebase project - -Go to [console.firebase.google.com](https://console.firebase.google.com/) and -create a new Firebase project. - -### Step 2: Enable Google Sign In for your project - -In the Firebase console, go to "Authentication" and enable Google sign in. Click -on "Web SDK Configuration" and copy down your Web client ID. - -### Step 3: Add Client ID to `index.html` - -Uncomment this line in `index.html` and replace `` with the -client ID from Step 2: - -```html - - -``` - -### Step 4: Create a web app - -In the Firebase console, under "Project overview", click "Add app", select Web, -and replace the contents of `web/firebase_init.js`. - -```javascript -// web/firebase_init.js -var firebaseConfig = { - apiKey: "", - authDomain: "", - databaseURL: "", - projectId: "", - storageBucket: "", - messagingSenderId: "", - appId: "" -}; - -// Initialize Firebase -firebase.initializeApp(firebaseConfig); -``` - -### Step 4: Create Cloud Firestore - -Create a new Cloud Firestore database and add the following rules to disallow -users from reading/writing other users' data: - -``` -rules_version = '2'; - -service cloud.firestore { - match /databases/{database}/documents { - // Make sure the uid of the requesting user matches name of the user - // document. The wildcard expression {userId} makes the userId variable - // available in rules. - match /users/{userId}/{document=**} { - allow read, update, delete: if request.auth.uid == userId; - allow create: if request.auth.uid != null; - } - } -} -``` - -### Step 5: Run the app - -Run the app on port 5000: - -```bash -flutter run -d chrome --web-port=5000 -``` - -If you see CORS errors in your browser's console, go to the [Services -section][cloud-console-apis] in the Google Cloud console, go to Credentials, and -verify that `localhost:5000` is whitelisted. - -### (optional) Step 7: Set up iOS and Android -If you would like to run the app on iOS or Android, make sure you've installed -the appropriate configuration files described at -[firebase.google.com/docs/flutter/setup][flutter-setup] from step 1, and follow -the instructions detailed in the [google_sign_in README][google-sign-in] - -[flutter-setup]: https://firebase.google.com/docs/flutter/setup -[cloud-console-apis]: https://console.developers.google.com/apis/dashboard -[google-sign-in]: https://pub.dev/packages/google_sign_in diff --git a/experimental/web_dashboard/analysis_options.yaml b/experimental/web_dashboard/analysis_options.yaml deleted file mode 100644 index 13d6fe105a3..00000000000 --- a/experimental/web_dashboard/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: package:analysis_defaults/flutter.yaml diff --git a/experimental/web_dashboard/lib/main.dart b/experimental/web_dashboard/lib/main.dart deleted file mode 100644 index c0b1767e68e..00000000000 --- a/experimental/web_dashboard/lib/main.dart +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter/material.dart'; - -import 'src/app.dart'; - -void main() { - runApp(DashboardApp.mock()); -} diff --git a/experimental/web_dashboard/lib/main_firebase.dart b/experimental/web_dashboard/lib/main_firebase.dart deleted file mode 100644 index 20517fecc42..00000000000 --- a/experimental/web_dashboard/lib/main_firebase.dart +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter/material.dart'; - -import 'src/app.dart'; - -void main() { - runApp(DashboardApp.firebase()); -} diff --git a/experimental/web_dashboard/lib/src/api/api.dart b/experimental/web_dashboard/lib/src/api/api.dart deleted file mode 100644 index 0ab9dfa2b09..00000000000 --- a/experimental/web_dashboard/lib/src/api/api.dart +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:cloud_firestore/cloud_firestore.dart'; -import 'package:json_annotation/json_annotation.dart'; - -part 'api.g.dart'; - -/// Manipulates app data, -abstract class DashboardApi { - CategoryApi get categories; - EntryApi get entries; -} - -/// Manipulates [Category] data. -abstract class CategoryApi { - Future delete(String id); - - Future get(String id); - - Future insert(Category category); - - Future> list(); - - Future update(Category category, String id); - - Stream> subscribe(); -} - -/// Manipulates [Entry] data. -abstract class EntryApi { - Future delete(String categoryId, String id); - - Future get(String categoryId, String id); - - Future insert(String categoryId, Entry entry); - - Future> list(String categoryId); - - Future update(String categoryId, String id, Entry entry); - - Stream> subscribe(String categoryId); -} - -/// Something that's being tracked, e.g. Hours Slept, Cups of water, etc. -@JsonSerializable() -class Category { - String name; - - @JsonKey(includeFromJson: false) - String? id; - - Category(this.name); - - factory Category.fromJson(Map json) => - _$CategoryFromJson(json); - - Map toJson() => _$CategoryToJson(this); - - @override - operator ==(Object other) => other is Category && other.id == id; - @override - int get hashCode => id.hashCode; - @override - String toString() { - return ''; - } -} - -/// A number tracked at a point in time. -@JsonSerializable() -class Entry { - int value; - @JsonKey(fromJson: _timestampToDateTime, toJson: _dateTimeToTimestamp) - DateTime time; - - @JsonKey(includeFromJson: false) - String? id; - - Entry(this.value, this.time); - - factory Entry.fromJson(Map json) => _$EntryFromJson(json); - - Map toJson() => _$EntryToJson(this); - - static DateTime _timestampToDateTime(Timestamp timestamp) { - return DateTime.fromMillisecondsSinceEpoch( - timestamp.millisecondsSinceEpoch, - ); - } - - static Timestamp _dateTimeToTimestamp(DateTime dateTime) { - return Timestamp.fromMillisecondsSinceEpoch( - dateTime.millisecondsSinceEpoch, - ); - } - - @override - operator ==(Object other) => other is Entry && other.id == id; - - @override - int get hashCode => id.hashCode; - - @override - String toString() { - return ''; - } -} diff --git a/experimental/web_dashboard/lib/src/api/api.g.dart b/experimental/web_dashboard/lib/src/api/api.g.dart deleted file mode 100644 index 6a90026ce5d..00000000000 --- a/experimental/web_dashboard/lib/src/api/api.g.dart +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -// GENERATED CODE - DO NOT MODIFY BY HAND - -part of 'api.dart'; - -// ************************************************************************** -// JsonSerializableGenerator -// ************************************************************************** - -Category _$CategoryFromJson(Map json) { - return Category(json['name'] as String); -} - -Map _$CategoryToJson(Category instance) => { - 'name': instance.name, -}; - -Entry _$EntryFromJson(Map json) { - return Entry( - json['value'] as int, - Entry._timestampToDateTime(json['time'] as Timestamp), - ); -} - -Map _$EntryToJson(Entry instance) => { - 'value': instance.value, - 'time': Entry._dateTimeToTimestamp(instance.time), -}; diff --git a/experimental/web_dashboard/lib/src/api/firebase.dart b/experimental/web_dashboard/lib/src/api/firebase.dart deleted file mode 100644 index 6ba42e8df40..00000000000 --- a/experimental/web_dashboard/lib/src/api/firebase.dart +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:cloud_firestore/cloud_firestore.dart'; - -import 'api.dart'; - -class FirebaseDashboardApi implements DashboardApi { - @override - final EntryApi entries; - - @override - final CategoryApi categories; - - FirebaseDashboardApi(FirebaseFirestore firestore, String userId) - : entries = FirebaseEntryApi(firestore, userId), - categories = FirebaseCategoryApi(firestore, userId); -} - -class FirebaseEntryApi implements EntryApi { - final FirebaseFirestore firestore; - final String userId; - final CollectionReference> _categoriesRef; - - FirebaseEntryApi(this.firestore, this.userId) - : _categoriesRef = firestore.collection('users/$userId/categories'); - - @override - Stream> subscribe(String categoryId) { - var snapshots = - _categoriesRef.doc(categoryId).collection('entries').snapshots(); - var result = snapshots.map>((querySnapshot) { - return querySnapshot.docs.map((snapshot) { - return Entry.fromJson(snapshot.data())..id = snapshot.id; - }).toList(); - }); - - return result; - } - - @override - Future delete(String categoryId, String id) async { - var document = _categoriesRef.doc('$categoryId/entries/$id'); - var entry = await get(categoryId, document.id); - - await document.delete(); - - return entry; - } - - @override - Future insert(String categoryId, Entry entry) async { - var document = await _categoriesRef - .doc(categoryId) - .collection('entries') - .add(entry.toJson()); - return await get(categoryId, document.id); - } - - @override - Future> list(String categoryId) async { - var entriesRef = _categoriesRef.doc(categoryId).collection('entries'); - var querySnapshot = await entriesRef.get(); - var entries = - querySnapshot.docs - .map((doc) => Entry.fromJson(doc.data())..id = doc.id) - .toList(); - - return entries; - } - - @override - Future update(String categoryId, String id, Entry entry) async { - var document = _categoriesRef.doc('$categoryId/entries/$id'); - await document.update(entry.toJson()); - var snapshot = await document.get(); - return Entry.fromJson(snapshot.data()!)..id = snapshot.id; - } - - @override - Future get(String categoryId, String id) async { - var document = _categoriesRef.doc('$categoryId/entries/$id'); - var snapshot = await document.get(); - return Entry.fromJson(snapshot.data()!)..id = snapshot.id; - } -} - -class FirebaseCategoryApi implements CategoryApi { - final FirebaseFirestore firestore; - final String userId; - final CollectionReference> _categoriesRef; - - FirebaseCategoryApi(this.firestore, this.userId) - : _categoriesRef = firestore.collection('users/$userId/categories'); - - @override - Stream> subscribe() { - var snapshots = _categoriesRef.snapshots(); - var result = snapshots.map>((querySnapshot) { - return querySnapshot.docs.map((snapshot) { - return Category.fromJson(snapshot.data())..id = snapshot.id; - }).toList(); - }); - - return result; - } - - @override - Future delete(String id) async { - var document = _categoriesRef.doc(id); - var categories = await get(document.id); - - await document.delete(); - - return categories; - } - - @override - Future get(String id) async { - var document = _categoriesRef.doc(id); - var snapshot = await document.get(); - return Category.fromJson(snapshot.data()!)..id = snapshot.id; - } - - @override - Future insert(Category category) async { - var document = await _categoriesRef.add(category.toJson()); - return await get(document.id); - } - - @override - Future> list() async { - var querySnapshot = await _categoriesRef.get(); - var categories = - querySnapshot.docs - .map((doc) => Category.fromJson(doc.data())..id = doc.id) - .toList(); - - return categories; - } - - @override - Future update(Category category, String id) async { - var document = _categoriesRef.doc(id); - await document.update(category.toJson()); - var snapshot = await document.get(); - return Category.fromJson(snapshot.data()!)..id = snapshot.id; - } -} diff --git a/experimental/web_dashboard/lib/src/api/mock.dart b/experimental/web_dashboard/lib/src/api/mock.dart deleted file mode 100644 index 463d8b2941d..00000000000 --- a/experimental/web_dashboard/lib/src/api/mock.dart +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'dart:async'; -import 'dart:math'; - -import 'package:uuid/uuid.dart' as uuid; - -import 'api.dart'; - -class MockDashboardApi implements DashboardApi { - @override - final EntryApi entries = MockEntryApi(); - - @override - final CategoryApi categories = MockCategoryApi(); - - MockDashboardApi(); - - /// Creates a [MockDashboardApi] filled with mock data for the last 30 days. - Future fillWithMockData() async { - await Future.delayed(const Duration(seconds: 1)); - var category1 = await categories.insert(Category('Coffee (oz)')); - var category2 = await categories.insert(Category('Running (miles)')); - var category3 = await categories.insert(Category('Git Commits')); - var monthAgo = DateTime.now().subtract(const Duration(days: 30)); - - for (var category in [category1, category2, category3]) { - for (var i = 0; i < 30; i++) { - var date = monthAgo.add(Duration(days: i)); - var value = Random().nextInt(6) + 1; - await entries.insert(category.id!, Entry(value, date)); - } - } - } -} - -class MockCategoryApi implements CategoryApi { - final Map _storage = {}; - final StreamController> _streamController = - StreamController>.broadcast(); - - @override - Future delete(String id) async { - var removed = _storage.remove(id); - _emit(); - return removed; - } - - @override - Future get(String id) async { - return _storage[id]; - } - - @override - Future insert(Category category) async { - var id = const uuid.Uuid().v4(); - var newCategory = Category(category.name)..id = id; - _storage[id] = newCategory; - _emit(); - return newCategory; - } - - @override - Future> list() async { - return _storage.values.toList(); - } - - @override - Future update(Category category, String id) async { - _storage[id] = category; - _emit(); - return category..id = id; - } - - @override - Stream> subscribe() => _streamController.stream; - - void _emit() { - _streamController.add(_storage.values.toList()); - } -} - -class MockEntryApi implements EntryApi { - final Map _storage = {}; - final StreamController<_EntriesEvent> _streamController = - StreamController.broadcast(); - - @override - Future delete(String categoryId, String id) async { - _emit(categoryId); - return _storage.remove('$categoryId-$id'); - } - - @override - Future insert(String categoryId, Entry entry) async { - var id = const uuid.Uuid().v4(); - var newEntry = Entry(entry.value, entry.time)..id = id; - _storage['$categoryId-$id'] = newEntry; - _emit(categoryId); - return newEntry; - } - - @override - Future> list(String categoryId) async { - var list = - _storage.keys - .where((k) => k.startsWith(categoryId)) - .map((k) => _storage[k]) - .nonNulls - .toList(); - return list; - } - - @override - Future update(String categoryId, String id, Entry entry) async { - _storage['$categoryId-$id'] = entry; - _emit(categoryId); - return entry..id = id; - } - - @override - Stream> subscribe(String categoryId) { - return _streamController.stream - .where((event) => event.categoryId == categoryId) - .map((event) => event.entries); - } - - void _emit(String categoryId) { - var entries = - _storage.keys - .where((k) => k.startsWith(categoryId)) - .map((k) => _storage[k]!) - .toList(); - - _streamController.add(_EntriesEvent(categoryId, entries)); - } - - @override - Future get(String categoryId, String id) async { - return _storage['$categoryId-$id']; - } -} - -class _EntriesEvent { - final String categoryId; - final List entries; - - _EntriesEvent(this.categoryId, this.entries); -} diff --git a/experimental/web_dashboard/lib/src/app.dart b/experimental/web_dashboard/lib/src/app.dart deleted file mode 100644 index 44c247df034..00000000000 --- a/experimental/web_dashboard/lib/src/app.dart +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:cloud_firestore/cloud_firestore.dart'; -import 'package:flutter/material.dart'; -import 'package:provider/provider.dart'; - -import 'api/api.dart'; -import 'api/firebase.dart'; -import 'api/mock.dart'; -import 'auth/auth.dart'; -import 'auth/firebase.dart'; -import 'auth/mock.dart'; -import 'pages/home.dart'; -import 'pages/sign_in.dart'; - -/// The global state the app. -class AppState { - final Auth auth; - DashboardApi? api; - - AppState(this.auth); -} - -/// Creates a [DashboardApi] for the given user. This allows users of this -/// widget to specify whether [MockDashboardApi] or [ApiBuilder] should be -/// created when the user logs in. -typedef ApiBuilder = DashboardApi Function(User user); - -/// An app that displays a personalized dashboard. -class DashboardApp extends StatefulWidget { - static DashboardApi _mockApiBuilder(User user) => - MockDashboardApi()..fillWithMockData(); - static DashboardApi _apiBuilder(User user) => - FirebaseDashboardApi(FirebaseFirestore.instance, user.uid); - - final Auth auth; - final ApiBuilder apiBuilder; - - /// Runs the app using Firebase - DashboardApp.firebase({super.key}) - : auth = FirebaseAuthService(), - apiBuilder = _apiBuilder; - - /// Runs the app using mock data - DashboardApp.mock({super.key}) - : auth = MockAuthService(), - apiBuilder = _mockApiBuilder; - - @override - State createState() => _DashboardAppState(); -} - -class _DashboardAppState extends State { - late final AppState _appState; - - @override - void initState() { - super.initState(); - _appState = AppState(widget.auth); - } - - @override - Widget build(BuildContext context) { - return Provider.value( - value: _appState, - child: MaterialApp( - theme: ThemeData.light(), - home: SignInSwitcher( - appState: _appState, - apiBuilder: widget.apiBuilder, - ), - ), - ); - } -} - -/// Switches between showing the [SignInPage] or [HomePage], depending on -/// whether or not the user is signed in. -class SignInSwitcher extends StatefulWidget { - final AppState? appState; - final ApiBuilder? apiBuilder; - - const SignInSwitcher({this.appState, this.apiBuilder, super.key}); - - @override - State createState() => _SignInSwitcherState(); -} - -class _SignInSwitcherState extends State { - bool _isSignedIn = false; - - @override - Widget build(BuildContext context) { - return AnimatedSwitcher( - switchInCurve: Curves.easeOut, - switchOutCurve: Curves.easeOut, - duration: const Duration(milliseconds: 200), - child: - _isSignedIn - ? HomePage(onSignOut: _handleSignOut) - : SignInPage( - auth: widget.appState!.auth, - onSuccess: _handleSignIn, - ), - ); - } - - void _handleSignIn(User user) { - widget.appState!.api = widget.apiBuilder!(user); - - setState(() { - _isSignedIn = true; - }); - } - - Future _handleSignOut() async { - await widget.appState!.auth.signOut(); - setState(() { - _isSignedIn = false; - }); - } -} diff --git a/experimental/web_dashboard/lib/src/auth/auth.dart b/experimental/web_dashboard/lib/src/auth/auth.dart deleted file mode 100644 index 24cb700b61c..00000000000 --- a/experimental/web_dashboard/lib/src/auth/auth.dart +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -abstract class Auth { - Future get isSignedIn; - Future signIn(); - Future signOut(); -} - -abstract class User { - String get uid; -} - -class SignInException implements Exception {} diff --git a/experimental/web_dashboard/lib/src/auth/firebase.dart b/experimental/web_dashboard/lib/src/auth/firebase.dart deleted file mode 100644 index 81a798adaeb..00000000000 --- a/experimental/web_dashboard/lib/src/auth/firebase.dart +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:firebase_auth/firebase_auth.dart' hide User; -import 'package:flutter/services.dart'; -import 'package:google_sign_in/google_sign_in.dart'; - -import 'auth.dart'; - -class FirebaseAuthService implements Auth { - final GoogleSignIn _googleSignIn = GoogleSignIn(); - final FirebaseAuth _auth = FirebaseAuth.instance; - - @override - Future get isSignedIn => _googleSignIn.isSignedIn(); - - @override - Future signIn() async { - try { - return await _signIn(); - } on PlatformException { - throw SignInException(); - } - } - - Future _signIn() async { - GoogleSignInAccount? googleUser; - if (await isSignedIn) { - googleUser = await _googleSignIn.signInSilently(); - } else { - googleUser = await _googleSignIn.signIn(); - } - - var googleAuth = await googleUser!.authentication; - - var credential = GoogleAuthProvider.credential( - accessToken: googleAuth.accessToken, - idToken: googleAuth.idToken, - ); - - var authResult = await _auth.signInWithCredential(credential); - - return _FirebaseUser(authResult.user!.uid); - } - - @override - Future signOut() async { - await Future.wait([_auth.signOut(), _googleSignIn.signOut()]); - } -} - -class _FirebaseUser implements User { - @override - final String uid; - - _FirebaseUser(this.uid); -} diff --git a/experimental/web_dashboard/lib/src/auth/mock.dart b/experimental/web_dashboard/lib/src/auth/mock.dart deleted file mode 100644 index e54d518313a..00000000000 --- a/experimental/web_dashboard/lib/src/auth/mock.dart +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'auth.dart'; - -class MockAuthService implements Auth { - @override - Future get isSignedIn async => false; - - @override - Future signIn() async { - return MockUser(); - } - - @override - Future signOut() async { - return null; - } -} - -class MockUser implements User { - @override - String get uid => "123"; -} diff --git a/experimental/web_dashboard/lib/src/pages/dashboard.dart b/experimental/web_dashboard/lib/src/pages/dashboard.dart deleted file mode 100644 index d120b118bd6..00000000000 --- a/experimental/web_dashboard/lib/src/pages/dashboard.dart +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:provider/provider.dart'; - -import '../api/api.dart'; -import '../app.dart'; -import '../widgets/category_chart.dart'; - -class DashboardPage extends StatelessWidget { - const DashboardPage({super.key}); - - @override - Widget build(BuildContext context) { - var appState = Provider.of(context); - return FutureBuilder>( - future: appState.api!.categories.list(), - builder: (context, futureSnapshot) { - if (!futureSnapshot.hasData) { - return const Center(child: CircularProgressIndicator()); - } - return StreamBuilder>( - initialData: futureSnapshot.data, - stream: appState.api!.categories.subscribe(), - builder: (context, snapshot) { - if (snapshot.data == null) { - return const Center(child: CircularProgressIndicator()); - } - return Dashboard(snapshot.data); - }, - ); - }, - ); - } -} - -class Dashboard extends StatelessWidget { - final List? categories; - - const Dashboard(this.categories, {super.key}); - - @override - Widget build(BuildContext context) { - var api = Provider.of(context).api; - return Scrollbar( - child: GridView( - gridDelegate: const SliverGridDelegateWithMaxCrossAxisExtent( - childAspectRatio: 2, - maxCrossAxisExtent: 500, - ), - children: [ - ...categories!.map( - (category) => - Card(child: CategoryChart(category: category, api: api)), - ), - ], - ), - ); - } -} diff --git a/experimental/web_dashboard/lib/src/pages/entries.dart b/experimental/web_dashboard/lib/src/pages/entries.dart deleted file mode 100644 index 0220c976461..00000000000 --- a/experimental/web_dashboard/lib/src/pages/entries.dart +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:intl/intl.dart' as intl; -import 'package:provider/provider.dart'; - -import '../api/api.dart'; -import '../app.dart'; -import '../widgets/categories_dropdown.dart'; -import '../widgets/dialogs.dart'; - -class EntriesPage extends StatefulWidget { - const EntriesPage({super.key}); - - @override - State createState() => _EntriesPageState(); -} - -class _EntriesPageState extends State { - Category? _selected; - - @override - Widget build(BuildContext context) { - var appState = Provider.of(context); - return Column( - children: [ - CategoryDropdown( - api: appState.api!.categories, - onSelected: (category) => setState(() => _selected = category), - ), - Expanded( - child: - _selected == null - ? const Center(child: CircularProgressIndicator()) - : EntriesList( - category: _selected, - api: appState.api!.entries, - ), - ), - ], - ); - } -} - -class EntriesList extends StatefulWidget { - final Category? category; - final EntryApi api; - - EntriesList({this.category, required this.api}) - : super(key: ValueKey(category?.id)); - - @override - State createState() => _EntriesListState(); -} - -class _EntriesListState extends State { - @override - Widget build(BuildContext context) { - if (widget.category == null) { - return _buildLoadingIndicator(); - } - - return FutureBuilder>( - future: widget.api.list(widget.category!.id!), - builder: (context, futureSnapshot) { - if (!futureSnapshot.hasData) { - return _buildLoadingIndicator(); - } - return StreamBuilder>( - initialData: futureSnapshot.data, - stream: widget.api.subscribe(widget.category!.id!), - builder: (context, snapshot) { - if (!snapshot.hasData) { - return _buildLoadingIndicator(); - } - return ListView.builder( - itemBuilder: (context, index) { - return EntryTile( - category: widget.category, - entry: snapshot.data![index], - ); - }, - itemCount: snapshot.data!.length, - ); - }, - ); - }, - ); - } - - Widget _buildLoadingIndicator() { - return const Center(child: CircularProgressIndicator()); - } -} - -class EntryTile extends StatelessWidget { - final Category? category; - final Entry? entry; - - const EntryTile({this.category, this.entry, super.key}); - - @override - Widget build(BuildContext context) { - return ListTile( - title: Text(entry!.value.toString()), - subtitle: Text(intl.DateFormat('MM/dd/yy h:mm a').format(entry!.time)), - trailing: Row( - mainAxisSize: MainAxisSize.min, - children: [ - TextButton( - child: const Text('Edit'), - onPressed: () { - showDialog( - context: context, - builder: (context) { - return EditEntryDialog(category: category, entry: entry); - }, - ); - }, - ), - TextButton( - child: const Text('Delete'), - onPressed: () async { - final appState = Provider.of(context, listen: false); - final scaffoldMessenger = ScaffoldMessenger.of(context); - final bool? shouldDelete = await showDialog( - context: context, - builder: - (context) => AlertDialog( - title: const Text('Delete entry?'), - actions: [ - TextButton( - child: const Text('Cancel'), - onPressed: () => Navigator.of(context).pop(false), - ), - TextButton( - child: const Text('Delete'), - onPressed: () => Navigator.of(context).pop(true), - ), - ], - ), - ); - if (shouldDelete != null && shouldDelete) { - await appState.api!.entries.delete(category!.id!, entry!.id!); - scaffoldMessenger.showSnackBar( - const SnackBar(content: Text('Entry deleted')), - ); - } - }, - ), - ], - ), - ); - } -} diff --git a/experimental/web_dashboard/lib/src/pages/home.dart b/experimental/web_dashboard/lib/src/pages/home.dart deleted file mode 100644 index 9e9b652c237..00000000000 --- a/experimental/web_dashboard/lib/src/pages/home.dart +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'dart:async'; - -import 'package:flutter/material.dart'; - -import '../widgets/dialogs.dart'; -import '../widgets/third_party/adaptive_scaffold.dart'; -import 'dashboard.dart'; -import 'entries.dart'; - -class HomePage extends StatefulWidget { - final VoidCallback onSignOut; - - const HomePage({required this.onSignOut, super.key}); - - @override - State createState() => _HomePageState(); -} - -class _HomePageState extends State { - int _pageIndex = 0; - - @override - Widget build(BuildContext context) { - return AdaptiveScaffold( - title: const Text('Dashboard App'), - actions: [ - Padding( - padding: const EdgeInsets.all(8.0), - child: TextButton( - style: TextButton.styleFrom(foregroundColor: Colors.white), - onPressed: () => _handleSignOut(), - child: const Text('Sign Out'), - ), - ), - ], - currentIndex: _pageIndex, - destinations: const [ - AdaptiveScaffoldDestination(title: 'Home', icon: Icons.home), - AdaptiveScaffoldDestination(title: 'Entries', icon: Icons.list), - AdaptiveScaffoldDestination(title: 'Settings', icon: Icons.settings), - ], - body: _pageAtIndex(_pageIndex), - onNavigationIndexChange: (newIndex) { - setState(() { - _pageIndex = newIndex; - }); - }, - floatingActionButton: - _hasFloatingActionButton ? _buildFab(context) : null, - ); - } - - bool get _hasFloatingActionButton { - if (_pageIndex == 2) return false; - return true; - } - - FloatingActionButton _buildFab(BuildContext context) { - return FloatingActionButton( - child: const Icon(Icons.add), - onPressed: () => _handleFabPressed(), - ); - } - - void _handleFabPressed() { - if (_pageIndex == 0) { - showDialog( - context: context, - builder: (context) => const NewCategoryDialog(), - ); - return; - } - - if (_pageIndex == 1) { - showDialog( - context: context, - builder: (context) => const NewEntryDialog(), - ); - return; - } - } - - Future _handleSignOut() async { - var shouldSignOut = await (showDialog( - context: context, - builder: - (context) => AlertDialog( - title: const Text('Are you sure you want to sign out?'), - actions: [ - TextButton( - child: const Text('No'), - onPressed: () { - Navigator.of(context).pop(false); - }, - ), - TextButton( - child: const Text('Yes'), - onPressed: () { - Navigator.of(context).pop(true); - }, - ), - ], - ), - )); - - if (shouldSignOut == null || !shouldSignOut) { - return; - } - - widget.onSignOut(); - } - - static Widget _pageAtIndex(int index) { - if (index == 0) { - return const DashboardPage(); - } - - if (index == 1) { - return const EntriesPage(); - } - - return const Center(child: Text('Settings page')); - } -} diff --git a/experimental/web_dashboard/lib/src/pages/sign_in.dart b/experimental/web_dashboard/lib/src/pages/sign_in.dart deleted file mode 100644 index d441be52c65..00000000000 --- a/experimental/web_dashboard/lib/src/pages/sign_in.dart +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter/material.dart'; - -import '../auth/auth.dart'; - -class SignInPage extends StatelessWidget { - final Auth auth; - final ValueChanged onSuccess; - - const SignInPage({required this.auth, required this.onSuccess, super.key}); - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center(child: SignInButton(auth: auth, onSuccess: onSuccess)), - ); - } -} - -class SignInButton extends StatefulWidget { - final Auth auth; - final ValueChanged onSuccess; - - const SignInButton({required this.auth, required this.onSuccess, super.key}); - - @override - State createState() => _SignInButtonState(); -} - -class _SignInButtonState extends State { - Future? _checkSignInFuture; - - @override - void initState() { - super.initState(); - _checkSignInFuture = _checkIfSignedIn(); - } - - // Check if the user is signed in. If the user is already signed in (for - // example, if they signed in and refreshed the page), invoke the `onSuccess` - // callback right away. - Future _checkIfSignedIn() async { - var alreadySignedIn = await widget.auth.isSignedIn; - if (alreadySignedIn) { - var user = await widget.auth.signIn(); - widget.onSuccess(user); - } - return alreadySignedIn; - } - - Future _signIn() async { - try { - var user = await widget.auth.signIn(); - widget.onSuccess(user); - } on SignInException { - _showError(); - } - } - - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: _checkSignInFuture, - builder: (context, snapshot) { - // If signed in, or the future is incomplete, show a circular - // progress indicator. - var alreadySignedIn = snapshot.data; - if (snapshot.connectionState != ConnectionState.done || - alreadySignedIn == true) { - return const CircularProgressIndicator(); - } - - // If sign in failed, show toast and the login button - if (snapshot.hasError) { - _showError(); - } - - return FilledButton( - child: const Text('Sign In with Google'), - onPressed: () => _signIn(), - ); - }, - ); - } - - void _showError() { - ScaffoldMessenger.of( - context, - ).showSnackBar(const SnackBar(content: Text('Unable to sign in.'))); - } -} diff --git a/experimental/web_dashboard/lib/src/utils/chart_utils.dart b/experimental/web_dashboard/lib/src/utils/chart_utils.dart deleted file mode 100644 index bbb23840c94..00000000000 --- a/experimental/web_dashboard/lib/src/utils/chart_utils.dart +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import '../api/api.dart'; -import 'day_helpers.dart'; - -/// The total value of one or more [Entry]s on a given day. -class EntryTotal { - final DateTime day; - int value; - - EntryTotal(this.day, this.value); -} - -/// Returns a list of [EntryTotal] objects. Each [EntryTotal] is the sum of -/// the values of all the entries on a given day. -List entryTotalsByDay( - List? entries, - int daysAgo, { - DateTime? today, -}) { - today ??= DateTime.now(); - return _entryTotalsByDay(entries, daysAgo, today).toList(); -} - -Iterable _entryTotalsByDay( - List? entries, - int daysAgo, - DateTime today, -) sync* { - var start = today.subtract(Duration(days: daysAgo)); - var entriesByDay = _entriesInRange(start, today, entries); - - for (var i = 0; i < entriesByDay.length; i++) { - var list = entriesByDay[i]; - var entryTotal = EntryTotal(start.add(Duration(days: i)), 0); - - for (var entry in list) { - entryTotal.value += entry.value; - } - - yield entryTotal; - } -} - -/// Groups entries by day between [start] and [end]. The result is a list of -/// lists. The outer list represents the number of days since [start], and the -/// inner list is the group of entries on that day. -List> _entriesInRange( - DateTime start, - DateTime end, - List? entries, -) => _entriesInRangeImpl(start, end, entries).toList(); - -Iterable> _entriesInRangeImpl( - DateTime start, - DateTime end, - List? entries, -) sync* { - start = start.atMidnight; - end = end.atMidnight; - var d = start; - - while (d.compareTo(end) <= 0) { - var es = []; - for (var entry in entries!) { - if (d.isSameDay(entry.time.atMidnight)) { - es.add(entry); - } - } - - yield es; - d = d.add(const Duration(days: 1)); - } -} diff --git a/experimental/web_dashboard/lib/src/utils/day_helpers.dart b/experimental/web_dashboard/lib/src/utils/day_helpers.dart deleted file mode 100644 index 9b8993889fb..00000000000 --- a/experimental/web_dashboard/lib/src/utils/day_helpers.dart +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -extension DayUtils on DateTime { - /// The UTC date portion of a datetime, without the minutes, seconds, etc. - DateTime get atMidnight { - return DateTime.utc(year, month, day); - } - - /// Checks that the two [DateTime]s share the same date. - bool isSameDay(DateTime d2) { - return year == d2.year && month == d2.month && day == d2.day; - } -} diff --git a/experimental/web_dashboard/lib/src/widgets/categories_dropdown.dart b/experimental/web_dashboard/lib/src/widgets/categories_dropdown.dart deleted file mode 100644 index 3cfc6bf40a9..00000000000 --- a/experimental/web_dashboard/lib/src/widgets/categories_dropdown.dart +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'dart:async'; - -import 'package:flutter/material.dart'; -import '../api/api.dart'; - -/// Subscribes to the latest list of categories and allows the user to select -/// one. -class CategoryDropdown extends StatefulWidget { - final CategoryApi api; - final ValueChanged onSelected; - - const CategoryDropdown({ - required this.api, - required this.onSelected, - super.key, - }); - - @override - State createState() => _CategoryDropdownState(); -} - -class _CategoryDropdownState extends State { - Category? _selected; - Future>? _future; - Stream>? _stream; - - @override - void initState() { - super.initState(); - - // This widget needs to wait for the list of Categories, select the first - // Category, and emit an `onSelected` event. - // - // This could be done inside the FutureBuilder's `builder` callback, - // but calling setState() during the build is an error. (Calling the - // onSelected callback will also cause the parent widget to call - // setState()). - // - // Instead, we'll create a new Future that sets the selected Category and - // calls `onSelected` if necessary. Then, we'll pass *that* future to - // FutureBuilder. Now the selected category is set and events are emitted - // *before* the build is triggered by the FutureBuilder. - _future = widget.api.list().then((categories) { - if (categories.isEmpty) { - return categories; - } - - _setSelected(categories.first); - return categories; - }); - - // Same here, we'll create a new stream that handles any potential - // setState() operations before we trigger our StreamBuilder. - _stream = widget.api.subscribe().map((categories) { - if (!categories.contains(_selected) && categories.isNotEmpty) { - _setSelected(categories.first); - } - - return categories; - }); - } - - @override - Widget build(BuildContext context) { - return FutureBuilder>( - future: _future, - builder: (context, futureSnapshot) { - // Show an empty dropdown while the data is loading. - if (!futureSnapshot.hasData) { - return DropdownButton(items: const [], onChanged: null); - } - - return StreamBuilder>( - initialData: futureSnapshot.hasData ? futureSnapshot.data : [], - stream: _stream, - builder: (context, snapshot) { - var data = snapshot.hasData ? snapshot.data! : []; - return DropdownButton( - value: _selected, - items: data.map(_buildDropdownItem).toList(), - onChanged: (category) { - _setSelected(category); - }, - ); - }, - ); - }, - ); - } - - void _setSelected(Category? category) { - if (_selected == category) { - return; - } - setState(() { - _selected = category; - }); - - widget.onSelected(_selected); - } - - DropdownMenuItem _buildDropdownItem(Category category) { - return DropdownMenuItem( - value: category, - child: Text(category.name), - ); - } -} diff --git a/experimental/web_dashboard/lib/src/widgets/category_chart.dart b/experimental/web_dashboard/lib/src/widgets/category_chart.dart deleted file mode 100644 index 48fba2e8034..00000000000 --- a/experimental/web_dashboard/lib/src/widgets/category_chart.dart +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:community_charts_flutter/community_charts_flutter.dart' - as charts; -import 'package:flutter/material.dart'; -import 'package:intl/intl.dart' as intl; - -import '../api/api.dart'; -import '../utils/chart_utils.dart' as utils; -import 'dialogs.dart'; - -// The number of days to show in the chart -const _daysBefore = 10; - -class CategoryChart extends StatelessWidget { - final Category category; - final DashboardApi? api; - - const CategoryChart({required this.category, required this.api, super.key}); - - @override - Widget build(BuildContext context) { - return Column( - children: [ - Padding( - padding: const EdgeInsets.only(left: 8.0, right: 8.0), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text(category.name), - IconButton( - icon: const Icon(Icons.settings), - onPressed: () { - showDialog( - context: context, - builder: (context) { - return EditCategoryDialog(category: category); - }, - ); - }, - ), - ], - ), - ), - Expanded( - // Load the initial snapshot using a FutureBuilder, and subscribe to - // additional updates with a StreamBuilder. - child: FutureBuilder>( - future: api!.entries.list(category.id!), - builder: (context, futureSnapshot) { - if (!futureSnapshot.hasData) { - return _buildLoadingIndicator(); - } - return StreamBuilder>( - initialData: futureSnapshot.data, - stream: api!.entries.subscribe(category.id!), - builder: (context, snapshot) { - if (!snapshot.hasData) { - return _buildLoadingIndicator(); - } - return _BarChart(entries: snapshot.data); - }, - ); - }, - ), - ), - ], - ); - } - - Widget _buildLoadingIndicator() { - return const Center(child: CircularProgressIndicator()); - } -} - -class _BarChart extends StatelessWidget { - final List? entries; - - const _BarChart({this.entries}); - - @override - Widget build(BuildContext context) { - return charts.BarChart([_seriesData()], animate: false); - } - - charts.Series _seriesData() { - return charts.Series( - id: 'Entries', - colorFn: (_, __) => charts.MaterialPalette.blue.shadeDefault, - domainFn: (entryTotal, _) { - var format = intl.DateFormat.Md(); - return format.format(entryTotal.day); - }, - measureFn: (total, _) { - return total.value; - }, - data: utils.entryTotalsByDay(entries, _daysBefore), - ); - } -} diff --git a/experimental/web_dashboard/lib/src/widgets/category_forms.dart b/experimental/web_dashboard/lib/src/widgets/category_forms.dart deleted file mode 100644 index e60ce292fbf..00000000000 --- a/experimental/web_dashboard/lib/src/widgets/category_forms.dart +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:provider/provider.dart'; -import 'package:web_dashboard/src/api/api.dart'; -import 'package:web_dashboard/src/app.dart'; - -class NewCategoryForm extends StatefulWidget { - const NewCategoryForm({super.key}); - - @override - State createState() => _NewCategoryFormState(); -} - -class _NewCategoryFormState extends State { - final Category _category = Category(''); - - @override - Widget build(BuildContext context) { - var api = Provider.of(context).api; - return EditCategoryForm( - category: _category, - onDone: (shouldInsert) { - if (shouldInsert) { - api!.categories.insert(_category); - } - Navigator.of(context).pop(); - }, - ); - } -} - -class EditCategoryForm extends StatefulWidget { - final Category category; - final ValueChanged onDone; - - const EditCategoryForm({ - required this.category, - required this.onDone, - super.key, - }); - - @override - State createState() => _EditCategoryFormState(); -} - -class _EditCategoryFormState extends State { - final _formKey = GlobalKey(); - - @override - Widget build(BuildContext context) { - return Form( - key: _formKey, - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Padding( - padding: const EdgeInsets.all(8.0), - child: TextFormField( - initialValue: widget.category.name, - decoration: const InputDecoration(labelText: 'Name'), - onChanged: (newValue) { - widget.category.name = newValue; - }, - validator: (value) { - if (value!.isEmpty) { - return 'Please enter a name'; - } - return null; - }, - ), - ), - Row( - mainAxisAlignment: MainAxisAlignment.end, - children: [ - Padding( - padding: const EdgeInsets.only(left: 8.0, right: 8.0), - child: FilledButton( - child: const Text('Cancel'), - onPressed: () { - widget.onDone(false); - }, - ), - ), - Padding( - padding: const EdgeInsets.only(left: 8.0, right: 8.0), - child: FilledButton( - child: const Text('OK'), - onPressed: () { - if (_formKey.currentState!.validate()) { - widget.onDone(true); - } - }, - ), - ), - ], - ), - ], - ), - ); - } -} diff --git a/experimental/web_dashboard/lib/src/widgets/dialogs.dart b/experimental/web_dashboard/lib/src/widgets/dialogs.dart deleted file mode 100644 index 91ae49bd249..00000000000 --- a/experimental/web_dashboard/lib/src/widgets/dialogs.dart +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:provider/provider.dart'; -import 'package:web_dashboard/src/api/api.dart'; -import 'package:web_dashboard/src/widgets/category_forms.dart'; - -import '../app.dart'; -import 'edit_entry.dart'; - -class NewCategoryDialog extends StatelessWidget { - const NewCategoryDialog({super.key}); - - @override - Widget build(BuildContext context) { - return const SimpleDialog( - title: Text('New Category'), - children: [NewCategoryForm()], - ); - } -} - -class EditCategoryDialog extends StatelessWidget { - final Category category; - - const EditCategoryDialog({required this.category, super.key}); - - @override - Widget build(BuildContext context) { - var api = Provider.of(context).api; - - return SimpleDialog( - title: const Text('Edit Category'), - children: [ - EditCategoryForm( - category: category, - onDone: (shouldUpdate) { - if (shouldUpdate) { - api!.categories.update(category, category.id!); - } - Navigator.of(context).pop(); - }, - ), - ], - ); - } -} - -class NewEntryDialog extends StatefulWidget { - const NewEntryDialog({super.key}); - - @override - State createState() => _NewEntryDialogState(); -} - -class _NewEntryDialogState extends State { - @override - Widget build(BuildContext context) { - return const SimpleDialog( - title: Text('New Entry'), - children: [NewEntryForm()], - ); - } -} - -class EditEntryDialog extends StatelessWidget { - final Category? category; - final Entry? entry; - - const EditEntryDialog({this.category, this.entry, super.key}); - - @override - Widget build(BuildContext context) { - var api = Provider.of(context).api; - - return SimpleDialog( - title: const Text('Edit Entry'), - children: [ - EditEntryForm( - entry: entry, - onDone: (shouldUpdate) { - if (shouldUpdate) { - api!.entries.update(category!.id!, entry!.id!, entry!); - } - Navigator.of(context).pop(); - }, - ), - ], - ); - } -} diff --git a/experimental/web_dashboard/lib/src/widgets/edit_entry.dart b/experimental/web_dashboard/lib/src/widgets/edit_entry.dart deleted file mode 100644 index d08aac2464e..00000000000 --- a/experimental/web_dashboard/lib/src/widgets/edit_entry.dart +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter/material.dart'; -import 'package:intl/intl.dart' as intl; -import 'package:provider/provider.dart'; -import 'package:web_dashboard/src/api/api.dart'; - -import '../app.dart'; -import 'categories_dropdown.dart'; - -class NewEntryForm extends StatefulWidget { - const NewEntryForm({super.key}); - - @override - State createState() => _NewEntryFormState(); -} - -class _NewEntryFormState extends State { - late Category _selected; - final Entry _entry = Entry(0, DateTime.now()); - - @override - Widget build(BuildContext context) { - var api = Provider.of(context).api!; - - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Padding( - padding: const EdgeInsets.all(8.0), - child: CategoryDropdown( - api: api.categories, - onSelected: (category) { - if (category == null) return; - setState(() { - _selected = category; - }); - }, - ), - ), - EditEntryForm( - entry: _entry, - onDone: (shouldInsert) { - if (shouldInsert) { - api.entries.insert(_selected.id!, _entry); - } - Navigator.of(context).pop(); - }, - ), - ], - ); - } -} - -class EditEntryForm extends StatefulWidget { - final Entry? entry; - final ValueChanged onDone; - - const EditEntryForm({required this.entry, required this.onDone, super.key}); - - @override - State createState() => _EditEntryFormState(); -} - -class _EditEntryFormState extends State { - final _formKey = GlobalKey(); - - @override - Widget build(BuildContext context) { - return Form( - key: _formKey, - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Padding( - padding: const EdgeInsets.all(8), - child: TextFormField( - initialValue: widget.entry!.value.toString(), - decoration: const InputDecoration(labelText: 'Value'), - keyboardType: TextInputType.number, - validator: (value) { - try { - int.parse(value!); - } catch (e) { - return "Please enter a whole number"; - } - return null; - }, - onChanged: (newValue) { - widget.entry!.value = int.parse(newValue); - }, - ), - ), - Padding( - padding: const EdgeInsets.all(8), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text(intl.DateFormat('MM/dd/yyyy').format(widget.entry!.time)), - FilledButton( - child: const Text('Edit'), - onPressed: () async { - var result = await showDatePicker( - context: context, - initialDate: widget.entry!.time, - firstDate: DateTime.now().subtract( - const Duration(days: 365), - ), - lastDate: DateTime.now(), - ); - if (result == null) { - return; - } - setState(() { - widget.entry!.time = result; - }); - }, - ), - ], - ), - ), - Row( - mainAxisAlignment: MainAxisAlignment.end, - children: [ - Padding( - padding: const EdgeInsets.only(left: 8.0, right: 8.0), - child: FilledButton( - child: const Text('Cancel'), - onPressed: () { - widget.onDone(false); - }, - ), - ), - Padding( - padding: const EdgeInsets.only(left: 8.0, right: 8.0), - child: FilledButton( - child: const Text('OK'), - onPressed: () { - if (_formKey.currentState!.validate()) { - widget.onDone(true); - } - }, - ), - ), - ], - ), - ], - ), - ); - } -} diff --git a/experimental/web_dashboard/lib/src/widgets/third_party/adaptive_scaffold.dart b/experimental/web_dashboard/lib/src/widgets/third_party/adaptive_scaffold.dart deleted file mode 100644 index a8b08e4c33b..00000000000 --- a/experimental/web_dashboard/lib/src/widgets/third_party/adaptive_scaffold.dart +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter/material.dart'; - -bool _isLargeScreen(BuildContext context) { - return MediaQuery.of(context).size.width > 960.0; -} - -bool _isMediumScreen(BuildContext context) { - return MediaQuery.of(context).size.width > 640.0; -} - -/// See bottomNavigationBarItem or NavigationRailDestination -class AdaptiveScaffoldDestination { - final String title; - final IconData icon; - - const AdaptiveScaffoldDestination({required this.title, required this.icon}); -} - -/// A widget that adapts to the current display size, displaying a [Drawer], -/// [NavigationRail], or [BottomNavigationBar]. Navigation destinations are -/// defined in the [destinations] parameter. -class AdaptiveScaffold extends StatefulWidget { - final Widget? title; - final List actions; - final Widget? body; - final int currentIndex; - final List destinations; - final ValueChanged? onNavigationIndexChange; - final FloatingActionButton? floatingActionButton; - - const AdaptiveScaffold({ - this.title, - this.body, - this.actions = const [], - required this.currentIndex, - required this.destinations, - this.onNavigationIndexChange, - this.floatingActionButton, - super.key, - }); - - @override - State createState() => _AdaptiveScaffoldState(); -} - -class _AdaptiveScaffoldState extends State { - @override - Widget build(BuildContext context) { - // Show a Drawer - if (_isLargeScreen(context)) { - return Row( - children: [ - Drawer( - child: Column( - children: [ - DrawerHeader(child: Center(child: widget.title)), - for (var d in widget.destinations) - ListTile( - leading: Icon(d.icon), - title: Text(d.title), - selected: - widget.destinations.indexOf(d) == widget.currentIndex, - onTap: () => _destinationTapped(d), - ), - ], - ), - ), - VerticalDivider(width: 1, thickness: 1, color: Colors.grey[300]), - Expanded( - child: Scaffold( - appBar: AppBar(actions: widget.actions), - body: widget.body, - floatingActionButton: widget.floatingActionButton, - ), - ), - ], - ); - } - - // Show a navigation rail - if (_isMediumScreen(context)) { - return Scaffold( - appBar: AppBar(title: widget.title, actions: widget.actions), - body: Row( - children: [ - NavigationRail( - leading: widget.floatingActionButton, - destinations: [ - ...widget.destinations.map( - (d) => NavigationRailDestination( - icon: Icon(d.icon), - label: Text(d.title), - ), - ), - ], - selectedIndex: widget.currentIndex, - onDestinationSelected: widget.onNavigationIndexChange ?? (_) {}, - ), - VerticalDivider(width: 1, thickness: 1, color: Colors.grey[300]), - Expanded(child: widget.body!), - ], - ), - ); - } - - // Show a bottom app bar - return Scaffold( - body: widget.body, - appBar: AppBar(title: widget.title, actions: widget.actions), - bottomNavigationBar: BottomNavigationBar( - items: [ - ...widget.destinations.map( - (d) => BottomNavigationBarItem(icon: Icon(d.icon), label: d.title), - ), - ], - currentIndex: widget.currentIndex, - onTap: widget.onNavigationIndexChange, - ), - floatingActionButton: widget.floatingActionButton, - ); - } - - void _destinationTapped(AdaptiveScaffoldDestination destination) { - var idx = widget.destinations.indexOf(destination); - if (idx != widget.currentIndex) { - widget.onNavigationIndexChange!(idx); - } - } -} diff --git a/experimental/web_dashboard/pubspec.yaml b/experimental/web_dashboard/pubspec.yaml deleted file mode 100644 index 38c4b899d2e..00000000000 --- a/experimental/web_dashboard/pubspec.yaml +++ /dev/null @@ -1,34 +0,0 @@ -name: web_dashboard -description: A dashboard app sample -version: 1.0.0+1 -publish_to: none - -environment: - sdk: ^3.7.0-0 - -dependencies: - cloud_firestore: ^5.0.1 - community_charts_flutter: ^1.0.2 - cupertino_icons: ^1.0.0 - firebase_auth: ^5.1.0 - firebase_core: ^3.1.0 - flutter: - sdk: flutter - google_sign_in: ^6.0.0 - intl: any # Pinned by Flutter SDK version - json_annotation: ^4.5.0 - path: ^1.8.1 - provider: ^6.0.0 - uuid: ^4.0.0 - -dev_dependencies: - analysis_defaults: - path: ../../analysis_defaults - build_runner: ^2.1.0 - flutter_test: - sdk: flutter - grinder: ^0.9.0 - json_serializable: ^6.2.0 - -flutter: - uses-material-design: true diff --git a/experimental/web_dashboard/test/chart_utils_test.dart b/experimental/web_dashboard/test/chart_utils_test.dart deleted file mode 100644 index 02b0d8a90f1..00000000000 --- a/experimental/web_dashboard/test/chart_utils_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter_test/flutter_test.dart'; - -import 'package:web_dashboard/src/api/api.dart'; -import 'package:web_dashboard/src/utils/chart_utils.dart'; - -void main() { - group('chart utils', () { - test('totals entries by day', () async { - var entries = [ - Entry(10, DateTime(2020, 3, 1)), - Entry(10, DateTime(2020, 3, 1)), - Entry(10, DateTime(2020, 3, 2)), - ]; - var totals = entryTotalsByDay(entries, 2, today: DateTime(2020, 3, 2)); - expect(totals, hasLength(3)); - expect(totals[1].value, 20); - expect(totals[2].value, 10); - }); - test('days', () async { - expect( - DateTime.utc(2020, 1, 3).difference(DateTime.utc(2020, 1, 2)).inDays, - 1, - ); - }); - }); -} diff --git a/experimental/web_dashboard/test/mock_service_test.dart b/experimental/web_dashboard/test/mock_service_test.dart deleted file mode 100644 index edca1de5faf..00000000000 --- a/experimental/web_dashboard/test/mock_service_test.dart +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter_test/flutter_test.dart'; - -import 'package:web_dashboard/src/api/api.dart'; -import 'package:web_dashboard/src/api/mock.dart'; - -void main() { - group('mock dashboard API', () { - late DashboardApi api; - - setUp(() { - api = MockDashboardApi(); - }); - - group('items', () { - test('insert', () async { - var category = await api.categories.insert(Category('Coffees Drank')); - expect(category.name, 'Coffees Drank'); - }); - - test('delete', () async { - await api.categories.insert(Category('Coffees Drank')); - var category = await api.categories.insert(Category('Miles Ran')); - var removed = await api.categories.delete(category.id!); - - expect(removed, isNotNull); - expect(removed!.name, 'Miles Ran'); - - var categories = await api.categories.list(); - expect(categories, hasLength(1)); - }); - - test('update', () async { - var category = await api.categories.insert(Category('Coffees Drank')); - await api.categories.update(Category('Bagels Consumed'), category.id!); - - var latest = await api.categories.get(category.id!); - expect(latest, isNotNull); - expect(latest!.name, equals('Bagels Consumed')); - }); - test('subscribe', () async { - var stream = api.categories.subscribe(); - - stream.listen( - expectAsync1((x) { - expect(x, hasLength(1)); - expect(x.first.name, equals('Coffees Drank')); - }, count: 1), - ); - await api.categories.insert(Category('Coffees Drank')); - }); - }); - - group('entry service', () { - late Category category; - DateTime dateTime = DateTime(2020, 1, 1, 30, 45); - - setUp(() async { - category = await api.categories.insert( - Category('Lines of code committed'), - ); - }); - - test('insert', () async { - var entry = await api.entries.insert(category.id!, Entry(1, dateTime)); - - expect(entry.value, 1); - expect(entry.time, dateTime); - }); - - test('delete', () async { - await api.entries.insert(category.id!, Entry(1, dateTime)); - var entry2 = await api.entries.insert(category.id!, Entry(2, dateTime)); - - await api.entries.delete(category.id!, entry2.id!); - - var entries = await api.entries.list(category.id!); - expect(entries, hasLength(1)); - }); - - test('update', () async { - var entry = await api.entries.insert(category.id!, Entry(1, dateTime)); - var updated = await api.entries.update( - category.id!, - entry.id!, - Entry(2, dateTime), - ); - expect(updated.value, 2); - }); - - test('subscribe', () async { - var stream = api.entries.subscribe(category.id!); - - stream.listen( - expectAsync1((x) { - expect(x, hasLength(1)); - expect(x.first.value, equals(1)); - }, count: 1), - ); - - await api.entries.insert(category.id!, Entry(1, dateTime)); - }); - }); - }); -} diff --git a/experimental/web_dashboard/tool/grind.dart b/experimental/web_dashboard/tool/grind.dart deleted file mode 100644 index 1728347a211..00000000000 --- a/experimental/web_dashboard/tool/grind.dart +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -import 'dart:convert'; -import 'dart:io'; - -import 'package:grinder/grinder.dart'; -import 'package:path/path.dart' as path; - -void main(List args) => grind(args); - -@Task() -void runSkia() { - run( - 'flutter', - arguments: - 'run -d web --web-port=5000 --release --dart-define=FLUTTER_WEB_USE_SKIA=true lib/main.dart ' - .split(' '), - ); -} - -@Task() -void runWeb() { - run( - 'flutter', - arguments: 'run -d web --web-port=5000 lib/main.dart '.split(' '), - ); -} - -@Task() -void runFirebase() { - run( - 'flutter', - arguments: 'run -d web --web-port=5000 lib/main_firebase.dart '.split(' '), - ); -} - -@Task() -void runFirebaseSkia() { - run( - 'flutter', - arguments: - 'run -d web --web-port=5000 --release --dart-define=FLUTTER_WEB_USE_SKIA=true lib/main_firebase.dart' - .split(' '), - ); -} - -@Task() -void test() { - TestRunner().testAsync(); -} - -@DefaultTask() -@Depends(test, copyright) -void build() { - Pub.build(); -} - -@Task() -void clean() => defaultClean(); - -@Task() -void generate() { - Pub.run('build_runner', arguments: ['build']); -} - -const _copyright = - '''// Copyright 2020, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file.'''; - -@Task() -Future copyright() async { - var files = []; - await for (var file in _filesWithoutCopyright()) { - files.add(file); - } - - if (files.isNotEmpty) { - log('Found Dart files without a copyright header:'); - for (var file in files) { - log(file.toString()); - } - fail('run "grind fix-copyright" to add copyright headers'); - } -} - -@Task() -Future fixCopyright() async { - await for (var file in _filesWithoutCopyright()) { - var contents = await file.readAsString(); - await file.writeAsString('$_copyright\n\n$contents'); - } -} - -Stream _filesWithoutCopyright() async* { - var set = FileSet.fromDir(Directory('.'), recurse: true); - var dartFiles = set.files.where( - (file) => path.extension(file.path) == '.dart', - ); - - for (var file in dartFiles) { - var firstThreeLines = await file - .openRead() - .transform(utf8.decoder) - .transform(const LineSplitter()) - .take(3) - .fold('', (previous, element) { - if (previous == '') return element; - return '$previous\n$element'; - }); - - if (firstThreeLines != _copyright) { - yield file; - } - } -} diff --git a/experimental/web_dashboard/web/firebase_init.js b/experimental/web_dashboard/web/firebase_init.js deleted file mode 100644 index 54f55233fe2..00000000000 --- a/experimental/web_dashboard/web/firebase_init.js +++ /dev/null @@ -1,12 +0,0 @@ -// Your web app's Firebase configuration -var firebaseConfig = { - apiKey: "", - authDomain: "", - databaseURL: "", - projectId: "", - storageBucket: "", - messagingSenderId: "", - appId: "" -}; -// Initialize Firebase -firebase.initializeApp(firebaseConfig); diff --git a/experimental/web_dashboard/web/icons/Icon-192.png b/experimental/web_dashboard/web/icons/Icon-192.png deleted file mode 100644 index b749bfef074..00000000000 Binary files a/experimental/web_dashboard/web/icons/Icon-192.png and /dev/null differ diff --git a/experimental/web_dashboard/web/icons/Icon-512.png b/experimental/web_dashboard/web/icons/Icon-512.png deleted file mode 100644 index 88cfd48dff1..00000000000 Binary files a/experimental/web_dashboard/web/icons/Icon-512.png and /dev/null differ diff --git a/experimental/web_dashboard/web/index.html b/experimental/web_dashboard/web/index.html deleted file mode 100644 index 17171134f29..00000000000 --- a/experimental/web_dashboard/web/index.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - web_dashboard - - - - - - - - - - - - - - - - - diff --git a/experimental/web_dashboard/web/manifest.json b/experimental/web_dashboard/web/manifest.json deleted file mode 100644 index 0aeff59840c..00000000000 --- a/experimental/web_dashboard/web/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "web_dashboard", - "short_name": "web_dashboard", - "start_url": ".", - "display": "minimal-ui", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A desktop-friendly dashboard app", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - } - ] -} diff --git a/flutter_maps_firestore/.gitignore b/flutter_maps_firestore/.gitignore deleted file mode 100644 index 39022f405c4..00000000000 --- a/flutter_maps_firestore/.gitignore +++ /dev/null @@ -1,77 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# Visual Studio Code related -.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -.dart_tool/ -.flutter-plugins -.packages -.pub-cache/ -.pub/ -/build/ -/lib/generated_plugin_registrant.dart - -# Android related -**/android/**/gradle-wrapper.jar -**/android/.gradle -**/android/captures/ -**/android/gradlew -**/android/gradlew.bat -**/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/App.framework -**/ios/Flutter/Flutter.framework -**/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 - -# VSCode -.settings/ -.classpath -.project \ No newline at end of file diff --git a/flutter_maps_firestore/.metadata b/flutter_maps_firestore/.metadata deleted file mode 100644 index 14d323feb23..00000000000 --- a/flutter_maps_firestore/.metadata +++ /dev/null @@ -1,30 +0,0 @@ -# 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: "db7ef5bf9f59442b0e200a90587e8fa5e0c6336a" - channel: "stable" - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - base_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - - platform: ios - create_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - base_revision: db7ef5bf9f59442b0e200a90587e8fa5e0c6336a - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/flutter_maps_firestore/README.md b/flutter_maps_firestore/README.md index 0ca835e58bc..e0142d7ce49 100644 --- a/flutter_maps_firestore/README.md +++ b/flutter_maps_firestore/README.md @@ -1,60 +1,3 @@ -# Flutter Maps Firestore - -A Flutter sample app that shows the end product of the Cloud Next '19 talk -[Build Mobile Apps With Flutter and Google Maps](https://www.youtube.com/watch?v=RpQLFAFqMlw). -The live coding starts at about 17:40. - -## Goals for this sample - -* Showcase how to build an app that uses Google Maps with Flutter: - * Loading a list of Ice Cream shops from Cloud Firestore - * Listing the shops in a custom carousel - * Showing the shop locations on a map using Markers - * Controlling the Google Map from the carousel - -## The important bits - -### Cloud Firestore - -To set up Cloud Firestore connectivity, follow the steps outlined in the -[Cloud Firestore package setup section](https://pub.dev/packages/cloud_firestore#setup). - -Next, you need to populate your Cloud Firestore with a collection named `ice_cream_stores`, -structured a bit like this: - -``` -ice_cream_stores: - ChIJ70taCKKAhYAR5IMmYwQT4Ts: - placeId: ChIJ70taCKKAhYAR5IMmYwQT4Ts - address: 432 Octavia St #1a, San Francisco, CA 94102, USA - location: 37.7763629, -122.4241918 - name: Smitten Ice Cream -``` - -The collection name is referenced from `_HomePageState`'s `initState` method. The -`placeId`, `address`, `location` and `name` are used at various points in the widget -tree to render appropriate data. - -### Google Maps - -You need to add a Google Maps SDK for iOS API key to `ios/Runner/AppDelegate.m`. -This enables the Google Map to render. You will also need to add a Google Maps -Web Services API key to `lib/api_key.dart`. - -To reiterate the warning that we gave during the talk, do not put Web Service API keys -in your production binary. You need to build a proxy service to serve -pre-authenticated content to your mobile applications so you can change API keys as -required. We only did this to make it easy to demonstrate on stage. - -## Questions/issues - -If you have a general question about building with Google Maps in Flutter, the -best places to go are: - -* [The FlutterDev Google Group](https://groups.google.com/forum/#!forum/flutter-dev) -* [The Flutter Gitter channel](https://gitter.im/flutter/flutter) -* [StackOverflow](https://stackoverflow.com/questions/tagged/flutter) - -If you run into an issue with the sample itself, please file an issue -in the [main Flutter repo](https://github.com/flutter/flutter/issues). +# Sample deprecated +The `flutter_maps_firestore` sample has been deprecated. diff --git a/flutter_maps_firestore/analysis_options.yaml b/flutter_maps_firestore/analysis_options.yaml deleted file mode 100644 index 13d6fe105a3..00000000000 --- a/flutter_maps_firestore/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: package:analysis_defaults/flutter.yaml diff --git a/flutter_maps_firestore/codelab_rebuild.yaml b/flutter_maps_firestore/codelab_rebuild.yaml deleted file mode 100644 index 85c228abd29..00000000000 --- a/flutter_maps_firestore/codelab_rebuild.yaml +++ /dev/null @@ -1,102 +0,0 @@ -# Run with tooling from https://github.com/flutter/codelabs/tree/main/tooling/codelab_rebuild -name: Flutter Maps Firestore rebuild script -steps: - - name: Remove the runner - rmdirs: - - ios - - name: Recreate runner - flutter: create --platforms ios . - - name: Create GoogleService-Info.plist - path: ios/GoogleService-Info.plist - replace-contents: | - - - - - - - - - name: Patch Podfile - path: ios/Podfile - patch-u: | - --- b/flutter_maps_firestore/ios/Podfile - +++ a/flutter_maps_firestore/ios/Podfile - @@ -1,5 +1,5 @@ - # Uncomment this line to define a global platform for your project - -# platform :ios, '11.0' - +platform :ios, '14.0' - - # CocoaPods analytics sends network stats synchronously affecting flutter build latency. - ENV['COCOAPODS_DISABLE_STATS'] = 'true' - @@ -37,5 +37,8 @@ end - post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_ios_build_settings(target) - + target.build_configurations.each do |config| - + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0' - + end - end - end - - name: Patch ios/Flutter/AppFrameworkInfo.plist - path: ios/Flutter/AppFrameworkInfo.plist - patch-u: | - --- b/flutter_maps_firestore/ios/Flutter/AppFrameworkInfo.plist - +++ a/flutter_maps_firestore/ios/Flutter/AppFrameworkInfo.plist - @@ -21,6 +21,6 @@ - CFBundleVersion - 1.0 - MinimumOSVersion - - 11.0 - + 14.0 - - - - name: Patch ios/Runner/AppDelegate.swift - path: ios/Runner/AppDelegate.swift - patch-u: | - --- b/flutter_maps_firestore/ios/Runner/AppDelegate.swift - +++ a/flutter_maps_firestore/ios/Runner/AppDelegate.swift - @@ -1,5 +1,6 @@ - import UIKit - import Flutter - +import GoogleMaps - - @UIApplicationMain - @objc class AppDelegate: FlutterAppDelegate { - @@ -7,7 +8,11 @@ import Flutter - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - + // TODO: Replace this with an API key that has Google Maps for iOS enabled - + // See https://developers.google.com/maps/documentation/ios-sdk/get-api-key - + GMSServices.provideAPIKey("ADD_A_KEY_HERE") - GeneratedPluginRegistrant.register(with: self) - + - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } - } - - name: Patch ios/Runner/Info.plist - path: ios/Runner/Info.plist - patch-u: | - --- b/flutter_maps_firestore/ios/Runner/Info.plist - +++ a/flutter_maps_firestore/ios/Runner/Info.plist - @@ -2,10 +2,12 @@ - - - - + NSLocationWhenInUseUsageDescription - + Finding Ice Cream stores near you - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - - Flutter Maps Firestore - + Find Ice Cream - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - - name: flutter pub upgrade - flutter: pub upgrade --major-versions - - name: flutter build ios - flutter: build ios --simulator diff --git a/flutter_maps_firestore/ios/.gitignore b/flutter_maps_firestore/ios/.gitignore deleted file mode 100644 index 7a7f9873ad7..00000000000 --- a/flutter_maps_firestore/ios/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -**/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 diff --git a/flutter_maps_firestore/ios/Flutter/Debug.xcconfig b/flutter_maps_firestore/ios/Flutter/Debug.xcconfig deleted file mode 100644 index ec97fc6f302..00000000000 --- a/flutter_maps_firestore/ios/Flutter/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "Generated.xcconfig" diff --git a/flutter_maps_firestore/ios/Flutter/Release.xcconfig b/flutter_maps_firestore/ios/Flutter/Release.xcconfig deleted file mode 100644 index c4855bfe200..00000000000 --- a/flutter_maps_firestore/ios/Flutter/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "Generated.xcconfig" diff --git a/flutter_maps_firestore/ios/GoogleService-Info.plist b/flutter_maps_firestore/ios/GoogleService-Info.plist deleted file mode 100644 index 413504c353c..00000000000 --- a/flutter_maps_firestore/ios/GoogleService-Info.plist +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/flutter_maps_firestore/ios/Podfile b/flutter_maps_firestore/ios/Podfile deleted file mode 100644 index 2ad1d84f18d..00000000000 --- a/flutter_maps_firestore/ios/Podfile +++ /dev/null @@ -1,47 +0,0 @@ -# Uncomment this line to define a global platform for your project -platform :ios, '14.0' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_ios_podfile_setup - -target 'Runner' do - use_frameworks! - use_modular_headers! - - flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) - target 'RunnerTests' do - inherit! :search_paths - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_ios_build_settings(target) - target.build_configurations.each do |config| - config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0' - end - end -end diff --git a/flutter_maps_firestore/ios/Podfile.orig b/flutter_maps_firestore/ios/Podfile.orig deleted file mode 100644 index fdcc671eb34..00000000000 --- a/flutter_maps_firestore/ios/Podfile.orig +++ /dev/null @@ -1,44 +0,0 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '11.0' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_ios_podfile_setup - -target 'Runner' do - use_frameworks! - use_modular_headers! - - flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) - target 'RunnerTests' do - inherit! :search_paths - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_ios_build_settings(target) - end -end diff --git a/flutter_maps_firestore/ios/Runner.xcodeproj/project.pbxproj b/flutter_maps_firestore/ios/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 978f2a3cafe..00000000000 --- a/flutter_maps_firestore/ios/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,740 +0,0 @@ -// !$*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 */; }; - 8FA410048F6706D308366009 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BB5CBC476788D0478BD5EAF /* Pods_Runner.framework */; }; - 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 */; }; - B9CEC9358599F22CAE19D682 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71E4FFB8C862FFE980E0DADD /* Pods_RunnerTests.framework */; }; -/* 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 */ - 03CD70053BAF61350AFBFCAB /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - 11EB10F22A04BA04C0BD73F2 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 5650FC388BDBEBEFC5ACA086 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 58DBE5B7E8A1CFF1B4C3CFA2 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; - 5A055472656BC502DCBA8458 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - 71E4FFB8C862FFE980E0DADD /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 7BB5CBC476788D0478BD5EAF /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E9CFCFAF09DDB012AB6EEA85 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 5F1C4EF9CED11BD3973EB47D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B9CEC9358599F22CAE19D682 /* Pods_RunnerTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8FA410048F6706D308366009 /* Pods_Runner.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 1C4061A7C82A155F8C6559FF /* Frameworks */ = { - isa = PBXGroup; - children = ( - 7BB5CBC476788D0478BD5EAF /* Pods_Runner.framework */, - 71E4FFB8C862FFE980E0DADD /* Pods_RunnerTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 331C8082294A63A400263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C807B294A618700263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - 331C8082294A63A400263BE5 /* RunnerTests */, - DB2C2D7E7098F698464F073C /* Pods */, - 1C4061A7C82A155F8C6559FF /* Frameworks */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - 331C8081294A63A400263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; - DB2C2D7E7098F698464F073C /* Pods */ = { - isa = PBXGroup; - children = ( - 03CD70053BAF61350AFBFCAB /* Pods-Runner.debug.xcconfig */, - 5A055472656BC502DCBA8458 /* Pods-Runner.release.xcconfig */, - 5650FC388BDBEBEFC5ACA086 /* Pods-Runner.profile.xcconfig */, - 11EB10F22A04BA04C0BD73F2 /* Pods-RunnerTests.debug.xcconfig */, - E9CFCFAF09DDB012AB6EEA85 /* Pods-RunnerTests.release.xcconfig */, - 58DBE5B7E8A1CFF1B4C3CFA2 /* Pods-RunnerTests.profile.xcconfig */, - ); - name = Pods; - path = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C8080294A63A400263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - E81519F08BD4F27BFAC8C2EC /* [CP] Check Pods Manifest.lock */, - 331C807D294A63A400263BE5 /* Sources */, - 331C807F294A63A400263BE5 /* Resources */, - 5F1C4EF9CED11BD3973EB47D /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 331C8086294A63A400263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 4C952FF272783A69B69CC2B8 /* [CP] Check Pods Manifest.lock */, - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - EBBC1F42ABE186799FAE2055 /* [CP] Embed Pods Frameworks */, - 5C75F8886A87CF4AE8E1AE29 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C8080294A63A400263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 97C146ED1CF9000F007C117D; - }; - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - 331C8080294A63A400263BE5 /* RunnerTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C807F294A63A400263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", - ); - name = "Thin Binary"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; - }; - 4C952FF272783A69B69CC2B8 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 5C75F8886A87CF4AE8E1AE29 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 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"; - }; - E81519F08BD4F27BFAC8C2EC /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - EBBC1F42ABE186799FAE2055 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C807D294A63A400263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 97C146ED1CF9000F007C117D /* Runner */; - targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterMapsFirestore; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 331C8088294A63A400263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 11EB10F22A04BA04C0BD73F2 /* Pods-RunnerTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterMapsFirestore.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Debug; - }; - 331C8089294A63A400263BE5 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E9CFCFAF09DDB012AB6EEA85 /* Pods-RunnerTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterMapsFirestore.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Release; - }; - 331C808A294A63A400263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 58DBE5B7E8A1CFF1B4C3CFA2 /* Pods-RunnerTests.profile.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterMapsFirestore.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Profile; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterMapsFirestore; - 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.flutterMapsFirestore; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C8088294A63A400263BE5 /* Debug */, - 331C8089294A63A400263BE5 /* Release */, - 331C808A294A63A400263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/flutter_maps_firestore/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/flutter_maps_firestore/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a6254..00000000000 --- a/flutter_maps_firestore/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/flutter_maps_firestore/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/flutter_maps_firestore/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/flutter_maps_firestore/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/flutter_maps_firestore/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/flutter_maps_firestore/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5ea1..00000000000 --- a/flutter_maps_firestore/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/flutter_maps_firestore/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/flutter_maps_firestore/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index 87131a09bea..00000000000 --- a/flutter_maps_firestore/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/flutter_maps_firestore/ios/Runner.xcworkspace/contents.xcworkspacedata b/flutter_maps_firestore/ios/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 21a3cc14c74..00000000000 --- a/flutter_maps_firestore/ios/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/flutter_maps_firestore/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/flutter_maps_firestore/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/flutter_maps_firestore/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/flutter_maps_firestore/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/flutter_maps_firestore/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5ea1..00000000000 --- a/flutter_maps_firestore/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/flutter_maps_firestore/ios/Runner/AppDelegate.swift b/flutter_maps_firestore/ios/Runner/AppDelegate.swift deleted file mode 100644 index 9bd97cf8787..00000000000 --- a/flutter_maps_firestore/ios/Runner/AppDelegate.swift +++ /dev/null @@ -1,18 +0,0 @@ -import UIKit -import Flutter -import GoogleMaps - -@UIApplicationMain -@objc class AppDelegate: FlutterAppDelegate { - override func application( - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - // TODO: Replace this with an API key that has Google Maps for iOS enabled - // See https://developers.google.com/maps/documentation/ios-sdk/get-api-key - GMSServices.provideAPIKey("ADD_A_KEY_HERE") - GeneratedPluginRegistrant.register(with: self) - - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } -} diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d36b1fab2d9..00000000000 --- a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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" - } -} diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png deleted file mode 100644 index dc9ada4725e..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png deleted file mode 100644 index 7353c41ecf9..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png deleted file mode 100644 index 797d452e458..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png deleted file mode 100644 index 6ed2d933e11..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index 4cd7b0099ca..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png deleted file mode 100644 index fe730945a01..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png deleted file mode 100644 index 321773cd857..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png deleted file mode 100644 index 797d452e458..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png deleted file mode 100644 index 502f463a9bc..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png deleted file mode 100644 index 0ec30343922..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png deleted file mode 100644 index 0ec30343922..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index e9f5fea27c7..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png deleted file mode 100644 index 84ac32ae7d9..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png deleted file mode 100644 index 8953cba0906..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png deleted file mode 100644 index 0467bf12aa4..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 0bedcf2fd46..00000000000 --- a/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "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" - } -} diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and /dev/null differ diff --git a/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md deleted file mode 100644 index 89c2725b70f..00000000000 --- a/flutter_maps_firestore/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. \ No newline at end of file diff --git a/flutter_maps_firestore/ios/Runner/Base.lproj/LaunchScreen.storyboard b/flutter_maps_firestore/ios/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c7c93..00000000000 --- a/flutter_maps_firestore/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/flutter_maps_firestore/ios/Runner/Base.lproj/Main.storyboard b/flutter_maps_firestore/ios/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c28516fb3..00000000000 --- a/flutter_maps_firestore/ios/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/flutter_maps_firestore/ios/Runner/Info.plist b/flutter_maps_firestore/ios/Runner/Info.plist deleted file mode 100644 index ea22747a646..00000000000 --- a/flutter_maps_firestore/ios/Runner/Info.plist +++ /dev/null @@ -1,51 +0,0 @@ - - - - - NSLocationWhenInUseUsageDescription - Finding Ice Cream stores near you - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Find Ice Cream - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - flutter_maps_firestore - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - CADisableMinimumFrameDurationOnPhone - - UIApplicationSupportsIndirectInputEvents - - - diff --git a/flutter_maps_firestore/ios/Runner/Runner-Bridging-Header.h b/flutter_maps_firestore/ios/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 308a2a560b4..00000000000 --- a/flutter_maps_firestore/ios/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1 +0,0 @@ -#import "GeneratedPluginRegistrant.h" diff --git a/flutter_maps_firestore/ios/RunnerTests/RunnerTests.swift b/flutter_maps_firestore/ios/RunnerTests/RunnerTests.swift deleted file mode 100644 index 86a7c3b1b61..00000000000 --- a/flutter_maps_firestore/ios/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -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. - } - -} diff --git a/flutter_maps_firestore/lib/api_key.dart b/flutter_maps_firestore/lib/api_key.dart deleted file mode 100644 index ae1219a229b..00000000000 --- a/flutter_maps_firestore/lib/api_key.dart +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2019 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// TODO: Install a Google Maps API key that has Google Maps Web Services enabled -// See https://developers.google.com/places/web-service/get-api-key -const String googleMapsApiKey = 'ADD_A_KEY_HERE'; diff --git a/flutter_maps_firestore/lib/main.dart b/flutter_maps_firestore/lib/main.dart deleted file mode 100644 index 13668c621ce..00000000000 --- a/flutter_maps_firestore/lib/main.dart +++ /dev/null @@ -1,283 +0,0 @@ -// Copyright 2019 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:async'; - -import 'package:cloud_firestore/cloud_firestore.dart'; -import 'package:firebase_core/firebase_core.dart'; -import 'package:flutter/material.dart'; -import 'package:google_maps_flutter/google_maps_flutter.dart'; -import 'package:google_maps_webservice/places.dart'; - -import 'api_key.dart'; - -// Center of the Google Map -const initialPosition = LatLng(37.7786, -122.4375); -// Hue used by the Google Map Markers to match the theme -const _pinkHue = 350.0; -// Places API client used for Place Photos -final _placesApiClient = GoogleMapsPlaces(apiKey: googleMapsApiKey); - -Future main() async { - WidgetsFlutterBinding.ensureInitialized(); - await Firebase.initializeApp(); - runApp(const App()); -} - -class App extends StatelessWidget { - const App({super.key}); - - @override - Widget build(BuildContext context) { - return MaterialApp( - title: 'Ice Creams FTW', - home: const HomePage(title: 'Ice Cream Stores in SF'), - theme: ThemeData( - colorSchemeSeed: Colors.pink, - scaffoldBackgroundColor: Colors.pink[50], - ), - ); - } -} - -class HomePage extends StatefulWidget { - const HomePage({required this.title, super.key}); - final String title; - - @override - State createState() { - return _HomePageState(); - } -} - -class _HomePageState extends State { - late Stream _iceCreamStores; - final Completer _mapController = Completer(); - - @override - void initState() { - super.initState(); - _iceCreamStores = - FirebaseFirestore.instance - .collection('ice_cream_stores') - .orderBy('name') - .snapshots(); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - appBar: AppBar(title: Text(widget.title)), - body: StreamBuilder( - stream: _iceCreamStores, - builder: (context, snapshot) { - return switch (snapshot) { - AsyncSnapshot(hasError: true) => Center( - child: Text('Error: ${snapshot.error}'), - ), - AsyncSnapshot(hasData: false) => const Center( - child: Text('Loading...'), - ), - _ => Stack( - children: [ - StoreMap( - documents: snapshot.data!.docs, - initialPosition: initialPosition, - mapController: _mapController, - ), - StoreCarousel( - mapController: _mapController, - documents: snapshot.data!.docs, - ), - ], - ), - }; - }, - ), - ); - } -} - -class StoreCarousel extends StatelessWidget { - const StoreCarousel({ - super.key, - required this.documents, - required this.mapController, - }); - - final List documents; - final Completer mapController; - - @override - Widget build(BuildContext context) { - return Align( - alignment: Alignment.topLeft, - child: Padding( - padding: const EdgeInsets.only(top: 10), - child: SizedBox( - height: 90, - child: StoreCarouselList( - documents: documents, - mapController: mapController, - ), - ), - ), - ); - } -} - -class StoreCarouselList extends StatelessWidget { - const StoreCarouselList({ - super.key, - required this.documents, - required this.mapController, - }); - - final List documents; - final Completer mapController; - - @override - Widget build(BuildContext context) { - return ListView.builder( - scrollDirection: Axis.horizontal, - itemCount: documents.length, - itemBuilder: (context, index) { - return SizedBox( - width: 340, - child: Padding( - padding: const EdgeInsets.only(left: 8), - child: Card( - child: Center( - child: StoreListTile( - document: documents[index], - mapController: mapController, - ), - ), - ), - ), - ); - }, - ); - } -} - -class StoreListTile extends StatefulWidget { - const StoreListTile({ - super.key, - required this.document, - required this.mapController, - }); - - final DocumentSnapshot document; - final Completer mapController; - - @override - State createState() { - return _StoreListTileState(); - } -} - -class _StoreListTileState extends State { - String _placePhotoUrl = ''; - bool _disposed = false; - - @override - void initState() { - super.initState(); - _retrievePlacesDetails(); - } - - @override - void dispose() { - _disposed = true; - super.dispose(); - } - - Future _retrievePlacesDetails() async { - final details = await _placesApiClient.getDetailsByPlaceId( - widget.document['placeId'] as String, - ); - if (!_disposed) { - setState(() { - _placePhotoUrl = _placesApiClient.buildPhotoUrl( - photoReference: details.result.photos[0].photoReference, - maxHeight: 300, - ); - }); - } - } - - @override - Widget build(BuildContext context) { - return ListTile( - title: Text(widget.document['name'] as String), - subtitle: Text(widget.document['address'] as String), - leading: SizedBox( - width: 100, - height: 100, - child: - _placePhotoUrl.isNotEmpty - ? ClipRRect( - borderRadius: const BorderRadius.all(Radius.circular(2)), - child: Image.network(_placePhotoUrl, fit: BoxFit.cover), - ) - : Container(), - ), - onTap: () async { - final controller = await widget.mapController.future; - await controller.animateCamera( - CameraUpdate.newCameraPosition( - CameraPosition( - target: LatLng( - widget.document['location'].latitude as double, - widget.document['location'].longitude as double, - ), - zoom: 16, - ), - ), - ); - }, - ); - } -} - -class StoreMap extends StatelessWidget { - const StoreMap({ - super.key, - required this.documents, - required this.initialPosition, - required this.mapController, - }); - - final List documents; - final LatLng initialPosition; - final Completer mapController; - - @override - Widget build(BuildContext context) { - return GoogleMap( - initialCameraPosition: CameraPosition(target: initialPosition, zoom: 12), - markers: - documents - .map( - (document) => Marker( - markerId: MarkerId(document['placeId'] as String), - icon: BitmapDescriptor.defaultMarkerWithHue(_pinkHue), - position: LatLng( - document['location'].latitude as double, - document['location'].longitude as double, - ), - infoWindow: InfoWindow( - title: document['name'] as String?, - snippet: document['address'] as String?, - ), - ), - ) - .toSet(), - onMapCreated: (mapController) { - this.mapController.complete(mapController); - }, - ); - } -} diff --git a/flutter_maps_firestore/pubspec.yaml b/flutter_maps_firestore/pubspec.yaml deleted file mode 100644 index a45675abf33..00000000000 --- a/flutter_maps_firestore/pubspec.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: flutter_maps_firestore -description: A new Flutter project. -version: 1.0.0+1 - -environment: - sdk: ^3.7.0-0 - -dependencies: - flutter: - sdk: flutter - cloud_firestore: ">=4.6.0 <6.0.0" - firebase_core: ">=2.11.0 <4.0.0" - google_maps_flutter: ^2.2.6 - google_maps_webservice: ^0.0.20-nullsafety.5 - location: ^7.0.0 - -dev_dependencies: - analysis_defaults: - path: ../analysis_defaults - flutter_test: - sdk: flutter - -flutter: - uses-material-design: true diff --git a/flutter_maps_firestore/test/widget_test.dart b/flutter_maps_firestore/test/widget_test.dart deleted file mode 100644 index 899d7439eec..00000000000 --- a/flutter_maps_firestore/test/widget_test.dart +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2019 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter_test/flutter_test.dart'; - -void main() { - testWidgets('This test always passes', (tester) async {}); -} diff --git a/form_app/lib/main.dart b/form_app/lib/main.dart index 9be0081cc08..46a11baca4f 100644 --- a/form_app/lib/main.dart +++ b/form_app/lib/main.dart @@ -24,7 +24,8 @@ const double windowWidth = 480; const double windowHeight = 854; void setupWindow() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { + if (!kIsWeb && + (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { WidgetsFlutterBinding.ensureInitialized(); setWindowTitle('Form Samples'); setWindowMinSize(const Size(windowWidth, windowHeight)); @@ -45,11 +46,10 @@ final demos = [ Demo( name: 'Sign in with HTTP', route: 'signin_http', - builder: - (context) => SignInHttpDemo( - // This sample uses a mock HTTP client. - httpClient: mockClient, - ), + builder: (context) => SignInHttpDemo( + // This sample uses a mock HTTP client. + httpClient: mockClient, + ), ), Demo( name: 'Autofill', @@ -130,5 +130,9 @@ class Demo { final String route; final WidgetBuilder builder; - const Demo({required this.name, required this.route, required this.builder}); + const Demo({ + required this.name, + required this.route, + required this.builder, + }); } diff --git a/form_app/lib/src/autofill.dart b/form_app/lib/src/autofill.dart index 8b8d2dbd5e4..7e2a9b0c58b 100644 --- a/form_app/lib/src/autofill.dart +++ b/form_app/lib/src/autofill.dart @@ -99,7 +99,9 @@ class _AutofillDemoState extends State { ), autofillHints: [AutofillHints.countryCode], ), - ].expand((widget) => [widget, const SizedBox(height: 24)]), + ].expand( + (widget) => [widget, const SizedBox(height: 24)], + ), ], ), ), diff --git a/form_app/lib/src/form_widgets.dart b/form_app/lib/src/form_widgets.dart index 222edefc33f..b527eb40d27 100644 --- a/form_app/lib/src/form_widgets.dart +++ b/form_app/lib/src/form_widgets.dart @@ -77,11 +77,14 @@ class _FormWidgetsDemoState extends State { crossAxisAlignment: CrossAxisAlignment.start, children: [ Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, + mainAxisAlignment: + MainAxisAlignment.spaceBetween, children: [ Text( 'Estimated value', - style: Theme.of(context).textTheme.bodyLarge, + style: Theme.of( + context, + ).textTheme.bodyLarge, ), ], ), @@ -90,7 +93,9 @@ class _FormWidgetsDemoState extends State { symbol: "\$", decimalDigits: 0, ).format(maxValue), - style: Theme.of(context).textTheme.titleMedium, + style: Theme.of( + context, + ).textTheme.titleMedium, ), Slider( min: 0, @@ -119,7 +124,9 @@ class _FormWidgetsDemoState extends State { ), Text( 'Brushed Teeth', - style: Theme.of(context).textTheme.titleMedium, + style: Theme.of( + context, + ).textTheme.titleMedium, ), ], ), diff --git a/form_app/lib/src/http/mock_client.dart b/form_app/lib/src/http/mock_client.dart index 1d11d099eee..0774b6c3195 100644 --- a/form_app/lib/src/http/mock_client.dart +++ b/form_app/lib/src/http/mock_client.dart @@ -11,7 +11,8 @@ Future _mockHandler(http.Request request) async { json.decode(request.body) as Map, ); - if (decodedJson['email'] == 'root' && decodedJson['password'] == 'password') { + if (decodedJson['email'] == 'root' && + decodedJson['password'] == 'password') { return http.Response('', 200); } diff --git a/form_app/lib/src/sign_in_http.dart b/form_app/lib/src/sign_in_http.dart index 4096e922b3e..d014a18a3b8 100644 --- a/form_app/lib/src/sign_in_http.dart +++ b/form_app/lib/src/sign_in_http.dart @@ -97,16 +97,15 @@ class _SignInHttpDemoState extends State { void _showDialog(String message) { showDialog( context: context, - builder: - (context) => AlertDialog( - title: Text(message), - actions: [ - TextButton( - child: const Text('OK'), - onPressed: () => Navigator.of(context).pop(), - ), - ], + builder: (context) => AlertDialog( + title: Text(message), + actions: [ + TextButton( + child: const Text('OK'), + onPressed: () => Navigator.of(context).pop(), ), + ], + ), ); } } diff --git a/form_app/lib/src/validation.dart b/form_app/lib/src/validation.dart index 65f2d2e38a7..5a46cc47b23 100644 --- a/form_app/lib/src/validation.dart +++ b/form_app/lib/src/validation.dart @@ -38,19 +38,18 @@ class _FormValidationDemoState extends State { showDialog( context: context, - builder: - (context) => AlertDialog( - title: const Text('Your story'), - content: Text('The $adjective developer saw a $noun'), - actions: [ - TextButton( - child: const Text('Done'), - onPressed: () { - Navigator.of(context).pop(); - }, - ), - ], + builder: (context) => AlertDialog( + title: const Text('Your story'), + content: Text('The $adjective developer saw a $noun'), + actions: [ + TextButton( + child: const Text('Done'), + onPressed: () { + Navigator.of(context).pop(); + }, ), + ], + ), ); }, ), @@ -138,18 +137,21 @@ class _FormValidationDemoState extends State { ), Text( 'I agree to the terms of service.', - style: Theme.of(context).textTheme.titleMedium, + style: Theme.of( + context, + ).textTheme.titleMedium, ), ], ), if (!formFieldState.isValid) Text( formFieldState.errorText ?? "", - style: Theme.of( - context, - ).textTheme.bodySmall!.copyWith( - color: Theme.of(context).colorScheme.error, - ), + style: Theme.of(context).textTheme.bodySmall! + .copyWith( + color: Theme.of( + context, + ).colorScheme.error, + ), ), ], ); diff --git a/form_app/pubspec.yaml b/form_app/pubspec.yaml index 66ad2b1c2b3..69dc8aef83f 100644 --- a/form_app/pubspec.yaml +++ b/form_app/pubspec.yaml @@ -2,9 +2,10 @@ name: form_app description: A sample demonstrating different types of forms and best practices publish_to: "none" version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: @@ -18,7 +19,7 @@ dependencies: git: url: https://github.com/google/flutter-desktop-embedding.git path: plugins/window_size - go_router: ^15.0.0 + go_router: ^16.0.0 dev_dependencies: analysis_defaults: diff --git a/form_app/test/form_app_test.dart b/form_app/test/form_app_test.dart index 9caecec8948..a674e66b925 100644 --- a/form_app/test/form_app_test.dart +++ b/form_app/test/form_app_test.dart @@ -22,7 +22,11 @@ void main() { }); } -Future _signIn(WidgetTester tester, String email, String password) async { +Future _signIn( + WidgetTester tester, + String email, + String password, +) async { await tester.pumpWidget( MaterialApp(home: SignInHttpDemo(httpClient: mockClient)), ); diff --git a/game_template/lib/main.dart b/game_template/lib/main.dart index de11af8d08d..b2e30e9c88e 100644 --- a/game_template/lib/main.dart +++ b/game_template/lib/main.dart @@ -129,19 +129,16 @@ class MyApp extends StatelessWidget { routes: [ GoRoute( path: '/', - builder: - (context, state) => const MainMenuScreen(key: Key('main menu')), + builder: (context, state) => + const MainMenuScreen(key: Key('main menu')), routes: [ GoRoute( path: 'play', - pageBuilder: - (context, state) => buildMyTransition( - key: ValueKey('play'), - child: const LevelSelectionScreen( - key: Key('level selection'), - ), - color: context.watch().backgroundLevelSelection, - ), + pageBuilder: (context, state) => buildMyTransition( + key: ValueKey('play'), + child: const LevelSelectionScreen(key: Key('level selection')), + color: context.watch().backgroundLevelSelection, + ), routes: [ GoRoute( path: 'session/:level', @@ -190,8 +187,8 @@ class MyApp extends StatelessWidget { ), GoRoute( path: 'settings', - builder: - (context, state) => const SettingsScreen(key: Key('settings')), + builder: (context, state) => + const SettingsScreen(key: Key('settings')), ), ], ), @@ -238,10 +235,9 @@ class MyApp extends StatelessWidget { ), Provider( lazy: false, - create: - (context) => - SettingsController(persistence: settingsPersistence) - ..loadStateFromPersistence(), + create: (context) => + SettingsController(persistence: settingsPersistence) + ..loadStateFromPersistence(), ), ProxyProvider2< SettingsController, diff --git a/game_template/lib/src/ads/ads_controller.dart b/game_template/lib/src/ads/ads_controller.dart index 6c1e4da46c9..8afc80a83ce 100644 --- a/game_template/lib/src/ads/ads_controller.dart +++ b/game_template/lib/src/ads/ads_controller.dart @@ -36,11 +36,10 @@ class AdsController { void preloadAd() { // TODO: When ready, change this to the Ad Unit IDs provided by AdMob. // The current values are AdMob's sample IDs. - final adUnitId = - defaultTargetPlatform == TargetPlatform.android - ? 'ca-app-pub-3940256099942544/6300978111' - // iOS - : 'ca-app-pub-3940256099942544/2934735716'; + final adUnitId = defaultTargetPlatform == TargetPlatform.android + ? 'ca-app-pub-3940256099942544/6300978111' + // iOS + : 'ca-app-pub-3940256099942544/2934735716'; _preloadedAd = PreloadedBannerAd( size: AdSize.mediumRectangle, adUnitId: adUnitId, diff --git a/game_template/lib/src/ads/banner_ad_widget.dart b/game_template/lib/src/ads/banner_ad_widget.dart index cfbe6e609c2..bd486cf4a5c 100644 --- a/game_template/lib/src/ads/banner_ad_widget.dart +++ b/game_template/lib/src/ads/banner_ad_widget.dart @@ -150,10 +150,9 @@ class _BannerAdWidgetState extends State { // https://developers.google.com/admob/android/test-ads. When ready, // you replace this with your own, production ad unit ID, // created in https://apps.admob.com/. - adUnitId: - Theme.of(context).platform == TargetPlatform.android - ? 'ca-app-pub-3940256099942544/6300978111' - : 'ca-app-pub-3940256099942544/2934735716', + adUnitId: Theme.of(context).platform == TargetPlatform.android + ? 'ca-app-pub-3940256099942544/6300978111' + : 'ca-app-pub-3940256099942544/2934735716', size: size, request: const AdRequest(), listener: BannerAdListener( diff --git a/game_template/lib/src/play_session/play_session_screen.dart b/game_template/lib/src/play_session/play_session_screen.dart index 3c038129da6..4f06cca291a 100644 --- a/game_template/lib/src/play_session/play_session_screen.dart +++ b/game_template/lib/src/play_session/play_session_screen.dart @@ -48,9 +48,8 @@ class _PlaySessionScreenState extends State { return MultiProvider( providers: [ ChangeNotifierProvider( - create: - (context) => - LevelState(goal: widget.level.difficulty, onWin: _playerWon), + create: (context) => + LevelState(goal: widget.level.difficulty, onWin: _playerWon), ), ], child: IgnorePointer( @@ -80,17 +79,14 @@ class _PlaySessionScreenState extends State { ' or above!', ), Consumer( - builder: - (context, levelState, child) => Slider( - label: 'Level Progress', - autofocus: true, - value: levelState.progress / 100, - onChanged: - (value) => levelState.setProgress( - (value * 100).round(), - ), - onChangeEnd: (value) => levelState.evaluate(), - ), + builder: (context, levelState, child) => Slider( + label: 'Level Progress', + autofocus: true, + value: levelState.progress / 100, + onChanged: (value) => + levelState.setProgress((value * 100).round()), + onChangeEnd: (value) => levelState.evaluate(), + ), ), const Spacer(), Padding( diff --git a/game_template/lib/src/settings/custom_name_dialog.dart b/game_template/lib/src/settings/custom_name_dialog.dart index 3d1298543a4..786902a42d8 100644 --- a/game_template/lib/src/settings/custom_name_dialog.dart +++ b/game_template/lib/src/settings/custom_name_dialog.dart @@ -10,9 +10,8 @@ import 'settings.dart'; void showCustomNameDialog(BuildContext context) { showGeneralDialog( context: context, - pageBuilder: - (context, animation, secondaryAnimation) => - CustomNameDialog(animation: animation), + pageBuilder: (context, animation, secondaryAnimation) => + CustomNameDialog(animation: animation), ); } diff --git a/game_template/lib/src/settings/settings_screen.dart b/game_template/lib/src/settings/settings_screen.dart index 791fec6e098..2f48b08dedc 100644 --- a/game_template/lib/src/settings/settings_screen.dart +++ b/game_template/lib/src/settings/settings_screen.dart @@ -42,21 +42,19 @@ class SettingsScreen extends StatelessWidget { const _NameChangeLine('Name'), ValueListenableBuilder( valueListenable: settings.soundsOn, - builder: - (context, soundsOn, child) => _SettingsLine( - 'Sound FX', - Icon(soundsOn ? Icons.graphic_eq : Icons.volume_off), - onSelected: () => settings.toggleSoundsOn(), - ), + builder: (context, soundsOn, child) => _SettingsLine( + 'Sound FX', + Icon(soundsOn ? Icons.graphic_eq : Icons.volume_off), + onSelected: () => settings.toggleSoundsOn(), + ), ), ValueListenableBuilder( valueListenable: settings.musicOn, - builder: - (context, musicOn, child) => _SettingsLine( - 'Music', - Icon(musicOn ? Icons.music_note : Icons.music_off), - onSelected: () => settings.toggleMusicOn(), - ), + builder: (context, musicOn, child) => _SettingsLine( + 'Music', + Icon(musicOn ? Icons.music_note : Icons.music_off), + onSelected: () => settings.toggleMusicOn(), + ), ), Consumer( builder: (context, inAppPurchase, child) { @@ -137,14 +135,13 @@ class _NameChangeLine extends StatelessWidget { const Spacer(), ValueListenableBuilder( valueListenable: settings.playerName, - builder: - (context, name, child) => Text( - 'β€˜$name’', - style: const TextStyle( - fontFamily: 'Permanent Marker', - fontSize: 30, - ), - ), + builder: (context, name, child) => Text( + 'β€˜$name’', + style: const TextStyle( + fontFamily: 'Permanent Marker', + fontSize: 30, + ), + ), ), ], ), diff --git a/game_template/lib/src/style/confetti.dart b/game_template/lib/src/style/confetti.dart index 5036f5fc631..60a6dad7480 100644 --- a/game_template/lib/src/style/confetti.dart +++ b/game_template/lib/src/style/confetti.dart @@ -188,17 +188,17 @@ class _PaperSnipping { paint.color = backColor; } - final path = - Path()..addPolygon( - List.generate( - 4, - (index) => Offset( - position.x + corners[index].x * size, - position.y + corners[index].y * size * cosA, - ), + final path = Path() + ..addPolygon( + List.generate( + 4, + (index) => Offset( + position.x + corners[index].x * size, + position.y + corners[index].y * size * cosA, ), - true, - ); + ), + true, + ); canvas.drawPath(path, paint); } diff --git a/game_template/pubspec.yaml b/game_template/pubspec.yaml index 3c0af46ff37..e4cc187c521 100644 --- a/game_template/pubspec.yaml +++ b/game_template/pubspec.yaml @@ -1,21 +1,21 @@ name: game_template description: A mobile game built in Flutter. +version: 0.0.1+1 +resolution: workspace # Prevent accidental publishing to pub.dev. publish_to: 'none' -version: 0.0.1+1 environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - audioplayers: ^6.0.0 cupertino_icons: ^1.0.2 - go_router: ^15.0.0 + go_router: ^16.0.0 logging: ^1.1.0 provider: ^6.0.2 shared_preferences: ^2.0.13 @@ -23,14 +23,16 @@ dependencies: # If you don't need one of the following dependencies, # delete the relevant line below, and get rid of any Dart code # that references the dependency. - firebase_core: ^3.0.0 # Needed for Crashlytics below - firebase_crashlytics: ^4.0.0 # Error reporting + firebase_core: ^4.0.0 # Needed for Crashlytics below + firebase_crashlytics: ^5.0.0 # Error reporting games_services: ^4.0.0 # Achievements and leaderboards google_mobile_ads: ^6.0.0 # Ads in_app_purchase: ^3.0.1 # In-app purchases dev_dependencies: - flutter_lints: ^5.0.0 + analysis_defaults: + path: ../analysis_defaults + flutter_lints: ^6.0.0 flutter_test: sdk: flutter flutter_launcher_icons: ^0.14.0 diff --git a/gemini_tasks/lib/main.dart b/gemini_tasks/lib/main.dart index 33a43a0df77..bde51881dde 100644 --- a/gemini_tasks/lib/main.dart +++ b/gemini_tasks/lib/main.dart @@ -244,18 +244,19 @@ class _ExampleState extends State { actions.add(FunctionResponse(fn.name, task.toJson())); break; case 'get_completed_tasks': - var filter = - current.toList().where((e) => e.completed == true).toList(); + var filter = current + .toList() + .where((e) => e.completed == true) + .toList(); final name = args['name'] as String?; final description = args['description'] as String?; if (name != null) { filter = filter.where((e) => e.name.contains(name)).toList(); } if (description != null) { - filter = - filter - .where((e) => e.description?.contains(description) ?? false) - .toList(); + filter = filter + .where((e) => e.description?.contains(description) ?? false) + .toList(); } actions.add( FunctionResponse(fn.name, { @@ -264,18 +265,19 @@ class _ExampleState extends State { ); break; case 'get_active_tasks': - var filter = - current.toList().where((e) => e.completed == false).toList(); + var filter = current + .toList() + .where((e) => e.completed == false) + .toList(); final name = args['name'] as String?; final description = args['description'] as String?; if (name != null) { filter = filter.where((e) => e.name.contains(name)).toList(); } if (description != null) { - filter = - filter - .where((e) => e.description?.contains(description) ?? false) - .toList(); + filter = filter + .where((e) => e.description?.contains(description) ?? false) + .toList(); } actions.add( FunctionResponse(fn.name, { @@ -336,21 +338,20 @@ class _ExampleState extends State { final reversed = messages.value.reversed; return Scaffold( appBar: AppBar(title: Text(widget.title)), - body: - messages.value.isEmpty - ? const Center(child: Text('No tasks found')) - : ListView.builder( - padding: const EdgeInsets.all(8), - reverse: true, - itemCount: reversed.length, - itemBuilder: (context, index) { - final (sender, message) = reversed.elementAt(index); - return MessageWidget( - isFromUser: sender == Sender.user, - text: message, - ); - }, - ), + body: messages.value.isEmpty + ? const Center(child: Text('No tasks found')) + : ListView.builder( + padding: const EdgeInsets.all(8), + reverse: true, + itemCount: reversed.length, + itemBuilder: (context, index) { + final (sender, message) = reversed.elementAt(index); + return MessageWidget( + isFromUser: sender == Sender.user, + text: message, + ); + }, + ), bottomNavigationBar: BottomAppBar( padding: const EdgeInsets.all(8), child: Row( diff --git a/gemini_tasks/lib/widgets/api_key_widget.dart b/gemini_tasks/lib/widgets/api_key_widget.dart index 002d35f720e..341d079986a 100644 --- a/gemini_tasks/lib/widgets/api_key_widget.dart +++ b/gemini_tasks/lib/widgets/api_key_widget.dart @@ -44,11 +44,10 @@ class ApiKeyWidget extends StatelessWidget { Link( uri: Uri.https('aistudio.google.com', '/app/apikey'), target: LinkTarget.blank, - builder: - (context, followLink) => TextButton( - onPressed: followLink, - child: const Text('Get an API Key'), - ), + builder: (context, followLink) => TextButton( + onPressed: followLink, + child: const Text('Get an API Key'), + ), ), ], ), diff --git a/gemini_tasks/lib/widgets/message_widget.dart b/gemini_tasks/lib/widgets/message_widget.dart index 95dae91029a..74b45df1a8c 100644 --- a/gemini_tasks/lib/widgets/message_widget.dart +++ b/gemini_tasks/lib/widgets/message_widget.dart @@ -30,17 +30,17 @@ class MessageWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Row( - mainAxisAlignment: - isFromUser ? MainAxisAlignment.end : MainAxisAlignment.start, + mainAxisAlignment: isFromUser + ? MainAxisAlignment.end + : MainAxisAlignment.start, children: [ Flexible( child: Container( constraints: const BoxConstraints(maxWidth: 520), decoration: BoxDecoration( - color: - isFromUser - ? Theme.of(context).colorScheme.primaryContainer - : Theme.of(context).colorScheme.surfaceContainerHighest, + color: isFromUser + ? Theme.of(context).colorScheme.primaryContainer + : Theme.of(context).colorScheme.surfaceContainerHighest, borderRadius: BorderRadius.circular(18), ), padding: const EdgeInsets.symmetric(vertical: 15, horizontal: 20), diff --git a/gemini_tasks/pubspec.yaml b/gemini_tasks/pubspec.yaml index c25e8897105..93394317916 100644 --- a/gemini_tasks/pubspec.yaml +++ b/gemini_tasks/pubspec.yaml @@ -2,8 +2,9 @@ name: gemini_tasks description: "Sample app for the google_generative_ai package" publish_to: 'none' version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: @@ -13,9 +14,11 @@ dependencies: url_launcher: ^6.2.6 dev_dependencies: + analysis_defaults: + path: ../analysis_defaults flutter_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ^6.0.0 flutter: uses-material-design: true diff --git a/google_maps/lib/main.dart b/google_maps/lib/main.dart index 6f6eafb221b..629ecb685ef 100644 --- a/google_maps/lib/main.dart +++ b/google_maps/lib/main.dart @@ -47,7 +47,10 @@ class _MyAppState extends State { ), body: GoogleMap( onMapCreated: _onMapCreated, - initialCameraPosition: CameraPosition(target: _center, zoom: 11.0), + initialCameraPosition: CameraPosition( + target: _center, + zoom: 11.0, + ), markers: { const Marker( markerId: MarkerId('Sydney'), diff --git a/google_maps/lib/src/locations.g.dart b/google_maps/lib/src/locations.g.dart index 685fbd1d148..5d67b53c66d 100644 --- a/google_maps/lib/src/locations.g.dart +++ b/google_maps/lib/src/locations.g.dart @@ -69,17 +69,16 @@ Map _$OfficeToJson(Office instance) => { }; Locations _$LocationsFromJson(Map json) => Locations( - offices: - (json['offices'] as List) - .map((e) => Office.fromJson(e as Map)) - .toList(), - regions: - (json['regions'] as List) - .map((e) => Region.fromJson(e as Map)) - .toList(), + offices: (json['offices'] as List) + .map((e) => Office.fromJson(e as Map)) + .toList(), + regions: (json['regions'] as List) + .map((e) => Region.fromJson(e as Map)) + .toList(), ); -Map _$LocationsToJson(Locations instance) => { - 'offices': instance.offices, - 'regions': instance.regions, -}; +Map _$LocationsToJson(Locations instance) => + { + 'offices': instance.offices, + 'regions': instance.regions, + }; diff --git a/google_maps/pubspec.yaml b/google_maps/pubspec.yaml index 268697a4d15..b70df98c9c7 100644 --- a/google_maps/pubspec.yaml +++ b/google_maps/pubspec.yaml @@ -1,10 +1,11 @@ name: google_maps_in_flutter description: A new Flutter project. +resolution: workspace publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: diff --git a/infinite_list/lib/main.dart b/infinite_list/lib/main.dart index 3f9f795d8fd..c842643d703 100644 --- a/infinite_list/lib/main.dart +++ b/infinite_list/lib/main.dart @@ -22,7 +22,8 @@ const double windowWidth = 480; const double windowHeight = 854; void setupWindow() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { + if (!kIsWeb && + (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { WidgetsFlutterBinding.ensureInitialized(); setWindowTitle('Infinite List'); setWindowMinSize(const Size(windowWidth, windowHeight)); @@ -68,26 +69,25 @@ class MyHomePage extends StatelessWidget { // listening to the catalog's `itemCount`, because that's all we need // at this level. selector: (context, catalog) => catalog.itemCount, - builder: - (context, itemCount, child) => ListView.builder( - // When `itemCount` is null, `ListView` assumes an infinite list. - // Once we provide a value, it will stop the scrolling beyond - // the last element. - itemCount: itemCount, - padding: const EdgeInsets.symmetric(vertical: 18), - itemBuilder: (context, index) { - // Every item of the `ListView` is individually listening - // to the catalog. - var catalog = Provider.of(context); + builder: (context, itemCount, child) => ListView.builder( + // When `itemCount` is null, `ListView` assumes an infinite list. + // Once we provide a value, it will stop the scrolling beyond + // the last element. + itemCount: itemCount, + padding: const EdgeInsets.symmetric(vertical: 18), + itemBuilder: (context, index) { + // Every item of the `ListView` is individually listening + // to the catalog. + var catalog = Provider.of(context); - // Catalog provides a single synchronous method for getting the - // current data. - return switch (catalog.getByIndex(index)) { - Item(isLoading: true) => const LoadingItemTile(), - var item => ItemTile(item: item), - }; - }, - ), + // Catalog provides a single synchronous method for getting the + // current data. + return switch (catalog.getByIndex(index)) { + Item(isLoading: true) => const LoadingItemTile(), + var item => ItemTile(item: item), + }; + }, + ), ), ); } diff --git a/infinite_list/lib/src/api/fetch.dart b/infinite_list/lib/src/api/fetch.dart index a5098762e46..48ac0bc0bb6 100644 --- a/infinite_list/lib/src/api/fetch.dart +++ b/infinite_list/lib/src/api/fetch.dart @@ -21,7 +21,11 @@ Future fetchPage(int startingIndex) async { // If the [startingIndex] is beyond the bounds of the catalog, an // empty page will be returned. if (startingIndex > catalogLength) { - return ItemPage(items: [], startingIndex: startingIndex, hasNext: false); + return ItemPage( + items: [], + startingIndex: startingIndex, + hasNext: false, + ); } // The page of items is generated here. diff --git a/infinite_list/lib/src/item_tile.dart b/infinite_list/lib/src/item_tile.dart index b79eaa34a39..e95c8dc70ed 100644 --- a/infinite_list/lib/src/item_tile.dart +++ b/infinite_list/lib/src/item_tile.dart @@ -22,7 +22,10 @@ class ItemTile extends StatelessWidget { aspectRatio: 1, child: Container(color: item.color), ), - title: Text(item.name, style: Theme.of(context).textTheme.titleLarge), + title: Text( + item.name, + style: Theme.of(context).textTheme.titleLarge, + ), trailing: Text('\$ ${(item.price / 100).toStringAsFixed(2)}'), ), ); diff --git a/infinite_list/pubspec.yaml b/infinite_list/pubspec.yaml index 5c43978176d..fc6b8319916 100644 --- a/infinite_list/pubspec.yaml +++ b/infinite_list/pubspec.yaml @@ -2,17 +2,17 @@ name: infinitelist description: > A sample implementation of an infinite list. publish_to: none +resolution: workspace version: 1.0.0+1 environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - cupertino_icons: ^1.0.2 - meta: ^1.3.0 + meta: ^1.16.0 provider: ^6.0.2 window_size: git: @@ -24,6 +24,5 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true diff --git a/infinite_list/test/smoke_test.dart b/infinite_list/test/smoke_test.dart index 254295df036..556f3f4e052 100644 --- a/infinite_list/test/smoke_test.dart +++ b/infinite_list/test/smoke_test.dart @@ -25,7 +25,11 @@ void main() { expect(find.text('Color #1'), findsOneWidget); // Flinging up quickly (i.e. scrolling down). - await tester.fling(find.byType(ListView), const Offset(0, -2000), 5000); + await tester.fling( + find.byType(ListView), + const Offset(0, -2000), + 5000, + ); // As we scroll down, we should see more items loading. expect(find.text('...'), findsWidgets); diff --git a/ios_app_clip/.gitignore b/ios_app_clip/.gitignore index 9d532b18a01..5f73eb49851 100644 --- a/ios_app_clip/.gitignore +++ b/ios_app_clip/.gitignore @@ -23,6 +23,7 @@ # Flutter/Dart/Pub related **/doc/api/ **/ios/Flutter/.last_build_id +**/ios/Flutter/ .dart_tool/ .flutter-plugins .flutter-plugins-dependencies diff --git a/ios_app_clip/lib/main.dart b/ios_app_clip/lib/main.dart index f37dfd2f340..4b26c031709 100644 --- a/ios_app_clip/lib/main.dart +++ b/ios_app_clip/lib/main.dart @@ -37,7 +37,9 @@ class _DemoState extends State { Widget build(BuildContext context) { return CupertinoApp( home: CupertinoPageScaffold( - navigationBar: const CupertinoNavigationBar(middle: Text('App Clip')), + navigationBar: const CupertinoNavigationBar( + middle: Text('App Clip'), + ), child: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, diff --git a/ios_app_clip/pubspec.yaml b/ios_app_clip/pubspec.yaml index b67d9febdb5..4aad2d150d8 100644 --- a/ios_app_clip/pubspec.yaml +++ b/ios_app_clip/pubspec.yaml @@ -1,17 +1,15 @@ name: ios_app_clip description: An example Flutter project that can build as an App Clip. - publish_to: "none" # Remove this line if you wish to publish to pub.dev - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - cupertino_icons: ^1.0.0 device_info: ^2.0.3 @@ -20,5 +18,4 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: diff --git a/isolate_example/lib/data_transfer_page.dart b/isolate_example/lib/data_transfer_page.dart index b8adad6dde9..9dcded07a79 100644 --- a/isolate_example/lib/data_transfer_page.dart +++ b/isolate_example/lib/data_transfer_page.dart @@ -74,7 +74,9 @@ class DataTransferPage extends StatelessWidget { }, ), onPressed: () => controller.generateRandomNumbers(true), - child: const Text('Transfer Data with TransferableTypedData'), + child: const Text( + 'Transfer Data with TransferableTypedData', + ), ), ElevatedButton( style: ElevatedButton.styleFrom( @@ -207,8 +209,9 @@ class RunningList extends StatelessWidget { @override Widget build(BuildContext context) { - final progress = - Provider.of(context).currentProgress; + final progress = Provider.of( + context, + ).currentProgress; return DecoratedBox( decoration: BoxDecoration(color: Colors.grey[200]), diff --git a/isolate_example/lib/infinite_process_page.dart b/isolate_example/lib/infinite_process_page.dart index dadc45bfc57..a17d05c4b64 100644 --- a/isolate_example/lib/infinite_process_page.dart +++ b/isolate_example/lib/infinite_process_page.dart @@ -35,7 +35,9 @@ class InfiniteProcessPage extends StatelessWidget { @override Widget build(context) { - final controller = Provider.of(context); + final controller = Provider.of( + context, + ); return SafeArea( child: Column( @@ -78,25 +80,25 @@ class InfiniteProcessPage extends StatelessWidget { value: !controller.paused, onChanged: (_) => controller.pausedSwitch(), activeTrackColor: Colors.lightGreenAccent, - activeColor: Colors.black, + activeThumbColor: Colors.black, inactiveTrackColor: Colors.deepOrangeAccent, inactiveThumbColor: Colors.black, ), const Text('Pause/Resume'), ], ), - Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - for (int i = 1; i <= 3; i++) ...[ - Radio( - value: i, - groupValue: controller.currentMultiplier, - onChanged: (val) => controller.setMultiplier(val!), - ), - Text('${i}x'), + RadioGroup( + groupValue: controller.currentMultiplier, + onChanged: (val) => controller.setMultiplier(val!), + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + for (int i = 1; i <= 3; i++) ...[ + Radio(value: i), + Text('${i}x'), + ], ], - ], + ), ), ], ), @@ -196,7 +198,9 @@ class RunningList extends StatelessWidget { @override Widget build(context) { - final controller = Provider.of(context); + final controller = Provider.of( + context, + ); var sums = controller.currentResults; @@ -208,10 +212,9 @@ class RunningList extends StatelessWidget { return Column( children: [ Card( - color: - (controller.created && !controller.paused) - ? Colors.lightGreenAccent - : Colors.deepOrangeAccent, + color: (controller.created && !controller.paused) + ? Colors.lightGreenAccent + : Colors.deepOrangeAccent, child: ListTile( leading: Text('${sums.length - index}.'), title: Text('${sums[index]}.'), diff --git a/isolate_example/lib/main.dart b/isolate_example/lib/main.dart index 86fbb17fb03..f7f912d8f95 100644 --- a/isolate_example/lib/main.dart +++ b/isolate_example/lib/main.dart @@ -31,7 +31,8 @@ const double windowWidth = 1024; const double windowHeight = 800; void setupWindow() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { + if (!kIsWeb && + (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { WidgetsFlutterBinding.ensureInitialized(); setWindowTitle('Isolate Example'); setWindowMinSize(const Size(windowWidth, windowHeight)); diff --git a/isolate_example/lib/performance_page.dart b/isolate_example/lib/performance_page.dart index 1d65447b988..6fa1c3ab574 100644 --- a/isolate_example/lib/performance_page.dart +++ b/isolate_example/lib/performance_page.dart @@ -57,8 +57,9 @@ class _PerformancePageState extends State { return ElevatedButton( style: ElevatedButton.styleFrom(elevation: 8.0), onPressed: switch (snapshot.connectionState) { - ConnectionState.done => - () => handleComputeOnMain(context), + ConnectionState.done => () => handleComputeOnMain( + context, + ), _ => null, }, child: const Text('Compute on Main'), @@ -71,8 +72,9 @@ class _PerformancePageState extends State { return ElevatedButton( style: ElevatedButton.styleFrom(elevation: 8.0), onPressed: switch (snapshot.connectionState) { - ConnectionState.done => - () => handleComputeOnSecondary(context), + ConnectionState.done => () => handleComputeOnSecondary( + context, + ), _ => null, }, child: const Text('Compute on Secondary'), @@ -88,12 +90,12 @@ class _PerformancePageState extends State { } void handleComputeOnMain(BuildContext context) { - var future = - computeOnMainIsolate()..then((_) { - var snackBar = const SnackBar(content: Text('Main Isolate Done!')); - if (!context.mounted) return; - ScaffoldMessenger.of(context).showSnackBar(snackBar); - }); + var future = computeOnMainIsolate() + ..then((_) { + var snackBar = const SnackBar(content: Text('Main Isolate Done!')); + if (!context.mounted) return; + ScaffoldMessenger.of(context).showSnackBar(snackBar); + }); setState(() { computeFuture = future; @@ -101,14 +103,14 @@ class _PerformancePageState extends State { } void handleComputeOnSecondary(BuildContext context) { - var future = - computeOnSecondaryIsolate()..then((_) { - var snackBar = const SnackBar( - content: Text('Secondary Isolate Done!'), - ); - if (!context.mounted) return; - ScaffoldMessenger.of(context).showSnackBar(snackBar); - }); + var future = computeOnSecondaryIsolate() + ..then((_) { + var snackBar = const SnackBar( + content: Text('Secondary Isolate Done!'), + ); + if (!context.mounted) return; + ScaffoldMessenger.of(context).showSnackBar(snackBar); + }); setState(() { computeFuture = future; diff --git a/isolate_example/pubspec.yaml b/isolate_example/pubspec.yaml index b515eec88ab..69e12ee54c0 100644 --- a/isolate_example/pubspec.yaml +++ b/isolate_example/pubspec.yaml @@ -2,9 +2,10 @@ name: isolate_example description: A Flutter sample to demonstrate isolates version: 1.0.0+1 publish_to: none +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: @@ -20,6 +21,5 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true diff --git a/jsonexample/README.md b/jsonexample/README.md deleted file mode 100644 index d3835cb877d..00000000000 --- a/jsonexample/README.md +++ /dev/null @@ -1,10 +0,0 @@ -## `jsonexample` sample retired - -The `jsonexample` sample has reached the end of it's useful life. It was great code -when it has written, but the world has changed. Dart 3 introduced Patterns and -records. There is also various JSON parsing tools like `json_serializable`. - -For further information, please see: - - The [Dive into Dart's patterns and records](https://codelabs.developers.google.com/codelabs/dart-patterns-records) - codelab for a deep dive into Dart 3's patterns and records with an application to parsing JSON - - The Flutter.dev documentation on [JSON and serialization](https://docs.flutter.dev/data-and-backend/serialization/json) \ No newline at end of file diff --git a/material_3_demo/lib/main.dart b/material_3_demo/lib/main.dart index 653844e5fcc..07c5b86c512 100644 --- a/material_3_demo/lib/main.dart +++ b/material_3_demo/lib/main.dart @@ -75,20 +75,19 @@ class _AppState extends State { theme: ThemeData( colorSchemeSeed: _colorSelectionMethod == ColorSelectionMethod.colorSeed - ? _colorSelected.color - : null, - colorScheme: - _colorSelectionMethod == ColorSelectionMethod.image - ? _imageColorScheme - : null, + ? _colorSelected.color + : null, + colorScheme: _colorSelectionMethod == ColorSelectionMethod.image + ? _imageColorScheme + : null, useMaterial3: _useMaterial3, brightness: Brightness.light, ), darkTheme: ThemeData( colorSchemeSeed: _colorSelectionMethod == ColorSelectionMethod.colorSeed - ? _colorSelected.color - : _imageColorScheme!.primary, + ? _colorSelected.color + : _imageColorScheme!.primary, useMaterial3: _useMaterial3, brightness: Brightness.dark, ), diff --git a/material_3_demo/lib/src/animations.dart b/material_3_demo/lib/src/animations.dart index 301dba52913..54559b84ac7 100644 --- a/material_3_demo/lib/src/animations.dart +++ b/material_3_demo/lib/src/animations.dart @@ -8,7 +8,11 @@ class SizeAnimation extends CurvedAnimation { SizeAnimation(Animation parent) : super( parent: parent, - curve: const Interval(0.2, 0.8, curve: Curves.easeInOutCubicEmphasized), + curve: const Interval( + 0.2, + 0.8, + curve: Curves.easeInOutCubicEmphasized, + ), reverseCurve: Interval( 0, 0.2, @@ -21,7 +25,11 @@ class OffsetAnimation extends CurvedAnimation { OffsetAnimation(Animation parent) : super( parent: parent, - curve: const Interval(0.4, 1.0, curve: Curves.easeInOutCubicEmphasized), + curve: const Interval( + 0.4, + 1.0, + curve: Curves.easeInOutCubicEmphasized, + ), reverseCurve: Interval( 0, 0.2, diff --git a/material_3_demo/lib/src/buttons.dart b/material_3_demo/lib/src/buttons.dart index a5b1df75871..7ec5153975a 100644 --- a/material_3_demo/lib/src/buttons.dart +++ b/material_3_demo/lib/src/buttons.dart @@ -23,10 +23,9 @@ class BrightnessButton extends StatelessWidget { preferBelow: showTooltipBelow, message: 'Toggle brightness', child: IconButton( - icon: - isBright - ? const Icon(Icons.dark_mode_outlined) - : const Icon(Icons.light_mode_outlined), + icon: isBright + ? const Icon(Icons.dark_mode_outlined) + : const Icon(Icons.light_mode_outlined), onPressed: () => handleBrightnessChange(!isBright), ), ); @@ -50,10 +49,9 @@ class Material3Button extends StatelessWidget { preferBelow: showTooltipBelow, message: 'Switch to Material ${useMaterial3 ? 2 : 3}', child: IconButton( - icon: - useMaterial3 - ? const Icon(Icons.filter_2) - : const Icon(Icons.filter_3), + icon: useMaterial3 + ? const Icon(Icons.filter_2) + : const Icon(Icons.filter_3), onPressed: handleMaterialVersionChange, ), ); @@ -77,7 +75,9 @@ class ColorSeedButton extends StatelessWidget { return PopupMenuButton( icon: const Icon(Icons.palette_outlined), tooltip: 'Select a seed color', - shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10)), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(10), + ), itemBuilder: (context) { return List.generate(ColorSeed.values.length, (index) { ColorSeed currentColor = ColorSeed.values[index]; @@ -130,7 +130,9 @@ class ColorImageButton extends StatelessWidget { return PopupMenuButton( icon: const Icon(Icons.image_outlined), tooltip: 'Select a color extraction image', - shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10)), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(10), + ), itemBuilder: (context) { return List.generate(ColorImageProvider.values.length, (index) { final currentImageProvider = ColorImageProvider.values[index]; diff --git a/material_3_demo/lib/src/color_box.dart b/material_3_demo/lib/src/color_box.dart index 06a168fb87b..e5032d8615c 100644 --- a/material_3_demo/lib/src/color_box.dart +++ b/material_3_demo/lib/src/color_box.dart @@ -77,7 +77,9 @@ class _ColorBoxState extends State { await Clipboard.setData(data); messenger.hideCurrentSnackBar(); messenger.showSnackBar( - SnackBar(content: Text('Copied $hex to clipboard')), + SnackBar( + content: Text('Copied $hex to clipboard'), + ), ); }, ), diff --git a/material_3_demo/lib/src/color_palettes_screen.dart b/material_3_demo/lib/src/color_palettes_screen.dart index 0f915753e4e..933beef968b 100644 --- a/material_3_demo/lib/src/color_palettes_screen.dart +++ b/material_3_demo/lib/src/color_palettes_screen.dart @@ -61,16 +61,15 @@ class ColorPalettesScreen extends StatelessWidget { TextSpan( text: 'dynamic_color', style: const TextStyle(decoration: TextDecoration.underline), - recognizer: - TapGestureRecognizer() - ..onTap = () async { - final url = Uri.parse( - 'https://pub.dev/packages/dynamic_color', - ); - if (!await launchUrl(url)) { - throw Exception('Could not launch $url'); - } - }, + recognizer: TapGestureRecognizer() + ..onTap = () async { + final url = Uri.parse( + 'https://pub.dev/packages/dynamic_color', + ); + if (!await launchUrl(url)) { + throw Exception('Could not launch $url'); + } + }, ), const TextSpan(text: ' package.'), ], @@ -454,7 +453,9 @@ class ColorChip extends StatelessWidget { padding: const EdgeInsets.all(16), child: Row( children: [ - Expanded(child: Text(label, style: TextStyle(color: labelColor))), + Expanded( + child: Text(label, style: TextStyle(color: labelColor)), + ), ], ), ), diff --git a/material_3_demo/lib/src/component_screen.dart b/material_3_demo/lib/src/component_screen.dart index f8930b980fe..78f0b77722e 100644 --- a/material_3_demo/lib/src/component_screen.dart +++ b/material_3_demo/lib/src/component_screen.dart @@ -49,10 +49,9 @@ class FirstComponentList extends StatelessWidget { child: CustomScrollView( slivers: [ SliverPadding( - padding: - showSecondList - ? const EdgeInsetsDirectional.only(end: smallSpacing) - : EdgeInsets.zero, + padding: showSecondList + ? const EdgeInsetsDirectional.only(end: smallSpacing) + : EdgeInsets.zero, sliver: SliverList( delegate: BuildSlivers( heights: heights, @@ -123,7 +122,11 @@ class SecondComponentList extends StatelessWidget { // as the contents of the list are exposed for the first time, and // then remain fixed. class _CacheHeight extends SingleChildRenderObjectWidget { - const _CacheHeight({super.child, required this.heights, required this.index}); + const _CacheHeight({ + super.child, + required this.heights, + required this.index, + }); final List heights; final int index; @@ -537,7 +540,9 @@ class Cards extends StatelessWidget { child: Card( elevation: 0, shape: RoundedRectangleBorder( - side: BorderSide(color: Theme.of(context).colorScheme.outline), + side: BorderSide( + color: Theme.of(context).colorScheme.outline, + ), borderRadius: const BorderRadius.all(Radius.circular(12)), ), child: Container( @@ -626,7 +631,9 @@ class _TextFieldsState extends State { controller: _controllerFilled, decoration: InputDecoration( prefixIcon: const Icon(Icons.search), - suffixIcon: _ClearButton(controller: _controllerFilled), + suffixIcon: _ClearButton( + controller: _controllerFilled, + ), labelText: 'Filled', hintText: 'hint text', helperText: 'supporting text', @@ -645,7 +652,9 @@ class _TextFieldsState extends State { enabled: false, decoration: InputDecoration( prefixIcon: const Icon(Icons.search), - suffixIcon: _ClearButton(controller: _controllerFilled), + suffixIcon: _ClearButton( + controller: _controllerFilled, + ), labelText: 'Disabled', hintText: 'hint text', helperText: 'supporting text', @@ -737,51 +746,49 @@ class _DialogsState extends State { void openDialog(BuildContext context) { showDialog( context: context, - builder: - (context) => AlertDialog( - title: const Text('What is a dialog?'), - content: const Text( - 'A dialog is a type of modal window that appears in front of app content to provide critical information, or prompt for a decision to be made.', - ), - actions: [ - TextButton( - child: const Text('Dismiss'), - onPressed: () => Navigator.of(context).pop(), - ), - FilledButton( - child: const Text('Okay'), - onPressed: () => Navigator.of(context).pop(), - ), - ], + builder: (context) => AlertDialog( + title: const Text('What is a dialog?'), + content: const Text( + 'A dialog is a type of modal window that appears in front of app content to provide critical information, or prompt for a decision to be made.', + ), + actions: [ + TextButton( + child: const Text('Dismiss'), + onPressed: () => Navigator.of(context).pop(), + ), + FilledButton( + child: const Text('Okay'), + onPressed: () => Navigator.of(context).pop(), ), + ], + ), ); } void openFullscreenDialog(BuildContext context) { showDialog( context: context, - builder: - (context) => Dialog.fullscreen( - child: Padding( - padding: const EdgeInsets.all(20.0), - child: Scaffold( - appBar: AppBar( - title: const Text('Full-screen dialog'), - centerTitle: false, - leading: IconButton( - icon: const Icon(Icons.close), - onPressed: () => Navigator.of(context).pop(), - ), - actions: [ - TextButton( - child: const Text('Close'), - onPressed: () => Navigator.of(context).pop(), - ), - ], - ), + builder: (context) => Dialog.fullscreen( + child: Padding( + padding: const EdgeInsets.all(20.0), + child: Scaffold( + appBar: AppBar( + title: const Text('Full-screen dialog'), + centerTitle: false, + leading: IconButton( + icon: const Icon(Icons.close), + onPressed: () => Navigator.of(context).pop(), ), + actions: [ + TextButton( + child: const Text('Close'), + onPressed: () => Navigator.of(context).pop(), + ), + ], ), ), + ), + ), ); } @@ -874,26 +881,24 @@ class _SwitchRowState extends State { // TODO: use SwitchListTile when thumbIcon is available https://github.com/flutter/flutter/issues/118616 Switch( value: value0, - onChanged: - widget.isEnabled - ? (value) { - setState(() { - value0 = value; - }); - } - : null, + onChanged: widget.isEnabled + ? (value) { + setState(() { + value0 = value; + }); + } + : null, ), Switch( thumbIcon: thumbIcon, value: value1, - onChanged: - widget.isEnabled - ? (value) { - setState(() { - value1 = value; - }); - } - : null, + onChanged: widget.isEnabled + ? (value) { + setState(() { + value1 = value; + }); + } + : null, ), ], ); @@ -981,35 +986,30 @@ class _RadiosState extends State { return ComponentDecoration( label: 'Radio buttons', tooltipMessage: 'Use RadioListTile or Radio', - child: Column( - children: [ - RadioListTile( - title: const Text('Option 1'), - value: Options.option1, - groupValue: _selectedOption, - onChanged: (value) { - setState(() { - _selectedOption = value; - }); - }, - ), - RadioListTile( - title: const Text('Option 2'), - value: Options.option2, - groupValue: _selectedOption, - onChanged: (value) { - setState(() { - _selectedOption = value; - }); - }, - ), - RadioListTile( - title: const Text('Option 3'), - value: Options.option3, - groupValue: _selectedOption, - onChanged: null, - ), - ], + child: RadioGroup( + groupValue: _selectedOption, + onChanged: (value) { + setState(() { + _selectedOption = value; + }); + }, + child: Column( + children: [ + RadioListTile( + title: const Text('Option 1'), + value: Options.option1, + ), + RadioListTile( + title: const Text('Option 2'), + value: Options.option2, + ), + RadioListTile( + title: const Text('Option 3'), + value: Options.option3, + enabled: false, + ), + ], + ), ), ); } @@ -1137,7 +1137,10 @@ List barWithBadgeDestinations = [ ), NavigationDestination( tooltip: '', - icon: Badge.count(count: 3, child: const Icon(Icons.videocam_outlined)), + icon: Badge.count( + count: 3, + child: const Icon(Icons.videocam_outlined), + ), label: 'Meet', selectedIcon: Badge.count(count: 3, child: const Icon(Icons.videocam)), ), @@ -1191,12 +1194,11 @@ class _NavigationBarsState extends State { }); if (!widget.isExampleBar) widget.onSelectItem!(index); }, - destinations: - widget.isExampleBar && widget.isBadgeExample - ? barWithBadgeDestinations - : widget.isExampleBar - ? exampleBarDestinations - : appBarDestinations, + destinations: widget.isExampleBar && widget.isBadgeExample + ? barWithBadgeDestinations + : widget.isExampleBar + ? exampleBarDestinations + : appBarDestinations, ), ); @@ -1374,7 +1376,10 @@ class _ChipsState extends State { onPressed: () {}, onDeleted: () {}, ), - ActionChip(label: const Text('Suggestion'), onPressed: () {}), + ActionChip( + label: const Text('Suggestion'), + onPressed: () {}, + ), ], ), colDivider, @@ -1650,9 +1655,18 @@ class _BottomSheetSectionState extends State { IconButton(onPressed: () {}, icon: const Icon(Icons.share_outlined)), IconButton(onPressed: () {}, icon: const Icon(Icons.add)), IconButton(onPressed: () {}, icon: const Icon(Icons.delete_outline)), - IconButton(onPressed: () {}, icon: const Icon(Icons.archive_outlined)), - IconButton(onPressed: () {}, icon: const Icon(Icons.settings_outlined)), - IconButton(onPressed: () {}, icon: const Icon(Icons.favorite_border)), + IconButton( + onPressed: () {}, + icon: const Icon(Icons.archive_outlined), + ), + IconButton( + onPressed: () {}, + icon: const Icon(Icons.settings_outlined), + ), + IconButton( + onPressed: () {}, + icon: const Icon(Icons.favorite_border), + ), ]; List labelList = const [ Text('Share'), @@ -1695,7 +1709,9 @@ class _BottomSheetSectionState extends State { return SizedBox( height: 150, child: Padding( - padding: const EdgeInsets.symmetric(horizontal: 32.0), + padding: const EdgeInsets.symmetric( + horizontal: 32.0, + ), child: ListView( shrinkWrap: true, scrollDirection: Axis.horizontal, @@ -1736,7 +1752,9 @@ class _BottomSheetSectionState extends State { return SizedBox( height: 150, child: Padding( - padding: const EdgeInsets.symmetric(horizontal: 32.0), + padding: const EdgeInsets.symmetric( + horizontal: 32.0, + ), child: ListView( shrinkWrap: true, scrollDirection: Axis.horizontal, @@ -1822,9 +1840,18 @@ class IconButtonAnchorExample extends StatelessWidget { MenuItemButton(child: const Text('Menu 2'), onPressed: () {}), SubmenuButton( menuChildren: [ - MenuItemButton(onPressed: () {}, child: const Text('Menu 3.1')), - MenuItemButton(onPressed: () {}, child: const Text('Menu 3.2')), - MenuItemButton(onPressed: () {}, child: const Text('Menu 3.3')), + MenuItemButton( + onPressed: () {}, + child: const Text('Menu 3.1'), + ), + MenuItemButton( + onPressed: () {}, + child: const Text('Menu 3.2'), + ), + MenuItemButton( + onPressed: () {}, + child: const Text('Menu 3.3'), + ), ], child: const Text('Menu 3'), ), @@ -1925,7 +1952,10 @@ class _NavigationDrawerSectionState extends State { children: [ Padding( padding: const EdgeInsets.fromLTRB(28, 16, 16, 10), - child: Text('Mail', style: Theme.of(context).textTheme.titleSmall), + child: Text( + 'Mail', + style: Theme.of(context).textTheme.titleSmall, + ), ), ...destinations.map((destination) { return NavigationDrawerDestination( @@ -1937,7 +1967,10 @@ class _NavigationDrawerSectionState extends State { const Divider(indent: 28, endIndent: 28), Padding( padding: const EdgeInsets.fromLTRB(28, 16, 16, 10), - child: Text('Labels', style: Theme.of(context).textTheme.titleSmall), + child: Text( + 'Labels', + style: Theme.of(context).textTheme.titleSmall, + ), ), ...labelDestinations.map((destination) { return NavigationDrawerDestination( @@ -1960,14 +1993,26 @@ class ExampleDestination { } const List destinations = [ - ExampleDestination('Inbox', Icon(Icons.inbox_outlined), Icon(Icons.inbox)), - ExampleDestination('Outbox', Icon(Icons.send_outlined), Icon(Icons.send)), + ExampleDestination( + 'Inbox', + Icon(Icons.inbox_outlined), + Icon(Icons.inbox), + ), + ExampleDestination( + 'Outbox', + Icon(Icons.send_outlined), + Icon(Icons.send), + ), ExampleDestination( 'Favorites', Icon(Icons.favorite_outline), Icon(Icons.favorite), ), - ExampleDestination('Trash', Icon(Icons.delete_outline), Icon(Icons.delete)), + ExampleDestination( + 'Trash', + Icon(Icons.delete_outline), + Icon(Icons.delete), + ), ]; const List labelDestinations = [ @@ -1981,7 +2026,11 @@ const List labelDestinations = [ Icon(Icons.bookmark_border), Icon(Icons.bookmark), ), - ExampleDestination('Work', Icon(Icons.bookmark_border), Icon(Icons.bookmark)), + ExampleDestination( + 'Work', + Icon(Icons.bookmark_border), + Icon(Icons.bookmark), + ), ]; class NavigationRails extends StatelessWidget { @@ -2222,7 +2271,9 @@ class _MenusState extends State { label: const Text('Color'), enableFilter: true, dropdownMenuEntries: colorEntries, - inputDecorationTheme: const InputDecorationTheme(filled: true), + inputDecorationTheme: const InputDecorationTheme( + filled: true, + ), onSelected: (color) { setState(() { selectedColor = color; @@ -2446,7 +2497,9 @@ class Carousels extends StatelessWidget { child: CarouselView( shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(10), - side: BorderSide(color: Theme.of(context).colorScheme.outline), + side: BorderSide( + color: Theme.of(context).colorScheme.outline, + ), ), shrinkExtent: 100, itemExtent: 180, @@ -2466,7 +2519,9 @@ class Carousels extends StatelessWidget { itemSnapping: true, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(10), - side: BorderSide(color: Theme.of(context).colorScheme.outline), + side: BorderSide( + color: Theme.of(context).colorScheme.outline, + ), ), shrinkExtent: 100, itemExtent: 180, @@ -2541,9 +2596,13 @@ class _ComponentDecorationState extends State { elevation: 0, shape: RoundedRectangleBorder( side: BorderSide( - color: Theme.of(context).colorScheme.outlineVariant, + color: Theme.of( + context, + ).colorScheme.outlineVariant, + ), + borderRadius: const BorderRadius.all( + Radius.circular(12), ), - borderRadius: const BorderRadius.all(Radius.circular(12)), ), child: Padding( padding: const EdgeInsets.symmetric( diff --git a/material_3_demo/lib/src/elevation_screen.dart b/material_3_demo/lib/src/elevation_screen.dart index 87c4784d5a7..3ea88f8697e 100644 --- a/material_3_demo/lib/src/elevation_screen.dart +++ b/material_3_demo/lib/src/elevation_screen.dart @@ -65,7 +65,11 @@ class ElevationScreen extends StatelessWidget { const double narrowScreenWidthThreshold = 450; class ElevationGrid extends StatelessWidget { - const ElevationGrid({super.key, this.shadowColor, this.surfaceTintColor}); + const ElevationGrid({ + super.key, + this.shadowColor, + this.surfaceTintColor, + }); final Color? shadowColor; final Color? surfaceTintColor; @@ -135,7 +139,9 @@ class _ElevationCardState extends State { @override Widget build(BuildContext context) { - const BorderRadius borderRadius = BorderRadius.all(Radius.circular(4.0)); + const BorderRadius borderRadius = BorderRadius.all( + Radius.circular(4.0), + ); final Color color = Theme.of(context).colorScheme.surface; return Padding( diff --git a/material_3_demo/lib/src/expanded_image_color_action.dart b/material_3_demo/lib/src/expanded_image_color_action.dart index 7c99add66d7..4cd640e79ad 100644 --- a/material_3_demo/lib/src/expanded_image_color_action.dart +++ b/material_3_demo/lib/src/expanded_image_color_action.dart @@ -32,9 +32,9 @@ class ExpandedImageColorAction extends StatelessWidget { index: i, select: imageSelected == ColorImageProvider.values[i] && - colorSelectionMethod == ColorSelectionMethod.image - ? null - : () => handleImageSelect(i), + colorSelectionMethod == ColorSelectionMethod.image + ? null + : () => handleImageSelect(i), ), ), ), @@ -66,7 +66,9 @@ class _ImageButton extends StatelessWidget { child: ClipRRect( borderRadius: BorderRadius.circular(4.0), child: Image( - image: NetworkImage(ColorImageProvider.values[index].url), + image: NetworkImage( + ColorImageProvider.values[index].url, + ), ), ), ), diff --git a/material_3_demo/lib/src/home.dart b/material_3_demo/lib/src/home.dart index ec11e61ef25..8b2cadfe3e7 100644 --- a/material_3_demo/lib/src/home.dart +++ b/material_3_demo/lib/src/home.dart @@ -133,32 +133,30 @@ class _HomeState extends State with SingleTickerProviderStateMixin { PreferredSizeWidget _createAppBar() { return AppBar( - title: - widget.useMaterial3 - ? const Text('Material 3') - : const Text('Material 2'), - actions: - !showMediumSizeLayout && !showLargeSizeLayout - ? [ - BrightnessButton( - handleBrightnessChange: widget.handleBrightnessChange, - ), - Material3Button( - handleMaterialVersionChange: - widget.handleMaterialVersionChange, - ), - ColorSeedButton( - handleColorSelect: widget.handleColorSelect, - colorSelected: widget.colorSelected, - colorSelectionMethod: widget.colorSelectionMethod, - ), - ColorImageButton( - handleImageSelect: widget.handleImageSelect, - imageSelected: widget.imageSelected, - colorSelectionMethod: widget.colorSelectionMethod, - ), - ] - : [Container()], + title: widget.useMaterial3 + ? const Text('Material 3') + : const Text('Material 2'), + actions: !showMediumSizeLayout && !showLargeSizeLayout + ? [ + BrightnessButton( + handleBrightnessChange: widget.handleBrightnessChange, + ), + Material3Button( + handleMaterialVersionChange: + widget.handleMaterialVersionChange, + ), + ColorSeedButton( + handleColorSelect: widget.handleColorSelect, + colorSelected: widget.colorSelected, + colorSelectionMethod: widget.colorSelectionMethod, + ), + ColorImageButton( + handleImageSelect: widget.handleImageSelect, + imageSelected: widget.imageSelected, + colorSelectionMethod: widget.colorSelectionMethod, + ), + ] + : [Container()], ); } @@ -221,21 +219,20 @@ class _HomeState extends State with SingleTickerProviderStateMixin { trailing: Expanded( child: Padding( padding: const EdgeInsets.only(bottom: 20), - child: - showLargeSizeLayout - ? ExpandedTrailingActions( - useLightMode: widget.useLightMode, - handleBrightnessChange: widget.handleBrightnessChange, - useMaterial3: widget.useMaterial3, - handleMaterialVersionChange: - widget.handleMaterialVersionChange, - handleImageSelect: widget.handleImageSelect, - handleColorSelect: widget.handleColorSelect, - colorSelectionMethod: widget.colorSelectionMethod, - imageSelected: widget.imageSelected, - colorSelected: widget.colorSelected, - ) - : _trailingActions(), + child: showLargeSizeLayout + ? ExpandedTrailingActions( + useLightMode: widget.useLightMode, + handleBrightnessChange: widget.handleBrightnessChange, + useMaterial3: widget.useMaterial3, + handleMaterialVersionChange: + widget.handleMaterialVersionChange, + handleImageSelect: widget.handleImageSelect, + handleColorSelect: widget.handleColorSelect, + colorSelectionMethod: widget.colorSelectionMethod, + imageSelected: widget.imageSelected, + colorSelected: widget.colorSelected, + ) + : _trailingActions(), ), ), ), @@ -258,7 +255,10 @@ class _HomeState extends State with SingleTickerProviderStateMixin { final List _navRailDestinations = appBarDestinations .map( (destination) => NavigationRailDestination( - icon: Tooltip(message: destination.label, child: destination.icon), + icon: Tooltip( + message: destination.label, + child: destination.icon, + ), selectedIcon: Tooltip( message: destination.label, child: destination.selectedIcon, diff --git a/material_3_demo/lib/src/scheme.dart b/material_3_demo/lib/src/scheme.dart index 66f604e83ec..6458af2d512 100644 --- a/material_3_demo/lib/src/scheme.dart +++ b/material_3_demo/lib/src/scheme.dart @@ -46,10 +46,9 @@ class _SchemePreviewState extends State { color: scheme.surface, borderRadius: BorderRadius.circular(12), border: Border.all( - color: - theme.brightness == widget.brightness - ? colors.outlineVariant - : Colors.transparent, + color: theme.brightness == widget.brightness + ? colors.outlineVariant + : Colors.transparent, ), ), padding: const EdgeInsets.only(top: 16, left: 16, right: 16), diff --git a/material_3_demo/lib/src/typography_screen.dart b/material_3_demo/lib/src/typography_screen.dart index 021143d5a17..e23ef5da0dd 100644 --- a/material_3_demo/lib/src/typography_screen.dart +++ b/material_3_demo/lib/src/typography_screen.dart @@ -9,9 +9,12 @@ class TypographyScreen extends StatelessWidget { @override Widget build(BuildContext context) { - final textTheme = Theme.of( - context, - ).textTheme.apply(displayColor: Theme.of(context).colorScheme.onSurface); + final textTheme = + Theme.of( + context, + ).textTheme.apply( + displayColor: Theme.of(context).colorScheme.onSurface, + ); return Expanded( child: ListView( children: [ @@ -40,15 +43,42 @@ class TypographyScreen extends StatelessWidget { name: 'Headline Small', style: textTheme.headlineSmall!, ), - TextStyleExample(name: 'Title Large', style: textTheme.titleLarge!), - TextStyleExample(name: 'Title Medium', style: textTheme.titleMedium!), - TextStyleExample(name: 'Title Small', style: textTheme.titleSmall!), - TextStyleExample(name: 'Label Large', style: textTheme.labelLarge!), - TextStyleExample(name: 'Label Medium', style: textTheme.labelMedium!), - TextStyleExample(name: 'Label Small', style: textTheme.labelSmall!), - TextStyleExample(name: 'Body Large', style: textTheme.bodyLarge!), - TextStyleExample(name: 'Body Medium', style: textTheme.bodyMedium!), - TextStyleExample(name: 'Body Small', style: textTheme.bodySmall!), + TextStyleExample( + name: 'Title Large', + style: textTheme.titleLarge!, + ), + TextStyleExample( + name: 'Title Medium', + style: textTheme.titleMedium!, + ), + TextStyleExample( + name: 'Title Small', + style: textTheme.titleSmall!, + ), + TextStyleExample( + name: 'Label Large', + style: textTheme.labelLarge!, + ), + TextStyleExample( + name: 'Label Medium', + style: textTheme.labelMedium!, + ), + TextStyleExample( + name: 'Label Small', + style: textTheme.labelSmall!, + ), + TextStyleExample( + name: 'Body Large', + style: textTheme.bodyLarge!, + ), + TextStyleExample( + name: 'Body Medium', + style: textTheme.bodyMedium!, + ), + TextStyleExample( + name: 'Body Small', + style: textTheme.bodySmall!, + ), ], ), ); @@ -56,7 +86,11 @@ class TypographyScreen extends StatelessWidget { } class TextStyleExample extends StatelessWidget { - const TextStyleExample({super.key, required this.name, required this.style}); + const TextStyleExample({ + super.key, + required this.name, + required this.style, + }); final String name; final TextStyle style; diff --git a/material_3_demo/pubspec.yaml b/material_3_demo/pubspec.yaml index c42109ea3f6..06e39a58411 100644 --- a/material_3_demo/pubspec.yaml +++ b/material_3_demo/pubspec.yaml @@ -2,18 +2,16 @@ name: material_3_demo description: A Flutter project showcasing supported Material 3 components, typography, color system and elevation. Supports different light/dark mode, color seed, and comparison to Material 2. - publish_to: "none" - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - cupertino_icons: ^1.0.2 url_launcher: ^6.1.8 @@ -24,6 +22,5 @@ dev_dependencies: sdk: flutter integration_test: sdk: flutter - flutter: uses-material-design: true diff --git a/material_3_demo/test/color_screen_test.dart b/material_3_demo/test/color_screen_test.dart index 0f525961eec..5fd534e45ff 100644 --- a/material_3_demo/test/color_screen_test.dart +++ b/material_3_demo/test/color_screen_test.dart @@ -90,7 +90,10 @@ void main() { ); expect(find.text('Light ColorScheme'), findsOneWidget); expect(find.text('Dark ColorScheme'), findsOneWidget); - expect(find.byType(SchemePreview, skipOffstage: false), findsNWidgets(2)); + expect( + find.byType(SchemePreview, skipOffstage: false), + findsNWidgets(2), + ); }); testWidgets( @@ -107,7 +110,9 @@ void main() { const testLabel = 'Test Label'; const testTone = '50'; - final gesture = await tester.createGesture(kind: PointerDeviceKind.mouse); + final gesture = await tester.createGesture( + kind: PointerDeviceKind.mouse, + ); // Wrap in MaterialApp + Scaffold so we can show SnackBars await tester.pumpWidget( diff --git a/material_3_demo/test/component_screen_test.dart b/material_3_demo/test/component_screen_test.dart index 5bd1615d896..7f088a7a7a1 100644 --- a/material_3_demo/test/component_screen_test.dart +++ b/material_3_demo/test/component_screen_test.dart @@ -20,14 +20,26 @@ void main() { findsOneWidget, ); expect(find.widgetWithIcon(AppBar, Icons.filter_2), findsOneWidget); - expect(find.widgetWithIcon(AppBar, Icons.palette_outlined), findsOneWidget); + expect( + find.widgetWithIcon(AppBar, Icons.palette_outlined), + findsOneWidget, + ); // Elements on the component screen // Common buttons - expect(find.widgetWithText(ElevatedButton, 'Elevated'), findsNWidgets(2)); + expect( + find.widgetWithText(ElevatedButton, 'Elevated'), + findsNWidgets(2), + ); expect(find.widgetWithText(FilledButton, 'Filled'), findsNWidgets(2)); - expect(find.widgetWithText(FilledButton, 'Filled tonal'), findsNWidgets(2)); - expect(find.widgetWithText(OutlinedButton, 'Outlined'), findsNWidgets(2)); + expect( + find.widgetWithText(FilledButton, 'Filled tonal'), + findsNWidgets(2), + ); + expect( + find.widgetWithText(OutlinedButton, 'Outlined'), + findsNWidgets(2), + ); expect(find.widgetWithText(TextButton, 'Text'), findsNWidgets(2)); expect(find.widgetWithText(Buttons, 'Icon'), findsNWidgets(5)); @@ -36,7 +48,10 @@ void main() { find.byType(FloatingActionButton), findsNWidgets(6), ); // 2 more show up in the bottom app bar. 1 more in the navigation rail - expect(find.widgetWithText(FloatingActionButton, 'Create'), findsOneWidget); + expect( + find.widgetWithText(FloatingActionButton, 'Create'), + findsOneWidget, + ); // Icon buttons expect( @@ -52,13 +67,18 @@ void main() { expect(find.byType(Badge), findsNWidgets(4)); // Progress indicators - Finder circularProgressIndicator = find.byType(CircularProgressIndicator); + Finder circularProgressIndicator = find.byType( + CircularProgressIndicator, + ); expect(circularProgressIndicator, findsOneWidget); Finder linearProgressIndicator = find.byType(LinearProgressIndicator); expect(linearProgressIndicator, findsOneWidget); // Snackbar - expect(find.widgetWithText(TextButton, 'Show snackbar'), findsOneWidget); + expect( + find.widgetWithText(TextButton, 'Show snackbar'), + findsOneWidget, + ); // Bottom sheet expect( @@ -128,8 +148,14 @@ void main() { expect(find.byType(InputChip), findsNWidgets(2)); // Date and time pickers - expect(find.widgetWithText(DatePicker, 'Show date picker'), findsOneWidget); - expect(find.widgetWithText(TimePicker, 'Show time picker'), findsOneWidget); + expect( + find.widgetWithText(DatePicker, 'Show date picker'), + findsOneWidget, + ); + expect( + find.widgetWithText(TimePicker, 'Show time picker'), + findsOneWidget, + ); // Menus expect(find.byType(MenuAnchor), findsNWidgets(5)); @@ -152,175 +178,221 @@ void main() { expect(find.widgetWithText(TextField, 'Outlined'), findsNWidgets(2)); }); - testWidgets('NavigationRail doesn\'t show when width value is small than 1000 ' - '(in Portrait mode or narrow screen)', (tester) async { - widgetSetup(tester, 999, windowHeight: 7000); - await tester.pumpWidget(const App()); - await tester.pumpAndSettle(); - - // When screen width is less than 1000, NavigationBar will show. At the same - // time, the NavigationBar example still show up in the navigation group. - expect( - find.byType(NavigationBars), - findsNWidgets(3), - ); // The real navBar, badges example and navBar example - expect(find.widgetWithText(NavigationBar, 'Components'), findsOneWidget); - expect(find.widgetWithText(NavigationBar, 'Color'), findsOneWidget); - expect(find.widgetWithText(NavigationBar, 'Typography'), findsOneWidget); - expect(find.widgetWithText(NavigationBar, 'Elevation'), findsOneWidget); - - expect(find.widgetWithText(NavigationBar, 'Explore'), findsOneWidget); - expect(find.widgetWithText(NavigationBar, 'Pets'), findsOneWidget); - expect(find.widgetWithText(NavigationBar, 'Account'), findsOneWidget); - }); - - testWidgets('NavigationRail shows when width value is greater than or equal ' - 'to 1000 (in Landscape mode or wider screen)', (tester) async { - widgetSetup(tester, 1001, windowHeight: 3000); - await tester.pumpWidget(const App()); - await tester.pumpAndSettle(); - - // When screen width is greater than or equal to 1000, NavigationRail will show. - // At the same time, the NavigationBar will NOT show. - expect(find.byType(NavigationRail), findsNWidgets(2)); - expect(find.byType(Tooltip, skipOffstage: false), findsWidgets); - expect(find.widgetWithText(NavigationRail, 'Components'), findsOneWidget); - expect(find.widgetWithText(NavigationRail, 'Color'), findsOneWidget); - expect(find.widgetWithText(NavigationRail, 'Typography'), findsOneWidget); - expect(find.widgetWithText(NavigationRail, 'Elevation'), findsOneWidget); - - expect(find.widgetWithText(NavigationBar, 'Explore'), findsOneWidget); - expect(find.widgetWithText(NavigationBar, 'Pets'), findsOneWidget); - expect(find.widgetWithText(NavigationBar, 'Account'), findsOneWidget); - - // the Navigation bar should be out of screen. - final RenderBox box = tester.renderObject( - find.widgetWithText(NavigationBar, 'Components'), - ); - expect(box.localToGlobal(Offset.zero), const Offset(0.0, 3080.0)); - }); - - testWidgets('Material version switches between Material3 and Material2 when ' - 'the version icon is clicked', (tester) async { - widgetSetup(tester, 450, windowHeight: 7000); - await tester.pumpWidget(const App()); - BuildContext defaultElevatedButton = tester.firstElement( - find.byType(ElevatedButton), - ); - BuildContext defaultIconButton = tester.firstElement( - find.byType(IconButton), - ); - BuildContext defaultFAB = tester.firstElement( - find.byType(FloatingActionButton), - ); - BuildContext defaultCard = tester.firstElement( - find.widgetWithText(Card, 'Elevated'), - ); - BuildContext defaultChip = tester.firstElement( - find.widgetWithText(ActionChip, 'Assist'), - ); - Finder dialog = find.text('Show dialog'); - await tester.tap(dialog); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - BuildContext defaultAlertDialog = tester.element(find.byType(AlertDialog)); - expect(Theme.of(defaultAlertDialog).useMaterial3, true); - Finder dismiss = find.text('Okay'); - await tester.tap(dismiss); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - - expect(find.widgetWithIcon(AppBar, Icons.filter_2), findsOneWidget); - expect(find.widgetWithIcon(AppBar, Icons.filter_3), findsNothing); - expect(find.text('Material 3'), findsOneWidget); - expect(Theme.of(defaultElevatedButton).useMaterial3, true); - expect(Theme.of(defaultIconButton).useMaterial3, true); - expect(Theme.of(defaultFAB).useMaterial3, true); - expect(Theme.of(defaultCard).useMaterial3, true); - expect(Theme.of(defaultChip).useMaterial3, true); - - Finder appbarM3Icon = find.descendant( - of: find.byType(AppBar), - matching: find.widgetWithIcon(IconButton, Icons.filter_2), - ); - await tester.tap(appbarM3Icon); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - BuildContext updatedElevatedButton = tester.firstElement( - find.byType(ElevatedButton), - ); - BuildContext updatedIconButton = tester.firstElement( - find.byType(IconButton), - ); - BuildContext updatedFAB = tester.firstElement( - find.byType(FloatingActionButton), - ); - BuildContext updatedCard = tester.firstElement(find.byType(Card)); - BuildContext updatedChip = tester.firstElement( - find.widgetWithText(ActionChip, 'Assist'), - ); - Finder updatedDialog = find.text('Show dialog'); - await tester.tap(updatedDialog); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - BuildContext updatedAlertDialog = tester.firstElement( - find.byType(AlertDialog), - ); - expect(Theme.of(updatedAlertDialog).useMaterial3, false); - Finder updatedDismiss = find.text('Dismiss'); - await tester.tap(updatedDismiss); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - - expect(find.widgetWithIcon(AppBar, Icons.filter_3), findsOneWidget); - expect(find.widgetWithIcon(AppBar, Icons.filter_2), findsNothing); - expect(find.text('Material 2'), findsOneWidget); - expect(Theme.of(updatedElevatedButton).useMaterial3, false); - expect(Theme.of(updatedIconButton).useMaterial3, false); - expect(Theme.of(updatedFAB).useMaterial3, false); - expect(Theme.of(updatedCard).useMaterial3, false); - expect(Theme.of(updatedChip).useMaterial3, false); - }); - - testWidgets('Other screens become Material2 mode after changing mode from ' - 'main screen', (tester) async { - await tester.pumpWidget(const App()); - Finder appbarM2Icon = find.descendant( - of: find.byType(AppBar), - matching: find.widgetWithIcon(IconButton, Icons.filter_2), - ); - await tester.tap(appbarM2Icon); - Finder secondScreenIcon = find.descendant( - of: find.byType(NavigationBar), - matching: find.widgetWithIcon( - NavigationDestination, - Icons.format_paint_outlined, - ), - ); - await tester.tap(secondScreenIcon); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - BuildContext lightThemeText = tester.element( - find.text('Light ColorScheme'), - ); - expect(Theme.of(lightThemeText).useMaterial3, false); - Finder thirdScreenIcon = find.descendant( - of: find.byType(NavigationBar), - matching: find.widgetWithIcon( - NavigationDestination, - Icons.text_snippet_outlined, - ), - ); - await tester.tap(thirdScreenIcon); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - BuildContext displayLargeText = tester.element(find.text('Display Large')); - expect(Theme.of(displayLargeText).useMaterial3, false); - Finder fourthScreenIcon = find.descendant( - of: find.byType(NavigationBar), - matching: find.widgetWithIcon( - NavigationDestination, - Icons.invert_colors_on_outlined, - ), - ); - await tester.tap(fourthScreenIcon); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - BuildContext material = tester.firstElement(find.byType(Material)); - expect(Theme.of(material).useMaterial3, false); - }); + testWidgets( + 'NavigationRail doesn\'t show when width value is small than 1000 ' + '(in Portrait mode or narrow screen)', + (tester) async { + widgetSetup(tester, 999, windowHeight: 7000); + await tester.pumpWidget(const App()); + await tester.pumpAndSettle(); + + // When screen width is less than 1000, NavigationBar will show. At the same + // time, the NavigationBar example still show up in the navigation group. + expect( + find.byType(NavigationBars), + findsNWidgets(3), + ); // The real navBar, badges example and navBar example + expect( + find.widgetWithText(NavigationBar, 'Components'), + findsOneWidget, + ); + expect(find.widgetWithText(NavigationBar, 'Color'), findsOneWidget); + expect( + find.widgetWithText(NavigationBar, 'Typography'), + findsOneWidget, + ); + expect( + find.widgetWithText(NavigationBar, 'Elevation'), + findsOneWidget, + ); + + expect( + find.widgetWithText(NavigationBar, 'Explore'), + findsOneWidget, + ); + expect(find.widgetWithText(NavigationBar, 'Pets'), findsOneWidget); + expect( + find.widgetWithText(NavigationBar, 'Account'), + findsOneWidget, + ); + }, + ); + + testWidgets( + 'NavigationRail shows when width value is greater than or equal ' + 'to 1000 (in Landscape mode or wider screen)', + (tester) async { + widgetSetup(tester, 1001, windowHeight: 3000); + await tester.pumpWidget(const App()); + await tester.pumpAndSettle(); + + // When screen width is greater than or equal to 1000, NavigationRail will show. + // At the same time, the NavigationBar will NOT show. + expect(find.byType(NavigationRail), findsNWidgets(2)); + expect(find.byType(Tooltip, skipOffstage: false), findsWidgets); + expect( + find.widgetWithText(NavigationRail, 'Components'), + findsOneWidget, + ); + expect(find.widgetWithText(NavigationRail, 'Color'), findsOneWidget); + expect( + find.widgetWithText(NavigationRail, 'Typography'), + findsOneWidget, + ); + expect( + find.widgetWithText(NavigationRail, 'Elevation'), + findsOneWidget, + ); + + expect( + find.widgetWithText(NavigationBar, 'Explore'), + findsOneWidget, + ); + expect(find.widgetWithText(NavigationBar, 'Pets'), findsOneWidget); + expect( + find.widgetWithText(NavigationBar, 'Account'), + findsOneWidget, + ); + + // the Navigation bar should be out of screen. + final RenderBox box = tester.renderObject( + find.widgetWithText(NavigationBar, 'Components'), + ); + expect(box.localToGlobal(Offset.zero), const Offset(0.0, 3080.0)); + }, + ); + + testWidgets( + 'Material version switches between Material3 and Material2 when ' + 'the version icon is clicked', + (tester) async { + widgetSetup(tester, 450, windowHeight: 7000); + await tester.pumpWidget(const App()); + BuildContext defaultElevatedButton = tester.firstElement( + find.byType(ElevatedButton), + ); + BuildContext defaultIconButton = tester.firstElement( + find.byType(IconButton), + ); + BuildContext defaultFAB = tester.firstElement( + find.byType(FloatingActionButton), + ); + BuildContext defaultCard = tester.firstElement( + find.widgetWithText(Card, 'Elevated'), + ); + BuildContext defaultChip = tester.firstElement( + find.widgetWithText(ActionChip, 'Assist'), + ); + Finder dialog = find.text('Show dialog'); + await tester.tap(dialog); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + BuildContext defaultAlertDialog = tester.element( + find.byType(AlertDialog), + ); + expect(Theme.of(defaultAlertDialog).useMaterial3, true); + Finder dismiss = find.text('Okay'); + await tester.tap(dismiss); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + + expect(find.widgetWithIcon(AppBar, Icons.filter_2), findsOneWidget); + expect(find.widgetWithIcon(AppBar, Icons.filter_3), findsNothing); + expect(find.text('Material 3'), findsOneWidget); + expect(Theme.of(defaultElevatedButton).useMaterial3, true); + expect(Theme.of(defaultIconButton).useMaterial3, true); + expect(Theme.of(defaultFAB).useMaterial3, true); + expect(Theme.of(defaultCard).useMaterial3, true); + expect(Theme.of(defaultChip).useMaterial3, true); + + Finder appbarM3Icon = find.descendant( + of: find.byType(AppBar), + matching: find.widgetWithIcon(IconButton, Icons.filter_2), + ); + await tester.tap(appbarM3Icon); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + BuildContext updatedElevatedButton = tester.firstElement( + find.byType(ElevatedButton), + ); + BuildContext updatedIconButton = tester.firstElement( + find.byType(IconButton), + ); + BuildContext updatedFAB = tester.firstElement( + find.byType(FloatingActionButton), + ); + BuildContext updatedCard = tester.firstElement(find.byType(Card)); + BuildContext updatedChip = tester.firstElement( + find.widgetWithText(ActionChip, 'Assist'), + ); + Finder updatedDialog = find.text('Show dialog'); + await tester.tap(updatedDialog); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + BuildContext updatedAlertDialog = tester.firstElement( + find.byType(AlertDialog), + ); + expect(Theme.of(updatedAlertDialog).useMaterial3, false); + Finder updatedDismiss = find.text('Dismiss'); + await tester.tap(updatedDismiss); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + + expect(find.widgetWithIcon(AppBar, Icons.filter_3), findsOneWidget); + expect(find.widgetWithIcon(AppBar, Icons.filter_2), findsNothing); + expect(find.text('Material 2'), findsOneWidget); + expect(Theme.of(updatedElevatedButton).useMaterial3, false); + expect(Theme.of(updatedIconButton).useMaterial3, false); + expect(Theme.of(updatedFAB).useMaterial3, false); + expect(Theme.of(updatedCard).useMaterial3, false); + expect(Theme.of(updatedChip).useMaterial3, false); + }, + ); + + testWidgets( + 'Other screens become Material2 mode after changing mode from ' + 'main screen', + (tester) async { + await tester.pumpWidget(const App()); + Finder appbarM2Icon = find.descendant( + of: find.byType(AppBar), + matching: find.widgetWithIcon(IconButton, Icons.filter_2), + ); + await tester.tap(appbarM2Icon); + Finder secondScreenIcon = find.descendant( + of: find.byType(NavigationBar), + matching: find.widgetWithIcon( + NavigationDestination, + Icons.format_paint_outlined, + ), + ); + await tester.tap(secondScreenIcon); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + BuildContext lightThemeText = tester.element( + find.text('Light ColorScheme'), + ); + expect(Theme.of(lightThemeText).useMaterial3, false); + Finder thirdScreenIcon = find.descendant( + of: find.byType(NavigationBar), + matching: find.widgetWithIcon( + NavigationDestination, + Icons.text_snippet_outlined, + ), + ); + await tester.tap(thirdScreenIcon); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + BuildContext displayLargeText = tester.element( + find.text('Display Large'), + ); + expect(Theme.of(displayLargeText).useMaterial3, false); + Finder fourthScreenIcon = find.descendant( + of: find.byType(NavigationBar), + matching: find.widgetWithIcon( + NavigationDestination, + Icons.invert_colors_on_outlined, + ), + ); + await tester.tap(fourthScreenIcon); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + BuildContext material = tester.firstElement(find.byType(Material)); + expect(Theme.of(material).useMaterial3, false); + }, + ); testWidgets('Brightness mode switches between dark and light when' 'the brightness icon is clicked', (tester) async { diff --git a/material_3_demo/test/elevation_screen_test.dart b/material_3_demo/test/elevation_screen_test.dart index 24e20978502..a9f3d12b173 100644 --- a/material_3_demo/test/elevation_screen_test.dart +++ b/material_3_demo/test/elevation_screen_test.dart @@ -34,7 +34,10 @@ void main() { expect(tintIconOnBar, findsNothing); Finder selectedTintIconOnBar = find.descendant( of: find.byType(NavigationBar), - matching: find.widgetWithIcon(NavigationDestination, Icons.opacity), + matching: find.widgetWithIcon( + NavigationDestination, + Icons.opacity, + ), ); expect(selectedTintIconOnBar, findsOneWidget); expect(find.text('Surface Tint Color Only'), findsOneWidget); @@ -69,14 +72,19 @@ void main() { }, ); - testWidgets('Surface Tones screen shows correct content', (tester) async { + testWidgets('Surface Tones screen shows correct content', ( + tester, + ) async { await tester.pumpWidget( const MaterialApp( home: Scaffold(body: Row(children: [ElevationScreen()])), ), ); expect(find.text('Surface Tint Color Only'), findsOneWidget); - expect(find.text('Surface Tint Color and Shadow Color'), findsOneWidget); + expect( + find.text('Surface Tint Color and Shadow Color'), + findsOneWidget, + ); expect(find.text('Shadow Color Only'), findsOneWidget); expect(find.byType(ElevationGrid), findsNWidgets(3)); expect(find.byType(ElevationCard), findsNWidgets(18)); diff --git a/navigation_and_routing/lib/main.dart b/navigation_and_routing/lib/main.dart index 19469b4836f..19993439fd8 100644 --- a/navigation_and_routing/lib/main.dart +++ b/navigation_and_routing/lib/main.dart @@ -19,7 +19,8 @@ const double windowWidth = 480; const double windowHeight = 854; void setupWindow() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { + if (!kIsWeb && + (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { WidgetsFlutterBinding.ensureInitialized(); setWindowTitle('Navigation and routing'); setWindowMinSize(const Size(windowWidth, windowHeight)); diff --git a/navigation_and_routing/lib/src/app.dart b/navigation_and_routing/lib/src/app.dart index 7ccdbb9629c..562ef89d20a 100644 --- a/navigation_and_routing/lib/src/app.dart +++ b/navigation_and_routing/lib/src/app.dart @@ -17,8 +17,12 @@ import 'screens/sign_in.dart'; import 'widgets/book_list.dart'; import 'widgets/fade_transition_page.dart'; -final appShellNavigatorKey = GlobalKey(debugLabel: 'app shell'); -final booksNavigatorKey = GlobalKey(debugLabel: 'books shell'); +final appShellNavigatorKey = GlobalKey( + debugLabel: 'app shell', +); +final booksNavigatorKey = GlobalKey( + debugLabel: 'books shell', +); class Bookstore extends StatefulWidget { const Bookstore({super.key}); diff --git a/navigation_and_routing/lib/src/auth.dart b/navigation_and_routing/lib/src/auth.dart index 4abe973f1be..9804207f48e 100644 --- a/navigation_and_routing/lib/src/auth.dart +++ b/navigation_and_routing/lib/src/auth.dart @@ -33,10 +33,9 @@ class BookstoreAuth extends ChangeNotifier { @override int get hashCode => _signedIn.hashCode; - static BookstoreAuth of(BuildContext context) => - context - .dependOnInheritedWidgetOfExactType()! - .notifier!; + static BookstoreAuth of(BuildContext context) => context + .dependOnInheritedWidgetOfExactType()! + .notifier!; } class BookstoreAuthScope extends InheritedNotifier { diff --git a/navigation_and_routing/lib/src/data/library.dart b/navigation_and_routing/lib/src/data/library.dart index 8daf24dc391..0afdb59f1bb 100644 --- a/navigation_and_routing/lib/src/data/library.dart +++ b/navigation_and_routing/lib/src/data/library.dart @@ -5,32 +5,31 @@ import 'author.dart'; import 'book.dart'; -final libraryInstance = - Library() - ..addBook( - title: 'Left Hand of Darkness', - authorName: 'Ursula K. Le Guin', - isPopular: true, - isNew: true, - ) - ..addBook( - title: 'Too Like the Lightning', - authorName: 'Ada Palmer', - isPopular: false, - isNew: true, - ) - ..addBook( - title: 'Kindred', - authorName: 'Octavia E. Butler', - isPopular: true, - isNew: false, - ) - ..addBook( - title: 'The Lathe of Heaven', - authorName: 'Ursula K. Le Guin', - isPopular: false, - isNew: false, - ); +final libraryInstance = Library() + ..addBook( + title: 'Left Hand of Darkness', + authorName: 'Ursula K. Le Guin', + isPopular: true, + isNew: true, + ) + ..addBook( + title: 'Too Like the Lightning', + authorName: 'Ada Palmer', + isPopular: false, + isNew: true, + ) + ..addBook( + title: 'Kindred', + authorName: 'Octavia E. Butler', + isPopular: true, + isNew: false, + ) + ..addBook( + title: 'The Lathe of Heaven', + authorName: 'Ursula K. Le Guin', + isPopular: false, + isNew: false, + ); class Library { final List allBooks = []; @@ -60,7 +59,9 @@ class Library { return allBooks[int.parse(id)]; } - List get popularBooks => [...allBooks.where((book) => book.isPopular)]; + List get popularBooks => [ + ...allBooks.where((book) => book.isPopular), + ]; List get newBooks => [...allBooks.where((book) => book.isNew)]; } diff --git a/navigation_and_routing/lib/src/screens/authors.dart b/navigation_and_routing/lib/src/screens/authors.dart index 7c1408f8bb7..3aeb4b5a182 100644 --- a/navigation_and_routing/lib/src/screens/authors.dart +++ b/navigation_and_routing/lib/src/screens/authors.dart @@ -12,7 +12,11 @@ class AuthorsScreen extends StatelessWidget { final String title; final ValueChanged onTap; - const AuthorsScreen({required this.onTap, this.title = 'Authors', super.key}); + const AuthorsScreen({ + required this.onTap, + this.title = 'Authors', + super.key, + }); @override Widget build(BuildContext context) => Scaffold( diff --git a/navigation_and_routing/lib/src/screens/book_details.dart b/navigation_and_routing/lib/src/screens/book_details.dart index 481e4826db6..4de20179468 100644 --- a/navigation_and_routing/lib/src/screens/book_details.dart +++ b/navigation_and_routing/lib/src/screens/book_details.dart @@ -37,26 +37,24 @@ class BookDetailsScreen extends StatelessWidget { onPressed: () { Navigator.of(context).push( MaterialPageRoute( - builder: - (context) => AuthorDetailsScreen( - author: book!.author, - onBookTapped: (book) { - GoRouter.of( - context, - ).go('/books/all/book/${book.id}'); - }, - ), + builder: (context) => AuthorDetailsScreen( + author: book!.author, + onBookTapped: (book) { + GoRouter.of( + context, + ).go('/books/all/book/${book.id}'); + }, + ), ), ); }, ), Link( uri: Uri.parse('/authors/author/${book!.author.id}'), - builder: - (context, followLink) => TextButton( - onPressed: followLink, - child: const Text('View author (Link)'), - ), + builder: (context, followLink) => TextButton( + onPressed: followLink, + child: const Text('View author (Link)'), + ), ), ], ), diff --git a/navigation_and_routing/lib/src/screens/books.dart b/navigation_and_routing/lib/src/screens/books.dart index 1557da5ba2d..cc2241b9915 100644 --- a/navigation_and_routing/lib/src/screens/books.dart +++ b/navigation_and_routing/lib/src/screens/books.dart @@ -31,6 +31,14 @@ class _BooksScreenState extends State ..addListener(_handleTabIndexChanged); } + @override + void didUpdateWidget(covariant BooksScreen oldWidget) { + super.didUpdateWidget(oldWidget); + if (oldWidget.selectedIndex != widget.selectedIndex) { + _tabController.index = widget.selectedIndex; + } + } + @override void dispose() { _tabController.removeListener(_handleTabIndexChanged); @@ -39,7 +47,6 @@ class _BooksScreenState extends State @override Widget build(BuildContext context) { - _tabController.index = widget.selectedIndex; return Scaffold( appBar: AppBar( title: const Text('Books'), diff --git a/navigation_and_routing/lib/src/screens/scaffold.dart b/navigation_and_routing/lib/src/screens/scaffold.dart index 0ac9e1490b1..2d729736085 100644 --- a/navigation_and_routing/lib/src/screens/scaffold.dart +++ b/navigation_and_routing/lib/src/screens/scaffold.dart @@ -31,8 +31,14 @@ class BookstoreScaffold extends StatelessWidget { }, destinations: const [ AdaptiveScaffoldDestination(title: 'Books', icon: Icons.book), - AdaptiveScaffoldDestination(title: 'Authors', icon: Icons.person), - AdaptiveScaffoldDestination(title: 'Settings', icon: Icons.settings), + AdaptiveScaffoldDestination( + title: 'Authors', + icon: Icons.person, + ), + AdaptiveScaffoldDestination( + title: 'Settings', + icon: Icons.settings, + ), ], ), ); diff --git a/navigation_and_routing/lib/src/screens/settings.dart b/navigation_and_routing/lib/src/screens/settings.dart index 54015b7a303..b915e6aefa0 100644 --- a/navigation_and_routing/lib/src/screens/settings.dart +++ b/navigation_and_routing/lib/src/screens/settings.dart @@ -26,7 +26,10 @@ class _SettingsScreenState extends State { constraints: const BoxConstraints(maxWidth: 400), child: const Card( child: Padding( - padding: EdgeInsets.symmetric(vertical: 18, horizontal: 12), + padding: EdgeInsets.symmetric( + vertical: 18, + horizontal: 12, + ), child: SettingsContent(), ), ), @@ -44,7 +47,10 @@ class SettingsContent extends StatelessWidget { Widget build(BuildContext context) => Column( children: [ ...[ - Text('Settings', style: Theme.of(context).textTheme.headlineMedium), + Text( + 'Settings', + style: Theme.of(context).textTheme.headlineMedium, + ), FilledButton( onPressed: () { BookstoreAuth.of(context).signOut(); @@ -54,11 +60,10 @@ class SettingsContent extends StatelessWidget { const Text('Example using the Link widget:'), Link( uri: Uri.parse('/books/all/book/0'), - builder: - (context, followLink) => TextButton( - onPressed: followLink, - child: const Text('/books/all/book/0'), - ), + builder: (context, followLink) => TextButton( + onPressed: followLink, + child: const Text('/books/all/book/0'), + ), ), const Text('Example using GoRouter.of(context).go():'), TextButton( @@ -70,25 +75,23 @@ class SettingsContent extends StatelessWidget { ].map((w) => Padding(padding: const EdgeInsets.all(8), child: w)), const Text('Displays a dialog on the root Navigator:'), TextButton( - onPressed: - () => showDialog( - context: context, - builder: - (context) => AlertDialog( - title: const Text('Alert!'), - content: const Text('The alert description goes here.'), - actions: [ - TextButton( - onPressed: () => Navigator.pop(context, 'Cancel'), - child: const Text('Cancel'), - ), - TextButton( - onPressed: () => Navigator.pop(context, 'OK'), - child: const Text('OK'), - ), - ], - ), - ), + onPressed: () => showDialog( + context: context, + builder: (context) => AlertDialog( + title: const Text('Alert!'), + content: const Text('The alert description goes here.'), + actions: [ + TextButton( + onPressed: () => Navigator.pop(context, 'Cancel'), + child: const Text('Cancel'), + ), + TextButton( + onPressed: () => Navigator.pop(context, 'OK'), + child: const Text('OK'), + ), + ], + ), + ), child: const Text('Show Dialog'), ), ], diff --git a/navigation_and_routing/lib/src/widgets/author_list.dart b/navigation_and_routing/lib/src/widgets/author_list.dart index 4453509268c..e9c3a99a1c7 100644 --- a/navigation_and_routing/lib/src/widgets/author_list.dart +++ b/navigation_and_routing/lib/src/widgets/author_list.dart @@ -15,11 +15,10 @@ class AuthorList extends StatelessWidget { @override Widget build(BuildContext context) => ListView.builder( itemCount: authors.length, - itemBuilder: - (context, index) => ListTile( - title: Text(authors[index].name), - subtitle: Text('${authors[index].books.length} books'), - onTap: onTap != null ? () => onTap!(authors[index]) : null, - ), + itemBuilder: (context, index) => ListTile( + title: Text(authors[index].name), + subtitle: Text('${authors[index].books.length} books'), + onTap: onTap != null ? () => onTap!(authors[index]) : null, + ), ); } diff --git a/navigation_and_routing/lib/src/widgets/book_list.dart b/navigation_and_routing/lib/src/widgets/book_list.dart index 630f1e43b5d..9c5da89e7ac 100644 --- a/navigation_and_routing/lib/src/widgets/book_list.dart +++ b/navigation_and_routing/lib/src/widgets/book_list.dart @@ -15,11 +15,10 @@ class BookList extends StatelessWidget { @override Widget build(BuildContext context) => ListView.builder( itemCount: books.length, - itemBuilder: - (context, index) => ListTile( - title: Text(books[index].title), - subtitle: Text(books[index].author.name), - onTap: onTap != null ? () => onTap!(books[index]) : null, - ), + itemBuilder: (context, index) => ListTile( + title: Text(books[index].title), + subtitle: Text(books[index].author.name), + onTap: onTap != null ? () => onTap!(books[index]) : null, + ), ); } diff --git a/navigation_and_routing/pubspec.yaml b/navigation_and_routing/pubspec.yaml index 73a4a194f71..19617657d31 100644 --- a/navigation_and_routing/pubspec.yaml +++ b/navigation_and_routing/pubspec.yaml @@ -2,16 +2,17 @@ name: bookstore description: Navigation and routing sample app publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: adaptive_navigation: ^0.0.3 cupertino_icons: ^1.0.2 flutter: sdk: flutter - go_router: ^15.0.0 + go_router: ^16.0.0 url_launcher: ^6.1.1 window_size: git: diff --git a/pedometer/example/lib/main.dart b/pedometer/example/lib/main.dart index ac402fc2737..00ea267eee8 100644 --- a/pedometer/example/lib/main.dart +++ b/pedometer/example/lib/main.dart @@ -65,20 +65,19 @@ class _HomeState extends State { Widget build(BuildContext context) { final textTheme = Theme.of(context).textTheme; - final barGroups = - hourlySteps - .map( - (e) => BarChartGroupData( - x: int.parse(e.startHour), - barRods: [ - BarChartRodData( - color: Colors.blue[900], - toY: e.steps.toDouble() / 100, - ), - ], + final barGroups = hourlySteps + .map( + (e) => BarChartGroupData( + x: int.parse(e.startHour), + barRods: [ + BarChartRodData( + color: Colors.blue[900], + toY: e.steps.toDouble() / 100, ), - ) - .toList(); + ], + ), + ) + .toList(); return Scaffold( body: Stack( @@ -99,14 +98,14 @@ class _HomeState extends State { children: [ lastUpdated != null ? Padding( - padding: const EdgeInsets.symmetric(vertical: 50.0), - child: Text( - DateFormat.yMMMMd('en_US').format(lastUpdated!), - style: textTheme.titleLarge!.copyWith( - color: Colors.blue[900], + padding: const EdgeInsets.symmetric(vertical: 50.0), + child: Text( + DateFormat.yMMMMd('en_US').format(lastUpdated!), + style: textTheme.titleLarge!.copyWith( + color: Colors.blue[900], + ), ), - ), - ) + ) : const SizedBox(height: 0), Text( hourlySteps.fold(0, (t, e) => t + e.steps).toString(), diff --git a/pedometer/example/lib/steps_repo.dart b/pedometer/example/lib/steps_repo.dart index d44e5f1ae75..bd8db966a36 100644 --- a/pedometer/example/lib/steps_repo.dart +++ b/pedometer/example/lib/steps_repo.dart @@ -45,10 +45,11 @@ class _IOSStepsRepo implements StepsRepo { final dylib = ffi.DynamicLibrary.open("pedometer.framework/pedometer"); // Initialize the Dart API - final initializeApi = dylib.lookupFunction< - ffi.IntPtr Function(ffi.Pointer), - int Function(ffi.Pointer) - >('Dart_InitializeApiDL'); + final initializeApi = dylib + .lookupFunction< + ffi.IntPtr Function(ffi.Pointer), + int Function(ffi.Pointer) + >('Dart_InitializeApiDL'); final initializeResult = initializeApi(ffi.NativeApi.initializeApiDLData); if (initializeResult != 0) { @@ -106,8 +107,9 @@ class _IOSStepsRepo implements StepsRepo { ) { if (result != null) { final stepCount = result.numberOfSteps.intValue; - final startHour = - hourFormatter.stringFromDate_(result.startDate).toString(); + final startHour = hourFormatter + .stringFromDate_(result.startDate) + .toString(); completer.complete(Steps(startHour, stepCount)); } else { debugPrint("Query error: ${error?.localizedDescription}"); @@ -136,8 +138,8 @@ class _AndroidStepsRepo implements StepsRepo { // ignore: invalid_use_of_internal_member activity = hc.Activity.fromReference(jni.Jni.getCurrentActivity()); applicationContext = - // ignore: invalid_use_of_internal_member - hc.Context.fromReference(jni.Jni.getCachedApplicationContext()); + // ignore: invalid_use_of_internal_member + hc.Context.fromReference(jni.Jni.getCachedApplicationContext()); client = hc.HealthConnectClient.getOrCreate$1(applicationContext); } @@ -147,10 +149,18 @@ class _AndroidStepsRepo implements StepsRepo { final now = DateTime.now(); for (var h = 0; h <= now.hour; h++) { - final start = - DateTime(now.year, now.month, now.day, h).millisecondsSinceEpoch; - final end = - DateTime(now.year, now.month, now.day, h + 1).millisecondsSinceEpoch; + final start = DateTime( + now.year, + now.month, + now.day, + h, + ).millisecondsSinceEpoch; + final end = DateTime( + now.year, + now.month, + now.day, + h + 1, + ).millisecondsSinceEpoch; final request = hc.AggregateRequest( { hc.StepsRecord.COUNT_TOTAL, diff --git a/pedometer/example/pubspec.yaml b/pedometer/example/pubspec.yaml index e454e4275a2..b9157f05fae 100644 --- a/pedometer/example/pubspec.yaml +++ b/pedometer/example/pubspec.yaml @@ -1,5 +1,8 @@ name: pedometer_example description: Demonstrates how to use the pedometer plugin. +version: 1.0.0+1 +resolution: workspace + # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev @@ -16,10 +19,10 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.0+1 + environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -41,10 +44,12 @@ dependencies: ffi: ^2.1.2 intl: ^0.20.0 - jni: ^0.13.0 - fl_chart: ^0.70.0 + jni: ^0.14.2 + fl_chart: ^1.0.0 dev_dependencies: + analysis_defaults: + path: ../../analysis_defaults flutter_test: sdk: flutter @@ -53,7 +58,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^5.0.0 + flutter_lints: ^6.0.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/pedometer/lib/health_connect.dart b/pedometer/lib/health_connect.dart index 7272f150687..653e0d0b5da 100644 --- a/pedometer/lib/health_connect.dart +++ b/pedometer/lib/health_connect.dart @@ -235,8 +235,8 @@ final class $HealthConnectClient$Companion$NullableType @core$_.override HealthConnectClient$Companion? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : HealthConnectClient$Companion.fromReference(reference); + ? null + : HealthConnectClient$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -828,10 +828,9 @@ class HealthConnectClient extends jni$_.JObject { final $o = jni$_.JGlobalReference( jni$_.JObjectPtr.fromAddress(await $p.first), ); - final $k = - const jni$_.JListType( - jni$_.JObjectType(), - ).jClass.reference; + final $k = const jni$_.JListType( + jni$_.JObjectType(), + ).jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); throw 'Failed'; @@ -887,10 +886,9 @@ class HealthConnectClient extends jni$_.JObject { final $o = jni$_.JGlobalReference( jni$_.JObjectPtr.fromAddress(await $p.first), ); - final $k = - const jni$_.JListType( - jni$_.JObjectType(), - ).jClass.reference; + final $k = const jni$_.JListType( + jni$_.JObjectType(), + ).jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); throw 'Failed'; @@ -2179,8 +2177,8 @@ final class $PermissionController$Companion$NullableType @core$_.override PermissionController$Companion? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : PermissionController$Companion.fromReference(reference); + ? null + : PermissionController$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -2313,10 +2311,9 @@ class PermissionController extends jni$_.JObject { final $o = jni$_.JGlobalReference( jni$_.JObjectPtr.fromAddress(await $p.first), ); - final $k = - const jni$_.JSetType( - jni$_.JObjectType(), - ).jClass.reference; + final $k = const jni$_.JSetType( + jni$_.JObjectType(), + ).jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); throw 'Failed'; @@ -3599,8 +3596,8 @@ final class $TimeRangeFilter$Companion$NullableType @core$_.override TimeRangeFilter$Companion? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : TimeRangeFilter$Companion.fromReference(reference); + ? null + : TimeRangeFilter$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -10754,8 +10751,8 @@ final class $Intent$FilterComparison$NullableType @core$_.override Intent$FilterComparison? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : Intent$FilterComparison.fromReference(reference); + ? null + : Intent$FilterComparison.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -11044,8 +11041,8 @@ final class $Intent$ShortcutIconResource$NullableType @core$_.override Intent$ShortcutIconResource? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : Intent$ShortcutIconResource.fromReference(reference); + ? null + : Intent$ShortcutIconResource.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -29213,8 +29210,8 @@ final class $AggregateGroupByDurationRequest$NullableType @core$_.override AggregateGroupByDurationRequest? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : AggregateGroupByDurationRequest.fromReference(reference); + ? null + : AggregateGroupByDurationRequest.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -29431,8 +29428,8 @@ final class $AggregateGroupByPeriodRequest$NullableType @core$_.override AggregateGroupByPeriodRequest? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : AggregateGroupByPeriodRequest.fromReference(reference); + ? null + : AggregateGroupByPeriodRequest.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -30137,8 +30134,8 @@ final class $ReadRecordsRequest$NullableType<$T extends jni$_.JObject> @core$_.override ReadRecordsRequest<$T>? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : ReadRecordsRequest<$T>.fromReference(T, reference); + ? null + : ReadRecordsRequest<$T>.fromReference(T, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -30722,8 +30719,8 @@ final class $AggregateMetric$AggregationType$NullableType @core$_.override AggregateMetric$AggregationType? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : AggregateMetric$AggregationType.fromReference(reference); + ? null + : AggregateMetric$AggregationType.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -30853,8 +30850,8 @@ final class $AggregateMetric$Companion$NullableType @core$_.override AggregateMetric$Companion? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : AggregateMetric$Companion.fromReference(reference); + ? null + : AggregateMetric$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -31054,13 +31051,9 @@ final class $AggregateMetric$Converter$FromDouble$NullableType< @core$_.override AggregateMetric$Converter$FromDouble<$R>? fromReference( jni$_.JReference reference, - ) => - reference.isNull - ? null - : AggregateMetric$Converter$FromDouble<$R>.fromReference( - R, - reference, - ); + ) => reference.isNull + ? null + : AggregateMetric$Converter$FromDouble<$R>.fromReference(R, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -31270,10 +31263,9 @@ final class $AggregateMetric$Converter$FromLong$NullableType< @core$_.override AggregateMetric$Converter$FromLong<$R>? fromReference( jni$_.JReference reference, - ) => - reference.isNull - ? null - : AggregateMetric$Converter$FromLong<$R>.fromReference(R, reference); + ) => reference.isNull + ? null + : AggregateMetric$Converter$FromLong<$R>.fromReference(R, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -31507,10 +31499,9 @@ final class $AggregateMetric$Converter$NullableType< @core$_.override AggregateMetric$Converter<$T, $R>? fromReference( jni$_.JReference reference, - ) => - reference.isNull - ? null - : AggregateMetric$Converter<$T, $R>.fromReference(T, R, reference); + ) => reference.isNull + ? null + : AggregateMetric$Converter<$T, $R>.fromReference(T, R, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); diff --git a/pedometer/lib/pedometer_bindings_generated.dart b/pedometer/lib/pedometer_bindings_generated.dart index c93f0b23b70..eb567657bcc 100644 --- a/pedometer/lib/pedometer_bindings_generated.dart +++ b/pedometer/lib/pedometer_bindings_generated.dart @@ -31,12 +31,12 @@ class PedometerBindings { return __sel_registerName(str); } - late final __sel_registerNamePtr = _lookup< - ffi.NativeFunction Function(ffi.Pointer)> - >('sel_registerName'); - late final __sel_registerName = - __sel_registerNamePtr - .asFunction Function(ffi.Pointer)>(); + late final __sel_registerNamePtr = + _lookup< + ffi.NativeFunction Function(ffi.Pointer)> + >('sel_registerName'); + late final __sel_registerName = __sel_registerNamePtr + .asFunction Function(ffi.Pointer)>(); ffi.Pointer _getClass1(String name) { final cstr = name.toNativeUtf8(); @@ -52,29 +52,27 @@ class PedometerBindings { return __objc_getClass(str); } - late final __objc_getClassPtr = _lookup< - ffi.NativeFunction Function(ffi.Pointer)> - >('objc_getClass'); - late final __objc_getClass = - __objc_getClassPtr - .asFunction< - ffi.Pointer Function(ffi.Pointer) - >(); + late final __objc_getClassPtr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >('objc_getClass'); + late final __objc_getClass = __objc_getClassPtr + .asFunction Function(ffi.Pointer)>(); ffi.Pointer _objc_retain(ffi.Pointer value) { return __objc_retain(value); } - late final __objc_retainPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - >('objc_retain'); - late final __objc_retain = - __objc_retainPtr - .asFunction< - ffi.Pointer Function(ffi.Pointer) - >(); + late final __objc_retainPtr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >('objc_retain'); + late final __objc_retain = __objc_retainPtr + .asFunction Function(ffi.Pointer)>(); void _objc_release(ffi.Pointer value) { return __objc_release(value); @@ -84,8 +82,8 @@ class PedometerBindings { _lookup)>>( 'objc_release', ); - late final __objc_release = - __objc_releasePtr.asFunction)>(); + late final __objc_release = __objc_releasePtr + .asFunction)>(); late final _objc_releaseFinalizer2 = ffi.NativeFinalizer( __objc_releasePtr.cast(), @@ -96,16 +94,16 @@ class PedometerBindings { return __objc_msgSend_1(obj, sel); } - late final __objc_msgSend_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_1 = - __objc_msgSend_1Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_1Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_1 = __objc_msgSend_1Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_initialize1 = _registerName1("initialize"); late final _sel_init1 = _registerName1("init"); @@ -116,16 +114,16 @@ class PedometerBindings { return __objc_msgSend_2(obj, sel); } - late final __objc_msgSend_2Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_2 = - __objc_msgSend_2Ptr - .asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_2Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_2 = __objc_msgSend_2Ptr + .asFunction< + instancetype Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_new1 = _registerName1("new"); late final _sel_allocWithZone_1 = _registerName1("allocWithZone:"); @@ -137,24 +135,24 @@ class PedometerBindings { return __objc_msgSend_3(obj, sel, zone); } - late final __objc_msgSend_3Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_3 = - __objc_msgSend_3Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - ) - >(); + late final __objc_msgSend_3Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_3 = __objc_msgSend_3Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + >(); late final _sel_alloc1 = _registerName1("alloc"); late final _sel_dealloc1 = _registerName1("dealloc"); @@ -176,24 +174,24 @@ class PedometerBindings { return __objc_msgSend_4(obj, sel, aSelector); } - late final __objc_msgSend_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_4 = - __objc_msgSend_4Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_4Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_4 = __objc_msgSend_4Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); bool _objc_msgSend_0( ffi.Pointer obj, @@ -203,24 +201,24 @@ class PedometerBindings { return __objc_msgSend_0(obj, sel, clazz); } - late final __objc_msgSend_0Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_0 = - __objc_msgSend_0Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_0Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_0 = __objc_msgSend_0Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isKindOfClass_1 = _registerName1("isKindOfClass:"); late final _class_Protocol1 = _getClass1("Protocol"); @@ -233,24 +231,24 @@ class PedometerBindings { return __objc_msgSend_5(obj, sel, protocol); } - late final __objc_msgSend_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_5 = - __objc_msgSend_5Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_5Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_5 = __objc_msgSend_5Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_methodForSelector_1 = _registerName1("methodForSelector:"); ffi.Pointer> _objc_msgSend_6( @@ -261,24 +259,24 @@ class PedometerBindings { return __objc_msgSend_6(obj, sel, aSelector); } - late final __objc_msgSend_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_6 = - __objc_msgSend_6Ptr - .asFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_6Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_6 = __objc_msgSend_6Ptr + .asFunction< + ffi.Pointer> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_instanceMethodForSelector_1 = _registerName1( "instanceMethodForSelector:", @@ -294,24 +292,24 @@ class PedometerBindings { return __objc_msgSend_7(obj, sel, aSelector); } - late final __objc_msgSend_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_7 = - __objc_msgSend_7Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_7Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_7 = __objc_msgSend_7Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_forwardingTargetForSelector_1 = _registerName1( "forwardingTargetForSelector:", @@ -324,24 +322,24 @@ class PedometerBindings { return __objc_msgSend_8(obj, sel, aSelector); } - late final __objc_msgSend_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_8 = - __objc_msgSend_8Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_8Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_8 = __objc_msgSend_8Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSInvocation1 = _getClass1("NSInvocation"); late final _class_NSMethodSignature1 = _getClass1("NSMethodSignature"); @@ -356,40 +354,43 @@ class PedometerBindings { return __objc_msgSend_9(obj, sel, types); } - late final __objc_msgSend_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_9 = - __objc_msgSend_9Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_9Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_9 = __objc_msgSend_9Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_numberOfArguments1 = _registerName1("numberOfArguments"); int _objc_msgSend_10(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_10(obj, sel); } - late final __objc_msgSend_10Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_10 = - __objc_msgSend_10Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_10Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_10 = __objc_msgSend_10Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_getArgumentTypeAtIndex_1 = _registerName1( "getArgumentTypeAtIndex:", @@ -402,24 +403,24 @@ class PedometerBindings { return __objc_msgSend_11(obj, sel, idx); } - late final __objc_msgSend_11Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_11 = - __objc_msgSend_11Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_11Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_11 = __objc_msgSend_11Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_frameLength1 = _registerName1("frameLength"); late final _sel_isOneway1 = _registerName1("isOneway"); @@ -427,16 +428,16 @@ class PedometerBindings { return __objc_msgSend_12(obj, sel); } - late final __objc_msgSend_12Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_12 = - __objc_msgSend_12Ptr - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_12Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_12 = __objc_msgSend_12Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_methodReturnType1 = _registerName1("methodReturnType"); ffi.Pointer _objc_msgSend_13( @@ -446,22 +447,22 @@ class PedometerBindings { return __objc_msgSend_13(obj, sel); } - late final __objc_msgSend_13Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_13 = - __objc_msgSend_13Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_13Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_13 = __objc_msgSend_13Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_methodReturnLength1 = _registerName1("methodReturnLength"); late final _sel_cancelPreviousPerformRequestsWithTarget_selector_object_1 = @@ -478,28 +479,28 @@ class PedometerBindings { return __objc_msgSend_14(obj, sel, aTarget, aSelector, anArgument); } - late final __objc_msgSend_14Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_14 = - __objc_msgSend_14Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_14Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_14 = __objc_msgSend_14Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_cancelPreviousPerformRequestsWithTarget_1 = _registerName1( "cancelPreviousPerformRequestsWithTarget:", @@ -512,24 +513,24 @@ class PedometerBindings { return __objc_msgSend_15(obj, sel, aTarget); } - late final __objc_msgSend_15Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_15 = - __objc_msgSend_15Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_15Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_15 = __objc_msgSend_15Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_accessInstanceVariablesDirectly1 = _registerName1( "accessInstanceVariablesDirectly", @@ -546,24 +547,24 @@ class PedometerBindings { return __objc_msgSend_16(obj, sel, object); } - late final __objc_msgSend_16Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_16 = - __objc_msgSend_16Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_16Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_16 = __objc_msgSend_16Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSEnumerator1 = _getClass1("NSEnumerator"); late final _sel_nextObject1 = _registerName1("nextObject"); @@ -574,22 +575,22 @@ class PedometerBindings { return __objc_msgSend_17(obj, sel); } - late final __objc_msgSend_17Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_17 = - __objc_msgSend_17Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_17Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_17 = __objc_msgSend_17Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_allObjects1 = _registerName1("allObjects"); late final _class_NSString1 = _getClass1("NSString"); @@ -603,20 +604,20 @@ class PedometerBindings { return __objc_msgSend_18(obj, sel, index); } - late final __objc_msgSend_18Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_18 = - __objc_msgSend_18Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_18Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_18 = __objc_msgSend_18Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _class_NSCoder1 = _getClass1("NSCoder"); late final _sel_encodeValueOfObjCType_at_1 = _registerName1( @@ -631,26 +632,26 @@ class PedometerBindings { return __objc_msgSend_19(obj, sel, type, addr); } - late final __objc_msgSend_19Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_19 = - __objc_msgSend_19Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_19Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_19 = __objc_msgSend_19Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSData1 = _getClass1("NSData"); late final _sel_bytes1 = _registerName1("bytes"); @@ -661,22 +662,22 @@ class PedometerBindings { return __objc_msgSend_20(obj, sel); } - late final __objc_msgSend_20Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_20 = - __objc_msgSend_20Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_20Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_20 = __objc_msgSend_20Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_description1 = _registerName1("description"); ffi.Pointer _objc_msgSend_21( @@ -686,22 +687,22 @@ class PedometerBindings { return __objc_msgSend_21(obj, sel); } - late final __objc_msgSend_21Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_21 = - __objc_msgSend_21Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_21Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_21 = __objc_msgSend_21Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getBytes_length_1 = _registerName1("getBytes:length:"); void _objc_msgSend_22( @@ -713,26 +714,26 @@ class PedometerBindings { return __objc_msgSend_22(obj, sel, buffer, length); } - late final __objc_msgSend_22Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_22 = - __objc_msgSend_22Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_22Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_22 = __objc_msgSend_22Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_getBytes_range_1 = _registerName1("getBytes:range:"); void _objc_msgSend_23( @@ -744,26 +745,26 @@ class PedometerBindings { return __objc_msgSend_23(obj, sel, buffer, range); } - late final __objc_msgSend_23Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_23 = - __objc_msgSend_23Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_23Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_23 = __objc_msgSend_23Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_isEqualToData_1 = _registerName1("isEqualToData:"); bool _objc_msgSend_24( @@ -774,24 +775,24 @@ class PedometerBindings { return __objc_msgSend_24(obj, sel, other); } - late final __objc_msgSend_24Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_24 = - __objc_msgSend_24Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_24Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_24 = __objc_msgSend_24Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_subdataWithRange_1 = _registerName1("subdataWithRange:"); ffi.Pointer _objc_msgSend_25( @@ -802,24 +803,24 @@ class PedometerBindings { return __objc_msgSend_25(obj, sel, range); } - late final __objc_msgSend_25Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_25 = - __objc_msgSend_25Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_25Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_25 = __objc_msgSend_25Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_writeToFile_atomically_1 = _registerName1( "writeToFile:atomically:", @@ -833,26 +834,26 @@ class PedometerBindings { return __objc_msgSend_26(obj, sel, path, useAuxiliaryFile); } - late final __objc_msgSend_26Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_26 = - __objc_msgSend_26Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_26Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_26 = __objc_msgSend_26Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _class_NSURL1 = _getClass1("NSURL"); late final _sel_initWithScheme_host_path_1 = _registerName1( @@ -868,28 +869,28 @@ class PedometerBindings { return __objc_msgSend_27(obj, sel, scheme, host, path); } - late final __objc_msgSend_27Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_27 = - __objc_msgSend_27Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_27Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_27 = __objc_msgSend_27Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = _registerName1("initFileURLWithPath:isDirectory:relativeToURL:"); @@ -903,28 +904,28 @@ class PedometerBindings { return __objc_msgSend_28(obj, sel, path, isDir, baseURL); } - late final __objc_msgSend_28Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_28 = - __objc_msgSend_28Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_28Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_28 = __objc_msgSend_28Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); late final _sel_initFileURLWithPath_relativeToURL_1 = _registerName1( "initFileURLWithPath:relativeToURL:", @@ -938,26 +939,26 @@ class PedometerBindings { return __objc_msgSend_29(obj, sel, path, baseURL); } - late final __objc_msgSend_29Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_29 = - __objc_msgSend_29Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_29Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_29 = __objc_msgSend_29Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initFileURLWithPath_isDirectory_1 = _registerName1( "initFileURLWithPath:isDirectory:", @@ -971,56 +972,56 @@ class PedometerBindings { return __objc_msgSend_30(obj, sel, path, isDir); } - late final __objc_msgSend_30Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_30 = - __objc_msgSend_30Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); - - late final _sel_initFileURLWithPath_1 = _registerName1( - "initFileURLWithPath:", - ); - instancetype _objc_msgSend_31( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer path, + late final __objc_msgSend_30Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_30 = __objc_msgSend_30Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initFileURLWithPath_1 = _registerName1( + "initFileURLWithPath:", + ); + instancetype _objc_msgSend_31( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer path, ) { return __objc_msgSend_31(obj, sel, path); } - late final __objc_msgSend_31Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_31 = - __objc_msgSend_31Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_31Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_31 = __objc_msgSend_31Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = _registerName1( "fileURLWithPath:isDirectory:relativeToURL:", @@ -1035,28 +1036,28 @@ class PedometerBindings { return __objc_msgSend_32(obj, sel, path, isDir, baseURL); } - late final __objc_msgSend_32Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_32 = - __objc_msgSend_32Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_32Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_32 = __objc_msgSend_32Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); late final _sel_fileURLWithPath_relativeToURL_1 = _registerName1( "fileURLWithPath:relativeToURL:", @@ -1070,26 +1071,26 @@ class PedometerBindings { return __objc_msgSend_33(obj, sel, path, baseURL); } - late final __objc_msgSend_33Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_33 = - __objc_msgSend_33Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_33Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_33 = __objc_msgSend_33Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileURLWithPath_isDirectory_1 = _registerName1( "fileURLWithPath:isDirectory:", @@ -1103,26 +1104,26 @@ class PedometerBindings { return __objc_msgSend_34(obj, sel, path, isDir); } - late final __objc_msgSend_34Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_34 = - __objc_msgSend_34Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_34Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_34 = __objc_msgSend_34Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_fileURLWithPath_1 = _registerName1("fileURLWithPath:"); ffi.Pointer _objc_msgSend_35( @@ -1133,24 +1134,24 @@ class PedometerBindings { return __objc_msgSend_35(obj, sel, path); } - late final __objc_msgSend_35Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_35 = - __objc_msgSend_35Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_35Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_35 = __objc_msgSend_35Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = _registerName1( @@ -1166,28 +1167,28 @@ class PedometerBindings { return __objc_msgSend_36(obj, sel, path, isDir, baseURL); } - late final __objc_msgSend_36Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_36 = - __objc_msgSend_36Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_36Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_36 = __objc_msgSend_36Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); late final _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = _registerName1( @@ -1203,28 +1204,28 @@ class PedometerBindings { return __objc_msgSend_37(obj, sel, path, isDir, baseURL); } - late final __objc_msgSend_37Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_37 = - __objc_msgSend_37Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_37Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_37 = __objc_msgSend_37Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); late final _sel_initWithString_1 = _registerName1("initWithString:"); instancetype _objc_msgSend_38( @@ -1235,24 +1236,24 @@ class PedometerBindings { return __objc_msgSend_38(obj, sel, URLString); } - late final __objc_msgSend_38Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_38 = - __objc_msgSend_38Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_38Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_38 = __objc_msgSend_38Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithString_relativeToURL_1 = _registerName1( "initWithString:relativeToURL:", @@ -1266,26 +1267,26 @@ class PedometerBindings { return __objc_msgSend_39(obj, sel, URLString, baseURL); } - late final __objc_msgSend_39Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_39 = - __objc_msgSend_39Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_39Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_39 = __objc_msgSend_39Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLWithString_1 = _registerName1("URLWithString:"); late final _sel_URLWithString_relativeToURL_1 = _registerName1( @@ -1303,26 +1304,26 @@ class PedometerBindings { return __objc_msgSend_40(obj, sel, URLString, encodingInvalidCharacters); } - late final __objc_msgSend_40Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_40 = - __objc_msgSend_40Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_40Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_40 = __objc_msgSend_40Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_URLWithString_encodingInvalidCharacters_1 = _registerName1( "URLWithString:encodingInvalidCharacters:", @@ -1339,26 +1340,26 @@ class PedometerBindings { return __objc_msgSend_41(obj, sel, data, baseURL); } - late final __objc_msgSend_41Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_41 = - __objc_msgSend_41Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_41Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_41 = __objc_msgSend_41Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLWithDataRepresentation_relativeToURL_1 = _registerName1( "URLWithDataRepresentation:relativeToURL:", @@ -1372,26 +1373,26 @@ class PedometerBindings { return __objc_msgSend_42(obj, sel, data, baseURL); } - late final __objc_msgSend_42Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_42 = - __objc_msgSend_42Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_42Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_42 = __objc_msgSend_42Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = _registerName1("initAbsoluteURLWithDataRepresentation:relativeToURL:"); @@ -1405,22 +1406,22 @@ class PedometerBindings { return __objc_msgSend_43(obj, sel); } - late final __objc_msgSend_43Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_43 = - __objc_msgSend_43Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_43Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_43 = __objc_msgSend_43Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_absoluteString1 = _registerName1("absoluteString"); ffi.Pointer _objc_msgSend_44( @@ -1430,22 +1431,22 @@ class PedometerBindings { return __objc_msgSend_44(obj, sel); } - late final __objc_msgSend_44Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_44 = - __objc_msgSend_44Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_44Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_44 = __objc_msgSend_44Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_relativeString1 = _registerName1("relativeString"); late final _sel_baseURL1 = _registerName1("baseURL"); @@ -1456,22 +1457,22 @@ class PedometerBindings { return __objc_msgSend_45(obj, sel); } - late final __objc_msgSend_45Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_45 = - __objc_msgSend_45Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_45Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_45 = __objc_msgSend_45Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_absoluteURL1 = _registerName1("absoluteURL"); late final _sel_scheme1 = _registerName1("scheme"); @@ -1493,26 +1494,26 @@ class PedometerBindings { return __objc_msgSend_46(obj, sel, value, type); } - late final __objc_msgSend_46Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_46 = - __objc_msgSend_46Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_46Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_46 = __objc_msgSend_46Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithCoder_1 = _registerName1("initWithCoder:"); instancetype _objc_msgSend_47( @@ -1523,24 +1524,24 @@ class PedometerBindings { return __objc_msgSend_47(obj, sel, coder); } - late final __objc_msgSend_47Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_47 = - __objc_msgSend_47Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_47Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_47 = __objc_msgSend_47Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_valueWithBytes_objCType_1 = _registerName1( "valueWithBytes:objCType:", @@ -1554,26 +1555,26 @@ class PedometerBindings { return __objc_msgSend_48(obj, sel, value, type); } - late final __objc_msgSend_48Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_48 = - __objc_msgSend_48Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_48Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_48 = __objc_msgSend_48Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_value_withObjCType_1 = _registerName1("value:withObjCType:"); late final _sel_valueWithNonretainedObject_1 = _registerName1( @@ -1587,24 +1588,24 @@ class PedometerBindings { return __objc_msgSend_49(obj, sel, anObject); } - late final __objc_msgSend_49Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_49 = - __objc_msgSend_49Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_49Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_49 = __objc_msgSend_49Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_nonretainedObjectValue1 = _registerName1( "nonretainedObjectValue", @@ -1618,24 +1619,24 @@ class PedometerBindings { return __objc_msgSend_50(obj, sel, pointer); } - late final __objc_msgSend_50Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_50 = - __objc_msgSend_50Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_50Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_50 = __objc_msgSend_50Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pointerValue1 = _registerName1("pointerValue"); late final _sel_isEqualToValue_1 = _registerName1("isEqualToValue:"); @@ -1647,24 +1648,24 @@ class PedometerBindings { return __objc_msgSend_51(obj, sel, value); } - late final __objc_msgSend_51Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_51 = - __objc_msgSend_51Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_51Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_51 = __objc_msgSend_51Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getValue_1 = _registerName1("getValue:"); void _objc_msgSend_52( @@ -1675,24 +1676,24 @@ class PedometerBindings { return __objc_msgSend_52(obj, sel, value); } - late final __objc_msgSend_52Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_52 = - __objc_msgSend_52Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_52Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_52 = __objc_msgSend_52Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_valueWithRange_1 = _registerName1("valueWithRange:"); ffi.Pointer _objc_msgSend_53( @@ -1703,24 +1704,24 @@ class PedometerBindings { return __objc_msgSend_53(obj, sel, range); } - late final __objc_msgSend_53Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_53 = - __objc_msgSend_53Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_53Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_53 = __objc_msgSend_53Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_rangeValue1 = _registerName1("rangeValue"); late final _objc_msgSend_useVariants1 = @@ -1733,16 +1734,16 @@ class PedometerBindings { return __objc_msgSend_54(obj, sel); } - late final __objc_msgSend_54Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_54 = - __objc_msgSend_54Ptr - .asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_54Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_54 = __objc_msgSend_54Ptr + .asFunction< + _NSRange Function(ffi.Pointer, ffi.Pointer) + >(); void _objc_msgSend_54_stret( ffi.Pointer<_NSRange> stret, @@ -1752,24 +1753,24 @@ class PedometerBindings { return __objc_msgSend_54_stret(stret, obj, sel); } - late final __objc_msgSend_54_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_54_stret = - __objc_msgSend_54_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_54_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_54_stret = __objc_msgSend_54_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_keyPathsForValuesAffectingValueForKey_1 = _registerName1( "keyPathsForValuesAffectingValueForKey:", @@ -1782,24 +1783,24 @@ class PedometerBindings { return __objc_msgSend_55(obj, sel, key); } - late final __objc_msgSend_55Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_55 = - __objc_msgSend_55Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_55Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_55 = __objc_msgSend_55Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_automaticallyNotifiesObserversForKey_1 = _registerName1( "automaticallyNotifiesObserversForKey:", @@ -1812,24 +1813,24 @@ class PedometerBindings { return __objc_msgSend_56(obj, sel, key); } - late final __objc_msgSend_56Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_56 = - __objc_msgSend_56Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_56Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_56 = __objc_msgSend_56Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSArray1 = _getClass1("NSArray"); late final _sel_objectAtIndex_1 = _registerName1("objectAtIndex:"); @@ -1841,25 +1842,25 @@ class PedometerBindings { return __objc_msgSend_57(obj, sel, index); } - late final __objc_msgSend_57Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_57 = - __objc_msgSend_57Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); - + late final __objc_msgSend_57Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_57 = __objc_msgSend_57Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + late final _sel_initWithObjects_count_1 = _registerName1( "initWithObjects:count:", ); @@ -1872,26 +1873,26 @@ class PedometerBindings { return __objc_msgSend_58(obj, sel, objects, cnt); } - late final __objc_msgSend_58Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_58 = - __objc_msgSend_58Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - ) - >(); + late final __objc_msgSend_58Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_58 = __objc_msgSend_58Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int, + ) + >(); late final _sel_arrayByAddingObject_1 = _registerName1( "arrayByAddingObject:", @@ -1904,24 +1905,24 @@ class PedometerBindings { return __objc_msgSend_59(obj, sel, anObject); } - late final __objc_msgSend_59Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_59 = - __objc_msgSend_59Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_59Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_59 = __objc_msgSend_59Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_arrayByAddingObjectsFromArray_1 = _registerName1( "arrayByAddingObjectsFromArray:", @@ -1934,24 +1935,24 @@ class PedometerBindings { return __objc_msgSend_60(obj, sel, otherArray); } - late final __objc_msgSend_60Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_60 = - __objc_msgSend_60Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_60Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_60 = __objc_msgSend_60Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_componentsJoinedByString_1 = _registerName1( "componentsJoinedByString:", @@ -1964,24 +1965,24 @@ class PedometerBindings { return __objc_msgSend_61(obj, sel, separator); } - late final __objc_msgSend_61Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_61 = - __objc_msgSend_61Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_61Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_61 = __objc_msgSend_61Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_containsObject_1 = _registerName1("containsObject:"); late final _sel_descriptionWithLocale_1 = _registerName1( @@ -1995,24 +1996,24 @@ class PedometerBindings { return __objc_msgSend_62(obj, sel, locale); } - late final __objc_msgSend_62Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_62 = - __objc_msgSend_62Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_62Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_62 = __objc_msgSend_62Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_descriptionWithLocale_indent_1 = _registerName1( "descriptionWithLocale:indent:", @@ -2026,26 +2027,26 @@ class PedometerBindings { return __objc_msgSend_63(obj, sel, locale, level); } - late final __objc_msgSend_63Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_63 = - __objc_msgSend_63Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_63Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_63 = __objc_msgSend_63Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_firstObjectCommonWithArray_1 = _registerName1( "firstObjectCommonWithArray:", @@ -2058,24 +2059,24 @@ class PedometerBindings { return __objc_msgSend_64(obj, sel, otherArray); } - late final __objc_msgSend_64Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_64 = - __objc_msgSend_64Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_64Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_64 = __objc_msgSend_64Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getObjects_range_1 = _registerName1("getObjects:range:"); void _objc_msgSend_65( @@ -2087,26 +2088,26 @@ class PedometerBindings { return __objc_msgSend_65(obj, sel, objects, range); } - late final __objc_msgSend_65Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_65 = - __objc_msgSend_65Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - _NSRange, - ) - >(); + late final __objc_msgSend_65Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_65 = __objc_msgSend_65Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange, + ) + >(); late final _sel_indexOfObject_1 = _registerName1("indexOfObject:"); int _objc_msgSend_66( @@ -2117,24 +2118,24 @@ class PedometerBindings { return __objc_msgSend_66(obj, sel, anObject); } - late final __objc_msgSend_66Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_66 = - __objc_msgSend_66Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_66Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_66 = __objc_msgSend_66Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_indexOfObject_inRange_1 = _registerName1( "indexOfObject:inRange:", @@ -2148,26 +2149,26 @@ class PedometerBindings { return __objc_msgSend_67(obj, sel, anObject, range); } - late final __objc_msgSend_67Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_67 = - __objc_msgSend_67Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_67Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_67 = __objc_msgSend_67Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_indexOfObjectIdenticalTo_1 = _registerName1( "indexOfObjectIdenticalTo:", @@ -2184,24 +2185,24 @@ class PedometerBindings { return __objc_msgSend_68(obj, sel, otherArray); } - late final __objc_msgSend_68Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_68 = - __objc_msgSend_68Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_68Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_68 = __objc_msgSend_68Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_firstObject1 = _registerName1("firstObject"); late final _sel_lastObject1 = _registerName1("lastObject"); @@ -2213,22 +2214,22 @@ class PedometerBindings { return __objc_msgSend_69(obj, sel); } - late final __objc_msgSend_69Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_69 = - __objc_msgSend_69Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_69Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_69 = __objc_msgSend_69Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_reverseObjectEnumerator1 = _registerName1( "reverseObjectEnumerator", @@ -2255,42 +2256,42 @@ class PedometerBindings { return __objc_msgSend_70(obj, sel, comparator, context); } - late final __objc_msgSend_70Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_70 = - __objc_msgSend_70Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_70Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_70 = __objc_msgSend_70Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + >(); late final _sel_sortedArrayUsingFunction_context_hint_1 = _registerName1( "sortedArrayUsingFunction:context:hint:", @@ -2314,44 +2315,44 @@ class PedometerBindings { return __objc_msgSend_71(obj, sel, comparator, context, hint); } - late final __objc_msgSend_71Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_71 = - __objc_msgSend_71Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_71Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_71 = __objc_msgSend_71Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sortedArrayUsingSelector_1 = _registerName1( "sortedArrayUsingSelector:", @@ -2364,24 +2365,24 @@ class PedometerBindings { return __objc_msgSend_72(obj, sel, comparator); } - late final __objc_msgSend_72Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_72 = - __objc_msgSend_72Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_72Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_72 = __objc_msgSend_72Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_subarrayWithRange_1 = _registerName1("subarrayWithRange:"); ffi.Pointer _objc_msgSend_73( @@ -2392,24 +2393,24 @@ class PedometerBindings { return __objc_msgSend_73(obj, sel, range); } - late final __objc_msgSend_73Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_73 = - __objc_msgSend_73Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_73Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_73 = __objc_msgSend_73Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _class_NSError1 = _getClass1("NSError"); late final _sel_initWithDomain_code_userInfo_1 = _registerName1( @@ -2425,28 +2426,28 @@ class PedometerBindings { return __objc_msgSend_74(obj, sel, domain, code, dict); } - late final __objc_msgSend_74Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_74 = - __objc_msgSend_74Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_74Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_74 = __objc_msgSend_74Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_errorWithDomain_code_userInfo_1 = _registerName1( "errorWithDomain:code:userInfo:", @@ -2457,16 +2458,16 @@ class PedometerBindings { return __objc_msgSend_75(obj, sel); } - late final __objc_msgSend_75Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_75 = - __objc_msgSend_75Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_75Ptr = + _lookup< + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_75 = __objc_msgSend_75Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_userInfo1 = _registerName1("userInfo"); late final _sel_localizedDescription1 = _registerName1( @@ -2488,22 +2489,22 @@ class PedometerBindings { return __objc_msgSend_76(obj, sel); } - late final __objc_msgSend_76Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_76 = - __objc_msgSend_76Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_76Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_76 = __objc_msgSend_76Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_recoveryAttempter1 = _registerName1("recoveryAttempter"); late final _sel_helpAnchor1 = _registerName1("helpAnchor"); @@ -2515,22 +2516,22 @@ class PedometerBindings { return __objc_msgSend_77(obj, sel); } - late final __objc_msgSend_77Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_77 = - __objc_msgSend_77Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_77Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_77 = __objc_msgSend_77Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer<_ObjCBlockDesc> _newBlockDesc1() { final d = pkg_ffi.calloc.allocate<_ObjCBlockDesc>( @@ -2568,12 +2569,14 @@ class PedometerBindings { return __Block_copy(value); } - late final __Block_copyPtr = _lookup< - ffi.NativeFunction Function(ffi.Pointer)> - >('_Block_copy'); - late final __Block_copy = - __Block_copyPtr - .asFunction Function(ffi.Pointer)>(); + late final __Block_copyPtr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >('_Block_copy'); + late final __Block_copy = __Block_copyPtr + .asFunction Function(ffi.Pointer)>(); void _Block_release(ffi.Pointer value) { return __Block_release(value); @@ -2583,8 +2586,8 @@ class PedometerBindings { _lookup)>>( '_Block_release', ); - late final __Block_release = - __Block_releasePtr.asFunction)>(); + late final __Block_release = __Block_releasePtr + .asFunction)>(); late final _objc_releaseFinalizer11 = ffi.NativeFinalizer( __Block_releasePtr.cast(), @@ -2601,26 +2604,26 @@ class PedometerBindings { return __objc_msgSend_78(obj, sel, errorDomain, provider); } - late final __objc_msgSend_78Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_78 = - __objc_msgSend_78Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_78Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_78 = __objc_msgSend_78Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_userInfoValueProviderForDomain_1 = _registerName1( "userInfoValueProviderForDomain:", @@ -2635,28 +2638,28 @@ class PedometerBindings { return __objc_msgSend_79(obj, sel, err, userInfoKey, errorDomain); } - late final __objc_msgSend_79Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_79 = - __objc_msgSend_79Ptr - .asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_79Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_79 = __objc_msgSend_79Ptr + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = _registerName1("setKeys:triggerChangeNotificationsForDependentKey:"); @@ -2669,26 +2672,26 @@ class PedometerBindings { return __objc_msgSend_80(obj, sel, keys, dependentKey); } - late final __objc_msgSend_80Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_80 = - __objc_msgSend_80Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_80Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_80 = __objc_msgSend_80Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_classFallbacksForKeyedArchiver1 = _registerName1( "classFallbacksForKeyedArchiver", @@ -2706,26 +2709,26 @@ class PedometerBindings { return __objc_msgSend_81(obj, sel, url, error); } - late final __objc_msgSend_81Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_81 = - __objc_msgSend_81Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_81Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_81 = __objc_msgSend_81Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_makeObjectsPerformSelector_1 = _registerName1( "makeObjectsPerformSelector:", @@ -2742,29 +2745,29 @@ class PedometerBindings { return __objc_msgSend_82(obj, sel, aSelector, argument); } - late final __objc_msgSend_82Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_82 = - __objc_msgSend_82Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); - - late final _class_NSIndexSet1 = _getClass1("NSIndexSet"); - late final _sel_indexSet1 = _registerName1("indexSet"); + late final __objc_msgSend_82Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_82 = __objc_msgSend_82Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSIndexSet1 = _getClass1("NSIndexSet"); + late final _sel_indexSet1 = _registerName1("indexSet"); late final _sel_indexSetWithIndex_1 = _registerName1("indexSetWithIndex:"); late final _sel_indexSetWithIndexesInRange_1 = _registerName1( "indexSetWithIndexesInRange:", @@ -2777,24 +2780,24 @@ class PedometerBindings { return __objc_msgSend_83(obj, sel, range); } - late final __objc_msgSend_83Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_83 = - __objc_msgSend_83Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_83Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_83 = __objc_msgSend_83Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_initWithIndexesInRange_1 = _registerName1( "initWithIndexesInRange:", @@ -2808,24 +2811,24 @@ class PedometerBindings { return __objc_msgSend_84(obj, sel, indexSet); } - late final __objc_msgSend_84Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_84 = - __objc_msgSend_84Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_84Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_84 = __objc_msgSend_84Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithIndex_1 = _registerName1("initWithIndex:"); late final _sel_isEqualToIndexSet_1 = _registerName1("isEqualToIndexSet:"); @@ -2837,24 +2840,24 @@ class PedometerBindings { return __objc_msgSend_85(obj, sel, indexSet); } - late final __objc_msgSend_85Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_85 = - __objc_msgSend_85Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_85Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_85 = __objc_msgSend_85Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_firstIndex1 = _registerName1("firstIndex"); late final _sel_lastIndex1 = _registerName1("lastIndex"); @@ -2869,20 +2872,20 @@ class PedometerBindings { return __objc_msgSend_86(obj, sel, value); } - late final __objc_msgSend_86Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_86 = - __objc_msgSend_86Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_86Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_86 = __objc_msgSend_86Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_indexLessThanIndex_1 = _registerName1("indexLessThanIndex:"); late final _sel_indexGreaterThanOrEqualToIndex_1 = _registerName1( @@ -2904,28 +2907,28 @@ class PedometerBindings { return __objc_msgSend_87(obj, sel, indexBuffer, bufferSize, range); } - late final __objc_msgSend_87Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_87 = - __objc_msgSend_87Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - ) - >(); + late final __objc_msgSend_87Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_87 = __objc_msgSend_87Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + ) + >(); late final _sel_countOfIndexesInRange_1 = _registerName1( "countOfIndexesInRange:", @@ -2938,24 +2941,20 @@ class PedometerBindings { return __objc_msgSend_88(obj, sel, range); } - late final __objc_msgSend_88Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_88 = - __objc_msgSend_88Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_88Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_88 = __objc_msgSend_88Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer, _NSRange) + >(); late final _sel_containsIndex_1 = _registerName1("containsIndex:"); bool _objc_msgSend_89( @@ -2966,20 +2965,20 @@ class PedometerBindings { return __objc_msgSend_89(obj, sel, value); } - late final __objc_msgSend_89Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_89 = - __objc_msgSend_89Ptr - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_89Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_89 = __objc_msgSend_89Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_containsIndexesInRange_1 = _registerName1( "containsIndexesInRange:", @@ -2992,20 +2991,20 @@ class PedometerBindings { return __objc_msgSend_90(obj, sel, range); } - late final __objc_msgSend_90Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, _NSRange) - > - >('objc_msgSend'); - late final __objc_msgSend_90 = - __objc_msgSend_90Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_90Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_90 = __objc_msgSend_90Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer, _NSRange) + >(); late final _sel_containsIndexes_1 = _registerName1("containsIndexes:"); late final _sel_intersectsIndexesInRange_1 = _registerName1( @@ -3022,24 +3021,24 @@ class PedometerBindings { return __objc_msgSend_91(obj, sel, block); } - late final __objc_msgSend_91Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_91 = - __objc_msgSend_91Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_91Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_91 = __objc_msgSend_91Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateIndexesWithOptions_usingBlock_1 = _registerName1( "enumerateIndexesWithOptions:usingBlock:", @@ -3053,26 +3052,26 @@ class PedometerBindings { return __objc_msgSend_92(obj, sel, opts, block); } - late final __objc_msgSend_92Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_92 = - __objc_msgSend_92Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_92Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_92 = __objc_msgSend_92Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateIndexesInRange_options_usingBlock_1 = _registerName1( "enumerateIndexesInRange:options:usingBlock:", @@ -3087,28 +3086,28 @@ class PedometerBindings { return __objc_msgSend_93(obj, sel, range, opts, block); } - late final __objc_msgSend_93Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_93 = - __objc_msgSend_93Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_93Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_93 = __objc_msgSend_93Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexPassingTest_1 = _registerName1("indexPassingTest:"); int _objc_msgSend_94( @@ -3119,24 +3118,24 @@ class PedometerBindings { return __objc_msgSend_94(obj, sel, predicate); } - late final __objc_msgSend_94Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_94 = - __objc_msgSend_94Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_94Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_94 = __objc_msgSend_94Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexWithOptions_passingTest_1 = _registerName1( "indexWithOptions:passingTest:", @@ -3150,26 +3149,26 @@ class PedometerBindings { return __objc_msgSend_95(obj, sel, opts, predicate); } - late final __objc_msgSend_95Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_95 = - __objc_msgSend_95Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_95Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_95 = __objc_msgSend_95Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexInRange_options_passingTest_1 = _registerName1( "indexInRange:options:passingTest:", @@ -3184,28 +3183,28 @@ class PedometerBindings { return __objc_msgSend_96(obj, sel, range, opts, predicate); } - late final __objc_msgSend_96Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_96 = - __objc_msgSend_96Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_96Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_96 = __objc_msgSend_96Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexesPassingTest_1 = _registerName1("indexesPassingTest:"); ffi.Pointer _objc_msgSend_97( @@ -3216,24 +3215,24 @@ class PedometerBindings { return __objc_msgSend_97(obj, sel, predicate); } - late final __objc_msgSend_97Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_97 = - __objc_msgSend_97Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_97Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_97 = __objc_msgSend_97Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexesWithOptions_passingTest_1 = _registerName1( "indexesWithOptions:passingTest:", @@ -3247,26 +3246,26 @@ class PedometerBindings { return __objc_msgSend_98(obj, sel, opts, predicate); } - late final __objc_msgSend_98Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_98 = - __objc_msgSend_98Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_98Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_98 = __objc_msgSend_98Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexesInRange_options_passingTest_1 = _registerName1( "indexesInRange:options:passingTest:", @@ -3281,28 +3280,28 @@ class PedometerBindings { return __objc_msgSend_99(obj, sel, range, opts, predicate); } - late final __objc_msgSend_99Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_99 = - __objc_msgSend_99Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_99Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_99 = __objc_msgSend_99Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateRangesUsingBlock_1 = _registerName1( "enumerateRangesUsingBlock:", @@ -3315,24 +3314,24 @@ class PedometerBindings { return __objc_msgSend_100(obj, sel, block); } - late final __objc_msgSend_100Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_100 = - __objc_msgSend_100Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_100Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_100 = __objc_msgSend_100Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateRangesWithOptions_usingBlock_1 = _registerName1( "enumerateRangesWithOptions:usingBlock:", @@ -3346,26 +3345,26 @@ class PedometerBindings { return __objc_msgSend_101(obj, sel, opts, block); } - late final __objc_msgSend_101Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_101 = - __objc_msgSend_101Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_101Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_101 = __objc_msgSend_101Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateRangesInRange_options_usingBlock_1 = _registerName1( "enumerateRangesInRange:options:usingBlock:", @@ -3380,28 +3379,28 @@ class PedometerBindings { return __objc_msgSend_102(obj, sel, range, opts, block); } - late final __objc_msgSend_102Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_102 = - __objc_msgSend_102Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_102Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_102 = __objc_msgSend_102Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_objectsAtIndexes_1 = _registerName1("objectsAtIndexes:"); ffi.Pointer _objc_msgSend_103( @@ -3412,24 +3411,24 @@ class PedometerBindings { return __objc_msgSend_103(obj, sel, indexes); } - late final __objc_msgSend_103Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_103 = - __objc_msgSend_103Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_103Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_103 = __objc_msgSend_103Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_objectAtIndexedSubscript_1 = _registerName1( "objectAtIndexedSubscript:", @@ -3445,24 +3444,24 @@ class PedometerBindings { return __objc_msgSend_104(obj, sel, block); } - late final __objc_msgSend_104Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_104 = - __objc_msgSend_104Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_104Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_104 = __objc_msgSend_104Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateObjectsWithOptions_usingBlock_1 = _registerName1( "enumerateObjectsWithOptions:usingBlock:", @@ -3476,26 +3475,26 @@ class PedometerBindings { return __objc_msgSend_105(obj, sel, opts, block); } - late final __objc_msgSend_105Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_105 = - __objc_msgSend_105Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_105Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_105 = __objc_msgSend_105Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = _registerName1("enumerateObjectsAtIndexes:options:usingBlock:"); @@ -3509,28 +3508,28 @@ class PedometerBindings { return __objc_msgSend_106(obj, sel, s, opts, block); } - late final __objc_msgSend_106Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_106 = - __objc_msgSend_106Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_106Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_106 = __objc_msgSend_106Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexOfObjectPassingTest_1 = _registerName1( "indexOfObjectPassingTest:", @@ -3543,24 +3542,24 @@ class PedometerBindings { return __objc_msgSend_107(obj, sel, predicate); } - late final __objc_msgSend_107Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_107 = - __objc_msgSend_107Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_107Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_107 = __objc_msgSend_107Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexOfObjectWithOptions_passingTest_1 = _registerName1( "indexOfObjectWithOptions:passingTest:", @@ -3574,26 +3573,26 @@ class PedometerBindings { return __objc_msgSend_108(obj, sel, opts, predicate); } - late final __objc_msgSend_108Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_108 = - __objc_msgSend_108Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_108Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_108 = __objc_msgSend_108Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = _registerName1( "indexOfObjectAtIndexes:options:passingTest:", @@ -3608,28 +3607,28 @@ class PedometerBindings { return __objc_msgSend_109(obj, sel, s, opts, predicate); } - late final __objc_msgSend_109Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_109 = - __objc_msgSend_109Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_109Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_109 = __objc_msgSend_109Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexesOfObjectsPassingTest_1 = _registerName1( "indexesOfObjectsPassingTest:", @@ -3642,24 +3641,24 @@ class PedometerBindings { return __objc_msgSend_110(obj, sel, predicate); } - late final __objc_msgSend_110Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_110 = - __objc_msgSend_110Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_110Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_110 = __objc_msgSend_110Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexesOfObjectsWithOptions_passingTest_1 = _registerName1( "indexesOfObjectsWithOptions:passingTest:", @@ -3673,26 +3672,26 @@ class PedometerBindings { return __objc_msgSend_111(obj, sel, opts, predicate); } - late final __objc_msgSend_111Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_111 = - __objc_msgSend_111Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_111Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_111 = __objc_msgSend_111Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = _registerName1("indexesOfObjectsAtIndexes:options:passingTest:"); @@ -3706,28 +3705,28 @@ class PedometerBindings { return __objc_msgSend_112(obj, sel, s, opts, predicate); } - late final __objc_msgSend_112Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_112 = - __objc_msgSend_112Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_112Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_112 = __objc_msgSend_112Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_sortedArrayUsingComparator_1 = _registerName1( "sortedArrayUsingComparator:", @@ -3740,24 +3739,24 @@ class PedometerBindings { return __objc_msgSend_113(obj, sel, cmptr); } - late final __objc_msgSend_113Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_113 = - __objc_msgSend_113Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_113Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_113 = __objc_msgSend_113Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_sortedArrayWithOptions_usingComparator_1 = _registerName1( "sortedArrayWithOptions:usingComparator:", @@ -3771,26 +3770,26 @@ class PedometerBindings { return __objc_msgSend_114(obj, sel, opts, cmptr); } - late final __objc_msgSend_114Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_114 = - __objc_msgSend_114Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_114Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_114 = __objc_msgSend_114Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = _registerName1("indexOfObject:inSortedRange:options:usingComparator:"); @@ -3805,30 +3804,30 @@ class PedometerBindings { return __objc_msgSend_115(obj, sel, obj1, r, opts, cmp); } - late final __objc_msgSend_115Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_115 = - __objc_msgSend_115Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_115Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_115 = __objc_msgSend_115Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_array1 = _registerName1("array"); late final _sel_arrayWithObject_1 = _registerName1("arrayWithObject:"); @@ -3840,24 +3839,24 @@ class PedometerBindings { return __objc_msgSend_116(obj, sel, anObject); } - late final __objc_msgSend_116Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_116 = - __objc_msgSend_116Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_116Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_116 = __objc_msgSend_116Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_arrayWithObjects_count_1 = _registerName1( "arrayWithObjects:count:", @@ -3872,24 +3871,24 @@ class PedometerBindings { return __objc_msgSend_117(obj, sel, array); } - late final __objc_msgSend_117Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_117 = - __objc_msgSend_117Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_117Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_117 = __objc_msgSend_117Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithObjects_1 = _registerName1("initWithObjects:"); late final _sel_initWithArray_1 = _registerName1("initWithArray:"); @@ -3905,26 +3904,26 @@ class PedometerBindings { return __objc_msgSend_118(obj, sel, array, flag); } - late final __objc_msgSend_118Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_118 = - __objc_msgSend_118Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_118Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_118 = __objc_msgSend_118Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_initWithContentsOfURL_error_1 = _registerName1( "initWithContentsOfURL:error:", @@ -3938,26 +3937,26 @@ class PedometerBindings { return __objc_msgSend_119(obj, sel, url, error); } - late final __objc_msgSend_119Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_119 = - __objc_msgSend_119Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_119Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_119 = __objc_msgSend_119Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_arrayWithContentsOfURL_error_1 = _registerName1( "arrayWithContentsOfURL:error:", @@ -3974,28 +3973,28 @@ class PedometerBindings { return __objc_msgSend_120(obj, sel, other, options, block); } - late final __objc_msgSend_120Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_120 = - __objc_msgSend_120Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_120Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_120 = __objc_msgSend_120Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_differenceFromArray_withOptions_1 = _registerName1( "differenceFromArray:withOptions:", @@ -4009,26 +4008,26 @@ class PedometerBindings { return __objc_msgSend_121(obj, sel, other, options); } - late final __objc_msgSend_121Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_121 = - __objc_msgSend_121Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_121Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_121 = __objc_msgSend_121Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_differenceFromArray_1 = _registerName1( "differenceFromArray:", @@ -4044,24 +4043,24 @@ class PedometerBindings { return __objc_msgSend_122(obj, sel, difference); } - late final __objc_msgSend_122Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_122 = - __objc_msgSend_122Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_122Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_122 = __objc_msgSend_122Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getObjects_1 = _registerName1("getObjects:"); void _objc_msgSend_123( @@ -4072,24 +4071,24 @@ class PedometerBindings { return __objc_msgSend_123(obj, sel, objects); } - late final __objc_msgSend_123Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_123 = - __objc_msgSend_123Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_123Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_123 = __objc_msgSend_123Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_arrayWithContentsOfFile_1 = _registerName1( "arrayWithContentsOfFile:", @@ -4102,24 +4101,24 @@ class PedometerBindings { return __objc_msgSend_124(obj, sel, path); } - late final __objc_msgSend_124Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_124 = - __objc_msgSend_124Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_124Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_124 = __objc_msgSend_124Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_arrayWithContentsOfURL_1 = _registerName1( "arrayWithContentsOfURL:", @@ -4132,24 +4131,24 @@ class PedometerBindings { return __objc_msgSend_125(obj, sel, url); } - late final __objc_msgSend_125Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_125 = - __objc_msgSend_125Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_125Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_125 = __objc_msgSend_125Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithContentsOfFile_1 = _registerName1( "initWithContentsOfFile:", @@ -4169,26 +4168,26 @@ class PedometerBindings { return __objc_msgSend_126(obj, sel, url, atomically); } - late final __objc_msgSend_126Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_126 = - __objc_msgSend_126Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_126Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_126 = __objc_msgSend_126Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_pathsMatchingExtensions_1 = _registerName1( "pathsMatchingExtensions:", @@ -4204,26 +4203,26 @@ class PedometerBindings { return __objc_msgSend_127(obj, sel, value, key); } - late final __objc_msgSend_127Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_127 = - __objc_msgSend_127Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_127Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_127 = __objc_msgSend_127Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1 = _registerName1( @@ -4249,32 +4248,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_128Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_128 = - __objc_msgSend_128Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_128Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_128 = __objc_msgSend_128Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1 = _registerName1("removeObserver:fromObjectsAtIndexes:forKeyPath:context:"); @@ -4289,30 +4288,30 @@ class PedometerBindings { return __objc_msgSend_129(obj, sel, observer, indexes, keyPath, context); } - late final __objc_msgSend_129Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_129 = - __objc_msgSend_129Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_129Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_129 = __objc_msgSend_129Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = _registerName1("removeObserver:fromObjectsAtIndexes:forKeyPath:"); @@ -4326,28 +4325,28 @@ class PedometerBindings { return __objc_msgSend_130(obj, sel, observer, indexes, keyPath); } - late final __objc_msgSend_130Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_130 = - __objc_msgSend_130Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_130Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_130 = __objc_msgSend_130Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addObserver_forKeyPath_options_context_1 = _registerName1( "addObserver:forKeyPath:options:context:", @@ -4363,30 +4362,30 @@ class PedometerBindings { return __objc_msgSend_131(obj, sel, observer, keyPath, options, context); } - late final __objc_msgSend_131Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_131 = - __objc_msgSend_131Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_131Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_131 = __objc_msgSend_131Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_removeObserver_forKeyPath_context_1 = _registerName1( "removeObserver:forKeyPath:context:", @@ -4401,61 +4400,61 @@ class PedometerBindings { return __objc_msgSend_132(obj, sel, observer, keyPath, context); } - late final __objc_msgSend_132Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_132 = - __objc_msgSend_132Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); - - late final _sel_removeObserver_forKeyPath_1 = _registerName1( - "removeObserver:forKeyPath:", - ); - void _objc_msgSend_133( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer observer, - ffi.Pointer keyPath, + late final __objc_msgSend_132Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_132 = __objc_msgSend_132Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeObserver_forKeyPath_1 = _registerName1( + "removeObserver:forKeyPath:", + ); + void _objc_msgSend_133( + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer observer, + ffi.Pointer keyPath, ) { return __objc_msgSend_133(obj, sel, observer, keyPath); } - late final __objc_msgSend_133Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_133 = - __objc_msgSend_133Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_133Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_133 = __objc_msgSend_133Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sortedArrayUsingDescriptors_1 = _registerName1( "sortedArrayUsingDescriptors:", @@ -4473,26 +4472,26 @@ class PedometerBindings { return __objc_msgSend_134(obj, sel, predicateFormat, arguments); } - late final __objc_msgSend_134Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_134 = - __objc_msgSend_134Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_134Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_134 = __objc_msgSend_134Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_predicateWithFormat_1 = _registerName1( "predicateWithFormat:", @@ -4505,24 +4504,24 @@ class PedometerBindings { return __objc_msgSend_135(obj, sel, predicateFormat); } - late final __objc_msgSend_135Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_135 = - __objc_msgSend_135Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_135Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_135 = __objc_msgSend_135Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_predicateWithFormat_arguments_1 = _registerName1( "predicateWithFormat:arguments:", @@ -4536,26 +4535,26 @@ class PedometerBindings { return __objc_msgSend_136(obj, sel, predicateFormat, argList); } - late final __objc_msgSend_136Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_136 = - __objc_msgSend_136Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_136Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_136 = __objc_msgSend_136Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_predicateFromMetadataQueryString_1 = _registerName1( "predicateFromMetadataQueryString:", @@ -4568,24 +4567,24 @@ class PedometerBindings { return __objc_msgSend_137(obj, sel, queryString); } - late final __objc_msgSend_137Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_137 = - __objc_msgSend_137Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_137Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_137 = __objc_msgSend_137Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_predicateWithValue_1 = _registerName1("predicateWithValue:"); ffi.Pointer _objc_msgSend_138( @@ -4596,24 +4595,24 @@ class PedometerBindings { return __objc_msgSend_138(obj, sel, value); } - late final __objc_msgSend_138Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_138 = - __objc_msgSend_138Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_138Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_138 = __objc_msgSend_138Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _class_NSDictionary1 = _getClass1("NSDictionary"); late final _sel_objectForKey_1 = _registerName1("objectForKey:"); @@ -4631,28 +4630,28 @@ class PedometerBindings { return __objc_msgSend_139(obj, sel, objects, keys, cnt); } - late final __objc_msgSend_139Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_139 = - __objc_msgSend_139Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int, - ) - >(); + late final __objc_msgSend_139Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_139 = __objc_msgSend_139Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + int, + ) + >(); late final _sel_allKeys1 = _registerName1("allKeys"); late final _sel_allKeysForObject_1 = _registerName1("allKeysForObject:"); @@ -4671,24 +4670,24 @@ class PedometerBindings { return __objc_msgSend_140(obj, sel, otherDictionary); } - late final __objc_msgSend_140Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_140 = - __objc_msgSend_140Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_140Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_140 = __objc_msgSend_140Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_objectsForKeys_notFoundMarker_1 = _registerName1( "objectsForKeys:notFoundMarker:", @@ -4702,26 +4701,26 @@ class PedometerBindings { return __objc_msgSend_141(obj, sel, keys, marker); } - late final __objc_msgSend_141Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_141 = - __objc_msgSend_141Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_141Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_141 = __objc_msgSend_141Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_keysSortedByValueUsingSelector_1 = _registerName1( "keysSortedByValueUsingSelector:", @@ -4739,28 +4738,28 @@ class PedometerBindings { return __objc_msgSend_142(obj, sel, objects, keys, count); } - late final __objc_msgSend_142Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_142 = - __objc_msgSend_142Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int, - ) - >(); + late final __objc_msgSend_142Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_142 = __objc_msgSend_142Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + int, + ) + >(); late final _sel_objectForKeyedSubscript_1 = _registerName1( "objectForKeyedSubscript:", @@ -4776,24 +4775,24 @@ class PedometerBindings { return __objc_msgSend_143(obj, sel, block); } - late final __objc_msgSend_143Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_143 = - __objc_msgSend_143Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_143Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_143 = __objc_msgSend_143Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = _registerName1("enumerateKeysAndObjectsWithOptions:usingBlock:"); @@ -4806,26 +4805,26 @@ class PedometerBindings { return __objc_msgSend_144(obj, sel, opts, block); } - late final __objc_msgSend_144Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_144 = - __objc_msgSend_144Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_144Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_144 = __objc_msgSend_144Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_keysSortedByValueUsingComparator_1 = _registerName1( "keysSortedByValueUsingComparator:", @@ -4843,24 +4842,24 @@ class PedometerBindings { return __objc_msgSend_145(obj, sel, predicate); } - late final __objc_msgSend_145Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_145 = - __objc_msgSend_145Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_145Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_145 = __objc_msgSend_145Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_keysOfEntriesWithOptions_passingTest_1 = _registerName1( "keysOfEntriesWithOptions:passingTest:", @@ -4874,26 +4873,26 @@ class PedometerBindings { return __objc_msgSend_146(obj, sel, opts, predicate); } - late final __objc_msgSend_146Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_146 = - __objc_msgSend_146Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_146Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_146 = __objc_msgSend_146Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_getObjects_andKeys_1 = _registerName1("getObjects:andKeys:"); void _objc_msgSend_147( @@ -4905,26 +4904,26 @@ class PedometerBindings { return __objc_msgSend_147(obj, sel, objects, keys); } - late final __objc_msgSend_147Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_147 = - __objc_msgSend_147Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_147Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_147 = __objc_msgSend_147Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_dictionaryWithContentsOfFile_1 = _registerName1( "dictionaryWithContentsOfFile:", @@ -4937,24 +4936,24 @@ class PedometerBindings { return __objc_msgSend_148(obj, sel, path); } - late final __objc_msgSend_148Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_148 = - __objc_msgSend_148Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_148Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_148 = __objc_msgSend_148Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dictionaryWithContentsOfURL_1 = _registerName1( "dictionaryWithContentsOfURL:", @@ -4967,24 +4966,24 @@ class PedometerBindings { return __objc_msgSend_149(obj, sel, url); } - late final __objc_msgSend_149Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_149 = - __objc_msgSend_149Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_149Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_149 = __objc_msgSend_149Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dictionary1 = _registerName1("dictionary"); late final _sel_dictionaryWithObject_forKey_1 = _registerName1( @@ -4999,26 +4998,26 @@ class PedometerBindings { return __objc_msgSend_150(obj, sel, object, key); } - late final __objc_msgSend_150Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_150 = - __objc_msgSend_150Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_150Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_150 = __objc_msgSend_150Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dictionaryWithObjects_forKeys_count_1 = _registerName1( "dictionaryWithObjects:forKeys:count:", @@ -5037,24 +5036,24 @@ class PedometerBindings { return __objc_msgSend_151(obj, sel, dict); } - late final __objc_msgSend_151Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_151 = - __objc_msgSend_151Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_151Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_151 = __objc_msgSend_151Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dictionaryWithObjects_forKeys_1 = _registerName1( "dictionaryWithObjects:forKeys:", @@ -5068,26 +5067,26 @@ class PedometerBindings { return __objc_msgSend_152(obj, sel, objects, keys); } - late final __objc_msgSend_152Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_152 = - __objc_msgSend_152Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_152Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_152 = __objc_msgSend_152Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithObjectsAndKeys_1 = _registerName1( "initWithObjectsAndKeys:", @@ -5105,26 +5104,26 @@ class PedometerBindings { return __objc_msgSend_153(obj, sel, otherDictionary, flag); } - late final __objc_msgSend_153Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_153 = - __objc_msgSend_153Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_153Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_153 = __objc_msgSend_153Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_initWithObjects_forKeys_1 = _registerName1( "initWithObjects:forKeys:", @@ -5138,26 +5137,26 @@ class PedometerBindings { return __objc_msgSend_154(obj, sel, url, error); } - late final __objc_msgSend_154Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_154 = - __objc_msgSend_154Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_154Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_154 = __objc_msgSend_154Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_dictionaryWithContentsOfURL_error_1 = _registerName1( "dictionaryWithContentsOfURL:error:", @@ -5178,47 +5177,47 @@ class PedometerBindings { return __objc_msgSend_155(obj, sel, state, buffer, len); } - late final __objc_msgSend_155Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_155 = - __objc_msgSend_155Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - ) - >(); + late final __objc_msgSend_155Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_155 = __objc_msgSend_155Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int, + ) + >(); late final _sel_fileSize1 = _registerName1("fileSize"); int _objc_msgSend_156(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_156(obj, sel); } - late final __objc_msgSend_156Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLongLong Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_156 = - __objc_msgSend_156Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_156Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLongLong Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_156 = __objc_msgSend_156Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _class_NSDate1 = _getClass1("NSDate"); late final _sel_timeIntervalSinceReferenceDate1 = _registerName1( @@ -5231,16 +5230,16 @@ class PedometerBindings { return __objc_msgSend_157(obj, sel); } - late final __objc_msgSend_157Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_157 = - __objc_msgSend_157Ptr - .asFunction< - double Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_157Ptr = + _lookup< + ffi.NativeFunction< + ffi.Double Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_157 = __objc_msgSend_157Ptr + .asFunction< + double Function(ffi.Pointer, ffi.Pointer) + >(); double _objc_msgSend_157_fpret( ffi.Pointer obj, @@ -5249,16 +5248,16 @@ class PedometerBindings { return __objc_msgSend_157_fpret(obj, sel); } - late final __objc_msgSend_157_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_157_fpret = - __objc_msgSend_157_fpretPtr - .asFunction< - double Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_157_fpretPtr = + _lookup< + ffi.NativeFunction< + ffi.Double Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_157_fpret = __objc_msgSend_157_fpretPtr + .asFunction< + double Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_initWithTimeIntervalSinceReferenceDate_1 = _registerName1( "initWithTimeIntervalSinceReferenceDate:", @@ -5271,24 +5270,24 @@ class PedometerBindings { return __objc_msgSend_158(obj, sel, ti); } - late final __objc_msgSend_158Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_158 = - __objc_msgSend_158Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + late final __objc_msgSend_158Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_158 = __objc_msgSend_158Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); late final _sel_timeIntervalSinceDate_1 = _registerName1( "timeIntervalSinceDate:", @@ -5301,24 +5300,24 @@ class PedometerBindings { return __objc_msgSend_159(obj, sel, anotherDate); } - late final __objc_msgSend_159Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_159 = - __objc_msgSend_159Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_159Ptr = + _lookup< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_159 = __objc_msgSend_159Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_159_fpret( ffi.Pointer obj, @@ -5328,24 +5327,24 @@ class PedometerBindings { return __objc_msgSend_159_fpret(obj, sel, anotherDate); } - late final __objc_msgSend_159_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_159_fpret = - __objc_msgSend_159_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_159_fpretPtr = + _lookup< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_159_fpret = __objc_msgSend_159_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_timeIntervalSinceNow1 = _registerName1( "timeIntervalSinceNow", @@ -5366,24 +5365,24 @@ class PedometerBindings { return __objc_msgSend_160(obj, sel, anotherDate); } - late final __objc_msgSend_160Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_160 = - __objc_msgSend_160Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_160Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_160 = __objc_msgSend_160Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_laterDate_1 = _registerName1("laterDate:"); late final _sel_compare_1 = _registerName1("compare:"); @@ -5395,24 +5394,24 @@ class PedometerBindings { return __objc_msgSend_161(obj, sel, other); } - late final __objc_msgSend_161Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_161 = - __objc_msgSend_161Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_161Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_161 = __objc_msgSend_161Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isEqualToDate_1 = _registerName1("isEqualToDate:"); bool _objc_msgSend_162( @@ -5423,24 +5422,24 @@ class PedometerBindings { return __objc_msgSend_162(obj, sel, otherDate); } - late final __objc_msgSend_162Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_162 = - __objc_msgSend_162Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_162Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_162 = __objc_msgSend_162Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_date1 = _registerName1("date"); late final _sel_dateWithTimeIntervalSinceNow_1 = _registerName1( @@ -5464,26 +5463,26 @@ class PedometerBindings { return __objc_msgSend_163(obj, sel, secsToBeAdded, date); } - late final __objc_msgSend_163Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_163 = - __objc_msgSend_163Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_163Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_163 = __objc_msgSend_163Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); late final _sel_distantFuture1 = _registerName1("distantFuture"); ffi.Pointer _objc_msgSend_164( @@ -5493,22 +5492,22 @@ class PedometerBindings { return __objc_msgSend_164(obj, sel); } - late final __objc_msgSend_164Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_164 = - __objc_msgSend_164Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_164Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_164 = __objc_msgSend_164Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_distantPast1 = _registerName1("distantPast"); late final _sel_now1 = _registerName1("now"); @@ -5531,22 +5530,22 @@ class PedometerBindings { return __objc_msgSend_165(obj, sel); } - late final __objc_msgSend_165Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_165 = - __objc_msgSend_165Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_165Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_165 = __objc_msgSend_165Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileType1 = _registerName1("fileType"); late final _sel_filePosixPermissions1 = _registerName1( @@ -5568,16 +5567,19 @@ class PedometerBindings { return __objc_msgSend_166(obj, sel); } - late final __objc_msgSend_166Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_166 = - __objc_msgSend_166Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_166Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedInt Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_166 = __objc_msgSend_166Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_fileHFSTypeCode1 = _registerName1("fileHFSTypeCode"); late final _sel_fileIsImmutable1 = _registerName1("fileIsImmutable"); @@ -5591,22 +5593,22 @@ class PedometerBindings { return __objc_msgSend_167(obj, sel); } - late final __objc_msgSend_167Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_167 = - __objc_msgSend_167Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_167Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_167 = __objc_msgSend_167Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileGroupOwnerAccountID1 = _registerName1( "fileGroupOwnerAccountID", @@ -5620,24 +5622,24 @@ class PedometerBindings { return __objc_msgSend_168(obj, sel, block); } - late final __objc_msgSend_168Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_168 = - __objc_msgSend_168Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_168Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_168 = __objc_msgSend_168Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_predicateFormat1 = _registerName1("predicateFormat"); late final _sel_predicateWithSubstitutionVariables_1 = _registerName1( @@ -5652,24 +5654,24 @@ class PedometerBindings { return __objc_msgSend_169(obj, sel, object); } - late final __objc_msgSend_169Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_169 = - __objc_msgSend_169Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_169Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_169 = __objc_msgSend_169Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_evaluateWithObject_substitutionVariables_1 = _registerName1( "evaluateWithObject:substitutionVariables:", @@ -5683,26 +5685,26 @@ class PedometerBindings { return __objc_msgSend_170(obj, sel, object, bindings); } - late final __objc_msgSend_170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_170 = - __objc_msgSend_170Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_170Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_170 = __objc_msgSend_170Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_allowEvaluation1 = _registerName1("allowEvaluation"); late final _sel_filteredArrayUsingPredicate_1 = _registerName1( @@ -5716,24 +5718,24 @@ class PedometerBindings { return __objc_msgSend_171(obj, sel, predicate); } - late final __objc_msgSend_171Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_171 = - __objc_msgSend_171Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_171Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_171 = __objc_msgSend_171Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithChar_1 = _registerName1("initWithChar:"); ffi.Pointer _objc_msgSend_172( @@ -5744,24 +5746,24 @@ class PedometerBindings { return __objc_msgSend_172(obj, sel, value); } - late final __objc_msgSend_172Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Char, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_172 = - __objc_msgSend_172Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_172Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Char, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_172 = __objc_msgSend_172Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithUnsignedChar_1 = _registerName1( "initWithUnsignedChar:", @@ -5774,24 +5776,24 @@ class PedometerBindings { return __objc_msgSend_173(obj, sel, value); } - late final __objc_msgSend_173Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedChar, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_173 = - __objc_msgSend_173Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_173Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedChar, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_173 = __objc_msgSend_173Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithShort_1 = _registerName1("initWithShort:"); ffi.Pointer _objc_msgSend_174( @@ -5802,24 +5804,24 @@ class PedometerBindings { return __objc_msgSend_174(obj, sel, value); } - late final __objc_msgSend_174Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Short, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_174 = - __objc_msgSend_174Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_174Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Short, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_174 = __objc_msgSend_174Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithUnsignedShort_1 = _registerName1( "initWithUnsignedShort:", @@ -5832,24 +5834,24 @@ class PedometerBindings { return __objc_msgSend_175(obj, sel, value); } - late final __objc_msgSend_175Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedShort, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_175 = - __objc_msgSend_175Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_175Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_175 = __objc_msgSend_175Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithInt_1 = _registerName1("initWithInt:"); ffi.Pointer _objc_msgSend_176( @@ -5860,24 +5862,24 @@ class PedometerBindings { return __objc_msgSend_176(obj, sel, value); } - late final __objc_msgSend_176Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_176 = - __objc_msgSend_176Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_176Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_176 = __objc_msgSend_176Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithUnsignedInt_1 = _registerName1( "initWithUnsignedInt:", @@ -5890,24 +5892,24 @@ class PedometerBindings { return __objc_msgSend_177(obj, sel, value); } - late final __objc_msgSend_177Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_177 = - __objc_msgSend_177Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_177Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_177 = __objc_msgSend_177Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithLong_1 = _registerName1("initWithLong:"); ffi.Pointer _objc_msgSend_178( @@ -5918,24 +5920,24 @@ class PedometerBindings { return __objc_msgSend_178(obj, sel, value); } - late final __objc_msgSend_178Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_178 = - __objc_msgSend_178Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_178Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_178 = __objc_msgSend_178Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithUnsignedLong_1 = _registerName1( "initWithUnsignedLong:", @@ -5948,24 +5950,24 @@ class PedometerBindings { return __objc_msgSend_179(obj, sel, value); } - late final __objc_msgSend_179Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_179 = - __objc_msgSend_179Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_179Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_179 = __objc_msgSend_179Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithLongLong_1 = _registerName1("initWithLongLong:"); ffi.Pointer _objc_msgSend_180( @@ -5976,24 +5978,24 @@ class PedometerBindings { return __objc_msgSend_180(obj, sel, value); } - late final __objc_msgSend_180Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.LongLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_180 = - __objc_msgSend_180Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_180Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.LongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_180 = __objc_msgSend_180Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithUnsignedLongLong_1 = _registerName1( "initWithUnsignedLongLong:", @@ -6006,24 +6008,24 @@ class PedometerBindings { return __objc_msgSend_181(obj, sel, value); } - late final __objc_msgSend_181Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_181 = - __objc_msgSend_181Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_181Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_181 = __objc_msgSend_181Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithFloat_1 = _registerName1("initWithFloat:"); ffi.Pointer _objc_msgSend_182( @@ -6034,24 +6036,24 @@ class PedometerBindings { return __objc_msgSend_182(obj, sel, value); } - late final __objc_msgSend_182Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_182 = - __objc_msgSend_182Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + late final __objc_msgSend_182Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_182 = __objc_msgSend_182Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); late final _sel_initWithDouble_1 = _registerName1("initWithDouble:"); ffi.Pointer _objc_msgSend_183( @@ -6062,24 +6064,24 @@ class PedometerBindings { return __objc_msgSend_183(obj, sel, value); } - late final __objc_msgSend_183Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_183 = - __objc_msgSend_183Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + late final __objc_msgSend_183Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_183 = __objc_msgSend_183Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); late final _sel_initWithBool_1 = _registerName1("initWithBool:"); ffi.Pointer _objc_msgSend_184( @@ -6090,24 +6092,24 @@ class PedometerBindings { return __objc_msgSend_184(obj, sel, value); } - late final __objc_msgSend_184Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_184 = - __objc_msgSend_184Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_184Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_184 = __objc_msgSend_184Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_initWithInteger_1 = _registerName1("initWithInteger:"); late final _sel_initWithUnsignedInteger_1 = _registerName1( @@ -6118,80 +6120,86 @@ class PedometerBindings { return __objc_msgSend_185(obj, sel); } - late final __objc_msgSend_185Ptr = _lookup< - ffi.NativeFunction< - ffi.Char Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_185 = - __objc_msgSend_185Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_185Ptr = + _lookup< + ffi.NativeFunction< + ffi.Char Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_185 = __objc_msgSend_185Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_unsignedCharValue1 = _registerName1("unsignedCharValue"); int _objc_msgSend_186(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_186(obj, sel); } - late final __objc_msgSend_186Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedChar Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_186 = - __objc_msgSend_186Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_186Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedChar Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_186 = __objc_msgSend_186Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_shortValue1 = _registerName1("shortValue"); int _objc_msgSend_187(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_187(obj, sel); } - late final __objc_msgSend_187Ptr = _lookup< - ffi.NativeFunction< - ffi.Short Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_187 = - __objc_msgSend_187Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_187Ptr = + _lookup< + ffi.NativeFunction< + ffi.Short Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_187 = __objc_msgSend_187Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_unsignedShortValue1 = _registerName1("unsignedShortValue"); int _objc_msgSend_188(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_188(obj, sel); } - late final __objc_msgSend_188Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_188 = - __objc_msgSend_188Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_188Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_188 = __objc_msgSend_188Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_intValue1 = _registerName1("intValue"); int _objc_msgSend_189(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_189(obj, sel); } - late final __objc_msgSend_189Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_189 = - __objc_msgSend_189Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_189Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_189 = __objc_msgSend_189Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_unsignedIntValue1 = _registerName1("unsignedIntValue"); late final _sel_longValue1 = _registerName1("longValue"); @@ -6201,16 +6209,16 @@ class PedometerBindings { return __objc_msgSend_190(obj, sel); } - late final __objc_msgSend_190Ptr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_190 = - __objc_msgSend_190Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_190Ptr = + _lookup< + ffi.NativeFunction< + ffi.LongLong Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_190 = __objc_msgSend_190Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_unsignedLongLongValue1 = _registerName1( "unsignedLongLongValue", @@ -6223,16 +6231,16 @@ class PedometerBindings { return __objc_msgSend_191(obj, sel); } - late final __objc_msgSend_191Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_191 = - __objc_msgSend_191Ptr - .asFunction< - double Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_191Ptr = + _lookup< + ffi.NativeFunction< + ffi.Float Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_191 = __objc_msgSend_191Ptr + .asFunction< + double Function(ffi.Pointer, ffi.Pointer) + >(); double _objc_msgSend_191_fpret( ffi.Pointer obj, @@ -6241,16 +6249,16 @@ class PedometerBindings { return __objc_msgSend_191_fpret(obj, sel); } - late final __objc_msgSend_191_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_191_fpret = - __objc_msgSend_191_fpretPtr - .asFunction< - double Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_191_fpretPtr = + _lookup< + ffi.NativeFunction< + ffi.Float Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_191_fpret = __objc_msgSend_191_fpretPtr + .asFunction< + double Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_doubleValue1 = _registerName1("doubleValue"); late final _sel_boolValue1 = _registerName1("boolValue"); @@ -6267,24 +6275,24 @@ class PedometerBindings { return __objc_msgSend_192(obj, sel, otherNumber); } - late final __objc_msgSend_192Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_192 = - __objc_msgSend_192Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_192Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_192 = __objc_msgSend_192Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isEqualToNumber_1 = _registerName1("isEqualToNumber:"); bool _objc_msgSend_193( @@ -6295,24 +6303,24 @@ class PedometerBindings { return __objc_msgSend_193(obj, sel, number); } - late final __objc_msgSend_193Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_193 = - __objc_msgSend_193Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_193Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_193 = __objc_msgSend_193Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_numberWithChar_1 = _registerName1("numberWithChar:"); late final _sel_numberWithUnsignedChar_1 = _registerName1( @@ -6362,26 +6370,26 @@ class PedometerBindings { return __objc_msgSend_194(obj, sel, buffer, maxBufferLength); } - late final __objc_msgSend_194Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_194 = - __objc_msgSend_194Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_194Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_194 = __objc_msgSend_194Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_fileSystemRepresentation1 = _registerName1( "fileSystemRepresentation", @@ -6404,28 +6412,28 @@ class PedometerBindings { return __objc_msgSend_195(obj, sel, value, key, error); } - late final __objc_msgSend_195Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_195 = - __objc_msgSend_195Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_195Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_195 = __objc_msgSend_195Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_resourceValuesForKeys_error_1 = _registerName1( "resourceValuesForKeys:error:", @@ -6439,26 +6447,26 @@ class PedometerBindings { return __objc_msgSend_196(obj, sel, keys, error); } - late final __objc_msgSend_196Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_196 = - __objc_msgSend_196Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_196Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_196 = __objc_msgSend_196Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_setResourceValue_forKey_error_1 = _registerName1( "setResourceValue:forKey:error:", @@ -6473,28 +6481,28 @@ class PedometerBindings { return __objc_msgSend_197(obj, sel, value, key, error); } - late final __objc_msgSend_197Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_197 = - __objc_msgSend_197Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_197Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_197 = __objc_msgSend_197Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_setResourceValues_error_1 = _registerName1( "setResourceValues:error:", @@ -6508,26 +6516,26 @@ class PedometerBindings { return __objc_msgSend_198(obj, sel, keyedValues, error); } - late final __objc_msgSend_198Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_198 = - __objc_msgSend_198Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_198Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_198 = __objc_msgSend_198Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_removeCachedResourceValueForKey_1 = _registerName1( "removeCachedResourceValueForKey:", @@ -6540,24 +6548,24 @@ class PedometerBindings { return __objc_msgSend_199(obj, sel, key); } - late final __objc_msgSend_199Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_199 = - __objc_msgSend_199Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_199Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_199 = __objc_msgSend_199Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeAllCachedResourceValues1 = _registerName1( "removeAllCachedResourceValues", @@ -6580,30 +6588,30 @@ class PedometerBindings { return __objc_msgSend_200(obj, sel, options, keys, relativeURL, error); } - late final __objc_msgSend_200Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_200 = - __objc_msgSend_200Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_200Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_200 = __objc_msgSend_200Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = _registerName1( @@ -6629,32 +6637,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_201Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_201 = - __objc_msgSend_201Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_201Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_201 = __objc_msgSend_201Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = _registerName1( @@ -6672,26 +6680,26 @@ class PedometerBindings { return __objc_msgSend_202(obj, sel, keys, bookmarkData); } - late final __objc_msgSend_202Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_202 = - __objc_msgSend_202Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_202Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_202 = __objc_msgSend_202Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_writeBookmarkData_toURL_options_error_1 = _registerName1( "writeBookmarkData:toURL:options:error:", @@ -6714,30 +6722,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_203Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_203 = - __objc_msgSend_203Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_203Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_203 = __objc_msgSend_203Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_bookmarkDataWithContentsOfURL_error_1 = _registerName1( "bookmarkDataWithContentsOfURL:error:", @@ -6751,26 +6759,26 @@ class PedometerBindings { return __objc_msgSend_204(obj, sel, bookmarkFileURL, error); } - late final __objc_msgSend_204Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_204 = - __objc_msgSend_204Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_204Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_204 = __objc_msgSend_204Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = _registerName1( "URLByResolvingAliasFileAtURL:options:error:", @@ -6785,28 +6793,28 @@ class PedometerBindings { return __objc_msgSend_205(obj, sel, url, options, error); } - late final __objc_msgSend_205Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_205 = - __objc_msgSend_205Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_205Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_205 = __objc_msgSend_205Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_startAccessingSecurityScopedResource1 = _registerName1( "startAccessingSecurityScopedResource", @@ -6829,26 +6837,26 @@ class PedometerBindings { return __objc_msgSend_206(obj, sel, keys, error); } - late final __objc_msgSend_206Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_206 = - __objc_msgSend_206Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_206Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_206 = __objc_msgSend_206Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_checkPromisedItemIsReachableAndReturnError_1 = _registerName1( "checkPromisedItemIsReachableAndReturnError:", @@ -6861,24 +6869,24 @@ class PedometerBindings { return __objc_msgSend_207(obj, sel, error); } - late final __objc_msgSend_207Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_207 = - __objc_msgSend_207Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_207Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_207 = __objc_msgSend_207Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_fileURLWithPathComponents_1 = _registerName1( "fileURLWithPathComponents:", @@ -6891,24 +6899,24 @@ class PedometerBindings { return __objc_msgSend_208(obj, sel, components); } - late final __objc_msgSend_208Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_208 = - __objc_msgSend_208Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_208Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_208 = __objc_msgSend_208Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pathComponents1 = _registerName1("pathComponents"); late final _sel_lastPathComponent1 = _registerName1("lastPathComponent"); @@ -6924,24 +6932,24 @@ class PedometerBindings { return __objc_msgSend_209(obj, sel, pathComponent); } - late final __objc_msgSend_209Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_209 = - __objc_msgSend_209Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_209Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_209 = __objc_msgSend_209Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLByAppendingPathComponent_isDirectory_1 = _registerName1( "URLByAppendingPathComponent:isDirectory:", @@ -6955,26 +6963,26 @@ class PedometerBindings { return __objc_msgSend_210(obj, sel, pathComponent, isDirectory); } - late final __objc_msgSend_210Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_210 = - __objc_msgSend_210Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_210Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_210 = __objc_msgSend_210Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_URLByDeletingLastPathComponent1 = _registerName1( "URLByDeletingLastPathComponent", @@ -7005,24 +7013,24 @@ class PedometerBindings { return __objc_msgSend_211(obj, sel, shouldUseCache); } - late final __objc_msgSend_211Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_211 = - __objc_msgSend_211Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_211Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_211 = __objc_msgSend_211Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_loadResourceDataNotifyingClient_usingCache_1 = _registerName1( "loadResourceDataNotifyingClient:usingCache:", @@ -7036,26 +7044,26 @@ class PedometerBindings { return __objc_msgSend_212(obj, sel, client, shouldUseCache); } - late final __objc_msgSend_212Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_212 = - __objc_msgSend_212Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_212Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_212 = __objc_msgSend_212Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_propertyForKey_1 = _registerName1("propertyForKey:"); late final _sel_setResourceData_1 = _registerName1("setResourceData:"); @@ -7069,26 +7077,26 @@ class PedometerBindings { return __objc_msgSend_213(obj, sel, property, propertyKey); } - late final __objc_msgSend_213Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_213 = - __objc_msgSend_213Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_213Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_213 = __objc_msgSend_213Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLHandleUsingCache_1 = _registerName1( "URLHandleUsingCache:", @@ -7101,24 +7109,24 @@ class PedometerBindings { return __objc_msgSend_214(obj, sel, shouldUseCache); } - late final __objc_msgSend_214Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_214 = - __objc_msgSend_214Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_214Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_214 = __objc_msgSend_214Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_writeToFile_options_error_1 = _registerName1( "writeToFile:options:error:", @@ -7133,28 +7141,28 @@ class PedometerBindings { return __objc_msgSend_215(obj, sel, path, writeOptionsMask, errorPtr); } - late final __objc_msgSend_215Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_215 = - __objc_msgSend_215Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_215Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_215 = __objc_msgSend_215Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_writeToURL_options_error_1 = _registerName1( "writeToURL:options:error:", @@ -7169,28 +7177,28 @@ class PedometerBindings { return __objc_msgSend_216(obj, sel, url, writeOptionsMask, errorPtr); } - late final __objc_msgSend_216Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_216 = - __objc_msgSend_216Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_216Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_216 = __objc_msgSend_216Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_rangeOfData_options_range_1 = _registerName1( "rangeOfData:options:range:", @@ -7205,28 +7213,28 @@ class PedometerBindings { return __objc_msgSend_217(obj, sel, dataToFind, mask, searchRange); } - late final __objc_msgSend_217Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_217 = - __objc_msgSend_217Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_217Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_217 = __objc_msgSend_217Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_217_stret( ffi.Pointer<_NSRange> stret, @@ -7246,30 +7254,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_217_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_217_stret = - __objc_msgSend_217_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_217_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_217_stret = __objc_msgSend_217_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_enumerateByteRangesUsingBlock_1 = _registerName1( "enumerateByteRangesUsingBlock:", @@ -7282,24 +7290,24 @@ class PedometerBindings { return __objc_msgSend_218(obj, sel, block); } - late final __objc_msgSend_218Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_218 = - __objc_msgSend_218Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_218Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_218 = __objc_msgSend_218Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_data1 = _registerName1("data"); late final _sel_dataWithBytes_length_1 = _registerName1( @@ -7314,26 +7322,26 @@ class PedometerBindings { return __objc_msgSend_219(obj, sel, bytes, length); } - late final __objc_msgSend_219Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_219 = - __objc_msgSend_219Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_219Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_219 = __objc_msgSend_219Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_dataWithBytesNoCopy_length_1 = _registerName1( "dataWithBytesNoCopy:length:", @@ -7351,28 +7359,28 @@ class PedometerBindings { return __objc_msgSend_220(obj, sel, bytes, length, b); } - late final __objc_msgSend_220Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_220 = - __objc_msgSend_220Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + late final __objc_msgSend_220Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_220 = __objc_msgSend_220Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + bool, + ) + >(); late final _sel_dataWithContentsOfFile_options_error_1 = _registerName1( "dataWithContentsOfFile:options:error:", @@ -7387,28 +7395,28 @@ class PedometerBindings { return __objc_msgSend_221(obj, sel, path, readOptionsMask, errorPtr); } - late final __objc_msgSend_221Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_221 = - __objc_msgSend_221Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_221Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_221 = __objc_msgSend_221Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_dataWithContentsOfURL_options_error_1 = _registerName1( "dataWithContentsOfURL:options:error:", @@ -7423,28 +7431,28 @@ class PedometerBindings { return __objc_msgSend_222(obj, sel, url, readOptionsMask, errorPtr); } - late final __objc_msgSend_222Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_222 = - __objc_msgSend_222Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_222Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_222 = __objc_msgSend_222Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_dataWithContentsOfFile_1 = _registerName1( "dataWithContentsOfFile:", @@ -7460,24 +7468,24 @@ class PedometerBindings { return __objc_msgSend_223(obj, sel, url); } - late final __objc_msgSend_223Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_223 = - __objc_msgSend_223Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_223Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_223 = __objc_msgSend_223Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithBytes_length_1 = _registerName1( "initWithBytes:length:", @@ -7501,28 +7509,28 @@ class PedometerBindings { return __objc_msgSend_224(obj, sel, bytes, length, deallocator); } - late final __objc_msgSend_224Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_224 = - __objc_msgSend_224Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_224Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_224 = __objc_msgSend_224Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_initWithContentsOfFile_options_error_1 = _registerName1( "initWithContentsOfFile:options:error:", @@ -7539,24 +7547,24 @@ class PedometerBindings { return __objc_msgSend_225(obj, sel, data); } - late final __objc_msgSend_225Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_225 = - __objc_msgSend_225Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_225Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_225 = __objc_msgSend_225Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dataWithData_1 = _registerName1("dataWithData:"); late final _sel_initWithBase64EncodedString_options_1 = _registerName1( @@ -7571,26 +7579,26 @@ class PedometerBindings { return __objc_msgSend_226(obj, sel, base64String, options); } - late final __objc_msgSend_226Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_226 = - __objc_msgSend_226Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_226Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_226 = __objc_msgSend_226Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_base64EncodedStringWithOptions_1 = _registerName1( "base64EncodedStringWithOptions:", @@ -7603,24 +7611,24 @@ class PedometerBindings { return __objc_msgSend_227(obj, sel, options); } - late final __objc_msgSend_227Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_227 = - __objc_msgSend_227Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_227Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_227 = __objc_msgSend_227Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithBase64EncodedData_options_1 = _registerName1( "initWithBase64EncodedData:options:", @@ -7634,26 +7642,26 @@ class PedometerBindings { return __objc_msgSend_228(obj, sel, base64Data, options); } - late final __objc_msgSend_228Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_228 = - __objc_msgSend_228Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_228Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_228 = __objc_msgSend_228Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_base64EncodedDataWithOptions_1 = _registerName1( "base64EncodedDataWithOptions:", @@ -7666,24 +7674,24 @@ class PedometerBindings { return __objc_msgSend_229(obj, sel, options); } - late final __objc_msgSend_229Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_229 = - __objc_msgSend_229Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_229Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_229 = __objc_msgSend_229Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_decompressedDataUsingAlgorithm_error_1 = _registerName1( "decompressedDataUsingAlgorithm:error:", @@ -7697,26 +7705,26 @@ class PedometerBindings { return __objc_msgSend_230(obj, sel, algorithm, error); } - late final __objc_msgSend_230Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_230 = - __objc_msgSend_230Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_230Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_230 = __objc_msgSend_230Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_compressedDataUsingAlgorithm_error_1 = _registerName1( "compressedDataUsingAlgorithm:error:", @@ -7741,24 +7749,24 @@ class PedometerBindings { return __objc_msgSend_231(obj, sel, data); } - late final __objc_msgSend_231Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_231 = - __objc_msgSend_231Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_231Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_231 = __objc_msgSend_231Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeDataObject1 = _registerName1("decodeDataObject"); ffi.Pointer _objc_msgSend_232( @@ -7768,22 +7776,22 @@ class PedometerBindings { return __objc_msgSend_232(obj, sel); } - late final __objc_msgSend_232Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_232 = - __objc_msgSend_232Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_232Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_232 = __objc_msgSend_232Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeValueOfObjCType_at_size_1 = _registerName1( "decodeValueOfObjCType:at:size:", @@ -7798,28 +7806,28 @@ class PedometerBindings { return __objc_msgSend_233(obj, sel, type, data, size); } - late final __objc_msgSend_233Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_233 = - __objc_msgSend_233Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_233Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_233 = __objc_msgSend_233Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_versionForClassName_1 = _registerName1( "versionForClassName:", @@ -7832,24 +7840,24 @@ class PedometerBindings { return __objc_msgSend_234(obj, sel, className); } - late final __objc_msgSend_234Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_234 = - __objc_msgSend_234Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_234Ptr = + _lookup< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_234 = __objc_msgSend_234Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_encodeObject_1 = _registerName1("encodeObject:"); void _objc_msgSend_235( @@ -7860,24 +7868,24 @@ class PedometerBindings { return __objc_msgSend_235(obj, sel, object); } - late final __objc_msgSend_235Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_235 = - __objc_msgSend_235Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_235Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_235 = __objc_msgSend_235Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_encodeRootObject_1 = _registerName1("encodeRootObject:"); late final _sel_encodeBycopyObject_1 = _registerName1("encodeBycopyObject:"); @@ -7896,24 +7904,24 @@ class PedometerBindings { return __objc_msgSend_236(obj, sel, types); } - late final __objc_msgSend_236Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_236 = - __objc_msgSend_236Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_236Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_236 = __objc_msgSend_236Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_encodeArrayOfObjCType_count_at_1 = _registerName1( "encodeArrayOfObjCType:count:at:", @@ -7928,28 +7936,28 @@ class PedometerBindings { return __objc_msgSend_237(obj, sel, type, count, array); } - late final __objc_msgSend_237Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_237 = - __objc_msgSend_237Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_237Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_237 = __objc_msgSend_237Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_encodeBytes_length_1 = _registerName1("encodeBytes:length:"); late final _sel_decodeObject1 = _registerName1("decodeObject"); @@ -7964,24 +7972,24 @@ class PedometerBindings { return __objc_msgSend_238(obj, sel, error); } - late final __objc_msgSend_238Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_238 = - __objc_msgSend_238Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_238Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_238 = __objc_msgSend_238Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_decodeValuesOfObjCTypes_1 = _registerName1( "decodeValuesOfObjCTypes:", @@ -8000,24 +8008,24 @@ class PedometerBindings { return __objc_msgSend_239(obj, sel, lengthp); } - late final __objc_msgSend_239Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_239 = - __objc_msgSend_239Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_239Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_239 = __objc_msgSend_239Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_encodePropertyList_1 = _registerName1("encodePropertyList:"); late final _sel_decodePropertyList1 = _registerName1("decodePropertyList"); @@ -8030,24 +8038,24 @@ class PedometerBindings { return __objc_msgSend_240(obj, sel, zone); } - late final __objc_msgSend_240Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_240 = - __objc_msgSend_240Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSZone>, - ) - >(); + late final __objc_msgSend_240Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_240 = __objc_msgSend_240Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + >(); late final _sel_objectZone1 = _registerName1("objectZone"); ffi.Pointer<_NSZone> _objc_msgSend_241( @@ -8057,22 +8065,22 @@ class PedometerBindings { return __objc_msgSend_241(obj, sel); } - late final __objc_msgSend_241Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_241 = - __objc_msgSend_241Ptr - .asFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_241Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer<_NSZone> Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_241 = __objc_msgSend_241Ptr + .asFunction< + ffi.Pointer<_NSZone> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_systemVersion1 = _registerName1("systemVersion"); late final _sel_allowsKeyedCoding1 = _registerName1("allowsKeyedCoding"); @@ -8092,26 +8100,26 @@ class PedometerBindings { return __objc_msgSend_242(obj, sel, value, key); } - late final __objc_msgSend_242Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_242 = - __objc_msgSend_242Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_242Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_242 = __objc_msgSend_242Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); late final _sel_encodeInt_forKey_1 = _registerName1("encodeInt:forKey:"); void _objc_msgSend_243( @@ -8123,26 +8131,26 @@ class PedometerBindings { return __objc_msgSend_243(obj, sel, value, key); } - late final __objc_msgSend_243Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_243 = - __objc_msgSend_243Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_243Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_243 = __objc_msgSend_243Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_encodeInt32_forKey_1 = _registerName1("encodeInt32:forKey:"); void _objc_msgSend_244( @@ -8154,26 +8162,26 @@ class PedometerBindings { return __objc_msgSend_244(obj, sel, value, key); } - late final __objc_msgSend_244Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_244 = - __objc_msgSend_244Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_244Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_244 = __objc_msgSend_244Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_encodeInt64_forKey_1 = _registerName1("encodeInt64:forKey:"); void _objc_msgSend_245( @@ -8185,26 +8193,26 @@ class PedometerBindings { return __objc_msgSend_245(obj, sel, value, key); } - late final __objc_msgSend_245Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_245 = - __objc_msgSend_245Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_245Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_245 = __objc_msgSend_245Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_encodeFloat_forKey_1 = _registerName1("encodeFloat:forKey:"); void _objc_msgSend_246( @@ -8216,26 +8224,26 @@ class PedometerBindings { return __objc_msgSend_246(obj, sel, value, key); } - late final __objc_msgSend_246Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_246 = - __objc_msgSend_246Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_246Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_246 = __objc_msgSend_246Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); late final _sel_encodeDouble_forKey_1 = _registerName1( "encodeDouble:forKey:", @@ -8249,26 +8257,26 @@ class PedometerBindings { return __objc_msgSend_247(obj, sel, value, key); } - late final __objc_msgSend_247Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_247 = - __objc_msgSend_247Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_247Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_247 = __objc_msgSend_247Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); late final _sel_encodeBytes_length_forKey_1 = _registerName1( "encodeBytes:length:forKey:", @@ -8283,28 +8291,28 @@ class PedometerBindings { return __objc_msgSend_248(obj, sel, bytes, length, key); } - late final __objc_msgSend_248Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_248 = - __objc_msgSend_248Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_248Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_248 = __objc_msgSend_248Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_containsValueForKey_1 = _registerName1( "containsValueForKey:", @@ -8322,26 +8330,26 @@ class PedometerBindings { return __objc_msgSend_249(obj, sel, key, error); } - late final __objc_msgSend_249Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_249 = - __objc_msgSend_249Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_249Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_249 = __objc_msgSend_249Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_decodeBoolForKey_1 = _registerName1("decodeBoolForKey:"); late final _sel_decodeIntForKey_1 = _registerName1("decodeIntForKey:"); @@ -8353,24 +8361,24 @@ class PedometerBindings { return __objc_msgSend_250(obj, sel, key); } - late final __objc_msgSend_250Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_250 = - __objc_msgSend_250Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_250Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_250 = __objc_msgSend_250Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeInt32ForKey_1 = _registerName1("decodeInt32ForKey:"); int _objc_msgSend_251( @@ -8381,24 +8389,24 @@ class PedometerBindings { return __objc_msgSend_251(obj, sel, key); } - late final __objc_msgSend_251Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_251 = - __objc_msgSend_251Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_251Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_251 = __objc_msgSend_251Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeInt64ForKey_1 = _registerName1("decodeInt64ForKey:"); int _objc_msgSend_252( @@ -8409,24 +8417,24 @@ class PedometerBindings { return __objc_msgSend_252(obj, sel, key); } - late final __objc_msgSend_252Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_252 = - __objc_msgSend_252Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_252Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_252 = __objc_msgSend_252Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeFloatForKey_1 = _registerName1("decodeFloatForKey:"); double _objc_msgSend_253( @@ -8437,24 +8445,24 @@ class PedometerBindings { return __objc_msgSend_253(obj, sel, key); } - late final __objc_msgSend_253Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_253 = - __objc_msgSend_253Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_253Ptr = + _lookup< + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_253 = __objc_msgSend_253Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_253_fpret( ffi.Pointer obj, @@ -8464,24 +8472,24 @@ class PedometerBindings { return __objc_msgSend_253_fpret(obj, sel, key); } - late final __objc_msgSend_253_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_253_fpret = - __objc_msgSend_253_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_253_fpretPtr = + _lookup< + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_253_fpret = __objc_msgSend_253_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeDoubleForKey_1 = _registerName1("decodeDoubleForKey:"); double _objc_msgSend_254( @@ -8492,24 +8500,24 @@ class PedometerBindings { return __objc_msgSend_254(obj, sel, key); } - late final __objc_msgSend_254Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_254 = - __objc_msgSend_254Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_254Ptr = + _lookup< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_254 = __objc_msgSend_254Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_254_fpret( ffi.Pointer obj, @@ -8519,24 +8527,24 @@ class PedometerBindings { return __objc_msgSend_254_fpret(obj, sel, key); } - late final __objc_msgSend_254_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_254_fpret = - __objc_msgSend_254_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_254_fpretPtr = + _lookup< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_254_fpret = __objc_msgSend_254_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeBytesForKey_returnedLength_1 = _registerName1( "decodeBytesForKey:returnedLength:", @@ -8550,26 +8558,26 @@ class PedometerBindings { return __objc_msgSend_255(obj, sel, key, lengthp); } - late final __objc_msgSend_255Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_255 = - __objc_msgSend_255Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_255Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_255 = __objc_msgSend_255Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_encodeInteger_forKey_1 = _registerName1( "encodeInteger:forKey:", @@ -8583,26 +8591,26 @@ class PedometerBindings { return __objc_msgSend_256(obj, sel, value, key); } - late final __objc_msgSend_256Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_256 = - __objc_msgSend_256Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_256Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_256 = __objc_msgSend_256Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_decodeIntegerForKey_1 = _registerName1( "decodeIntegerForKey:", @@ -8622,26 +8630,26 @@ class PedometerBindings { return __objc_msgSend_257(obj, sel, aClass, key); } - late final __objc_msgSend_257Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_257 = - __objc_msgSend_257Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_257Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_257 = __objc_msgSend_257Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = _registerName1( "decodeTopLevelObjectOfClass:forKey:error:", @@ -8656,28 +8664,28 @@ class PedometerBindings { return __objc_msgSend_258(obj, sel, aClass, key, error); } - late final __objc_msgSend_258Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_258 = - __objc_msgSend_258Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_258Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_258 = __objc_msgSend_258Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = _registerName1( "decodeArrayOfObjectsOfClass:forKey:", @@ -8691,26 +8699,26 @@ class PedometerBindings { return __objc_msgSend_259(obj, sel, cls, key); } - late final __objc_msgSend_259Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_259 = - __objc_msgSend_259Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_259Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_259 = __objc_msgSend_259Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1 = _registerName1("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); @@ -8724,28 +8732,28 @@ class PedometerBindings { return __objc_msgSend_260(obj, sel, keyCls, objectCls, key); } - late final __objc_msgSend_260Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_260 = - __objc_msgSend_260Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_260Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_260 = __objc_msgSend_260Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeObjectOfClasses_forKey_1 = _registerName1( "decodeObjectOfClasses:forKey:", @@ -8759,26 +8767,26 @@ class PedometerBindings { return __objc_msgSend_261(obj, sel, classes, key); } - late final __objc_msgSend_261Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_261 = - __objc_msgSend_261Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_261Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_261 = __objc_msgSend_261Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = _registerName1( "decodeTopLevelObjectOfClasses:forKey:error:", @@ -8793,28 +8801,28 @@ class PedometerBindings { return __objc_msgSend_262(obj, sel, classes, key, error); } - late final __objc_msgSend_262Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_262 = - __objc_msgSend_262Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_262Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_262 = __objc_msgSend_262Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = _registerName1( "decodeArrayOfObjectsOfClasses:forKey:", @@ -8828,26 +8836,26 @@ class PedometerBindings { return __objc_msgSend_263(obj, sel, classes, key); } - late final __objc_msgSend_263Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_263 = - __objc_msgSend_263Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_263Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_263 = __objc_msgSend_263Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1 = _registerName1( @@ -8863,28 +8871,28 @@ class PedometerBindings { return __objc_msgSend_264(obj, sel, keyClasses, objectClasses, key); } - late final __objc_msgSend_264Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_264 = - __objc_msgSend_264Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_264Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_264 = __objc_msgSend_264Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodePropertyListForKey_1 = _registerName1( "decodePropertyListForKey:", @@ -8897,22 +8905,22 @@ class PedometerBindings { return __objc_msgSend_265(obj, sel); } - late final __objc_msgSend_265Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_265 = - __objc_msgSend_265Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_265Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_265 = __objc_msgSend_265Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_failWithError_1 = _registerName1("failWithError:"); void _objc_msgSend_266( @@ -8923,24 +8931,24 @@ class PedometerBindings { return __objc_msgSend_266(obj, sel, error); } - late final __objc_msgSend_266Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_266 = - __objc_msgSend_266Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_266Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_266 = __objc_msgSend_266Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodingFailurePolicy1 = _registerName1( "decodingFailurePolicy", @@ -8949,16 +8957,16 @@ class PedometerBindings { return __objc_msgSend_267(obj, sel); } - late final __objc_msgSend_267Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_267 = - __objc_msgSend_267Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_267Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_267 = __objc_msgSend_267Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_error1 = _registerName1("error"); ffi.Pointer _objc_msgSend_268( @@ -8968,22 +8976,22 @@ class PedometerBindings { return __objc_msgSend_268(obj, sel); } - late final __objc_msgSend_268Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_268 = - __objc_msgSend_268Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_268Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_268 = __objc_msgSend_268Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_encodeNXObject_1 = _registerName1("encodeNXObject:"); late final _sel_decodeNXObject1 = _registerName1("decodeNXObject"); @@ -8999,24 +9007,24 @@ class PedometerBindings { return __objc_msgSend_269(obj, sel, from); } - late final __objc_msgSend_269Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_269 = - __objc_msgSend_269Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_269Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_269 = __objc_msgSend_269Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_substringToIndex_1 = _registerName1("substringToIndex:"); late final _sel_substringWithRange_1 = _registerName1("substringWithRange:"); @@ -9028,24 +9036,24 @@ class PedometerBindings { return __objc_msgSend_270(obj, sel, range); } - late final __objc_msgSend_270Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_270 = - __objc_msgSend_270Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_270Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_270 = __objc_msgSend_270Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_getCharacters_range_1 = _registerName1( "getCharacters:range:", @@ -9059,53 +9067,53 @@ class PedometerBindings { return __objc_msgSend_271(obj, sel, buffer, range); } - late final __objc_msgSend_271Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_271 = - __objc_msgSend_271Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); - - int _objc_msgSend_272( - ffi.Pointer obj, - ffi.Pointer sel, + late final __objc_msgSend_271Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_271 = __objc_msgSend_271Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + int _objc_msgSend_272( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer string, ) { return __objc_msgSend_272(obj, sel, string); } - late final __objc_msgSend_272Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_272 = - __objc_msgSend_272Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_272Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_272 = __objc_msgSend_272Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_compare_options_1 = _registerName1("compare:options:"); int _objc_msgSend_273( @@ -9117,26 +9125,26 @@ class PedometerBindings { return __objc_msgSend_273(obj, sel, string, mask); } - late final __objc_msgSend_273Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_273 = - __objc_msgSend_273Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_273Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_273 = __objc_msgSend_273Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_compare_options_range_1 = _registerName1( "compare:options:range:", @@ -9151,28 +9159,28 @@ class PedometerBindings { return __objc_msgSend_274(obj, sel, string, mask, rangeOfReceiverToCompare); } - late final __objc_msgSend_274Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_274 = - __objc_msgSend_274Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_274Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_274 = __objc_msgSend_274Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_compare_options_range_locale_1 = _registerName1( "compare:options:range:locale:", @@ -9195,30 +9203,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_275Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_275 = - __objc_msgSend_275Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_275Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_275 = __objc_msgSend_275Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_caseInsensitiveCompare_1 = _registerName1( "caseInsensitiveCompare:", @@ -9245,26 +9253,26 @@ class PedometerBindings { return __objc_msgSend_276(obj, sel, str, mask); } - late final __objc_msgSend_276Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_276 = - __objc_msgSend_276Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_276Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_276 = __objc_msgSend_276Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_containsString_1 = _registerName1("containsString:"); late final _sel_localizedCaseInsensitiveContainsString_1 = _registerName1( @@ -9284,24 +9292,24 @@ class PedometerBindings { return __objc_msgSend_277(obj, sel, str); } - late final __objc_msgSend_277Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_277 = - __objc_msgSend_277Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_277Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_277 = __objc_msgSend_277Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_277_stret( ffi.Pointer<_NSRange> stret, @@ -9312,26 +9320,26 @@ class PedometerBindings { return __objc_msgSend_277_stret(stret, obj, sel, str); } - late final __objc_msgSend_277_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_277_stret = - __objc_msgSend_277_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_277_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_277_stret = __objc_msgSend_277_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_rangeOfString_1 = _registerName1("rangeOfString:"); late final _sel_rangeOfString_options_1 = _registerName1( @@ -9346,26 +9354,26 @@ class PedometerBindings { return __objc_msgSend_278(obj, sel, searchString, mask); } - late final __objc_msgSend_278Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_278 = - __objc_msgSend_278Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_278Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_278 = __objc_msgSend_278Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_278_stret( ffi.Pointer<_NSRange> stret, @@ -9377,28 +9385,28 @@ class PedometerBindings { return __objc_msgSend_278_stret(stret, obj, sel, searchString, mask); } - late final __objc_msgSend_278_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_278_stret = - __objc_msgSend_278_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_278_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_278_stret = __objc_msgSend_278_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_rangeOfString_options_range_1 = _registerName1( "rangeOfString:options:range:", @@ -9419,28 +9427,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_279Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_279 = - __objc_msgSend_279Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_279Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_279 = __objc_msgSend_279Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_279_stret( ffi.Pointer<_NSRange> stret, @@ -9460,30 +9468,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_279_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_279_stret = - __objc_msgSend_279_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_279_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_279_stret = __objc_msgSend_279_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _class_NSLocale1 = _getClass1("NSLocale"); late final _sel_displayNameForKey_value_1 = _registerName1( @@ -9498,26 +9506,26 @@ class PedometerBindings { return __objc_msgSend_280(obj, sel, key, value); } - late final __objc_msgSend_280Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_280 = - __objc_msgSend_280Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_280Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_280 = __objc_msgSend_280Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithLocaleIdentifier_1 = _registerName1( "initWithLocaleIdentifier:", @@ -9538,24 +9546,24 @@ class PedometerBindings { return __objc_msgSend_281(obj, sel, languageCode); } - late final __objc_msgSend_281Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_281 = - __objc_msgSend_281Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_281Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_281 = __objc_msgSend_281Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_languageIdentifier1 = _registerName1("languageIdentifier"); late final _sel_countryCode1 = _registerName1("countryCode"); @@ -9580,22 +9588,22 @@ class PedometerBindings { return __objc_msgSend_282(obj, sel); } - late final __objc_msgSend_282Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_282 = - __objc_msgSend_282Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_282Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_282 = __objc_msgSend_282Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_whitespaceCharacterSet1 = _registerName1( "whitespaceCharacterSet", @@ -9640,24 +9648,24 @@ class PedometerBindings { return __objc_msgSend_283(obj, sel, aRange); } - late final __objc_msgSend_283Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_283 = - __objc_msgSend_283Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_283Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_283 = __objc_msgSend_283Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_characterSetWithCharactersInString_1 = _registerName1( "characterSetWithCharactersInString:", @@ -9670,24 +9678,24 @@ class PedometerBindings { return __objc_msgSend_284(obj, sel, aString); } - late final __objc_msgSend_284Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_284 = - __objc_msgSend_284Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_284Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_284 = __objc_msgSend_284Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_characterSetWithBitmapRepresentation_1 = _registerName1( "characterSetWithBitmapRepresentation:", @@ -9700,24 +9708,24 @@ class PedometerBindings { return __objc_msgSend_285(obj, sel, data); } - late final __objc_msgSend_285Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_285 = - __objc_msgSend_285Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_285Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_285 = __objc_msgSend_285Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_characterSetWithContentsOfFile_1 = _registerName1( "characterSetWithContentsOfFile:", @@ -9730,24 +9738,24 @@ class PedometerBindings { return __objc_msgSend_286(obj, sel, fName); } - late final __objc_msgSend_286Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_286 = - __objc_msgSend_286Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_286Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_286 = __objc_msgSend_286Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); instancetype _objc_msgSend_287( ffi.Pointer obj, @@ -9757,24 +9765,24 @@ class PedometerBindings { return __objc_msgSend_287(obj, sel, coder); } - late final __objc_msgSend_287Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_287 = - __objc_msgSend_287Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_287Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_287 = __objc_msgSend_287Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_characterIsMember_1 = _registerName1("characterIsMember:"); bool _objc_msgSend_288( @@ -9785,20 +9793,20 @@ class PedometerBindings { return __objc_msgSend_288(obj, sel, aCharacter); } - late final __objc_msgSend_288Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedShort, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_288 = - __objc_msgSend_288Ptr - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_288Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_288 = __objc_msgSend_288Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_bitmapRepresentation1 = _registerName1( "bitmapRepresentation", @@ -9815,20 +9823,20 @@ class PedometerBindings { return __objc_msgSend_289(obj, sel, theLongChar); } - late final __objc_msgSend_289Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedInt, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_289 = - __objc_msgSend_289Ptr - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_289Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_289 = __objc_msgSend_289Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_isSupersetOfSet_1 = _registerName1("isSupersetOfSet:"); bool _objc_msgSend_290( @@ -9839,24 +9847,24 @@ class PedometerBindings { return __objc_msgSend_290(obj, sel, theOtherSet); } - late final __objc_msgSend_290Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_290 = - __objc_msgSend_290Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_290Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_290 = __objc_msgSend_290Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_hasMemberInPlane_1 = _registerName1("hasMemberInPlane:"); bool _objc_msgSend_291( @@ -9867,20 +9875,20 @@ class PedometerBindings { return __objc_msgSend_291(obj, sel, thePlane); } - late final __objc_msgSend_291Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Uint8, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_291 = - __objc_msgSend_291Ptr - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_291Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint8, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_291 = __objc_msgSend_291Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_URLUserAllowedCharacterSet1 = _registerName1( "URLUserAllowedCharacterSet", @@ -9945,22 +9953,22 @@ class PedometerBindings { return __objc_msgSend_292(obj, sel); } - late final __objc_msgSend_292Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_292 = - __objc_msgSend_292Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_292Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_292 = __objc_msgSend_292Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_currentLocale1 = _registerName1("currentLocale"); late final _sel_systemLocale1 = _registerName1("systemLocale"); @@ -9988,24 +9996,24 @@ class PedometerBindings { return __objc_msgSend_293(obj, sel, string); } - late final __objc_msgSend_293Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_293 = - __objc_msgSend_293Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_293Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_293 = __objc_msgSend_293Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localeIdentifierFromComponents_1 = _registerName1( "localeIdentifierFromComponents:", @@ -10018,24 +10026,24 @@ class PedometerBindings { return __objc_msgSend_294(obj, sel, dict); } - late final __objc_msgSend_294Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_294 = - __objc_msgSend_294Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_294Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_294 = __objc_msgSend_294Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_canonicalLocaleIdentifierFromString_1 = _registerName1( "canonicalLocaleIdentifierFromString:", @@ -10054,24 +10062,24 @@ class PedometerBindings { return __objc_msgSend_295(obj, sel, lcid); } - late final __objc_msgSend_295Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Uint32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_295 = - __objc_msgSend_295Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_295Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_295 = __objc_msgSend_295Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = _registerName1( "windowsLocaleCodeFromLocaleIdentifier:", @@ -10084,27 +10092,27 @@ class PedometerBindings { return __objc_msgSend_296(obj, sel, localeIdentifier); } - late final __objc_msgSend_296Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_296 = - __objc_msgSend_296Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); - - late final _sel_characterDirectionForLanguage_1 = _registerName1( - "characterDirectionForLanguage:", + late final __objc_msgSend_296Ptr = + _lookup< + ffi.NativeFunction< + ffi.Uint32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_296 = __objc_msgSend_296Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterDirectionForLanguage_1 = _registerName1( + "characterDirectionForLanguage:", ); int _objc_msgSend_297( ffi.Pointer obj, @@ -10114,24 +10122,24 @@ class PedometerBindings { return __objc_msgSend_297(obj, sel, isoLangCode); } - late final __objc_msgSend_297Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_297 = - __objc_msgSend_297Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_297Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_297 = __objc_msgSend_297Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_lineDirectionForLanguage_1 = _registerName1( "lineDirectionForLanguage:", @@ -10157,30 +10165,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_298Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_298 = - __objc_msgSend_298Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_298Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_298 = __objc_msgSend_298Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer, + ) + >(); void _objc_msgSend_298_stret( ffi.Pointer<_NSRange> stret, @@ -10202,32 +10210,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_298_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_298_stret = - __objc_msgSend_298_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_298_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_298_stret = __objc_msgSend_298_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_rangeOfCharacterFromSet_1 = _registerName1( "rangeOfCharacterFromSet:", @@ -10240,24 +10248,24 @@ class PedometerBindings { return __objc_msgSend_299(obj, sel, searchSet); } - late final __objc_msgSend_299Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_299 = - __objc_msgSend_299Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_299Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_299 = __objc_msgSend_299Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_299_stret( ffi.Pointer<_NSRange> stret, @@ -10268,26 +10276,26 @@ class PedometerBindings { return __objc_msgSend_299_stret(stret, obj, sel, searchSet); } - late final __objc_msgSend_299_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_299_stret = - __objc_msgSend_299_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_299_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_299_stret = __objc_msgSend_299_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_rangeOfCharacterFromSet_options_1 = _registerName1( "rangeOfCharacterFromSet:options:", @@ -10301,26 +10309,26 @@ class PedometerBindings { return __objc_msgSend_300(obj, sel, searchSet, mask); } - late final __objc_msgSend_300Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_300 = - __objc_msgSend_300Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_300Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_300 = __objc_msgSend_300Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_300_stret( ffi.Pointer<_NSRange> stret, @@ -10332,28 +10340,28 @@ class PedometerBindings { return __objc_msgSend_300_stret(stret, obj, sel, searchSet, mask); } - late final __objc_msgSend_300_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_300_stret = - __objc_msgSend_300_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_300_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_300_stret = __objc_msgSend_300_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_rangeOfCharacterFromSet_options_range_1 = _registerName1( "rangeOfCharacterFromSet:options:range:", @@ -10374,28 +10382,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_301Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_301 = - __objc_msgSend_301Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_301Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_301 = __objc_msgSend_301Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_301_stret( ffi.Pointer<_NSRange> stret, @@ -10415,30 +10423,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_301_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_301_stret = - __objc_msgSend_301_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_301_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_301_stret = __objc_msgSend_301_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = _registerName1( "rangeOfComposedCharacterSequenceAtIndex:", @@ -10451,24 +10459,20 @@ class PedometerBindings { return __objc_msgSend_302(obj, sel, index); } - late final __objc_msgSend_302Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_302 = - __objc_msgSend_302Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_302Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_302 = __objc_msgSend_302Ptr + .asFunction< + _NSRange Function(ffi.Pointer, ffi.Pointer, int) + >(); void _objc_msgSend_302_stret( ffi.Pointer<_NSRange> stret, @@ -10479,26 +10483,26 @@ class PedometerBindings { return __objc_msgSend_302_stret(stret, obj, sel, index); } - late final __objc_msgSend_302_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_302_stret = - __objc_msgSend_302_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_302_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_302_stret = __objc_msgSend_302_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_rangeOfComposedCharacterSequencesForRange_1 = _registerName1( "rangeOfComposedCharacterSequencesForRange:", @@ -10511,20 +10515,24 @@ class PedometerBindings { return __objc_msgSend_303(obj, sel, range); } - late final __objc_msgSend_303Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, _NSRange) - > - >('objc_msgSend'); - late final __objc_msgSend_303 = - __objc_msgSend_303Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_303Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_303 = __objc_msgSend_303Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); void _objc_msgSend_303_stret( ffi.Pointer<_NSRange> stret, @@ -10535,26 +10543,26 @@ class PedometerBindings { return __objc_msgSend_303_stret(stret, obj, sel, range); } - late final __objc_msgSend_303_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_303_stret = - __objc_msgSend_303_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_303_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_303_stret = __objc_msgSend_303_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_stringByAppendingString_1 = _registerName1( "stringByAppendingString:", @@ -10585,24 +10593,24 @@ class PedometerBindings { return __objc_msgSend_304(obj, sel, locale); } - late final __objc_msgSend_304Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_304 = - __objc_msgSend_304Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_304Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_304 = __objc_msgSend_304Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_lowercaseStringWithLocale_1 = _registerName1( "lowercaseStringWithLocale:", @@ -10631,30 +10639,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_305Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_305 = - __objc_msgSend_305Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_305Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_305 = __objc_msgSend_305Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_lineRangeForRange_1 = _registerName1("lineRangeForRange:"); late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = _registerName1( @@ -10675,28 +10683,28 @@ class PedometerBindings { return __objc_msgSend_306(obj, sel, range, opts, block); } - late final __objc_msgSend_306Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_306 = - __objc_msgSend_306Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_306Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_306 = __objc_msgSend_306Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateLinesUsingBlock_1 = _registerName1( "enumerateLinesUsingBlock:", @@ -10709,24 +10717,24 @@ class PedometerBindings { return __objc_msgSend_307(obj, sel, block); } - late final __objc_msgSend_307Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_307 = - __objc_msgSend_307Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_307Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_307 = __objc_msgSend_307Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_UTF8String1 = _registerName1("UTF8String"); late final _sel_fastestEncoding1 = _registerName1("fastestEncoding"); @@ -10743,26 +10751,26 @@ class PedometerBindings { return __objc_msgSend_308(obj, sel, encoding, lossy); } - late final __objc_msgSend_308Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_308 = - __objc_msgSend_308Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + late final __objc_msgSend_308Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_308 = __objc_msgSend_308Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + bool, + ) + >(); late final _sel_dataUsingEncoding_1 = _registerName1("dataUsingEncoding:"); ffi.Pointer _objc_msgSend_309( @@ -10773,24 +10781,24 @@ class PedometerBindings { return __objc_msgSend_309(obj, sel, encoding); } - late final __objc_msgSend_309Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_309 = - __objc_msgSend_309Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_309Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_309 = __objc_msgSend_309Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_canBeConvertedToEncoding_1 = _registerName1( "canBeConvertedToEncoding:", @@ -10811,28 +10819,28 @@ class PedometerBindings { return __objc_msgSend_310(obj, sel, buffer, maxBufferCount, encoding); } - late final __objc_msgSend_310Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_310 = - __objc_msgSend_310Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + late final __objc_msgSend_310Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_310 = __objc_msgSend_310Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); late final _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1 = _registerName1( @@ -10862,36 +10870,36 @@ class PedometerBindings { ); } - late final __objc_msgSend_311Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Int32, - _NSRange, - ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_311 = - __objc_msgSend_311Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - _NSRange, - ffi.Pointer<_NSRange>, - ) - >(); + late final __objc_msgSend_311Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Int32, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_311 = __objc_msgSend_311Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int, + int, + _NSRange, + ffi.Pointer<_NSRange>, + ) + >(); late final _sel_maximumLengthOfBytesUsingEncoding_1 = _registerName1( "maximumLengthOfBytesUsingEncoding:", @@ -10909,22 +10917,22 @@ class PedometerBindings { return __objc_msgSend_312(obj, sel); } - late final __objc_msgSend_312Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_312 = - __objc_msgSend_312Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_312Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_312 = __objc_msgSend_312Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedNameOfStringEncoding_1 = _registerName1( "localizedNameOfStringEncoding:", @@ -10955,24 +10963,24 @@ class PedometerBindings { return __objc_msgSend_313(obj, sel, separator); } - late final __objc_msgSend_313Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_313 = - __objc_msgSend_313Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_313Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_313 = __objc_msgSend_313Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_componentsSeparatedByCharactersInSet_1 = _registerName1( "componentsSeparatedByCharactersInSet:", @@ -10985,24 +10993,24 @@ class PedometerBindings { return __objc_msgSend_314(obj, sel, separator); } - late final __objc_msgSend_314Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_314 = - __objc_msgSend_314Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_314Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_314 = __objc_msgSend_314Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_stringByTrimmingCharactersInSet_1 = _registerName1( "stringByTrimmingCharactersInSet:", @@ -11015,24 +11023,24 @@ class PedometerBindings { return __objc_msgSend_315(obj, sel, set1); } - late final __objc_msgSend_315Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_315 = - __objc_msgSend_315Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_315Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_315 = __objc_msgSend_315Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = _registerName1("stringByPaddingToLength:withString:startingAtIndex:"); @@ -11046,34 +11054,34 @@ class PedometerBindings { return __objc_msgSend_316(obj, sel, newLength, padString, padIndex); } - late final __objc_msgSend_316Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_316 = - __objc_msgSend_316Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - ) - >(); - - late final _sel_stringByFoldingWithOptions_locale_1 = _registerName1( - "stringByFoldingWithOptions:locale:", - ); - ffi.Pointer _objc_msgSend_317( - ffi.Pointer obj, + late final __objc_msgSend_316Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_316 = __objc_msgSend_316Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int, + ) + >(); + + late final _sel_stringByFoldingWithOptions_locale_1 = _registerName1( + "stringByFoldingWithOptions:locale:", + ); + ffi.Pointer _objc_msgSend_317( + ffi.Pointer obj, ffi.Pointer sel, int options, ffi.Pointer locale, @@ -11081,26 +11089,26 @@ class PedometerBindings { return __objc_msgSend_317(obj, sel, options, locale); } - late final __objc_msgSend_317Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_317 = - __objc_msgSend_317Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_317Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_317 = __objc_msgSend_317Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_stringByReplacingOccurrencesOfString_withString_options_range_1 = _registerName1( @@ -11124,30 +11132,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_318Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_318 = - __objc_msgSend_318Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_318Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_318 = __objc_msgSend_318Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_stringByReplacingOccurrencesOfString_withString_1 = _registerName1("stringByReplacingOccurrencesOfString:withString:"); @@ -11160,26 +11168,26 @@ class PedometerBindings { return __objc_msgSend_319(obj, sel, target, replacement); } - late final __objc_msgSend_319Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_319 = - __objc_msgSend_319Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_319Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_319 = __objc_msgSend_319Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_stringByReplacingCharactersInRange_withString_1 = _registerName1("stringByReplacingCharactersInRange:withString:"); @@ -11192,26 +11200,26 @@ class PedometerBindings { return __objc_msgSend_320(obj, sel, range, replacement); } - late final __objc_msgSend_320Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_320 = - __objc_msgSend_320Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_320Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_320 = __objc_msgSend_320Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_stringByApplyingTransform_reverse_1 = _registerName1( "stringByApplyingTransform:reverse:", @@ -11225,26 +11233,26 @@ class PedometerBindings { return __objc_msgSend_321(obj, sel, transform, reverse); } - late final __objc_msgSend_321Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_321 = - __objc_msgSend_321Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_321Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_321 = __objc_msgSend_321Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_writeToURL_atomically_encoding_error_1 = _registerName1( "writeToURL:atomically:encoding:error:", @@ -11260,30 +11268,30 @@ class PedometerBindings { return __objc_msgSend_322(obj, sel, url, useAuxiliaryFile, enc, error); } - late final __objc_msgSend_322Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_322 = - __objc_msgSend_322Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_322Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_322 = __objc_msgSend_322Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>, + ) + >(); late final _sel_writeToFile_atomically_encoding_error_1 = _registerName1( "writeToFile:atomically:encoding:error:", @@ -11299,30 +11307,30 @@ class PedometerBindings { return __objc_msgSend_323(obj, sel, path, useAuxiliaryFile, enc, error); } - late final __objc_msgSend_323Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_323 = - __objc_msgSend_323Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_323Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_323 = __objc_msgSend_323Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + int, + ffi.Pointer>, + ) + >(); late final _sel_hash1 = _registerName1("hash"); late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = @@ -11337,28 +11345,28 @@ class PedometerBindings { return __objc_msgSend_324(obj, sel, characters, length, freeBuffer); } - late final __objc_msgSend_324Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_324 = - __objc_msgSend_324Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + late final __objc_msgSend_324Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_324 = __objc_msgSend_324Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + bool, + ) + >(); late final _sel_initWithCharactersNoCopy_length_deallocator_1 = _registerName1("initWithCharactersNoCopy:length:deallocator:"); @@ -11372,28 +11380,28 @@ class PedometerBindings { return __objc_msgSend_325(obj, sel, chars, len, deallocator); } - late final __objc_msgSend_325Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_325 = - __objc_msgSend_325Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_325Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_325 = __objc_msgSend_325Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_initWithCharacters_length_1 = _registerName1( "initWithCharacters:length:", @@ -11407,26 +11415,26 @@ class PedometerBindings { return __objc_msgSend_326(obj, sel, characters, length); } - late final __objc_msgSend_326Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_326 = - __objc_msgSend_326Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_326Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_326 = __objc_msgSend_326Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithUTF8String_1 = _registerName1("initWithUTF8String:"); instancetype _objc_msgSend_327( @@ -11437,24 +11445,24 @@ class PedometerBindings { return __objc_msgSend_327(obj, sel, nullTerminatedCString); } - late final __objc_msgSend_327Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_327 = - __objc_msgSend_327Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_327Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_327 = __objc_msgSend_327Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithFormat_1 = _registerName1("initWithFormat:"); late final _sel_initWithFormat_arguments_1 = _registerName1( @@ -11469,26 +11477,26 @@ class PedometerBindings { return __objc_msgSend_328(obj, sel, format, argList); } - late final __objc_msgSend_328Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_328 = - __objc_msgSend_328Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_328Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_328 = __objc_msgSend_328Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithFormat_locale_1 = _registerName1( "initWithFormat:locale:", @@ -11502,26 +11510,26 @@ class PedometerBindings { return __objc_msgSend_329(obj, sel, format, locale); } - late final __objc_msgSend_329Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_329 = - __objc_msgSend_329Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_329Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_329 = __objc_msgSend_329Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithFormat_locale_arguments_1 = _registerName1( "initWithFormat:locale:arguments:", @@ -11536,28 +11544,28 @@ class PedometerBindings { return __objc_msgSend_330(obj, sel, format, locale, argList); } - late final __objc_msgSend_330Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_330 = - __objc_msgSend_330Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_330Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_330 = __objc_msgSend_330Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = _registerName1("initWithValidatedFormat:validFormatSpecifiers:error:"); @@ -11571,28 +11579,28 @@ class PedometerBindings { return __objc_msgSend_331(obj, sel, format, validFormatSpecifiers, error); } - late final __objc_msgSend_331Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_331 = - __objc_msgSend_331Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_331Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_331 = __objc_msgSend_331Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1 = _registerName1( @@ -11616,30 +11624,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_332Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_332 = - __objc_msgSend_332Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_332Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_332 = __objc_msgSend_332Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1 = _registerName1( @@ -11663,30 +11671,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_333Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_333 = - __objc_msgSend_333Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_333Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_333 = __objc_msgSend_333Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1 = _registerName1( @@ -11712,32 +11720,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_334Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_334 = - __objc_msgSend_334Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_334Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_334 = __objc_msgSend_334Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithData_encoding_1 = _registerName1( "initWithData:encoding:", @@ -11751,26 +11759,26 @@ class PedometerBindings { return __objc_msgSend_335(obj, sel, data, encoding); } - late final __objc_msgSend_335Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_335 = - __objc_msgSend_335Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_335Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_335 = __objc_msgSend_335Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithBytes_length_encoding_1 = _registerName1( "initWithBytes:length:encoding:", @@ -11785,28 +11793,28 @@ class PedometerBindings { return __objc_msgSend_336(obj, sel, bytes, len, encoding); } - late final __objc_msgSend_336Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_336 = - __objc_msgSend_336Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + late final __objc_msgSend_336Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_336 = __objc_msgSend_336Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = _registerName1("initWithBytesNoCopy:length:encoding:freeWhenDone:"); @@ -11821,30 +11829,30 @@ class PedometerBindings { return __objc_msgSend_337(obj, sel, bytes, len, encoding, freeBuffer); } - late final __objc_msgSend_337Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_337 = - __objc_msgSend_337Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - bool, - ) - >(); + late final __objc_msgSend_337Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_337 = __objc_msgSend_337Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + bool, + ) + >(); late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = _registerName1("initWithBytesNoCopy:length:encoding:deallocator:"); @@ -11859,30 +11867,30 @@ class PedometerBindings { return __objc_msgSend_338(obj, sel, bytes, len, encoding, deallocator); } - late final __objc_msgSend_338Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_338 = - __objc_msgSend_338Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_338Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_338 = __objc_msgSend_338Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_string1 = _registerName1("string"); late final _sel_stringWithString_1 = _registerName1("stringWithString:"); @@ -11914,26 +11922,26 @@ class PedometerBindings { return __objc_msgSend_339(obj, sel, nullTerminatedCString, encoding); } - late final __objc_msgSend_339Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_339 = - __objc_msgSend_339Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_339Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_339 = __objc_msgSend_339Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_stringWithCString_encoding_1 = _registerName1( "stringWithCString:encoding:", @@ -11951,28 +11959,28 @@ class PedometerBindings { return __objc_msgSend_340(obj, sel, url, enc, error); } - late final __objc_msgSend_340Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_340 = - __objc_msgSend_340Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_340Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_340 = __objc_msgSend_340Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_initWithContentsOfFile_encoding_error_1 = _registerName1( "initWithContentsOfFile:encoding:error:", @@ -11987,28 +11995,28 @@ class PedometerBindings { return __objc_msgSend_341(obj, sel, path, enc, error); } - late final __objc_msgSend_341Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_341 = - __objc_msgSend_341Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_341Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_341 = __objc_msgSend_341Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_stringWithContentsOfURL_encoding_error_1 = _registerName1( "stringWithContentsOfURL:encoding:error:", @@ -12029,28 +12037,28 @@ class PedometerBindings { return __objc_msgSend_342(obj, sel, url, enc, error); } - late final __objc_msgSend_342Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_342 = - __objc_msgSend_342Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_342Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_342 = __objc_msgSend_342Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithContentsOfFile_usedEncoding_error_1 = _registerName1( "initWithContentsOfFile:usedEncoding:error:", @@ -12065,28 +12073,28 @@ class PedometerBindings { return __objc_msgSend_343(obj, sel, path, enc, error); } - late final __objc_msgSend_343Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_343 = - __objc_msgSend_343Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_343Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_343 = __objc_msgSend_343Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = _registerName1( "stringWithContentsOfURL:usedEncoding:error:", @@ -12115,30 +12123,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_344Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_344 = - __objc_msgSend_344Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_344Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_344 = __objc_msgSend_344Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + >(); late final _sel_propertyList1 = _registerName1("propertyList"); late final _sel_propertyListFromStringsFileFormat1 = _registerName1( @@ -12151,22 +12159,22 @@ class PedometerBindings { return __objc_msgSend_345(obj, sel); } - late final __objc_msgSend_345Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_345 = - __objc_msgSend_345Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_345Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_345 = __objc_msgSend_345Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_cString1 = _registerName1("cString"); late final _sel_lossyCString1 = _registerName1("lossyCString"); @@ -12184,26 +12192,26 @@ class PedometerBindings { return __objc_msgSend_346(obj, sel, bytes, maxLength); } - late final __objc_msgSend_346Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_346 = - __objc_msgSend_346Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_346Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_346 = __objc_msgSend_346Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_getCString_maxLength_range_remainingRange_1 = _registerName1( "getCString:maxLength:range:remainingRange:", @@ -12226,30 +12234,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_347Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - _NSRange, - ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_347 = - __objc_msgSend_347Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer<_NSRange>, - ) - >(); + late final __objc_msgSend_347Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_347 = __objc_msgSend_347Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer<_NSRange>, + ) + >(); late final _sel_stringWithContentsOfFile_1 = _registerName1( "stringWithContentsOfFile:", @@ -12270,28 +12278,28 @@ class PedometerBindings { return __objc_msgSend_348(obj, sel, bytes, length, freeBuffer); } - late final __objc_msgSend_348Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_348 = - __objc_msgSend_348Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + late final __objc_msgSend_348Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_348 = __objc_msgSend_348Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + bool, + ) + >(); late final _sel_initWithCString_length_1 = _registerName1( "initWithCString:length:", @@ -12310,24 +12318,24 @@ class PedometerBindings { return __objc_msgSend_349(obj, sel, buffer); } - late final __objc_msgSend_349Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_349 = - __objc_msgSend_349Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_349Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_349 = __objc_msgSend_349Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_variantFittingPresentationWidth_1 = _registerName1( "variantFittingPresentationWidth:", @@ -12340,24 +12348,24 @@ class PedometerBindings { return __objc_msgSend_350(obj, sel, width); } - late final __objc_msgSend_350Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_350 = - __objc_msgSend_350Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_350Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_350 = __objc_msgSend_350Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_pathWithComponents_1 = _registerName1("pathWithComponents:"); ffi.Pointer _objc_msgSend_351( @@ -12368,24 +12376,24 @@ class PedometerBindings { return __objc_msgSend_351(obj, sel, components); } - late final __objc_msgSend_351Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_351 = - __objc_msgSend_351Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_351Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_351 = __objc_msgSend_351Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isAbsolutePath1 = _registerName1("isAbsolutePath"); late final _sel_stringByDeletingLastPathComponent1 = _registerName1( @@ -12437,30 +12445,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_352Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Bool, - ffi.Pointer>, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_352 = - __objc_msgSend_352Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - bool, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_352Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Bool, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_352 = __objc_msgSend_352Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + bool, + ffi.Pointer>, + ffi.Pointer, + ) + >(); late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = _registerName1("stringByAddingPercentEncodingWithAllowedCharacters:"); @@ -12472,24 +12480,24 @@ class PedometerBindings { return __objc_msgSend_353(obj, sel, allowedCharacters); } - late final __objc_msgSend_353Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_353 = - __objc_msgSend_353Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_353Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_353 = __objc_msgSend_353Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_stringByRemovingPercentEncoding1 = _registerName1( "stringByRemovingPercentEncoding", @@ -12505,24 +12513,24 @@ class PedometerBindings { return __objc_msgSend_354(obj, sel, enc); } - late final __objc_msgSend_354Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_354 = - __objc_msgSend_354Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_354Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_354 = __objc_msgSend_354Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = _registerName1("stringByReplacingPercentEscapesUsingEncoding:"); @@ -12536,22 +12544,22 @@ class PedometerBindings { return __objc_msgSend_355(obj, sel); } - late final __objc_msgSend_355Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_355 = - __objc_msgSend_355Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_355Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_355 = __objc_msgSend_355Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithDominantScript_languageMap_1 = _registerName1( "initWithDominantScript:languageMap:", @@ -12565,26 +12573,26 @@ class PedometerBindings { return __objc_msgSend_356(obj, sel, script, map); } - late final __objc_msgSend_356Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_356 = - __objc_msgSend_356Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_356Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_356 = __objc_msgSend_356Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_languagesForScript_1 = _registerName1("languagesForScript:"); late final _sel_dominantLanguageForScript_1 = _registerName1( @@ -12623,32 +12631,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_357Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_357 = - __objc_msgSend_357Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_357Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_357 = __objc_msgSend_357Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1 = _registerName1( @@ -12674,32 +12682,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_358Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_358 = - __objc_msgSend_358Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_358Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_358 = __objc_msgSend_358Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_anyObject1 = _registerName1("anyObject"); late final _sel_intersectsSet_1 = _registerName1("intersectsSet:"); @@ -12711,24 +12719,24 @@ class PedometerBindings { return __objc_msgSend_359(obj, sel, otherSet); } - late final __objc_msgSend_359Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_359 = - __objc_msgSend_359Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_359Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_359 = __objc_msgSend_359Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isEqualToSet_1 = _registerName1("isEqualToSet:"); late final _sel_isSubsetOfSet_1 = _registerName1("isSubsetOfSet:"); @@ -12741,24 +12749,24 @@ class PedometerBindings { return __objc_msgSend_360(obj, sel, anObject); } - late final __objc_msgSend_360Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_360 = - __objc_msgSend_360Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_360Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_360 = __objc_msgSend_360Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setByAddingObjectsFromSet_1 = _registerName1( "setByAddingObjectsFromSet:", @@ -12771,24 +12779,24 @@ class PedometerBindings { return __objc_msgSend_361(obj, sel, other); } - late final __objc_msgSend_361Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_361 = - __objc_msgSend_361Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_361Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_361 = __objc_msgSend_361Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setByAddingObjectsFromArray_1 = _registerName1( "setByAddingObjectsFromArray:", @@ -12801,24 +12809,24 @@ class PedometerBindings { return __objc_msgSend_362(obj, sel, other); } - late final __objc_msgSend_362Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_362 = - __objc_msgSend_362Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_362Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_362 = __objc_msgSend_362Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_363( ffi.Pointer obj, @@ -12828,24 +12836,24 @@ class PedometerBindings { return __objc_msgSend_363(obj, sel, block); } - late final __objc_msgSend_363Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_363 = - __objc_msgSend_363Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_363Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_363 = __objc_msgSend_363Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); void _objc_msgSend_364( ffi.Pointer obj, @@ -12856,26 +12864,26 @@ class PedometerBindings { return __objc_msgSend_364(obj, sel, opts, block); } - late final __objc_msgSend_364Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_364 = - __objc_msgSend_364Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_364Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_364 = __objc_msgSend_364Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_objectsPassingTest_1 = _registerName1("objectsPassingTest:"); ffi.Pointer _objc_msgSend_365( @@ -12886,24 +12894,24 @@ class PedometerBindings { return __objc_msgSend_365(obj, sel, predicate); } - late final __objc_msgSend_365Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_365 = - __objc_msgSend_365Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_365Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_365 = __objc_msgSend_365Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_objectsWithOptions_passingTest_1 = _registerName1( "objectsWithOptions:passingTest:", @@ -12917,26 +12925,26 @@ class PedometerBindings { return __objc_msgSend_366(obj, sel, opts, predicate); } - late final __objc_msgSend_366Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_366 = - __objc_msgSend_366Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_366Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_366 = __objc_msgSend_366Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_set1 = _registerName1("set"); late final _sel_setWithObject_1 = _registerName1("setWithObject:"); @@ -12953,24 +12961,24 @@ class PedometerBindings { return __objc_msgSend_367(obj, sel, set1); } - late final __objc_msgSend_367Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_367 = - __objc_msgSend_367Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_367Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_367 = __objc_msgSend_367Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setWithArray_1 = _registerName1("setWithArray:"); late final _sel_initWithSet_1 = _registerName1("initWithSet:"); @@ -12986,28 +12994,28 @@ class PedometerBindings { return __objc_msgSend_368(obj, sel, set1, flag); } - late final __objc_msgSend_368Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_368 = - __objc_msgSend_368Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); - - late final _sel_filteredSetUsingPredicate_1 = _registerName1( + late final __objc_msgSend_368Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_368 = __objc_msgSend_368Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_filteredSetUsingPredicate_1 = _registerName1( "filteredSetUsingPredicate:", ); ffi.Pointer _objc_msgSend_369( @@ -13018,24 +13026,24 @@ class PedometerBindings { return __objc_msgSend_369(obj, sel, predicate); } - late final __objc_msgSend_369Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_369 = - __objc_msgSend_369Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_369Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_369 = __objc_msgSend_369Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_invocationWithMethodSignature_1 = _registerName1( "invocationWithMethodSignature:", @@ -13048,24 +13056,24 @@ class PedometerBindings { return __objc_msgSend_370(obj, sel, sig); } - late final __objc_msgSend_370Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_370 = - __objc_msgSend_370Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_370Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_370 = __objc_msgSend_370Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_methodSignature1 = _registerName1("methodSignature"); ffi.Pointer _objc_msgSend_371( @@ -13075,22 +13083,22 @@ class PedometerBindings { return __objc_msgSend_371(obj, sel); } - late final __objc_msgSend_371Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_371 = - __objc_msgSend_371Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_371Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_371 = __objc_msgSend_371Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_retainArguments1 = _registerName1("retainArguments"); late final _sel_argumentsRetained1 = _registerName1("argumentsRetained"); @@ -13104,24 +13112,24 @@ class PedometerBindings { return __objc_msgSend_372(obj, sel, value); } - late final __objc_msgSend_372Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_372 = - __objc_msgSend_372Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_372Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_372 = __objc_msgSend_372Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_selector1 = _registerName1("selector"); ffi.Pointer _objc_msgSend_373( @@ -13131,22 +13139,22 @@ class PedometerBindings { return __objc_msgSend_373(obj, sel); } - late final __objc_msgSend_373Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_373 = - __objc_msgSend_373Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_373Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_373 = __objc_msgSend_373Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setSelector_1 = _registerName1("setSelector:"); void _objc_msgSend_374( @@ -13157,24 +13165,24 @@ class PedometerBindings { return __objc_msgSend_374(obj, sel, value); } - late final __objc_msgSend_374Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_374 = - __objc_msgSend_374Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_374Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_374 = __objc_msgSend_374Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getReturnValue_1 = _registerName1("getReturnValue:"); late final _sel_setReturnValue_1 = _registerName1("setReturnValue:"); @@ -13190,26 +13198,26 @@ class PedometerBindings { return __objc_msgSend_375(obj, sel, argumentLocation, idx); } - late final __objc_msgSend_375Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_375 = - __objc_msgSend_375Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_375Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_375 = __objc_msgSend_375Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_setArgument_atIndex_1 = _registerName1( "setArgument:atIndex:", @@ -13225,24 +13233,24 @@ class PedometerBindings { return __objc_msgSend_376(obj, sel, imp); } - late final __objc_msgSend_376Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_376 = - __objc_msgSend_376Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_376Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_376 = __objc_msgSend_376Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_forwardInvocation_1 = _registerName1("forwardInvocation:"); void _objc_msgSend_377( @@ -13253,24 +13261,24 @@ class PedometerBindings { return __objc_msgSend_377(obj, sel, anInvocation); } - late final __objc_msgSend_377Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_377 = - __objc_msgSend_377Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_377Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_377 = __objc_msgSend_377Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_methodSignatureForSelector_1 = _registerName1( "methodSignatureForSelector:", @@ -13283,24 +13291,24 @@ class PedometerBindings { return __objc_msgSend_378(obj, sel, aSelector); } - late final __objc_msgSend_378Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_378 = - __objc_msgSend_378Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_378Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_378 = __objc_msgSend_378Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_instanceMethodSignatureForSelector_1 = _registerName1( "instanceMethodSignatureForSelector:", @@ -13325,16 +13333,20 @@ class PedometerBindings { return __objc_msgSend_379(obj, sel, aVersion); } - late final __objc_msgSend_379Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, ffi.Long) - > - >('objc_msgSend'); - late final __objc_msgSend_379 = - __objc_msgSend_379Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_379Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_379 = __objc_msgSend_379Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_classForCoder1 = _registerName1("classForCoder"); late final _sel_replacementObjectForCoder_1 = _registerName1( @@ -13371,32 +13383,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_380Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_380 = - __objc_msgSend_380Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_380Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_380 = __objc_msgSend_380Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_attemptRecoveryFromError_optionIndex_1 = _registerName1( "attemptRecoveryFromError:optionIndex:", @@ -13410,26 +13422,26 @@ class PedometerBindings { return __objc_msgSend_381(obj, sel, error, recoveryOptionIndex); } - late final __objc_msgSend_381Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_381 = - __objc_msgSend_381Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_381Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_381 = __objc_msgSend_381Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_performSelector_withObject_afterDelay_inModes_1 = _registerName1("performSelector:withObject:afterDelay:inModes:"); @@ -13444,30 +13456,30 @@ class PedometerBindings { return __objc_msgSend_382(obj, sel, aSelector, anArgument, delay, modes); } - late final __objc_msgSend_382Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_382 = - __objc_msgSend_382Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_382Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_382 = __objc_msgSend_382Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); late final _sel_performSelector_withObject_afterDelay_1 = _registerName1( "performSelector:withObject:afterDelay:", @@ -13482,28 +13494,28 @@ class PedometerBindings { return __objc_msgSend_383(obj, sel, aSelector, anArgument, delay); } - late final __objc_msgSend_383Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_383 = - __objc_msgSend_383Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + late final __objc_msgSend_383Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_383 = __objc_msgSend_383Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); late final _sel_URL_resourceDataDidBecomeAvailable_1 = _registerName1( "URL:resourceDataDidBecomeAvailable:", @@ -13517,26 +13529,26 @@ class PedometerBindings { return __objc_msgSend_384(obj, sel, sender, newBytes); } - late final __objc_msgSend_384Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_384 = - __objc_msgSend_384Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_384Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_384 = __objc_msgSend_384Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLResourceDidFinishLoading_1 = _registerName1( "URLResourceDidFinishLoading:", @@ -13549,24 +13561,24 @@ class PedometerBindings { return __objc_msgSend_385(obj, sel, sender); } - late final __objc_msgSend_385Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_385 = - __objc_msgSend_385Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_385Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_385 = __objc_msgSend_385Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLResourceDidCancelLoading_1 = _registerName1( "URLResourceDidCancelLoading:", @@ -13583,26 +13595,26 @@ class PedometerBindings { return __objc_msgSend_386(obj, sel, sender, reason); } - late final __objc_msgSend_386Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_386 = - __objc_msgSend_386Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_386Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_386 = __objc_msgSend_386Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSFileManager1 = _getClass1("NSFileManager"); late final _sel_defaultManager1 = _registerName1("defaultManager"); @@ -13613,22 +13625,22 @@ class PedometerBindings { return __objc_msgSend_387(obj, sel); } - late final __objc_msgSend_387Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_387 = - __objc_msgSend_387Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_387Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_387 = __objc_msgSend_387Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1 = _registerName1( @@ -13643,26 +13655,26 @@ class PedometerBindings { return __objc_msgSend_388(obj, sel, propertyKeys, options); } - late final __objc_msgSend_388Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_388 = - __objc_msgSend_388Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_388Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_388 = __objc_msgSend_388Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_unmountVolumeAtURL_options_completionHandler_1 = _registerName1("unmountVolumeAtURL:options:completionHandler:"); @@ -13676,28 +13688,28 @@ class PedometerBindings { return __objc_msgSend_389(obj, sel, url, mask, completionHandler); } - late final __objc_msgSend_389Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_389 = - __objc_msgSend_389Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_389Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_389 = __objc_msgSend_389Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1 = _registerName1( @@ -13714,30 +13726,30 @@ class PedometerBindings { return __objc_msgSend_390(obj, sel, url, keys, mask, error); } - late final __objc_msgSend_390Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_390 = - __objc_msgSend_390Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_390Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_390 = __objc_msgSend_390Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_URLsForDirectory_inDomains_1 = _registerName1( "URLsForDirectory:inDomains:", @@ -13751,26 +13763,26 @@ class PedometerBindings { return __objc_msgSend_391(obj, sel, directory, domainMask); } - late final __objc_msgSend_391Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_391 = - __objc_msgSend_391Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + late final __objc_msgSend_391Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_391 = __objc_msgSend_391Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); late final _sel_URLForDirectory_inDomain_appropriateForURL_create_error_1 = _registerName1( @@ -13796,32 +13808,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_392Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_392 = - __objc_msgSend_392Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - bool, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_392Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_392 = __objc_msgSend_392Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + bool, + ffi.Pointer>, + ) + >(); late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = _registerName1("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); @@ -13843,30 +13855,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_393Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_393 = - __objc_msgSend_393Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_393Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_393 = __objc_msgSend_393Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1 = _registerName1("getRelationship:ofDirectory:inDomain:toItemAtURL:error:"); @@ -13890,32 +13902,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_394Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_394 = - __objc_msgSend_394Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_394Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_394 = __objc_msgSend_394Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1 = _registerName1( @@ -13939,30 +13951,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_395Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_395 = - __objc_msgSend_395Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_395Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_395 = __objc_msgSend_395Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = _registerName1("createSymbolicLinkAtURL:withDestinationURL:error:"); @@ -13976,28 +13988,28 @@ class PedometerBindings { return __objc_msgSend_396(obj, sel, url, destURL, error); } - late final __objc_msgSend_396Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_396 = - __objc_msgSend_396Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_396Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_396 = __objc_msgSend_396Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_delegate1 = _registerName1("delegate"); late final _sel_setDelegate_1 = _registerName1("setDelegate:"); @@ -14014,28 +14026,28 @@ class PedometerBindings { return __objc_msgSend_397(obj, sel, attributes, path, error); } - late final __objc_msgSend_397Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_397 = - __objc_msgSend_397Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_397Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_397 = __objc_msgSend_397Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1 = _registerName1( @@ -14059,30 +14071,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_398Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_398 = - __objc_msgSend_398Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_398Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_398 = __objc_msgSend_398Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_contentsOfDirectoryAtPath_error_1 = _registerName1( "contentsOfDirectoryAtPath:error:", @@ -14096,26 +14108,26 @@ class PedometerBindings { return __objc_msgSend_399(obj, sel, path, error); } - late final __objc_msgSend_399Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_399 = - __objc_msgSend_399Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_399Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_399 = __objc_msgSend_399Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_subpathsOfDirectoryAtPath_error_1 = _registerName1( "subpathsOfDirectoryAtPath:error:", @@ -14132,26 +14144,26 @@ class PedometerBindings { return __objc_msgSend_400(obj, sel, path, error); } - late final __objc_msgSend_400Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_400 = - __objc_msgSend_400Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_400Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_400 = __objc_msgSend_400Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_attributesOfFileSystemForPath_error_1 = _registerName1( "attributesOfFileSystemForPath:error:", @@ -14168,28 +14180,28 @@ class PedometerBindings { return __objc_msgSend_401(obj, sel, path, destPath, error); } - late final __objc_msgSend_401Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_401 = - __objc_msgSend_401Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_401Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_401 = __objc_msgSend_401Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_destinationOfSymbolicLinkAtPath_error_1 = _registerName1( "destinationOfSymbolicLinkAtPath:error:", @@ -14203,26 +14215,26 @@ class PedometerBindings { return __objc_msgSend_402(obj, sel, path, error); } - late final __objc_msgSend_402Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_402 = - __objc_msgSend_402Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_402Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_402 = __objc_msgSend_402Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_copyItemAtPath_toPath_error_1 = _registerName1( "copyItemAtPath:toPath:error:", @@ -14245,26 +14257,26 @@ class PedometerBindings { return __objc_msgSend_403(obj, sel, path, error); } - late final __objc_msgSend_403Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_403 = - __objc_msgSend_403Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_403Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_403 = __objc_msgSend_403Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_copyItemAtURL_toURL_error_1 = _registerName1( "copyItemAtURL:toURL:error:", @@ -14291,28 +14303,28 @@ class PedometerBindings { return __objc_msgSend_404(obj, sel, url, outResultingURL, error); } - late final __objc_msgSend_404Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_404 = - __objc_msgSend_404Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_404Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_404 = __objc_msgSend_404Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_fileAttributesAtPath_traverseLink_1 = _registerName1( "fileAttributesAtPath:traverseLink:", @@ -14326,26 +14338,26 @@ class PedometerBindings { return __objc_msgSend_405(obj, sel, path, yorn); } - late final __objc_msgSend_405Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_405 = - __objc_msgSend_405Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_405Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_405 = __objc_msgSend_405Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_changeFileAttributes_atPath_1 = _registerName1( "changeFileAttributes:atPath:", @@ -14359,26 +14371,26 @@ class PedometerBindings { return __objc_msgSend_406(obj, sel, attributes, path); } - late final __objc_msgSend_406Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_406 = - __objc_msgSend_406Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_406Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_406 = __objc_msgSend_406Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_directoryContentsAtPath_1 = _registerName1( "directoryContentsAtPath:", @@ -14401,26 +14413,26 @@ class PedometerBindings { return __objc_msgSend_407(obj, sel, path, otherpath); } - late final __objc_msgSend_407Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_407 = - __objc_msgSend_407Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_407Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_407 = __objc_msgSend_407Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_createDirectoryAtPath_attributes_1 = _registerName1( "createDirectoryAtPath:attributes:", @@ -14434,26 +14446,26 @@ class PedometerBindings { return __objc_msgSend_408(obj, sel, path, attributes); } - late final __objc_msgSend_408Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_408 = - __objc_msgSend_408Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_408Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_408 = __objc_msgSend_408Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_linkPath_toPath_handler_1 = _registerName1( "linkPath:toPath:handler:", @@ -14468,28 +14480,28 @@ class PedometerBindings { return __objc_msgSend_409(obj, sel, src, dest, handler); } - late final __objc_msgSend_409Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_409 = - __objc_msgSend_409Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_409Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_409 = __objc_msgSend_409Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_copyPath_toPath_handler_1 = _registerName1( "copyPath:toPath:handler:", @@ -14509,26 +14521,26 @@ class PedometerBindings { return __objc_msgSend_410(obj, sel, path, handler); } - late final __objc_msgSend_410Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_410 = - __objc_msgSend_410Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_410Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_410 = __objc_msgSend_410Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_currentDirectoryPath1 = _registerName1( "currentDirectoryPath", @@ -14549,26 +14561,26 @@ class PedometerBindings { return __objc_msgSend_411(obj, sel, path, isDirectory); } - late final __objc_msgSend_411Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_411 = - __objc_msgSend_411Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_411Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_411 = __objc_msgSend_411Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isReadableFileAtPath_1 = _registerName1( "isReadableFileAtPath:", @@ -14605,30 +14617,30 @@ class PedometerBindings { return __objc_msgSend_412(obj, sel, url, keys, mask, handler); } - late final __objc_msgSend_412Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_412 = - __objc_msgSend_412Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_412Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_412 = __objc_msgSend_412Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_subpathsAtPath_1 = _registerName1("subpathsAtPath:"); late final _sel_contentsAtPath_1 = _registerName1("contentsAtPath:"); @@ -14640,24 +14652,24 @@ class PedometerBindings { return __objc_msgSend_413(obj, sel, path); } - late final __objc_msgSend_413Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_413 = - __objc_msgSend_413Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_413Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_413 = __objc_msgSend_413Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_createFileAtPath_contents_attributes_1 = _registerName1( "createFileAtPath:contents:attributes:", @@ -14672,28 +14684,28 @@ class PedometerBindings { return __objc_msgSend_414(obj, sel, path, data, attr); } - late final __objc_msgSend_414Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_414 = - __objc_msgSend_414Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_414Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_414 = __objc_msgSend_414Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileSystemRepresentationWithPath_1 = _registerName1( "fileSystemRepresentationWithPath:", @@ -14706,24 +14718,24 @@ class PedometerBindings { return __objc_msgSend_415(obj, sel, path); } - late final __objc_msgSend_415Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_415 = - __objc_msgSend_415Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_415Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_415 = __objc_msgSend_415Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_stringWithFileSystemRepresentation_length_1 = _registerName1( "stringWithFileSystemRepresentation:length:", @@ -14737,26 +14749,26 @@ class PedometerBindings { return __objc_msgSend_416(obj, sel, str, len); } - late final __objc_msgSend_416Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_416 = - __objc_msgSend_416Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_416Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_416 = __objc_msgSend_416Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1 = _registerName1( @@ -14784,34 +14796,34 @@ class PedometerBindings { ); } - late final __objc_msgSend_417Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_417 = - __objc_msgSend_417Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_417Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_417 = __objc_msgSend_417Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = _registerName1("setUbiquitous:itemAtURL:destinationURL:error:"); @@ -14826,30 +14838,30 @@ class PedometerBindings { return __objc_msgSend_418(obj, sel, flag, url, destinationURL, error); } - late final __objc_msgSend_418Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_418 = - __objc_msgSend_418Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_418Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_418 = __objc_msgSend_418Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_isUbiquitousItemAtURL_1 = _registerName1( "isUbiquitousItemAtURL:", @@ -14862,24 +14874,24 @@ class PedometerBindings { return __objc_msgSend_419(obj, sel, url); } - late final __objc_msgSend_419Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_419 = - __objc_msgSend_419Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_419Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_419 = __objc_msgSend_419Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = _registerName1( "startDownloadingUbiquitousItemAtURL:error:", @@ -14898,24 +14910,24 @@ class PedometerBindings { return __objc_msgSend_420(obj, sel, containerIdentifier); } - late final __objc_msgSend_420Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_420 = - __objc_msgSend_420Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_420Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_420 = __objc_msgSend_420Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1 = _registerName1( @@ -14931,28 +14943,28 @@ class PedometerBindings { return __objc_msgSend_421(obj, sel, url, outDate, error); } - late final __objc_msgSend_421Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_421 = - __objc_msgSend_421Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_421Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_421 = __objc_msgSend_421Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_ubiquityIdentityToken1 = _registerName1( "ubiquityIdentityToken", @@ -14968,26 +14980,26 @@ class PedometerBindings { return __objc_msgSend_422(obj, sel, url, completionHandler); } - late final __objc_msgSend_422Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_422 = - __objc_msgSend_422Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_422Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_422 = __objc_msgSend_422Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = _registerName1("containerURLForSecurityApplicationGroupIdentifier:"); @@ -15001,22 +15013,22 @@ class PedometerBindings { return __objc_msgSend_423(obj, sel); } - late final __objc_msgSend_423Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_423 = - __objc_msgSend_423Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_423Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_423 = __objc_msgSend_423Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_temporaryDirectory1 = _registerName1("temporaryDirectory"); late final _sel_homeDirectoryForUser_1 = _registerName1( @@ -15034,26 +15046,26 @@ class PedometerBindings { return __objc_msgSend_424(obj, sel, fm, errorInfo); } - late final __objc_msgSend_424Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_424 = - __objc_msgSend_424Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_424Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_424 = __objc_msgSend_424Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileManager_willProcessPath_1 = _registerName1( "fileManager:willProcessPath:", @@ -15067,26 +15079,26 @@ class PedometerBindings { return __objc_msgSend_425(obj, sel, fm, path); } - late final __objc_msgSend_425Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_425 = - __objc_msgSend_425Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_425Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_425 = __objc_msgSend_425Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_validateValue_forKey_error_1 = _registerName1( "validateValue:forKey:error:", @@ -15105,26 +15117,26 @@ class PedometerBindings { return __objc_msgSend_426(obj, sel, anObject, index); } - late final __objc_msgSend_426Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_426 = - __objc_msgSend_426Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_426Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_426 = __objc_msgSend_426Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_removeLastObject1 = _registerName1("removeLastObject"); late final _sel_removeObjectAtIndex_1 = _registerName1( @@ -15138,20 +15150,20 @@ class PedometerBindings { return __objc_msgSend_427(obj, sel, index); } - late final __objc_msgSend_427Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_427 = - __objc_msgSend_427Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_427Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_427 = __objc_msgSend_427Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_replaceObjectAtIndex_withObject_1 = _registerName1( "replaceObjectAtIndex:withObject:", @@ -15165,26 +15177,26 @@ class PedometerBindings { return __objc_msgSend_428(obj, sel, index, anObject); } - late final __objc_msgSend_428Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_428 = - __objc_msgSend_428Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_428Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_428 = __objc_msgSend_428Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_initWithCapacity_1 = _registerName1("initWithCapacity:"); late final _sel_addObjectsFromArray_1 = _registerName1( @@ -15198,24 +15210,24 @@ class PedometerBindings { return __objc_msgSend_429(obj, sel, otherArray); } - late final __objc_msgSend_429Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_429 = - __objc_msgSend_429Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_429Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_429 = __objc_msgSend_429Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = _registerName1( "exchangeObjectAtIndex:withObjectAtIndex:", @@ -15229,26 +15241,21 @@ class PedometerBindings { return __objc_msgSend_430(obj, sel, idx1, idx2); } - late final __objc_msgSend_430Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_430 = - __objc_msgSend_430Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + late final __objc_msgSend_430Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_430 = __objc_msgSend_430Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int, int) + >(); late final _sel_removeAllObjects1 = _registerName1("removeAllObjects"); late final _sel_removeObject_inRange_1 = _registerName1( @@ -15263,26 +15270,26 @@ class PedometerBindings { return __objc_msgSend_431(obj, sel, anObject, range); } - late final __objc_msgSend_431Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_431 = - __objc_msgSend_431Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_431Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_431 = __objc_msgSend_431Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_removeObject_1 = _registerName1("removeObject:"); late final _sel_removeObjectIdenticalTo_inRange_1 = _registerName1( @@ -15303,26 +15310,26 @@ class PedometerBindings { return __objc_msgSend_432(obj, sel, indices, cnt); } - late final __objc_msgSend_432Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_432 = - __objc_msgSend_432Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_432Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_432 = __objc_msgSend_432Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_removeObjectsInArray_1 = _registerName1( "removeObjectsInArray:", @@ -15338,20 +15345,20 @@ class PedometerBindings { return __objc_msgSend_433(obj, sel, range); } - late final __objc_msgSend_433Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, _NSRange) - > - >('objc_msgSend'); - late final __objc_msgSend_433 = - __objc_msgSend_433Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_433Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_433 = __objc_msgSend_433Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, _NSRange) + >(); late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = _registerName1("replaceObjectsInRange:withObjectsFromArray:range:"); @@ -15365,28 +15372,28 @@ class PedometerBindings { return __objc_msgSend_434(obj, sel, range, otherArray, otherRange); } - late final __objc_msgSend_434Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_434 = - __objc_msgSend_434Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_434Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_434 = __objc_msgSend_434Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = _registerName1( "replaceObjectsInRange:withObjectsFromArray:", @@ -15400,26 +15407,26 @@ class PedometerBindings { return __objc_msgSend_435(obj, sel, range, otherArray); } - late final __objc_msgSend_435Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_435 = - __objc_msgSend_435Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_435Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_435 = __objc_msgSend_435Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_setArray_1 = _registerName1("setArray:"); late final _sel_sortUsingFunction_context_1 = _registerName1( @@ -15443,42 +15450,42 @@ class PedometerBindings { return __objc_msgSend_436(obj, sel, compare, context); } - late final __objc_msgSend_436Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_436 = - __objc_msgSend_436Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_436Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_436 = __objc_msgSend_436Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + >(); late final _sel_sortUsingSelector_1 = _registerName1("sortUsingSelector:"); late final _sel_insertObjects_atIndexes_1 = _registerName1( @@ -15493,26 +15500,26 @@ class PedometerBindings { return __objc_msgSend_437(obj, sel, objects, indexes); } - late final __objc_msgSend_437Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_437 = - __objc_msgSend_437Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_437Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_437 = __objc_msgSend_437Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeObjectsAtIndexes_1 = _registerName1( "removeObjectsAtIndexes:", @@ -15525,24 +15532,24 @@ class PedometerBindings { return __objc_msgSend_438(obj, sel, indexes); } - late final __objc_msgSend_438Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_438 = - __objc_msgSend_438Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_438Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_438 = __objc_msgSend_438Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_replaceObjectsAtIndexes_withObjects_1 = _registerName1( "replaceObjectsAtIndexes:withObjects:", @@ -15556,26 +15563,26 @@ class PedometerBindings { return __objc_msgSend_439(obj, sel, indexes, objects); } - late final __objc_msgSend_439Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_439 = - __objc_msgSend_439Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_439Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_439 = __objc_msgSend_439Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setObject_atIndexedSubscript_1 = _registerName1( "setObject:atIndexedSubscript:", @@ -15591,24 +15598,24 @@ class PedometerBindings { return __objc_msgSend_440(obj, sel, cmptr); } - late final __objc_msgSend_440Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_440 = - __objc_msgSend_440Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_440Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_440 = __objc_msgSend_440Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_sortWithOptions_usingComparator_1 = _registerName1( "sortWithOptions:usingComparator:", @@ -15622,26 +15629,26 @@ class PedometerBindings { return __objc_msgSend_441(obj, sel, opts, cmptr); } - late final __objc_msgSend_441Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_441 = - __objc_msgSend_441Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_441Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_441 = __objc_msgSend_441Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_arrayWithCapacity_1 = _registerName1("arrayWithCapacity:"); ffi.Pointer _objc_msgSend_442( @@ -15652,24 +15659,24 @@ class PedometerBindings { return __objc_msgSend_442(obj, sel, path); } - late final __objc_msgSend_442Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_442 = - __objc_msgSend_442Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_442Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_442 = __objc_msgSend_442Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer _objc_msgSend_443( ffi.Pointer obj, @@ -15679,24 +15686,24 @@ class PedometerBindings { return __objc_msgSend_443(obj, sel, url); } - late final __objc_msgSend_443Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_443 = - __objc_msgSend_443Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_443Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_443 = __objc_msgSend_443Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_applyDifference_1 = _registerName1("applyDifference:"); late final _sel_sortUsingDescriptors_1 = _registerName1( @@ -15713,24 +15720,24 @@ class PedometerBindings { return __objc_msgSend_444(obj, sel, predicate); } - late final __objc_msgSend_444Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_444 = - __objc_msgSend_444Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_444Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_444 = __objc_msgSend_444Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_mutableArrayValueForKey_1 = _registerName1( "mutableArrayValueForKey:", @@ -15743,24 +15750,24 @@ class PedometerBindings { return __objc_msgSend_445(obj, sel, key); } - late final __objc_msgSend_445Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_445 = - __objc_msgSend_445Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_445Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_445 = __objc_msgSend_445Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSMutableOrderedSet1 = _getClass1("NSMutableOrderedSet"); late final _class_NSOrderedSet1 = _getClass1("NSOrderedSet"); @@ -15775,24 +15782,24 @@ class PedometerBindings { return __objc_msgSend_446(obj, sel, other); } - late final __objc_msgSend_446Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_446 = - __objc_msgSend_446Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_446Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_446 = __objc_msgSend_446Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_intersectsOrderedSet_1 = _registerName1( "intersectsOrderedSet:", @@ -15808,22 +15815,22 @@ class PedometerBindings { return __objc_msgSend_447(obj, sel); } - late final __objc_msgSend_447Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_447 = - __objc_msgSend_447Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_447Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_447 = __objc_msgSend_447Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer _objc_msgSend_448( ffi.Pointer obj, @@ -15832,22 +15839,22 @@ class PedometerBindings { return __objc_msgSend_448(obj, sel); } - late final __objc_msgSend_448Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_448 = - __objc_msgSend_448Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_448Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_448 = __objc_msgSend_448Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_orderedSet1 = _registerName1("orderedSet"); late final _sel_orderedSetWithObject_1 = _registerName1( @@ -15870,24 +15877,24 @@ class PedometerBindings { return __objc_msgSend_449(obj, sel, set1); } - late final __objc_msgSend_449Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_449 = - __objc_msgSend_449Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_449Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_449 = __objc_msgSend_449Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = _registerName1( "orderedSetWithOrderedSet:range:copyItems:", @@ -15902,28 +15909,28 @@ class PedometerBindings { return __objc_msgSend_450(obj, sel, set1, range, flag); } - late final __objc_msgSend_450Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_450 = - __objc_msgSend_450Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - bool, - ) - >(); + late final __objc_msgSend_450Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_450 = __objc_msgSend_450Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool, + ) + >(); late final _sel_orderedSetWithArray_1 = _registerName1( "orderedSetWithArray:", @@ -15941,28 +15948,28 @@ class PedometerBindings { return __objc_msgSend_451(obj, sel, array, range, flag); } - late final __objc_msgSend_451Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_451 = - __objc_msgSend_451Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - bool, - ) - >(); + late final __objc_msgSend_451Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_451 = __objc_msgSend_451Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool, + ) + >(); late final _sel_orderedSetWithSet_1 = _registerName1("orderedSetWithSet:"); late final _sel_orderedSetWithSet_copyItems_1 = _registerName1( @@ -15982,26 +15989,26 @@ class PedometerBindings { return __objc_msgSend_452(obj, sel, set1, flag); } - late final __objc_msgSend_452Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_452 = - __objc_msgSend_452Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_452Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_452 = __objc_msgSend_452Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_initWithOrderedSet_range_copyItems_1 = _registerName1( "initWithOrderedSet:range:copyItems:", @@ -16023,28 +16030,28 @@ class PedometerBindings { return __objc_msgSend_453(obj, sel, other, options, block); } - late final __objc_msgSend_453Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_453 = - __objc_msgSend_453Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_453Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_453 = __objc_msgSend_453Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_differenceFromOrderedSet_withOptions_1 = _registerName1( "differenceFromOrderedSet:withOptions:", @@ -16058,26 +16065,26 @@ class PedometerBindings { return __objc_msgSend_454(obj, sel, other, options); } - late final __objc_msgSend_454Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_454 = - __objc_msgSend_454Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_454Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_454 = __objc_msgSend_454Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_differenceFromOrderedSet_1 = _registerName1( "differenceFromOrderedSet:", @@ -16093,24 +16100,24 @@ class PedometerBindings { return __objc_msgSend_455(obj, sel, difference); } - late final __objc_msgSend_455Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_455 = - __objc_msgSend_455Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_455Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_455 = __objc_msgSend_455Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_filteredOrderedSetUsingPredicate_1 = _registerName1( "filteredOrderedSetUsingPredicate:", @@ -16123,24 +16130,24 @@ class PedometerBindings { return __objc_msgSend_456(obj, sel, p); } - late final __objc_msgSend_456Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_456 = - __objc_msgSend_456Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_456Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_456 = __objc_msgSend_456Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addObjects_count_1 = _registerName1("addObjects:count:"); void _objc_msgSend_457( @@ -16152,26 +16159,26 @@ class PedometerBindings { return __objc_msgSend_457(obj, sel, objects, count); } - late final __objc_msgSend_457Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_457 = - __objc_msgSend_457Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int, - ) - >(); + late final __objc_msgSend_457Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_457 = __objc_msgSend_457Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + int, + ) + >(); late final _sel_moveObjectsAtIndexes_toIndex_1 = _registerName1( "moveObjectsAtIndexes:toIndex:", @@ -16185,26 +16192,26 @@ class PedometerBindings { return __objc_msgSend_458(obj, sel, indexes, idx); } - late final __objc_msgSend_458Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_458 = - __objc_msgSend_458Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_458Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_458 = __objc_msgSend_458Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_setObject_atIndex_1 = _registerName1("setObject:atIndex:"); late final _sel_replaceObjectsInRange_withObjects_count_1 = _registerName1( @@ -16220,28 +16227,28 @@ class PedometerBindings { return __objc_msgSend_459(obj, sel, range, objects, count); } - late final __objc_msgSend_459Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_459 = - __objc_msgSend_459Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - int, - ) - >(); + late final __objc_msgSend_459Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_459 = __objc_msgSend_459Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + int, + ) + >(); late final _sel_intersectOrderedSet_1 = _registerName1( "intersectOrderedSet:", @@ -16254,24 +16261,24 @@ class PedometerBindings { return __objc_msgSend_460(obj, sel, other); } - late final __objc_msgSend_460Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_460 = - __objc_msgSend_460Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_460Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_460 = __objc_msgSend_460Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_minusOrderedSet_1 = _registerName1("minusOrderedSet:"); late final _sel_unionOrderedSet_1 = _registerName1("unionOrderedSet:"); @@ -16284,24 +16291,24 @@ class PedometerBindings { return __objc_msgSend_461(obj, sel, other); } - late final __objc_msgSend_461Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_461 = - __objc_msgSend_461Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_461Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_461 = __objc_msgSend_461Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_minusSet_1 = _registerName1("minusSet:"); late final _sel_unionSet_1 = _registerName1("unionSet:"); @@ -16318,28 +16325,28 @@ class PedometerBindings { return __objc_msgSend_462(obj, sel, range, opts, cmptr); } - late final __objc_msgSend_462Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_462 = - __objc_msgSend_462Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_462Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_462 = __objc_msgSend_462Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_orderedSetWithCapacity_1 = _registerName1( "orderedSetWithCapacity:", @@ -16355,24 +16362,24 @@ class PedometerBindings { return __objc_msgSend_463(obj, sel, key); } - late final __objc_msgSend_463Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_463 = - __objc_msgSend_463Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_463Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_463 = __objc_msgSend_463Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSMutableSet1 = _getClass1("NSMutableSet"); late final _sel_setSet_1 = _registerName1("setSet:"); @@ -16388,24 +16395,24 @@ class PedometerBindings { return __objc_msgSend_464(obj, sel, key); } - late final __objc_msgSend_464Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_464 = - __objc_msgSend_464Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_464Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_464 = __objc_msgSend_464Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_valueForKeyPath_1 = _registerName1("valueForKeyPath:"); late final _sel_setValue_forKeyPath_1 = _registerName1( @@ -16441,24 +16448,24 @@ class PedometerBindings { return __objc_msgSend_465(obj, sel, keys); } - late final __objc_msgSend_465Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_465 = - __objc_msgSend_465Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_465Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_465 = __objc_msgSend_465Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setValuesForKeysWithDictionary_1 = _registerName1( "setValuesForKeysWithDictionary:", @@ -16471,24 +16478,24 @@ class PedometerBindings { return __objc_msgSend_466(obj, sel, keyedValues); } - late final __objc_msgSend_466Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_466 = - __objc_msgSend_466Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_466Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_466 = __objc_msgSend_466Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_storedValueForKey_1 = _registerName1("storedValueForKey:"); late final _sel_takeStoredValue_forKey_1 = _registerName1( @@ -16524,30 +16531,30 @@ class PedometerBindings { return __objc_msgSend_467(obj, sel, keyPath, object, change, context); } - late final __objc_msgSend_467Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_467 = - __objc_msgSend_467Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_467Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_467 = __objc_msgSend_467Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_willChangeValueForKey_1 = _registerName1( "willChangeValueForKey:", @@ -16568,28 +16575,28 @@ class PedometerBindings { return __objc_msgSend_468(obj, sel, changeKind, indexes, key); } - late final __objc_msgSend_468Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_468 = - __objc_msgSend_468Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_468Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_468 = __objc_msgSend_468Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_didChange_valuesAtIndexes_forKey_1 = _registerName1( "didChange:valuesAtIndexes:forKey:", @@ -16606,28 +16613,28 @@ class PedometerBindings { return __objc_msgSend_469(obj, sel, key, mutationKind, objects); } - late final __objc_msgSend_469Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_469 = - __objc_msgSend_469Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_469Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_469 = __objc_msgSend_469Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = _registerName1("didChangeValueForKey:withSetMutation:usingObjects:"); @@ -16641,24 +16648,24 @@ class PedometerBindings { return __objc_msgSend_470(obj, sel, value); } - late final __objc_msgSend_470Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_470 = - __objc_msgSend_470Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_470Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_470 = __objc_msgSend_470Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_classForKeyedArchiver1 = _registerName1( "classForKeyedArchiver", @@ -16679,28 +16686,28 @@ class PedometerBindings { return __objc_msgSend_471(obj, sel, object, requiresSecureCoding, error); } - late final __objc_msgSend_471Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_471 = - __objc_msgSend_471Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_471Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_471 = __objc_msgSend_471Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer>, + ) + >(); late final _class_NSMutableData1 = _getClass1("NSMutableData"); late final _sel_mutableBytes1 = _registerName1("mutableBytes"); @@ -16713,20 +16720,20 @@ class PedometerBindings { return __objc_msgSend_472(obj, sel, value); } - late final __objc_msgSend_472Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_472 = - __objc_msgSend_472Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_472Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_472 = __objc_msgSend_472Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_appendBytes_length_1 = _registerName1("appendBytes:length:"); late final _sel_appendData_1 = _registerName1("appendData:"); @@ -16743,26 +16750,26 @@ class PedometerBindings { return __objc_msgSend_473(obj, sel, range, bytes); } - late final __objc_msgSend_473Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_473 = - __objc_msgSend_473Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_473Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_473 = __objc_msgSend_473Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_resetBytesInRange_1 = _registerName1("resetBytesInRange:"); late final _sel_setData_1 = _registerName1("setData:"); @@ -16785,28 +16792,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_474Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_474 = - __objc_msgSend_474Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_474Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_474 = __objc_msgSend_474Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + int, + ) + >(); late final _sel_dataWithCapacity_1 = _registerName1("dataWithCapacity:"); instancetype _objc_msgSend_475( @@ -16817,24 +16824,24 @@ class PedometerBindings { return __objc_msgSend_475(obj, sel, aNumItems); } - late final __objc_msgSend_475Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_475 = - __objc_msgSend_475Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_475Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_475 = __objc_msgSend_475Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_dataWithLength_1 = _registerName1("dataWithLength:"); late final _sel_initWithLength_1 = _registerName1("initWithLength:"); @@ -16850,26 +16857,26 @@ class PedometerBindings { return __objc_msgSend_476(obj, sel, algorithm, error); } - late final __objc_msgSend_476Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_476 = - __objc_msgSend_476Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_476Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_476 = __objc_msgSend_476Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_compressUsingAlgorithm_error_1 = _registerName1( "compressUsingAlgorithm:error:", @@ -16885,24 +16892,24 @@ class PedometerBindings { return __objc_msgSend_477(obj, sel, data); } - late final __objc_msgSend_477Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_477 = - __objc_msgSend_477Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_477Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_477 = __objc_msgSend_477Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_archivedDataWithRootObject_1 = _registerName1( "archivedDataWithRootObject:", @@ -16915,24 +16922,24 @@ class PedometerBindings { return __objc_msgSend_478(obj, sel, rootObject); } - late final __objc_msgSend_478Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_478 = - __objc_msgSend_478Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_478Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_478 = __objc_msgSend_478Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_archiveRootObject_toFile_1 = _registerName1( "archiveRootObject:toFile:", @@ -16942,16 +16949,16 @@ class PedometerBindings { return __objc_msgSend_479(obj, sel); } - late final __objc_msgSend_479Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_479 = - __objc_msgSend_479Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_479Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_479 = __objc_msgSend_479Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setOutputFormat_1 = _registerName1("setOutputFormat:"); void _objc_msgSend_480( @@ -16962,20 +16969,20 @@ class PedometerBindings { return __objc_msgSend_480(obj, sel, value); } - late final __objc_msgSend_480Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_480 = - __objc_msgSend_480Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_480Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_480 = __objc_msgSend_480Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_encodedData1 = _registerName1("encodedData"); late final _sel_finishEncoding1 = _registerName1("finishEncoding"); @@ -16991,26 +16998,26 @@ class PedometerBindings { return __objc_msgSend_481(obj, sel, codedName, cls); } - late final __objc_msgSend_481Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_481 = - __objc_msgSend_481Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_481Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_481 = __objc_msgSend_481Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_classNameForClass_1 = _registerName1("classNameForClass:"); ffi.Pointer _objc_msgSend_482( @@ -17021,24 +17028,24 @@ class PedometerBindings { return __objc_msgSend_482(obj, sel, cls); } - late final __objc_msgSend_482Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_482 = - __objc_msgSend_482Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_482Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_482 = __objc_msgSend_482Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setRequiresSecureCoding_1 = _registerName1( "setRequiresSecureCoding:", @@ -17051,16 +17058,20 @@ class PedometerBindings { return __objc_msgSend_483(obj, sel, value); } - late final __objc_msgSend_483Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, ffi.Bool) - > - >('objc_msgSend'); - late final __objc_msgSend_483 = - __objc_msgSend_483Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, bool) - >(); + late final __objc_msgSend_483Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_483 = __objc_msgSend_483Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, bool) + >(); late final _sel_replacementObjectForKeyedArchiver_1 = _registerName1( "replacementObjectForKeyedArchiver:", @@ -17073,24 +17084,24 @@ class PedometerBindings { return __objc_msgSend_484(obj, sel, archiver); } - late final __objc_msgSend_484Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_484 = - __objc_msgSend_484Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_484Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_484 = __objc_msgSend_484Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1 = _registerName1( @@ -17107,30 +17118,30 @@ class PedometerBindings { return __objc_msgSend_485(obj, sel, aSelector, arg, wait, array); } - late final __objc_msgSend_485Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_485 = - __objc_msgSend_485Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_485Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_485 = __objc_msgSend_485Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_1 = _registerName1("performSelectorOnMainThread:withObject:waitUntilDone:"); @@ -17144,28 +17155,28 @@ class PedometerBindings { return __objc_msgSend_486(obj, sel, aSelector, arg, wait); } - late final __objc_msgSend_486Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_486 = - __objc_msgSend_486Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_486Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_486 = __objc_msgSend_486Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _class_NSThread1 = _getClass1("NSThread"); late final _sel_currentThread1 = _registerName1("currentThread"); @@ -17176,22 +17187,22 @@ class PedometerBindings { return __objc_msgSend_487(obj, sel); } - late final __objc_msgSend_487Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_487 = - __objc_msgSend_487Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_487Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_487 = __objc_msgSend_487Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_detachNewThreadWithBlock_1 = _registerName1( "detachNewThreadWithBlock:", @@ -17204,24 +17215,24 @@ class PedometerBindings { return __objc_msgSend_488(obj, sel, block); } - late final __objc_msgSend_488Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_488 = - __objc_msgSend_488Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_488Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_488 = __objc_msgSend_488Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_detachNewThreadSelector_toTarget_withObject_1 = _registerName1("detachNewThreadSelector:toTarget:withObject:"); @@ -17235,28 +17246,28 @@ class PedometerBindings { return __objc_msgSend_489(obj, sel, selector, target, argument); } - late final __objc_msgSend_489Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_489 = - __objc_msgSend_489Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_489Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_489 = __objc_msgSend_489Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isMultiThreaded1 = _registerName1("isMultiThreaded"); late final _class_NSMutableDictionary1 = _getClass1("NSMutableDictionary"); @@ -17271,26 +17282,26 @@ class PedometerBindings { return __objc_msgSend_490(obj, sel, anObject, aKey); } - late final __objc_msgSend_490Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_490 = - __objc_msgSend_490Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_490Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_490 = __objc_msgSend_490Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addEntriesFromDictionary_1 = _registerName1( "addEntriesFromDictionary:", @@ -17311,26 +17322,26 @@ class PedometerBindings { return __objc_msgSend_491(obj, sel, obj1, key); } - late final __objc_msgSend_491Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_491 = - __objc_msgSend_491Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_491Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_491 = __objc_msgSend_491Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dictionaryWithCapacity_1 = _registerName1( "dictionaryWithCapacity:", @@ -17343,24 +17354,24 @@ class PedometerBindings { return __objc_msgSend_492(obj, sel, path); } - late final __objc_msgSend_492Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_492 = - __objc_msgSend_492Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_492Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_492 = __objc_msgSend_492Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer _objc_msgSend_493( ffi.Pointer obj, @@ -17370,24 +17381,24 @@ class PedometerBindings { return __objc_msgSend_493(obj, sel, url); } - late final __objc_msgSend_493Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_493 = - __objc_msgSend_493Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_493Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_493 = __objc_msgSend_493Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dictionaryWithSharedKeySet_1 = _registerName1( "dictionaryWithSharedKeySet:", @@ -17400,24 +17411,24 @@ class PedometerBindings { return __objc_msgSend_494(obj, sel, keyset); } - late final __objc_msgSend_494Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_494 = - __objc_msgSend_494Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_494Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_494 = __objc_msgSend_494Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_threadDictionary1 = _registerName1("threadDictionary"); ffi.Pointer _objc_msgSend_495( @@ -17427,22 +17438,22 @@ class PedometerBindings { return __objc_msgSend_495(obj, sel); } - late final __objc_msgSend_495Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_495 = - __objc_msgSend_495Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_495Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_495 = __objc_msgSend_495Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sleepUntilDate_1 = _registerName1("sleepUntilDate:"); void _objc_msgSend_496( @@ -17453,24 +17464,24 @@ class PedometerBindings { return __objc_msgSend_496(obj, sel, date); } - late final __objc_msgSend_496Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_496 = - __objc_msgSend_496Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_496Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_496 = __objc_msgSend_496Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sleepForTimeInterval_1 = _registerName1( "sleepForTimeInterval:", @@ -17483,20 +17494,20 @@ class PedometerBindings { return __objc_msgSend_497(obj, sel, ti); } - late final __objc_msgSend_497Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_497 = - __objc_msgSend_497Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, double) - >(); + late final __objc_msgSend_497Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_497 = __objc_msgSend_497Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, double) + >(); late final _sel_exit1 = _registerName1("exit"); late final _sel_threadPriority1 = _registerName1("threadPriority"); @@ -17509,36 +17520,36 @@ class PedometerBindings { return __objc_msgSend_498(obj, sel, value); } - late final __objc_msgSend_498Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_498 = - __objc_msgSend_498Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, double) - >(); + late final __objc_msgSend_498Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_498 = __objc_msgSend_498Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, double) + >(); late final _sel_qualityOfService1 = _registerName1("qualityOfService"); int _objc_msgSend_499(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_499(obj, sel); } - late final __objc_msgSend_499Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_499 = - __objc_msgSend_499Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_499Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_499 = __objc_msgSend_499Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setQualityOfService_1 = _registerName1( "setQualityOfService:", @@ -17551,20 +17562,20 @@ class PedometerBindings { return __objc_msgSend_500(obj, sel, value); } - late final __objc_msgSend_500Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_500 = - __objc_msgSend_500Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_500Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_500 = __objc_msgSend_500Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_callStackReturnAddresses1 = _registerName1( "callStackReturnAddresses", @@ -17580,24 +17591,24 @@ class PedometerBindings { return __objc_msgSend_501(obj, sel, value); } - late final __objc_msgSend_501Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_501 = - __objc_msgSend_501Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_501Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_501 = __objc_msgSend_501Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_stackSize1 = _registerName1("stackSize"); late final _sel_setStackSize_1 = _registerName1("setStackSize:"); @@ -17616,28 +17627,28 @@ class PedometerBindings { return __objc_msgSend_502(obj, sel, target, selector, argument); } - late final __objc_msgSend_502Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_502 = - __objc_msgSend_502Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_502Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_502 = __objc_msgSend_502Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithBlock_1 = _registerName1("initWithBlock:"); instancetype _objc_msgSend_503( @@ -17648,24 +17659,24 @@ class PedometerBindings { return __objc_msgSend_503(obj, sel, block); } - late final __objc_msgSend_503Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_503 = - __objc_msgSend_503Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_503Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_503 = __objc_msgSend_503Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_isExecuting1 = _registerName1("isExecuting"); late final _sel_isFinished1 = _registerName1("isFinished"); @@ -17689,32 +17700,32 @@ class PedometerBindings { return __objc_msgSend_504(obj, sel, aSelector, thr, arg, wait, array); } - late final __objc_msgSend_504Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_504 = - __objc_msgSend_504Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_504Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_504 = __objc_msgSend_504Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = _registerName1("performSelector:onThread:withObject:waitUntilDone:"); @@ -17729,30 +17740,30 @@ class PedometerBindings { return __objc_msgSend_505(obj, sel, aSelector, thr, arg, wait); } - late final __objc_msgSend_505Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_505 = - __objc_msgSend_505Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_505Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_505 = __objc_msgSend_505Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_performSelectorInBackground_withObject_1 = _registerName1( "performSelectorInBackground:withObject:", @@ -17767,22 +17778,22 @@ class PedometerBindings { return __objc_msgSend_506(obj, sel); } - late final __objc_msgSend_506Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_506 = - __objc_msgSend_506Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_506Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_506 = __objc_msgSend_506Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_progressWithTotalUnitCount_1 = _registerName1( "progressWithTotalUnitCount:", @@ -17795,24 +17806,24 @@ class PedometerBindings { return __objc_msgSend_507(obj, sel, unitCount); } - late final __objc_msgSend_507Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_507 = - __objc_msgSend_507Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_507Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_507 = __objc_msgSend_507Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_discreteProgressWithTotalUnitCount_1 = _registerName1( "discreteProgressWithTotalUnitCount:", @@ -17835,28 +17846,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_508Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_508 = - __objc_msgSend_508Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_508Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_508 = __objc_msgSend_508Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithParent_userInfo_1 = _registerName1( "initWithParent:userInfo:", @@ -17870,26 +17881,26 @@ class PedometerBindings { return __objc_msgSend_509(obj, sel, parentProgressOrNil, userInfoOrNil); } - late final __objc_msgSend_509Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_509 = - __objc_msgSend_509Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_509Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_509 = __objc_msgSend_509Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_becomeCurrentWithPendingUnitCount_1 = _registerName1( "becomeCurrentWithPendingUnitCount:", @@ -17902,20 +17913,20 @@ class PedometerBindings { return __objc_msgSend_510(obj, sel, unitCount); } - late final __objc_msgSend_510Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_510 = - __objc_msgSend_510Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_510Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_510 = __objc_msgSend_510Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = _registerName1("performAsCurrentWithPendingUnitCount:usingBlock:"); @@ -17928,26 +17939,26 @@ class PedometerBindings { return __objc_msgSend_511(obj, sel, unitCount, work); } - late final __objc_msgSend_511Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_511 = - __objc_msgSend_511Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_511Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_511 = __objc_msgSend_511Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_resignCurrent1 = _registerName1("resignCurrent"); late final _sel_addChild_withPendingUnitCount_1 = _registerName1( @@ -17962,42 +17973,42 @@ class PedometerBindings { return __objc_msgSend_512(obj, sel, child, inUnitCount); } - late final __objc_msgSend_512Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_512 = - __objc_msgSend_512Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_512Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_512 = __objc_msgSend_512Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_totalUnitCount1 = _registerName1("totalUnitCount"); int _objc_msgSend_513(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_513(obj, sel); } - late final __objc_msgSend_513Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_513 = - __objc_msgSend_513Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_513Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int64 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_513 = __objc_msgSend_513Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setTotalUnitCount_1 = _registerName1("setTotalUnitCount:"); void _objc_msgSend_514( @@ -18008,20 +18019,20 @@ class PedometerBindings { return __objc_msgSend_514(obj, sel, value); } - late final __objc_msgSend_514Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int64, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_514 = - __objc_msgSend_514Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_514Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_514 = __objc_msgSend_514Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_completedUnitCount1 = _registerName1("completedUnitCount"); late final _sel_setCompletedUnitCount_1 = _registerName1( @@ -18038,24 +18049,24 @@ class PedometerBindings { return __objc_msgSend_515(obj, sel, value); } - late final __objc_msgSend_515Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_515 = - __objc_msgSend_515Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_515Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_515 = __objc_msgSend_515Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedAdditionalDescription1 = _registerName1( "localizedAdditionalDescription", @@ -18076,22 +18087,22 @@ class PedometerBindings { return __objc_msgSend_516(obj, sel); } - late final __objc_msgSend_516Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_516 = - __objc_msgSend_516Ptr - .asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_516Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_516 = __objc_msgSend_516Ptr + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setCancellationHandler_1 = _registerName1( "setCancellationHandler:", @@ -18104,24 +18115,24 @@ class PedometerBindings { return __objc_msgSend_517(obj, sel, value); } - late final __objc_msgSend_517Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_517 = - __objc_msgSend_517Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_517Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_517 = __objc_msgSend_517Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_pausingHandler1 = _registerName1("pausingHandler"); late final _sel_setPausingHandler_1 = _registerName1("setPausingHandler:"); @@ -18150,24 +18161,24 @@ class PedometerBindings { return __objc_msgSend_518(obj, sel, value); } - late final __objc_msgSend_518Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_518 = - __objc_msgSend_518Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_518Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_518 = __objc_msgSend_518Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_throughput1 = _registerName1("throughput"); late final _sel_setThroughput_1 = _registerName1("setThroughput:"); @@ -18185,24 +18196,24 @@ class PedometerBindings { return __objc_msgSend_519(obj, sel, value); } - late final __objc_msgSend_519Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_519 = - __objc_msgSend_519Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_519Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_519 = __objc_msgSend_519Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileTotalCount1 = _registerName1("fileTotalCount"); late final _sel_setFileTotalCount_1 = _registerName1("setFileTotalCount:"); @@ -18223,26 +18234,26 @@ class PedometerBindings { return __objc_msgSend_520(obj, sel, url, publishingHandler); } - late final __objc_msgSend_520Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_520 = - __objc_msgSend_520Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_520Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_520 = __objc_msgSend_520Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_removeSubscriber_1 = _registerName1("removeSubscriber:"); late final _sel_isOld1 = _registerName1("isOld"); @@ -18266,28 +18277,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_521Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_521 = - __objc_msgSend_521Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_521Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_521 = __objc_msgSend_521Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1 = _registerName1( @@ -18311,30 +18322,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_522Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_522 = - __objc_msgSend_522Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_522Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_522 = __objc_msgSend_522Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_registeredTypeIdentifiers1 = _registerName1( "registeredTypeIdentifiers", @@ -18350,24 +18361,24 @@ class PedometerBindings { return __objc_msgSend_523(obj, sel, fileOptions); } - late final __objc_msgSend_523Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_523 = - __objc_msgSend_523Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_523Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_523 = __objc_msgSend_523Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_hasItemConformingToTypeIdentifier_1 = _registerName1( "hasItemConformingToTypeIdentifier:", @@ -18385,30 +18396,30 @@ class PedometerBindings { return __objc_msgSend_524(obj, sel, typeIdentifier, fileOptions); } - late final __objc_msgSend_524Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_524 = - __objc_msgSend_524Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); - - late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_1 = - _registerName1( - "loadDataRepresentationForTypeIdentifier:completionHandler:", + late final __objc_msgSend_524Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_524 = __objc_msgSend_524Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_1 = + _registerName1( + "loadDataRepresentationForTypeIdentifier:completionHandler:", ); ffi.Pointer _objc_msgSend_525( ffi.Pointer obj, @@ -18419,26 +18430,26 @@ class PedometerBindings { return __objc_msgSend_525(obj, sel, typeIdentifier, completionHandler); } - late final __objc_msgSend_525Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_525 = - __objc_msgSend_525Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_525Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_525 = __objc_msgSend_525Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_loadFileRepresentationForTypeIdentifier_completionHandler_1 = _registerName1( @@ -18453,26 +18464,26 @@ class PedometerBindings { return __objc_msgSend_526(obj, sel, typeIdentifier, completionHandler); } - late final __objc_msgSend_526Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_526 = - __objc_msgSend_526Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_526Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_526 = __objc_msgSend_526Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1 = _registerName1( @@ -18487,26 +18498,26 @@ class PedometerBindings { return __objc_msgSend_527(obj, sel, typeIdentifier, completionHandler); } - late final __objc_msgSend_527Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_527 = - __objc_msgSend_527Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_527Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_527 = __objc_msgSend_527Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_suggestedName1 = _registerName1("suggestedName"); late final _sel_setSuggestedName_1 = _registerName1("setSuggestedName:"); @@ -18522,26 +18533,26 @@ class PedometerBindings { return __objc_msgSend_528(obj, sel, object, visibility); } - late final __objc_msgSend_528Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_528 = - __objc_msgSend_528Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_528Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_528 = __objc_msgSend_528Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_registerObjectOfClass_visibility_loadHandler_1 = _registerName1("registerObjectOfClass:visibility:loadHandler:"); @@ -18555,28 +18566,28 @@ class PedometerBindings { return __objc_msgSend_529(obj, sel, aClass, visibility, loadHandler); } - late final __objc_msgSend_529Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_529 = - __objc_msgSend_529Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_529Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_529 = __objc_msgSend_529Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_canLoadObjectOfClass_1 = _registerName1( "canLoadObjectOfClass:", @@ -18593,26 +18604,26 @@ class PedometerBindings { return __objc_msgSend_530(obj, sel, aClass, completionHandler); } - late final __objc_msgSend_530Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_530 = - __objc_msgSend_530Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_530Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_530 = __objc_msgSend_530Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_initWithItem_typeIdentifier_1 = _registerName1( "initWithItem:typeIdentifier:", @@ -18626,26 +18637,26 @@ class PedometerBindings { return __objc_msgSend_531(obj, sel, item, typeIdentifier); } - late final __objc_msgSend_531Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_531 = - __objc_msgSend_531Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_531Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_531 = __objc_msgSend_531Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_registerItemForTypeIdentifier_loadHandler_1 = _registerName1( "registerItemForTypeIdentifier:loadHandler:", @@ -18659,26 +18670,26 @@ class PedometerBindings { return __objc_msgSend_532(obj, sel, typeIdentifier, loadHandler); } - late final __objc_msgSend_532Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_532 = - __objc_msgSend_532Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_532Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_532 = __objc_msgSend_532Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = _registerName1("loadItemForTypeIdentifier:options:completionHandler:"); @@ -18698,28 +18709,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_533Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_533 = - __objc_msgSend_533Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_533Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_533 = __objc_msgSend_533Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_previewImageHandler1 = _registerName1("previewImageHandler"); ffi.Pointer<_ObjCBlock> _objc_msgSend_534( @@ -18729,22 +18740,22 @@ class PedometerBindings { return __objc_msgSend_534(obj, sel); } - late final __objc_msgSend_534Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_534 = - __objc_msgSend_534Ptr - .asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_534Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_534 = __objc_msgSend_534Ptr + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setPreviewImageHandler_1 = _registerName1( "setPreviewImageHandler:", @@ -18757,24 +18768,24 @@ class PedometerBindings { return __objc_msgSend_535(obj, sel, value); } - late final __objc_msgSend_535Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_535 = - __objc_msgSend_535Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_535Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_535 = __objc_msgSend_535Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_loadPreviewImageWithOptions_completionHandler_1 = _registerName1("loadPreviewImageWithOptions:completionHandler:"); @@ -18787,26 +18798,26 @@ class PedometerBindings { return __objc_msgSend_536(obj, sel, options, completionHandler); } - late final __objc_msgSend_536Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_536 = - __objc_msgSend_536Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_536Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_536 = __objc_msgSend_536Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _class_NSMutableString1 = _getClass1("NSMutableString"); late final _sel_replaceCharactersInRange_withString_1 = _registerName1( @@ -18821,26 +18832,26 @@ class PedometerBindings { return __objc_msgSend_537(obj, sel, range, aString); } - late final __objc_msgSend_537Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_537 = - __objc_msgSend_537Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_537Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_537 = __objc_msgSend_537Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_insertString_atIndex_1 = _registerName1( "insertString:atIndex:", @@ -18854,26 +18865,26 @@ class PedometerBindings { return __objc_msgSend_538(obj, sel, aString, loc); } - late final __objc_msgSend_538Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_538 = - __objc_msgSend_538Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_538Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_538 = __objc_msgSend_538Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_deleteCharactersInRange_1 = _registerName1( "deleteCharactersInRange:", @@ -18901,30 +18912,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_539Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_539 = - __objc_msgSend_539Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_539Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_539 = __objc_msgSend_539Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_applyTransform_reverse_range_updatedRange_1 = _registerName1( "applyTransform:reverse:range:updatedRange:", @@ -18947,30 +18958,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_540Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - _NSRange, - ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_540 = - __objc_msgSend_540Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - _NSRange, - ffi.Pointer<_NSRange>, - ) - >(); + late final __objc_msgSend_540Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_540 = __objc_msgSend_540Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + _NSRange, + ffi.Pointer<_NSRange>, + ) + >(); ffi.Pointer _objc_msgSend_541( ffi.Pointer obj, @@ -18980,24 +18991,24 @@ class PedometerBindings { return __objc_msgSend_541(obj, sel, capacity); } - late final __objc_msgSend_541Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_541 = - __objc_msgSend_541Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_541Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_541 = __objc_msgSend_541Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_stringWithCapacity_1 = _registerName1("stringWithCapacity:"); late final _class_NSNotification1 = _getClass1("NSNotification"); @@ -19015,28 +19026,28 @@ class PedometerBindings { return __objc_msgSend_542(obj, sel, name, object, userInfo); } - late final __objc_msgSend_542Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_542 = - __objc_msgSend_542Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_542Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_542 = __objc_msgSend_542Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_notificationWithName_object_1 = _registerName1( "notificationWithName:object:", @@ -19053,22 +19064,22 @@ class PedometerBindings { return __objc_msgSend_543(obj, sel); } - late final __objc_msgSend_543Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_543 = - __objc_msgSend_543Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_543Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_543 = __objc_msgSend_543Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_bundleWithPath_1 = _registerName1("bundleWithPath:"); late final _sel_initWithPath_1 = _registerName1("initWithPath:"); @@ -19083,24 +19094,24 @@ class PedometerBindings { return __objc_msgSend_544(obj, sel, aClass); } - late final __objc_msgSend_544Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_544 = - __objc_msgSend_544Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_544Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_544 = __objc_msgSend_544Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_bundleWithIdentifier_1 = _registerName1( "bundleWithIdentifier:", @@ -19113,24 +19124,24 @@ class PedometerBindings { return __objc_msgSend_545(obj, sel, identifier); } - late final __objc_msgSend_545Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_545 = - __objc_msgSend_545Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_545Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_545 = __objc_msgSend_545Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_allBundles1 = _registerName1("allBundles"); late final _sel_allFrameworks1 = _registerName1("allFrameworks"); @@ -19182,30 +19193,30 @@ class PedometerBindings { return __objc_msgSend_546(obj, sel, name, ext, subpath, bundleURL); } - late final __objc_msgSend_546Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_546 = - __objc_msgSend_546Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_546Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_546 = __objc_msgSend_546Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1 = _registerName1( @@ -19221,28 +19232,28 @@ class PedometerBindings { return __objc_msgSend_547(obj, sel, ext, subpath, bundleURL); } - late final __objc_msgSend_547Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_547 = - __objc_msgSend_547Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_547Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_547 = __objc_msgSend_547Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLForResource_withExtension_1 = _registerName1( "URLForResource:withExtension:", @@ -19256,26 +19267,26 @@ class PedometerBindings { return __objc_msgSend_548(obj, sel, name, ext); } - late final __objc_msgSend_548Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_548 = - __objc_msgSend_548Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_548Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_548 = __objc_msgSend_548Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLForResource_withExtension_subdirectory_1 = _registerName1( "URLForResource:withExtension:subdirectory:", @@ -19290,28 +19301,28 @@ class PedometerBindings { return __objc_msgSend_549(obj, sel, name, ext, subpath); } - late final __objc_msgSend_549Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_549 = - __objc_msgSend_549Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_549Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_549 = __objc_msgSend_549Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLForResource_withExtension_subdirectory_localization_1 = _registerName1("URLForResource:withExtension:subdirectory:localization:"); @@ -19326,30 +19337,30 @@ class PedometerBindings { return __objc_msgSend_550(obj, sel, name, ext, subpath, localizationName); } - late final __objc_msgSend_550Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_550 = - __objc_msgSend_550Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_550Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_550 = __objc_msgSend_550Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLsForResourcesWithExtension_subdirectory_1 = _registerName1( "URLsForResourcesWithExtension:subdirectory:", @@ -19363,26 +19374,26 @@ class PedometerBindings { return __objc_msgSend_551(obj, sel, ext, subpath); } - late final __objc_msgSend_551Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_551 = - __objc_msgSend_551Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_551Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_551 = __objc_msgSend_551Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLsForResourcesWithExtension_subdirectory_localization_1 = _registerName1( @@ -19398,28 +19409,28 @@ class PedometerBindings { return __objc_msgSend_552(obj, sel, ext, subpath, localizationName); } - late final __objc_msgSend_552Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_552 = - __objc_msgSend_552Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_552Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_552 = __objc_msgSend_552Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pathForResource_ofType_inDirectory_1 = _registerName1( "pathForResource:ofType:inDirectory:", @@ -19434,28 +19445,28 @@ class PedometerBindings { return __objc_msgSend_553(obj, sel, name, ext, bundlePath); } - late final __objc_msgSend_553Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_553 = - __objc_msgSend_553Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_553Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_553 = __objc_msgSend_553Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pathsForResourcesOfType_inDirectory_1 = _registerName1( "pathsForResourcesOfType:inDirectory:", @@ -19469,26 +19480,26 @@ class PedometerBindings { return __objc_msgSend_554(obj, sel, ext, bundlePath); } - late final __objc_msgSend_554Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_554 = - __objc_msgSend_554Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_554Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_554 = __objc_msgSend_554Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pathForResource_ofType_1 = _registerName1( "pathForResource:ofType:", @@ -19502,26 +19513,26 @@ class PedometerBindings { return __objc_msgSend_555(obj, sel, name, ext); } - late final __objc_msgSend_555Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_555 = - __objc_msgSend_555Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_555Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_555 = __objc_msgSend_555Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = _registerName1("pathForResource:ofType:inDirectory:forLocalization:"); @@ -19536,30 +19547,30 @@ class PedometerBindings { return __objc_msgSend_556(obj, sel, name, ext, subpath, localizationName); } - late final __objc_msgSend_556Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_556 = - __objc_msgSend_556Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_556Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_556 = __objc_msgSend_556Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = _registerName1("pathsForResourcesOfType:inDirectory:forLocalization:"); @@ -19573,28 +19584,28 @@ class PedometerBindings { return __objc_msgSend_557(obj, sel, ext, subpath, localizationName); } - late final __objc_msgSend_557Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_557 = - __objc_msgSend_557Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_557Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_557 = __objc_msgSend_557Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedStringForKey_value_table_1 = _registerName1( "localizedStringForKey:value:table:", @@ -19609,28 +19620,28 @@ class PedometerBindings { return __objc_msgSend_558(obj, sel, key, value, tableName); } - late final __objc_msgSend_558Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_558 = - __objc_msgSend_558Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_558Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_558 = __objc_msgSend_558Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSAttributedString1 = _getClass1("NSAttributedString"); late final _sel_attributesAtIndex_effectiveRange_1 = _registerName1( @@ -19645,26 +19656,26 @@ class PedometerBindings { return __objc_msgSend_559(obj, sel, location, range); } - late final __objc_msgSend_559Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_559 = - __objc_msgSend_559Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - ) - >(); + late final __objc_msgSend_559Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_559 = __objc_msgSend_559Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + ) + >(); late final _sel_attribute_atIndex_effectiveRange_1 = _registerName1( "attribute:atIndex:effectiveRange:", @@ -19679,28 +19690,28 @@ class PedometerBindings { return __objc_msgSend_560(obj, sel, attrName, location, range); } - late final __objc_msgSend_560Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_560 = - __objc_msgSend_560Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - ) - >(); + late final __objc_msgSend_560Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_560 = __objc_msgSend_560Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + ) + >(); late final _sel_attributedSubstringFromRange_1 = _registerName1( "attributedSubstringFromRange:", @@ -19713,24 +19724,24 @@ class PedometerBindings { return __objc_msgSend_561(obj, sel, range); } - late final __objc_msgSend_561Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_561 = - __objc_msgSend_561Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_561Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_561 = __objc_msgSend_561Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = _registerName1("attributesAtIndex:longestEffectiveRange:inRange:"); @@ -19744,28 +19755,28 @@ class PedometerBindings { return __objc_msgSend_562(obj, sel, location, range, rangeLimit); } - late final __objc_msgSend_562Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_562 = - __objc_msgSend_562Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange, - ) - >(); + late final __objc_msgSend_562Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_562 = __objc_msgSend_562Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + _NSRange, + ) + >(); late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = _registerName1("attribute:atIndex:longestEffectiveRange:inRange:"); @@ -19780,30 +19791,30 @@ class PedometerBindings { return __objc_msgSend_563(obj, sel, attrName, location, range, rangeLimit); } - late final __objc_msgSend_563Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_563 = - __objc_msgSend_563Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange, - ) - >(); + late final __objc_msgSend_563Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_563 = __objc_msgSend_563Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_NSRange>, + _NSRange, + ) + >(); late final _sel_isEqualToAttributedString_1 = _registerName1( "isEqualToAttributedString:", @@ -19816,24 +19827,24 @@ class PedometerBindings { return __objc_msgSend_564(obj, sel, other); } - late final __objc_msgSend_564Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_564 = - __objc_msgSend_564Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_564Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_564 = __objc_msgSend_564Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithString_attributes_1 = _registerName1( "initWithString:attributes:", @@ -19847,26 +19858,26 @@ class PedometerBindings { return __objc_msgSend_565(obj, sel, str, attrs); } - late final __objc_msgSend_565Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_565 = - __objc_msgSend_565Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_565Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_565 = __objc_msgSend_565Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithAttributedString_1 = _registerName1( "initWithAttributedString:", @@ -19879,24 +19890,24 @@ class PedometerBindings { return __objc_msgSend_566(obj, sel, attrStr); } - late final __objc_msgSend_566Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_566 = - __objc_msgSend_566Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_566Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_566 = __objc_msgSend_566Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_enumerateAttributesInRange_options_usingBlock_1 = _registerName1("enumerateAttributesInRange:options:usingBlock:"); @@ -19910,28 +19921,28 @@ class PedometerBindings { return __objc_msgSend_567(obj, sel, enumerationRange, opts, block); } - late final __objc_msgSend_567Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_567 = - __objc_msgSend_567Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_567Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_567 = __objc_msgSend_567Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = _registerName1("enumerateAttribute:inRange:options:usingBlock:"); @@ -19953,30 +19964,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_568Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_568 = - __objc_msgSend_568Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_568Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_568 = __objc_msgSend_568Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _class_NSAttributedStringMarkdownParsingOptions1 = _getClass1( "NSAttributedStringMarkdownParsingOptions", @@ -19992,16 +20003,16 @@ class PedometerBindings { return __objc_msgSend_569(obj, sel); } - late final __objc_msgSend_569Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_569 = - __objc_msgSend_569Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_569Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_569 = __objc_msgSend_569Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setInterpretedSyntax_1 = _registerName1( "setInterpretedSyntax:", @@ -20014,36 +20025,36 @@ class PedometerBindings { return __objc_msgSend_570(obj, sel, value); } - late final __objc_msgSend_570Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_570 = - __objc_msgSend_570Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_570Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_570 = __objc_msgSend_570Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_failurePolicy1 = _registerName1("failurePolicy"); int _objc_msgSend_571(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_571(obj, sel); } - late final __objc_msgSend_571Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_571 = - __objc_msgSend_571Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_571Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_571 = __objc_msgSend_571Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setFailurePolicy_1 = _registerName1("setFailurePolicy:"); void _objc_msgSend_572( @@ -20054,20 +20065,20 @@ class PedometerBindings { return __objc_msgSend_572(obj, sel, value); } - late final __objc_msgSend_572Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_572 = - __objc_msgSend_572Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_572Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_572 = __objc_msgSend_572Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_setLanguageCode_1 = _registerName1("setLanguageCode:"); late final _sel_appliesSourcePositionAttributes1 = _registerName1( @@ -20091,30 +20102,30 @@ class PedometerBindings { return __objc_msgSend_573(obj, sel, markdownFile, options, baseURL, error); } - late final __objc_msgSend_573Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_573 = - __objc_msgSend_573Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_573Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_573 = __objc_msgSend_573Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithMarkdown_options_baseURL_error_1 = _registerName1( "initWithMarkdown:options:baseURL:error:", @@ -20130,30 +20141,30 @@ class PedometerBindings { return __objc_msgSend_574(obj, sel, markdown, options, baseURL, error); } - late final __objc_msgSend_574Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_574 = - __objc_msgSend_574Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_574Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_574 = __objc_msgSend_574Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithMarkdownString_options_baseURL_error_1 = _registerName1("initWithMarkdownString:options:baseURL:error:"); @@ -20175,30 +20186,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_575Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_575 = - __objc_msgSend_575Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_575Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_575 = __objc_msgSend_575Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_initWithFormat_options_locale_1 = _registerName1( "initWithFormat:options:locale:", @@ -20213,28 +20224,28 @@ class PedometerBindings { return __objc_msgSend_576(obj, sel, format, options, locale); } - late final __objc_msgSend_576Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_576 = - __objc_msgSend_576Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_576Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_576 = __objc_msgSend_576Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_initWithFormat_options_locale_arguments_1 = _registerName1( "initWithFormat:options:locale:arguments:", @@ -20250,30 +20261,30 @@ class PedometerBindings { return __objc_msgSend_577(obj, sel, format, options, locale, arguments); } - late final __objc_msgSend_577Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_577 = - __objc_msgSend_577Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_577Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_577 = __objc_msgSend_577Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedAttributedStringWithFormat_1 = _registerName1( "localizedAttributedStringWithFormat:", @@ -20289,26 +20300,26 @@ class PedometerBindings { return __objc_msgSend_578(obj, sel, format, options); } - late final __objc_msgSend_578Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_578 = - __objc_msgSend_578Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_578Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_578 = __objc_msgSend_578Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithFormat_options_locale_context_1 = _registerName1( "initWithFormat:options:locale:context:", @@ -20324,30 +20335,30 @@ class PedometerBindings { return __objc_msgSend_579(obj, sel, format, options, locale, context); } - late final __objc_msgSend_579Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_579 = - __objc_msgSend_579Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_579Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_579 = __objc_msgSend_579Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithFormat_options_locale_context_arguments_1 = _registerName1("initWithFormat:options:locale:context:arguments:"); @@ -20371,32 +20382,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_580Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_580 = - __objc_msgSend_580Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_580Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_580 = __objc_msgSend_580Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedAttributedStringWithFormat_context_1 = _registerName1("localizedAttributedStringWithFormat:context:"); @@ -20409,26 +20420,26 @@ class PedometerBindings { return __objc_msgSend_581(obj, sel, format, context); } - late final __objc_msgSend_581Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_581 = - __objc_msgSend_581Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_581Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_581 = __objc_msgSend_581Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedAttributedStringWithFormat_options_context_1 = _registerName1("localizedAttributedStringWithFormat:options:context:"); @@ -20442,28 +20453,28 @@ class PedometerBindings { return __objc_msgSend_582(obj, sel, format, options, context); } - late final __objc_msgSend_582Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_582 = - __objc_msgSend_582Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_582Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_582 = __objc_msgSend_582Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_attributedStringByInflectingString1 = _registerName1( "attributedStringByInflectingString", @@ -20475,22 +20486,22 @@ class PedometerBindings { return __objc_msgSend_583(obj, sel); } - late final __objc_msgSend_583Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_583 = - __objc_msgSend_583Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_583Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_583 = __objc_msgSend_583Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedAttributedStringForKey_value_table_1 = _registerName1("localizedAttributedStringForKey:value:table:"); @@ -20504,28 +20515,28 @@ class PedometerBindings { return __objc_msgSend_584(obj, sel, key, value, tableName); } - late final __objc_msgSend_584Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_584 = - __objc_msgSend_584Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_584Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_584 = __objc_msgSend_584Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_bundleIdentifier1 = _registerName1("bundleIdentifier"); late final _sel_infoDictionary1 = _registerName1("infoDictionary"); @@ -20558,26 +20569,26 @@ class PedometerBindings { return __objc_msgSend_585(obj, sel, localizationsArray, preferencesArray); } - late final __objc_msgSend_585Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_585 = - __objc_msgSend_585Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_585Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_585 = __objc_msgSend_585Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_executableArchitectures1 = _registerName1( "executableArchitectures", @@ -20594,26 +20605,26 @@ class PedometerBindings { return __objc_msgSend_586(obj, sel, priority, tags); } - late final __objc_msgSend_586Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_586 = - __objc_msgSend_586Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_586Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_586 = __objc_msgSend_586Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); late final _sel_preservationPriorityForTag_1 = _registerName1( "preservationPriorityForTag:", @@ -20633,26 +20644,26 @@ class PedometerBindings { return __objc_msgSend_587(obj, sel, attrs, range); } - late final __objc_msgSend_587Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_587 = - __objc_msgSend_587Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_587Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_587 = __objc_msgSend_587Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_mutableString1 = _registerName1("mutableString"); ffi.Pointer _objc_msgSend_588( @@ -20662,22 +20673,22 @@ class PedometerBindings { return __objc_msgSend_588(obj, sel); } - late final __objc_msgSend_588Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_588 = - __objc_msgSend_588Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_588Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_588 = __objc_msgSend_588Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addAttribute_value_range_1 = _registerName1( "addAttribute:value:range:", @@ -20692,28 +20703,28 @@ class PedometerBindings { return __objc_msgSend_589(obj, sel, name, value, range); } - late final __objc_msgSend_589Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_589 = - __objc_msgSend_589Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_589Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_589 = __objc_msgSend_589Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_addAttributes_range_1 = _registerName1( "addAttributes:range:", @@ -20727,26 +20738,26 @@ class PedometerBindings { return __objc_msgSend_590(obj, sel, attrs, range); } - late final __objc_msgSend_590Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_590 = - __objc_msgSend_590Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_590Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_590 = __objc_msgSend_590Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_removeAttribute_range_1 = _registerName1( "removeAttribute:range:", @@ -20760,26 +20771,26 @@ class PedometerBindings { return __objc_msgSend_591(obj, sel, name, range); } - late final __objc_msgSend_591Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_591 = - __objc_msgSend_591Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_591Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_591 = __objc_msgSend_591Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_replaceCharactersInRange_withAttributedString_1 = _registerName1("replaceCharactersInRange:withAttributedString:"); @@ -20792,26 +20803,26 @@ class PedometerBindings { return __objc_msgSend_592(obj, sel, range, attrString); } - late final __objc_msgSend_592Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_592 = - __objc_msgSend_592Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_592Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_592 = __objc_msgSend_592Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_insertAttributedString_atIndex_1 = _registerName1( "insertAttributedString:atIndex:", @@ -20825,26 +20836,26 @@ class PedometerBindings { return __objc_msgSend_593(obj, sel, attrString, loc); } - late final __objc_msgSend_593Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_593 = - __objc_msgSend_593Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_593Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_593 = __objc_msgSend_593Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_appendAttributedString_1 = _registerName1( "appendAttributedString:", @@ -20857,24 +20868,24 @@ class PedometerBindings { return __objc_msgSend_594(obj, sel, attrString); } - late final __objc_msgSend_594Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_594 = - __objc_msgSend_594Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_594Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_594 = __objc_msgSend_594Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setAttributedString_1 = _registerName1( "setAttributedString:", @@ -20897,24 +20908,24 @@ class PedometerBindings { return __objc_msgSend_595(obj, sel, obj1); } - late final __objc_msgSend_595Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_595 = - __objc_msgSend_595Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_595Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_595 = __objc_msgSend_595Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_attributedStringForObjectValue_withDefaultAttributes_1 = _registerName1("attributedStringForObjectValue:withDefaultAttributes:"); @@ -20927,26 +20938,26 @@ class PedometerBindings { return __objc_msgSend_596(obj, sel, obj1, attrs); } - late final __objc_msgSend_596Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_596 = - __objc_msgSend_596Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_596Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_596 = __objc_msgSend_596Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_editingStringForObjectValue_1 = _registerName1( "editingStringForObjectValue:", @@ -20964,28 +20975,28 @@ class PedometerBindings { return __objc_msgSend_597(obj, sel, obj1, string, error); } - late final __objc_msgSend_597Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_597 = - __objc_msgSend_597Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_597Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_597 = __objc_msgSend_597Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_isPartialStringValid_newEditingString_errorDescription_1 = _registerName1("isPartialStringValid:newEditingString:errorDescription:"); @@ -20999,36 +21010,36 @@ class PedometerBindings { return __objc_msgSend_598(obj, sel, partialString, newString, error); } - late final __objc_msgSend_598Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_598 = - __objc_msgSend_598Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); - - late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1 = - _registerName1( - "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", - ); - bool _objc_msgSend_599( - ffi.Pointer obj, - ffi.Pointer sel, + late final __objc_msgSend_598Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_598 = __objc_msgSend_598Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); + + late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1 = + _registerName1( + "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", + ); + bool _objc_msgSend_599( + ffi.Pointer obj, + ffi.Pointer sel, ffi.Pointer> partialStringPtr, ffi.Pointer<_NSRange> proposedSelRangePtr, ffi.Pointer origString, @@ -21046,48 +21057,48 @@ class PedometerBindings { ); } - late final __objc_msgSend_599Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_599 = - __objc_msgSend_599Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_599Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_599 = __objc_msgSend_599Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ) + >(); late final _sel_formattingContext1 = _registerName1("formattingContext"); int _objc_msgSend_600(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_600(obj, sel); } - late final __objc_msgSend_600Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_600 = - __objc_msgSend_600Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_600Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_600 = __objc_msgSend_600Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setFormattingContext_1 = _registerName1( "setFormattingContext:", @@ -21100,20 +21111,20 @@ class PedometerBindings { return __objc_msgSend_601(obj, sel, value); } - late final __objc_msgSend_601Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_601 = - __objc_msgSend_601Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_601Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_601 = __objc_msgSend_601Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_getObjectValue_forString_range_error_1 = _registerName1( "getObjectValue:forString:range:error:", @@ -21129,30 +21140,30 @@ class PedometerBindings { return __objc_msgSend_602(obj, sel, obj1, string, rangep, error); } - late final __objc_msgSend_602Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_602 = - __objc_msgSend_602Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_602Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_602 = __objc_msgSend_602Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>, + ) + >(); late final _sel_stringFromDate_1 = _registerName1("stringFromDate:"); ffi.Pointer _objc_msgSend_603( @@ -21163,24 +21174,24 @@ class PedometerBindings { return __objc_msgSend_603(obj, sel, date); } - late final __objc_msgSend_603Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_603 = - __objc_msgSend_603Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_603Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_603 = __objc_msgSend_603Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dateFromString_1 = _registerName1("dateFromString:"); ffi.Pointer _objc_msgSend_604( @@ -21191,24 +21202,24 @@ class PedometerBindings { return __objc_msgSend_604(obj, sel, string); } - late final __objc_msgSend_604Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_604 = - __objc_msgSend_604Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_604Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_604 = __objc_msgSend_604Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = _registerName1("localizedStringFromDate:dateStyle:timeStyle:"); @@ -21222,28 +21233,28 @@ class PedometerBindings { return __objc_msgSend_605(obj, sel, date, dstyle, tstyle); } - late final __objc_msgSend_605Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_605 = - __objc_msgSend_605Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + late final __objc_msgSend_605Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_605 = __objc_msgSend_605Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); late final _sel_dateFormatFromTemplate_options_locale_1 = _registerName1( "dateFormatFromTemplate:options:locale:", @@ -21258,28 +21269,28 @@ class PedometerBindings { return __objc_msgSend_606(obj, sel, tmplate, opts, locale); } - late final __objc_msgSend_606Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_606 = - __objc_msgSend_606Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_606Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_606 = __objc_msgSend_606Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_defaultFormatterBehavior1 = _registerName1( "defaultFormatterBehavior", @@ -21288,16 +21299,16 @@ class PedometerBindings { return __objc_msgSend_607(obj, sel); } - late final __objc_msgSend_607Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_607 = - __objc_msgSend_607Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_607Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_607 = __objc_msgSend_607Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setDefaultFormatterBehavior_1 = _registerName1( "setDefaultFormatterBehavior:", @@ -21310,20 +21321,20 @@ class PedometerBindings { return __objc_msgSend_608(obj, sel, value); } - late final __objc_msgSend_608Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_608 = - __objc_msgSend_608Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_608Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_608 = __objc_msgSend_608Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_setLocalizedDateFormatFromTemplate_1 = _registerName1( "setLocalizedDateFormatFromTemplate:", @@ -21335,16 +21346,16 @@ class PedometerBindings { return __objc_msgSend_609(obj, sel); } - late final __objc_msgSend_609Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_609 = - __objc_msgSend_609Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_609Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_609 = __objc_msgSend_609Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setDateStyle_1 = _registerName1("setDateStyle:"); void _objc_msgSend_610( @@ -21355,20 +21366,20 @@ class PedometerBindings { return __objc_msgSend_610(obj, sel, value); } - late final __objc_msgSend_610Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_610 = - __objc_msgSend_610Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_610Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_610 = __objc_msgSend_610Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_timeStyle1 = _registerName1("timeStyle"); late final _sel_setTimeStyle_1 = _registerName1("setTimeStyle:"); @@ -21382,24 +21393,24 @@ class PedometerBindings { return __objc_msgSend_611(obj, sel, value); } - late final __objc_msgSend_611Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_611 = - __objc_msgSend_611Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_611Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_611 = __objc_msgSend_611Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_generatesCalendarDates1 = _registerName1( "generatesCalendarDates", @@ -21423,24 +21434,24 @@ class PedometerBindings { return __objc_msgSend_612(obj, sel, aDate); } - late final __objc_msgSend_612Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_612 = - __objc_msgSend_612Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_612Ptr = + _lookup< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_612 = __objc_msgSend_612Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_abbreviationForDate_1 = _registerName1( "abbreviationForDate:", @@ -21453,24 +21464,24 @@ class PedometerBindings { return __objc_msgSend_613(obj, sel, aDate); } - late final __objc_msgSend_613Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_613 = - __objc_msgSend_613Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_613Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_613 = __objc_msgSend_613Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isDaylightSavingTimeForDate_1 = _registerName1( "isDaylightSavingTimeForDate:", @@ -21489,24 +21500,24 @@ class PedometerBindings { return __objc_msgSend_614(obj, sel, aDate); } - late final __objc_msgSend_614Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_614 = - __objc_msgSend_614Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_614Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_614 = __objc_msgSend_614Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_systemTimeZone1 = _registerName1("systemTimeZone"); ffi.Pointer _objc_msgSend_615( @@ -21516,22 +21527,22 @@ class PedometerBindings { return __objc_msgSend_615(obj, sel); } - late final __objc_msgSend_615Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_615 = - __objc_msgSend_615Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_615Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_615 = __objc_msgSend_615Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_resetSystemTimeZone1 = _registerName1("resetSystemTimeZone"); late final _sel_defaultTimeZone1 = _registerName1("defaultTimeZone"); @@ -21544,24 +21555,24 @@ class PedometerBindings { return __objc_msgSend_616(obj, sel, value); } - late final __objc_msgSend_616Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_616 = - __objc_msgSend_616Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_616Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_616 = __objc_msgSend_616Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localTimeZone1 = _registerName1("localTimeZone"); late final _sel_knownTimeZoneNames1 = _registerName1("knownTimeZoneNames"); @@ -21579,24 +21590,24 @@ class PedometerBindings { return __objc_msgSend_617(obj, sel, value); } - late final __objc_msgSend_617Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_617 = - __objc_msgSend_617Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_617Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_617 = __objc_msgSend_617Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_timeZoneDataVersion1 = _registerName1("timeZoneDataVersion"); late final _sel_secondsFromGMT1 = _registerName1("secondsFromGMT"); @@ -21619,24 +21630,24 @@ class PedometerBindings { return __objc_msgSend_618(obj, sel, aTimeZone); } - late final __objc_msgSend_618Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_618 = - __objc_msgSend_618Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_618Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_618 = __objc_msgSend_618Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedName_locale_1 = _registerName1( "localizedName:locale:", @@ -21650,26 +21661,26 @@ class PedometerBindings { return __objc_msgSend_619(obj, sel, style, locale); } - late final __objc_msgSend_619Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_619 = - __objc_msgSend_619Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_619Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_619 = __objc_msgSend_619Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_timeZoneWithName_1 = _registerName1("timeZoneWithName:"); late final _sel_timeZoneWithName_data_1 = _registerName1( @@ -21684,26 +21695,26 @@ class PedometerBindings { return __objc_msgSend_620(obj, sel, tzName, aData); } - late final __objc_msgSend_620Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_620 = - __objc_msgSend_620Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_620Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_620 = __objc_msgSend_620Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithName_1 = _registerName1("initWithName:"); late final _sel_initWithName_data_1 = _registerName1("initWithName:data:"); @@ -21718,24 +21729,24 @@ class PedometerBindings { return __objc_msgSend_621(obj, sel, seconds); } - late final __objc_msgSend_621Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_621 = - __objc_msgSend_621Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_621Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_621 = __objc_msgSend_621Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_timeZoneWithAbbreviation_1 = _registerName1( "timeZoneWithAbbreviation:", @@ -21751,22 +21762,22 @@ class PedometerBindings { return __objc_msgSend_622(obj, sel); } - late final __objc_msgSend_622Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_622 = - __objc_msgSend_622Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_622Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_622 = __objc_msgSend_622Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_autoupdatingCurrentCalendar1 = _registerName1( "autoupdatingCurrentCalendar", @@ -21782,24 +21793,24 @@ class PedometerBindings { return __objc_msgSend_623(obj, sel, calendarIdentifierConstant); } - late final __objc_msgSend_623Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_623 = - __objc_msgSend_623Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_623Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_623 = __objc_msgSend_623Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithCalendarIdentifier_1 = _registerName1( "initWithCalendarIdentifier:", @@ -21811,22 +21822,22 @@ class PedometerBindings { return __objc_msgSend_624(obj, sel); } - late final __objc_msgSend_624Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_624 = - __objc_msgSend_624Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_624Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_624 = __objc_msgSend_624Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_625( ffi.Pointer obj, @@ -21836,24 +21847,24 @@ class PedometerBindings { return __objc_msgSend_625(obj, sel, value); } - late final __objc_msgSend_625Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_625 = - __objc_msgSend_625Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_625Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_625 = __objc_msgSend_625Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_firstWeekday1 = _registerName1("firstWeekday"); late final _sel_setFirstWeekday_1 = _registerName1("setFirstWeekday:"); @@ -21912,24 +21923,20 @@ class PedometerBindings { return __objc_msgSend_626(obj, sel, unit); } - late final __objc_msgSend_626Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_626 = - __objc_msgSend_626Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_626Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_626 = __objc_msgSend_626Ptr + .asFunction< + _NSRange Function(ffi.Pointer, ffi.Pointer, int) + >(); void _objc_msgSend_626_stret( ffi.Pointer<_NSRange> stret, @@ -21940,26 +21947,26 @@ class PedometerBindings { return __objc_msgSend_626_stret(stret, obj, sel, unit); } - late final __objc_msgSend_626_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_626_stret = - __objc_msgSend_626_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_626_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_626_stret = __objc_msgSend_626_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_maximumRangeOfUnit_1 = _registerName1("maximumRangeOfUnit:"); late final _sel_rangeOfUnit_inUnit_forDate_1 = _registerName1( @@ -21975,28 +21982,28 @@ class PedometerBindings { return __objc_msgSend_627(obj, sel, smaller, larger, date); } - late final __objc_msgSend_627Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_627 = - __objc_msgSend_627Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_627Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_627 = __objc_msgSend_627Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); void _objc_msgSend_627_stret( ffi.Pointer<_NSRange> stret, @@ -22009,30 +22016,30 @@ class PedometerBindings { return __objc_msgSend_627_stret(stret, obj, sel, smaller, larger, date); } - late final __objc_msgSend_627_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_627_stret = - __objc_msgSend_627_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_627_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_627_stret = __objc_msgSend_627_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); late final _sel_ordinalityOfUnit_inUnit_forDate_1 = _registerName1( "ordinalityOfUnit:inUnit:forDate:", @@ -22047,28 +22054,28 @@ class PedometerBindings { return __objc_msgSend_628(obj, sel, smaller, larger, date); } - late final __objc_msgSend_628Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_628 = - __objc_msgSend_628Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_628Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_628 = __objc_msgSend_628Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); late final _sel_rangeOfUnit_startDate_interval_forDate_1 = _registerName1( "rangeOfUnit:startDate:interval:forDate:", @@ -22084,30 +22091,30 @@ class PedometerBindings { return __objc_msgSend_629(obj, sel, unit, datep, tip, date); } - late final __objc_msgSend_629Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_629 = - __objc_msgSend_629Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_629Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_629 = __objc_msgSend_629Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSDateComponents1 = _getClass1("NSDateComponents"); late final _sel_calendar1 = _registerName1("calendar"); @@ -22118,22 +22125,22 @@ class PedometerBindings { return __objc_msgSend_630(obj, sel); } - late final __objc_msgSend_630Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_630 = - __objc_msgSend_630Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_630Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_630 = __objc_msgSend_630Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setCalendar_1 = _registerName1("setCalendar:"); void _objc_msgSend_631( @@ -22144,24 +22151,24 @@ class PedometerBindings { return __objc_msgSend_631(obj, sel, value); } - late final __objc_msgSend_631Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_631 = - __objc_msgSend_631Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_631Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_631 = __objc_msgSend_631Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer _objc_msgSend_632( ffi.Pointer obj, @@ -22170,22 +22177,22 @@ class PedometerBindings { return __objc_msgSend_632(obj, sel); } - late final __objc_msgSend_632Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_632 = - __objc_msgSend_632Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_632Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_632 = __objc_msgSend_632Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_633( ffi.Pointer obj, @@ -22195,24 +22202,24 @@ class PedometerBindings { return __objc_msgSend_633(obj, sel, value); } - late final __objc_msgSend_633Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_633 = - __objc_msgSend_633Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_633Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_633 = __objc_msgSend_633Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_era1 = _registerName1("era"); late final _sel_setEra_1 = _registerName1("setEra:"); @@ -22224,16 +22231,20 @@ class PedometerBindings { return __objc_msgSend_634(obj, sel, value); } - late final __objc_msgSend_634Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, ffi.Long) - > - >('objc_msgSend'); - late final __objc_msgSend_634 = - __objc_msgSend_634Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_634Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_634 = __objc_msgSend_634Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_year1 = _registerName1("year"); late final _sel_setYear_1 = _registerName1("setYear:"); @@ -22279,26 +22290,21 @@ class PedometerBindings { return __objc_msgSend_635(obj, sel, value, unit); } - late final __objc_msgSend_635Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_635 = - __objc_msgSend_635Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + late final __objc_msgSend_635Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_635 = __objc_msgSend_635Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int, int) + >(); late final _sel_valueForComponent_1 = _registerName1("valueForComponent:"); int _objc_msgSend_636( @@ -22309,20 +22315,20 @@ class PedometerBindings { return __objc_msgSend_636(obj, sel, unit); } - late final __objc_msgSend_636Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_636 = - __objc_msgSend_636Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_636Ptr = + _lookup< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_636 = __objc_msgSend_636Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_isValidDate1 = _registerName1("isValidDate"); late final _sel_isValidDateInCalendar_1 = _registerName1( @@ -22336,24 +22342,24 @@ class PedometerBindings { return __objc_msgSend_637(obj, sel, calendar); } - late final __objc_msgSend_637Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_637 = - __objc_msgSend_637Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_637Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_637 = __objc_msgSend_637Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dateFromComponents_1 = _registerName1("dateFromComponents:"); ffi.Pointer _objc_msgSend_638( @@ -22364,24 +22370,24 @@ class PedometerBindings { return __objc_msgSend_638(obj, sel, comps); } - late final __objc_msgSend_638Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_638 = - __objc_msgSend_638Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_638Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_638 = __objc_msgSend_638Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_components_fromDate_1 = _registerName1( "components:fromDate:", @@ -22395,26 +22401,26 @@ class PedometerBindings { return __objc_msgSend_639(obj, sel, unitFlags, date); } - late final __objc_msgSend_639Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_639 = - __objc_msgSend_639Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_639Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_639 = __objc_msgSend_639Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_dateByAddingComponents_toDate_options_1 = _registerName1( "dateByAddingComponents:toDate:options:", @@ -22429,28 +22435,28 @@ class PedometerBindings { return __objc_msgSend_640(obj, sel, comps, date, opts); } - late final __objc_msgSend_640Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_640 = - __objc_msgSend_640Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_640Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_640 = __objc_msgSend_640Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_components_fromDate_toDate_options_1 = _registerName1( "components:fromDate:toDate:options:", @@ -22473,30 +22479,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_641Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_641 = - __objc_msgSend_641Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_641Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_641 = __objc_msgSend_641Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_getEra_year_month_day_fromDate_1 = _registerName1( "getEra:year:month:day:fromDate:", @@ -22521,32 +22527,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_642Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_642 = - __objc_msgSend_642Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_642Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_642 = __objc_msgSend_642Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1 = _registerName1("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); @@ -22563,26 +22569,26 @@ class PedometerBindings { return __objc_msgSend_643(obj, sel, unit, date); } - late final __objc_msgSend_643Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_643 = - __objc_msgSend_643Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_643Ptr = + _lookup< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_643 = __objc_msgSend_643Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1 = _registerName1( @@ -22614,38 +22620,38 @@ class PedometerBindings { ); } - late final __objc_msgSend_644Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_644 = - __objc_msgSend_644Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - int, - int, - int, - int, - ) - >(); + late final __objc_msgSend_644Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_644 = __objc_msgSend_644Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + int, + int, + int, + int, + ) + >(); late final _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1 = _registerName1( @@ -22664,26 +22670,26 @@ class PedometerBindings { return __objc_msgSend_645(obj, sel, timezone, date); } - late final __objc_msgSend_645Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_645 = - __objc_msgSend_645Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_645Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_645 = __objc_msgSend_645Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_compareDate_toDate_toUnitGranularity_1 = _registerName1( "compareDate:toDate:toUnitGranularity:", @@ -22698,28 +22704,28 @@ class PedometerBindings { return __objc_msgSend_646(obj, sel, date1, date2, unit); } - late final __objc_msgSend_646Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_646 = - __objc_msgSend_646Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_646Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_646 = __objc_msgSend_646Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_isDate_equalToDate_toUnitGranularity_1 = _registerName1( "isDate:equalToDate:toUnitGranularity:", @@ -22734,28 +22740,28 @@ class PedometerBindings { return __objc_msgSend_647(obj, sel, date1, date2, unit); } - late final __objc_msgSend_647Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_647 = - __objc_msgSend_647Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_647Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_647 = __objc_msgSend_647Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_isDate_inSameDayAsDate_1 = _registerName1( "isDate:inSameDayAsDate:", @@ -22769,26 +22775,26 @@ class PedometerBindings { return __objc_msgSend_648(obj, sel, date1, date2); } - late final __objc_msgSend_648Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_648 = - __objc_msgSend_648Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_648Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_648 = __objc_msgSend_648Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isDateInToday_1 = _registerName1("isDateInToday:"); late final _sel_isDateInYesterday_1 = _registerName1("isDateInYesterday:"); @@ -22806,28 +22812,28 @@ class PedometerBindings { return __objc_msgSend_649(obj, sel, datep, tip, date); } - late final __objc_msgSend_649Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_649 = - __objc_msgSend_649Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_649Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_649 = __objc_msgSend_649Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = _registerName1("nextWeekendStartDate:interval:options:afterDate:"); @@ -22842,30 +22848,30 @@ class PedometerBindings { return __objc_msgSend_650(obj, sel, datep, tip, options, date); } - late final __objc_msgSend_650Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_650 = - __objc_msgSend_650Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_650Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_650 = __objc_msgSend_650Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_components_fromDateComponents_toDateComponents_options_1 = _registerName1("components:fromDateComponents:toDateComponents:options:"); @@ -22887,30 +22893,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_651Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_651 = - __objc_msgSend_651Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_651Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_651 = __objc_msgSend_651Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_dateByAddingUnit_value_toDate_options_1 = _registerName1( "dateByAddingUnit:value:toDate:options:", @@ -22926,31 +22932,31 @@ class PedometerBindings { return __objc_msgSend_652(obj, sel, unit, value, date, options); } - late final __objc_msgSend_652Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_652 = - __objc_msgSend_652Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - int, - ) - >(); - + late final __objc_msgSend_652Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_652 = __objc_msgSend_652Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + int, + ) + >(); + late final _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1 = _registerName1( "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:", @@ -22966,30 +22972,30 @@ class PedometerBindings { return __objc_msgSend_653(obj, sel, start, comps, opts, block); } - late final __objc_msgSend_653Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_653 = - __objc_msgSend_653Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_653Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_653 = __objc_msgSend_653Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_nextDateAfterDate_matchingComponents_options_1 = _registerName1("nextDateAfterDate:matchingComponents:options:"); @@ -23003,28 +23009,28 @@ class PedometerBindings { return __objc_msgSend_654(obj, sel, date, comps, options); } - late final __objc_msgSend_654Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_654 = - __objc_msgSend_654Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_654Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_654 = __objc_msgSend_654Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = _registerName1("nextDateAfterDate:matchingUnit:value:options:"); @@ -23039,30 +23045,30 @@ class PedometerBindings { return __objc_msgSend_655(obj, sel, date, unit, value, options); } - late final __objc_msgSend_655Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_655 = - __objc_msgSend_655Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - ) - >(); + late final __objc_msgSend_655Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_655 = __objc_msgSend_655Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + ) + >(); late final _sel_nextDateAfterDate_matchingHour_minute_second_options_1 = _registerName1("nextDateAfterDate:matchingHour:minute:second:options:"); @@ -23086,32 +23092,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_656Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_656 = - __objc_msgSend_656Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - int, - ) - >(); + late final __objc_msgSend_656Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_656 = __objc_msgSend_656Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + int, + ) + >(); late final _sel_dateBySettingUnit_value_ofDate_options_1 = _registerName1( "dateBySettingUnit:value:ofDate:options:", @@ -23130,32 +23136,32 @@ class PedometerBindings { return __objc_msgSend_657(obj, sel, h, m, s, date, opts); } - late final __objc_msgSend_657Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_657 = - __objc_msgSend_657Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - int, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_657Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_657 = __objc_msgSend_657Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + int, + ffi.Pointer, + int, + ) + >(); late final _sel_date_matchesComponents_1 = _registerName1( "date:matchesComponents:", @@ -23169,26 +23175,26 @@ class PedometerBindings { return __objc_msgSend_658(obj, sel, date, components); } - late final __objc_msgSend_658Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_658 = - __objc_msgSend_658Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_658Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_658 = __objc_msgSend_658Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_659( ffi.Pointer obj, @@ -23198,24 +23204,24 @@ class PedometerBindings { return __objc_msgSend_659(obj, sel, value); } - late final __objc_msgSend_659Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_659 = - __objc_msgSend_659Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_659Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_659 = __objc_msgSend_659Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isLenient1 = _registerName1("isLenient"); late final _sel_setLenient_1 = _registerName1("setLenient:"); @@ -23231,24 +23237,24 @@ class PedometerBindings { return __objc_msgSend_660(obj, sel, value); } - late final __objc_msgSend_660Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_660 = - __objc_msgSend_660Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_660Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_660 = __objc_msgSend_660Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_defaultDate1 = _registerName1("defaultDate"); late final _sel_setDefaultDate_1 = _registerName1("setDefaultDate:"); @@ -23261,24 +23267,24 @@ class PedometerBindings { return __objc_msgSend_661(obj, sel, value); } - late final __objc_msgSend_661Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_661 = - __objc_msgSend_661Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_661Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_661 = __objc_msgSend_661Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setMonthSymbols_1 = _registerName1("setMonthSymbols:"); late final _sel_setShortMonthSymbols_1 = _registerName1( @@ -23351,24 +23357,24 @@ class PedometerBindings { return __objc_msgSend_662(obj, sel, number); } - late final __objc_msgSend_662Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_662 = - __objc_msgSend_662Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_662Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_662 = __objc_msgSend_662Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_numberFromString_1 = _registerName1("numberFromString:"); ffi.Pointer _objc_msgSend_663( @@ -23379,24 +23385,24 @@ class PedometerBindings { return __objc_msgSend_663(obj, sel, string); } - late final __objc_msgSend_663Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_663 = - __objc_msgSend_663Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_663Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_663 = __objc_msgSend_663Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedStringFromNumber_numberStyle_1 = _registerName1( "localizedStringFromNumber:numberStyle:", @@ -23410,41 +23416,41 @@ class PedometerBindings { return __objc_msgSend_664(obj, sel, num, nstyle); } - late final __objc_msgSend_664Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_664 = - __objc_msgSend_664Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_664Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_664 = __objc_msgSend_664Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); int _objc_msgSend_665(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_665(obj, sel); } - late final __objc_msgSend_665Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_665 = - __objc_msgSend_665Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_665Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_665 = __objc_msgSend_665Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); void _objc_msgSend_666( ffi.Pointer obj, @@ -23454,36 +23460,36 @@ class PedometerBindings { return __objc_msgSend_666(obj, sel, behavior); } - late final __objc_msgSend_666Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_666 = - __objc_msgSend_666Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_666Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_666 = __objc_msgSend_666Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_numberStyle1 = _registerName1("numberStyle"); int _objc_msgSend_667(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_667(obj, sel); } - late final __objc_msgSend_667Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_667 = - __objc_msgSend_667Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_667Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_667 = __objc_msgSend_667Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setNumberStyle_1 = _registerName1("setNumberStyle:"); void _objc_msgSend_668( @@ -23494,20 +23500,20 @@ class PedometerBindings { return __objc_msgSend_668(obj, sel, value); } - late final __objc_msgSend_668Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_668 = - __objc_msgSend_668Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_668Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_668 = __objc_msgSend_668Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_generatesDecimalNumbers1 = _registerName1( "generatesDecimalNumbers", @@ -23523,20 +23529,20 @@ class PedometerBindings { return __objc_msgSend_669(obj, sel, value); } - late final __objc_msgSend_669Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_669 = - __objc_msgSend_669Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_669Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_669 = __objc_msgSend_669Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_negativeFormat1 = _registerName1("negativeFormat"); late final _sel_setNegativeFormat_1 = _registerName1("setNegativeFormat:"); @@ -23554,24 +23560,24 @@ class PedometerBindings { return __objc_msgSend_670(obj, sel, value); } - late final __objc_msgSend_670Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_670 = - __objc_msgSend_670Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_670Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_670 = __objc_msgSend_670Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_positiveFormat1 = _registerName1("positiveFormat"); late final _sel_setPositiveFormat_1 = _registerName1("setPositiveFormat:"); @@ -23704,16 +23710,16 @@ class PedometerBindings { return __objc_msgSend_671(obj, sel); } - late final __objc_msgSend_671Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_671 = - __objc_msgSend_671Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_671Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_671 = __objc_msgSend_671Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setPaddingPosition_1 = _registerName1("setPaddingPosition:"); void _objc_msgSend_672( @@ -23724,36 +23730,36 @@ class PedometerBindings { return __objc_msgSend_672(obj, sel, value); } - late final __objc_msgSend_672Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_672 = - __objc_msgSend_672Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_672Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_672 = __objc_msgSend_672Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_roundingMode1 = _registerName1("roundingMode"); int _objc_msgSend_673(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_673(obj, sel); } - late final __objc_msgSend_673Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_673 = - __objc_msgSend_673Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_673Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_673 = __objc_msgSend_673Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setRoundingMode_1 = _registerName1("setRoundingMode:"); void _objc_msgSend_674( @@ -23764,20 +23770,20 @@ class PedometerBindings { return __objc_msgSend_674(obj, sel, value); } - late final __objc_msgSend_674Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_674 = - __objc_msgSend_674Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_674Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_674 = __objc_msgSend_674Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_roundingIncrement1 = _registerName1("roundingIncrement"); ffi.Pointer _objc_msgSend_675( @@ -23787,22 +23793,22 @@ class PedometerBindings { return __objc_msgSend_675(obj, sel); } - late final __objc_msgSend_675Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_675 = - __objc_msgSend_675Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_675Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_675 = __objc_msgSend_675Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setRoundingIncrement_1 = _registerName1( "setRoundingIncrement:", @@ -23815,24 +23821,24 @@ class PedometerBindings { return __objc_msgSend_676(obj, sel, value); } - late final __objc_msgSend_676Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_676 = - __objc_msgSend_676Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_676Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_676 = __objc_msgSend_676Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_minimumIntegerDigits1 = _registerName1( "minimumIntegerDigits", @@ -23920,24 +23926,24 @@ class PedometerBindings { return __objc_msgSend_677(obj, sel, value); } - late final __objc_msgSend_677Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_677 = - __objc_msgSend_677Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_677Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_677 = __objc_msgSend_677Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_attributedStringForNil1 = _registerName1( "attributedStringForNil", @@ -23964,22 +23970,22 @@ class PedometerBindings { return __objc_msgSend_678(obj, sel); } - late final __objc_msgSend_678Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_678 = - __objc_msgSend_678Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_678Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_678 = __objc_msgSend_678Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = _registerName1( @@ -24007,34 +24013,34 @@ class PedometerBindings { ); } - late final __objc_msgSend_679Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Short, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_679 = - __objc_msgSend_679Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - bool, - bool, - bool, - bool, - ) - >(); + late final __objc_msgSend_679Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Short, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_679 = __objc_msgSend_679Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + bool, + bool, + bool, + bool, + ) + >(); late final _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = _registerName1( @@ -24052,24 +24058,24 @@ class PedometerBindings { return __objc_msgSend_680(obj, sel, value); } - late final __objc_msgSend_680Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_680 = - __objc_msgSend_680Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_680Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_680 = __objc_msgSend_680Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSScanner1 = _getClass1("NSScanner"); late final _sel_scanLocation1 = _registerName1("scanLocation"); @@ -24084,22 +24090,22 @@ class PedometerBindings { return __objc_msgSend_681(obj, sel); } - late final __objc_msgSend_681Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_681 = - __objc_msgSend_681Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_681Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_681 = __objc_msgSend_681Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setCharactersToBeSkipped_1 = _registerName1( "setCharactersToBeSkipped:", @@ -24112,24 +24118,24 @@ class PedometerBindings { return __objc_msgSend_682(obj, sel, value); } - late final __objc_msgSend_682Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_682 = - __objc_msgSend_682Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_682Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_682 = __objc_msgSend_682Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_caseSensitive1 = _registerName1("caseSensitive"); late final _sel_setCaseSensitive_1 = _registerName1("setCaseSensitive:"); @@ -24142,24 +24148,24 @@ class PedometerBindings { return __objc_msgSend_683(obj, sel, result); } - late final __objc_msgSend_683Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_683 = - __objc_msgSend_683Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_683Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_683 = __objc_msgSend_683Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanInteger_1 = _registerName1("scanInteger:"); bool _objc_msgSend_684( @@ -24170,24 +24176,24 @@ class PedometerBindings { return __objc_msgSend_684(obj, sel, result); } - late final __objc_msgSend_684Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_684 = - __objc_msgSend_684Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_684Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_684 = __objc_msgSend_684Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanLongLong_1 = _registerName1("scanLongLong:"); bool _objc_msgSend_685( @@ -24198,24 +24204,24 @@ class PedometerBindings { return __objc_msgSend_685(obj, sel, result); } - late final __objc_msgSend_685Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_685 = - __objc_msgSend_685Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_685Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_685 = __objc_msgSend_685Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanUnsignedLongLong_1 = _registerName1( "scanUnsignedLongLong:", @@ -24228,24 +24234,24 @@ class PedometerBindings { return __objc_msgSend_686(obj, sel, result); } - late final __objc_msgSend_686Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_686 = - __objc_msgSend_686Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_686Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_686 = __objc_msgSend_686Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanFloat_1 = _registerName1("scanFloat:"); bool _objc_msgSend_687( @@ -24256,24 +24262,24 @@ class PedometerBindings { return __objc_msgSend_687(obj, sel, result); } - late final __objc_msgSend_687Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_687 = - __objc_msgSend_687Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_687Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_687 = __objc_msgSend_687Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanDouble_1 = _registerName1("scanDouble:"); bool _objc_msgSend_688( @@ -24284,24 +24290,24 @@ class PedometerBindings { return __objc_msgSend_688(obj, sel, result); } - late final __objc_msgSend_688Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_688 = - __objc_msgSend_688Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_688Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_688 = __objc_msgSend_688Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanHexInt_1 = _registerName1("scanHexInt:"); bool _objc_msgSend_689( @@ -24312,24 +24318,24 @@ class PedometerBindings { return __objc_msgSend_689(obj, sel, result); } - late final __objc_msgSend_689Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_689 = - __objc_msgSend_689Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_689Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_689 = __objc_msgSend_689Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanHexLongLong_1 = _registerName1("scanHexLongLong:"); late final _sel_scanHexFloat_1 = _registerName1("scanHexFloat:"); @@ -24346,26 +24352,26 @@ class PedometerBindings { return __objc_msgSend_690(obj, sel, string, result); } - late final __objc_msgSend_690Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_690 = - __objc_msgSend_690Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_690Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_690 = __objc_msgSend_690Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_scanCharactersFromSet_intoString_1 = _registerName1( "scanCharactersFromSet:intoString:", @@ -24379,26 +24385,26 @@ class PedometerBindings { return __objc_msgSend_691(obj, sel, set1, result); } - late final __objc_msgSend_691Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_691 = - __objc_msgSend_691Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_691Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_691 = __objc_msgSend_691Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_scanUpToString_intoString_1 = _registerName1( "scanUpToString:intoString:", @@ -24420,24 +24426,24 @@ class PedometerBindings { return __objc_msgSend_692(obj, sel, dcm); } - late final __objc_msgSend_692Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_692 = - __objc_msgSend_692Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_692Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_692 = __objc_msgSend_692Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSException1 = _getClass1("NSException"); late final _sel_exceptionWithName_reason_userInfo_1 = _registerName1( @@ -24453,28 +24459,28 @@ class PedometerBindings { return __objc_msgSend_693(obj, sel, name, reason, userInfo); } - late final __objc_msgSend_693Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_693 = - __objc_msgSend_693Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_693Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_693 = __objc_msgSend_693Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithName_reason_userInfo_1 = _registerName1( "initWithName:reason:userInfo:", @@ -24489,28 +24495,28 @@ class PedometerBindings { return __objc_msgSend_694(obj, sel, aName, aReason, aUserInfo); } - late final __objc_msgSend_694Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_694 = - __objc_msgSend_694Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_694Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_694 = __objc_msgSend_694Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_reason1 = _registerName1("reason"); late final _sel_raise1 = _registerName1("raise"); @@ -24524,26 +24530,26 @@ class PedometerBindings { return __objc_msgSend_695(obj, sel, name, format); } - late final __objc_msgSend_695Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_695 = - __objc_msgSend_695Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_695Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_695 = __objc_msgSend_695Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_raise_format_arguments_1 = _registerName1( "raise:format:arguments:", @@ -24558,28 +24564,28 @@ class PedometerBindings { return __objc_msgSend_696(obj, sel, name, format, argList); } - late final __objc_msgSend_696Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_696 = - __objc_msgSend_696Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_696Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_696 = __objc_msgSend_696Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSRunLoop1 = _getClass1("NSRunLoop"); late final _sel_currentRunLoop1 = _registerName1("currentRunLoop"); @@ -24590,22 +24596,22 @@ class PedometerBindings { return __objc_msgSend_697(obj, sel); } - late final __objc_msgSend_697Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_697 = - __objc_msgSend_697Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_697Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_697 = __objc_msgSend_697Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_mainRunLoop1 = _registerName1("mainRunLoop"); late final _sel_currentMode1 = _registerName1("currentMode"); @@ -24617,22 +24623,22 @@ class PedometerBindings { return __objc_msgSend_698(obj, sel); } - late final __objc_msgSend_698Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_698 = - __objc_msgSend_698Ptr - .asFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_698Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer<__CFRunLoop> Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_698 = __objc_msgSend_698Ptr + .asFunction< + ffi.Pointer<__CFRunLoop> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSTimer1 = _getClass1("NSTimer"); late final _sel_timerWithTimeInterval_invocation_repeats_1 = _registerName1( @@ -24648,28 +24654,28 @@ class PedometerBindings { return __objc_msgSend_699(obj, sel, ti, invocation, yesOrNo); } - late final __objc_msgSend_699Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_699 = - __objc_msgSend_699Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_699Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_699 = __objc_msgSend_699Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + bool, + ) + >(); late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = _registerName1("scheduledTimerWithTimeInterval:invocation:repeats:"); @@ -24695,32 +24701,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_700Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_700 = - __objc_msgSend_700Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_700Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_700 = __objc_msgSend_700Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1 = _registerName1( @@ -24739,28 +24745,28 @@ class PedometerBindings { return __objc_msgSend_701(obj, sel, interval, repeats, block); } - late final __objc_msgSend_701Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_701 = - __objc_msgSend_701Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - bool, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_701Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_701 = __objc_msgSend_701Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + bool, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = _registerName1("scheduledTimerWithTimeInterval:repeats:block:"); @@ -24778,30 +24784,30 @@ class PedometerBindings { return __objc_msgSend_702(obj, sel, date, interval, repeats, block); } - late final __objc_msgSend_702Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_702 = - __objc_msgSend_702Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - bool, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_702Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_702 = __objc_msgSend_702Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + bool, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_initWithFireDate_interval_target_selector_userInfo_repeats_1 = _registerName1( @@ -24820,34 +24826,34 @@ class PedometerBindings { return __objc_msgSend_703(obj, sel, date, ti, t, s, ui, rep); } - late final __objc_msgSend_703Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_703 = - __objc_msgSend_703Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_703Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_703 = __objc_msgSend_703Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_fire1 = _registerName1("fire"); late final _sel_fireDate1 = _registerName1("fireDate"); @@ -24860,24 +24866,24 @@ class PedometerBindings { return __objc_msgSend_704(obj, sel, value); } - late final __objc_msgSend_704Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_704 = - __objc_msgSend_704Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_704Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_704 = __objc_msgSend_704Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_timeInterval1 = _registerName1("timeInterval"); late final _sel_tolerance1 = _registerName1("tolerance"); @@ -24894,26 +24900,26 @@ class PedometerBindings { return __objc_msgSend_705(obj, sel, timer, mode); } - late final __objc_msgSend_705Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_705 = - __objc_msgSend_705Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_705Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_705 = __objc_msgSend_705Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSPort1 = _getClass1("NSPort"); ffi.Pointer _objc_msgSend_706( @@ -24923,22 +24929,22 @@ class PedometerBindings { return __objc_msgSend_706(obj, sel); } - late final __objc_msgSend_706Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_706 = - __objc_msgSend_706Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_706Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_706 = __objc_msgSend_706Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scheduleInRunLoop_forMode_1 = _registerName1( "scheduleInRunLoop:forMode:", @@ -24952,26 +24958,26 @@ class PedometerBindings { return __objc_msgSend_707(obj, sel, runLoop, mode); } - late final __objc_msgSend_707Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_707 = - __objc_msgSend_707Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_707Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_707 = __objc_msgSend_707Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeFromRunLoop_forMode_1 = _registerName1( "removeFromRunLoop:forMode:", @@ -24998,30 +25004,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_708Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_708 = - __objc_msgSend_708Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_708Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_708 = __objc_msgSend_708Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = _registerName1("sendBeforeDate:msgid:components:from:reserved:"); @@ -25045,32 +25051,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_709Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_709 = - __objc_msgSend_709Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_709Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_709 = __objc_msgSend_709Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _class_NSConnection1 = _getClass1("NSConnection"); late final _sel_addConnection_toRunLoop_forMode_1 = _registerName1( @@ -25086,28 +25092,28 @@ class PedometerBindings { return __objc_msgSend_710(obj, sel, conn, runLoop, mode); } - late final __objc_msgSend_710Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_710 = - __objc_msgSend_710Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_710Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_710 = __objc_msgSend_710Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeConnection_fromRunLoop_forMode_1 = _registerName1( "removeConnection:fromRunLoop:forMode:", @@ -25122,26 +25128,26 @@ class PedometerBindings { return __objc_msgSend_711(obj, sel, aPort, mode); } - late final __objc_msgSend_711Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_711 = - __objc_msgSend_711Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_711Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_711 = __objc_msgSend_711Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removePort_forMode_1 = _registerName1("removePort:forMode:"); late final _sel_limitDateForMode_1 = _registerName1("limitDateForMode:"); @@ -25157,26 +25163,26 @@ class PedometerBindings { return __objc_msgSend_712(obj, sel, mode, limitDate); } - late final __objc_msgSend_712Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_712 = - __objc_msgSend_712Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_712Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_712 = __objc_msgSend_712Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_run1 = _registerName1("run"); late final _sel_runUntilDate_1 = _registerName1("runUntilDate:"); @@ -25190,26 +25196,26 @@ class PedometerBindings { return __objc_msgSend_713(obj, sel, mode, limitDate); } - late final __objc_msgSend_713Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_713 = - __objc_msgSend_713Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_713Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_713 = __objc_msgSend_713Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_configureAsServer1 = _registerName1("configureAsServer"); late final _sel_performInModes_block_1 = _registerName1( @@ -25224,26 +25230,26 @@ class PedometerBindings { return __objc_msgSend_714(obj, sel, modes, block); } - late final __objc_msgSend_714Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_714 = - __objc_msgSend_714Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_714Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_714 = __objc_msgSend_714Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_performBlock_1 = _registerName1("performBlock:"); late final _sel_performSelector_target_argument_order_modes_1 = @@ -25260,32 +25266,32 @@ class PedometerBindings { return __objc_msgSend_715(obj, sel, aSelector, target, arg, order, modes); } - late final __objc_msgSend_715Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_715 = - __objc_msgSend_715Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_715Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_715 = __objc_msgSend_715Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_cancelPerformSelector_target_argument_1 = _registerName1( "cancelPerformSelector:target:argument:", @@ -25307,26 +25313,26 @@ class PedometerBindings { return __objc_msgSend_716(obj, sel, fd, closeopt); } - late final __objc_msgSend_716Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_716 = - __objc_msgSend_716Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - bool, - ) - >(); + late final __objc_msgSend_716Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_716 = __objc_msgSend_716Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + bool, + ) + >(); late final _sel_readDataToEndOfFileAndReturnError_1 = _registerName1( "readDataToEndOfFileAndReturnError:", @@ -25339,24 +25345,24 @@ class PedometerBindings { return __objc_msgSend_717(obj, sel, error); } - late final __objc_msgSend_717Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_717 = - __objc_msgSend_717Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_717Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_717 = __objc_msgSend_717Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_readDataUpToLength_error_1 = _registerName1( "readDataUpToLength:error:", @@ -25370,26 +25376,26 @@ class PedometerBindings { return __objc_msgSend_718(obj, sel, length, error); } - late final __objc_msgSend_718Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_718 = - __objc_msgSend_718Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_718Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_718 = __objc_msgSend_718Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_writeData_error_1 = _registerName1("writeData:error:"); bool _objc_msgSend_719( @@ -25401,26 +25407,26 @@ class PedometerBindings { return __objc_msgSend_719(obj, sel, data, error); } - late final __objc_msgSend_719Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_719 = - __objc_msgSend_719Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_719Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_719 = __objc_msgSend_719Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_getOffset_error_1 = _registerName1("getOffset:error:"); bool _objc_msgSend_720( @@ -25432,26 +25438,26 @@ class PedometerBindings { return __objc_msgSend_720(obj, sel, offsetInFile, error); } - late final __objc_msgSend_720Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_720 = - __objc_msgSend_720Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_720Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_720 = __objc_msgSend_720Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_seekToEndReturningOffset_error_1 = _registerName1( "seekToEndReturningOffset:error:", @@ -25466,26 +25472,26 @@ class PedometerBindings { return __objc_msgSend_721(obj, sel, offset, error); } - late final __objc_msgSend_721Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_721 = - __objc_msgSend_721Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_721Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_721 = __objc_msgSend_721Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_truncateAtOffset_error_1 = _registerName1( "truncateAtOffset:error:", @@ -25506,22 +25512,22 @@ class PedometerBindings { return __objc_msgSend_722(obj, sel); } - late final __objc_msgSend_722Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_722 = - __objc_msgSend_722Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_722Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_722 = __objc_msgSend_722Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileHandleWithStandardOutput1 = _registerName1( "fileHandleWithStandardOutput", @@ -25553,26 +25559,26 @@ class PedometerBindings { return __objc_msgSend_723(obj, sel, url, error); } - late final __objc_msgSend_723Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_723 = - __objc_msgSend_723Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_723Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_723 = __objc_msgSend_723Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_fileHandleForWritingToURL_error_1 = _registerName1( "fileHandleForWritingToURL:error:", @@ -25591,24 +25597,24 @@ class PedometerBindings { return __objc_msgSend_724(obj, sel, modes); } - late final __objc_msgSend_724Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_724 = - __objc_msgSend_724Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_724Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_724 = __objc_msgSend_724Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_readInBackgroundAndNotify1 = _registerName1( "readInBackgroundAndNotify", @@ -25637,22 +25643,22 @@ class PedometerBindings { return __objc_msgSend_725(obj, sel); } - late final __objc_msgSend_725Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_725 = - __objc_msgSend_725Ptr - .asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_725Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_725 = __objc_msgSend_725Ptr + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setReadabilityHandler_1 = _registerName1( "setReadabilityHandler:", @@ -25665,24 +25671,24 @@ class PedometerBindings { return __objc_msgSend_726(obj, sel, value); } - late final __objc_msgSend_726Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_726 = - __objc_msgSend_726Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_726Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_726 = __objc_msgSend_726Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_writeabilityHandler1 = _registerName1("writeabilityHandler"); late final _sel_setWriteabilityHandler_1 = _registerName1( @@ -25699,24 +25705,24 @@ class PedometerBindings { return __objc_msgSend_727(obj, sel, fd); } - late final __objc_msgSend_727Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_727 = - __objc_msgSend_727Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_727Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_727 = __objc_msgSend_727Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_fileDescriptor1 = _registerName1("fileDescriptor"); late final _sel_readDataToEndOfFile1 = _registerName1("readDataToEndOfFile"); @@ -25729,24 +25735,24 @@ class PedometerBindings { return __objc_msgSend_728(obj, sel, length); } - late final __objc_msgSend_728Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_728 = - __objc_msgSend_728Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_728Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_728 = __objc_msgSend_728Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_writeData_1 = _registerName1("writeData:"); late final _sel_offsetInFile1 = _registerName1("offsetInFile"); @@ -25760,20 +25766,20 @@ class PedometerBindings { return __objc_msgSend_729(obj, sel, offset); } - late final __objc_msgSend_729Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLongLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_729 = - __objc_msgSend_729Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_729Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_729 = __objc_msgSend_729Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_truncateFileAtOffset_1 = _registerName1( "truncateFileAtOffset:", @@ -25791,22 +25797,22 @@ class PedometerBindings { return __objc_msgSend_730(obj, sel); } - late final __objc_msgSend_730Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_730 = - __objc_msgSend_730Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_730Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_730 = __objc_msgSend_730Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = _registerName1("sharedCookieStorageForGroupContainerIdentifier:"); @@ -25818,24 +25824,24 @@ class PedometerBindings { return __objc_msgSend_731(obj, sel, identifier); } - late final __objc_msgSend_731Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_731 = - __objc_msgSend_731Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_731Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_731 = __objc_msgSend_731Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_cookies1 = _registerName1("cookies"); late final _class_NSHTTPCookie1 = _getClass1("NSHTTPCookie"); @@ -25848,24 +25854,24 @@ class PedometerBindings { return __objc_msgSend_732(obj, sel, properties); } - late final __objc_msgSend_732Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_732 = - __objc_msgSend_732Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_732Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_732 = __objc_msgSend_732Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_cookieWithProperties_1 = _registerName1( "cookieWithProperties:", @@ -25878,24 +25884,24 @@ class PedometerBindings { return __objc_msgSend_733(obj, sel, properties); } - late final __objc_msgSend_733Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_733 = - __objc_msgSend_733Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_733Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_733 = __objc_msgSend_733Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_requestHeaderFieldsWithCookies_1 = _registerName1( "requestHeaderFieldsWithCookies:", @@ -25912,26 +25918,26 @@ class PedometerBindings { return __objc_msgSend_734(obj, sel, headerFields, URL); } - late final __objc_msgSend_734Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_734 = - __objc_msgSend_734Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_734Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_734 = __objc_msgSend_734Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_properties1 = _registerName1("properties"); late final _sel_value1 = _registerName1("value"); @@ -25952,24 +25958,24 @@ class PedometerBindings { return __objc_msgSend_735(obj, sel, cookie); } - late final __objc_msgSend_735Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_735 = - __objc_msgSend_735Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_735Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_735 = __objc_msgSend_735Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_deleteCookie_1 = _registerName1("deleteCookie:"); late final _sel_removeCookiesSinceDate_1 = _registerName1( @@ -25989,44 +25995,44 @@ class PedometerBindings { return __objc_msgSend_736(obj, sel, cookies, URL, mainDocumentURL); } - late final __objc_msgSend_736Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_736 = - __objc_msgSend_736Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_736Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_736 = __objc_msgSend_736Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_cookieAcceptPolicy1 = _registerName1("cookieAcceptPolicy"); int _objc_msgSend_737(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_737(obj, sel); } - late final __objc_msgSend_737Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_737 = - __objc_msgSend_737Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_737Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_737 = __objc_msgSend_737Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setCookieAcceptPolicy_1 = _registerName1( "setCookieAcceptPolicy:", @@ -26039,20 +26045,20 @@ class PedometerBindings { return __objc_msgSend_738(obj, sel, value); } - late final __objc_msgSend_738Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_738 = - __objc_msgSend_738Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_738Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_738 = __objc_msgSend_738Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_sortedCookiesUsingDescriptors_1 = _registerName1( "sortedCookiesUsingDescriptors:", @@ -26069,24 +26075,24 @@ class PedometerBindings { return __objc_msgSend_739(obj, sel, URL); } - late final __objc_msgSend_739Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_739 = - __objc_msgSend_739Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_739Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_739 = __objc_msgSend_739Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_supportsSecureCoding1 = _registerName1( "supportsSecureCoding", @@ -26104,28 +26110,28 @@ class PedometerBindings { return __objc_msgSend_740(obj, sel, URL, cachePolicy, timeoutInterval); } - late final __objc_msgSend_740Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_740 = - __objc_msgSend_740Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - double, - ) - >(); + late final __objc_msgSend_740Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_740 = __objc_msgSend_740Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + double, + ) + >(); late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = _registerName1( "initWithURL:cachePolicy:timeoutInterval:", @@ -26136,16 +26142,16 @@ class PedometerBindings { return __objc_msgSend_741(obj, sel); } - late final __objc_msgSend_741Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_741 = - __objc_msgSend_741Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_741Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_741 = __objc_msgSend_741Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_timeoutInterval1 = _registerName1("timeoutInterval"); late final _sel_mainDocumentURL1 = _registerName1("mainDocumentURL"); @@ -26154,16 +26160,16 @@ class PedometerBindings { return __objc_msgSend_742(obj, sel); } - late final __objc_msgSend_742Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_742 = - __objc_msgSend_742Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_742Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_742 = __objc_msgSend_742Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_allowsCellularAccess1 = _registerName1( "allowsCellularAccess", @@ -26180,16 +26186,16 @@ class PedometerBindings { return __objc_msgSend_743(obj, sel); } - late final __objc_msgSend_743Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_743 = - __objc_msgSend_743Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_743Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_743 = __objc_msgSend_743Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_requiresDNSSECValidation1 = _registerName1( "requiresDNSSECValidation", @@ -26213,42 +26219,42 @@ class PedometerBindings { return __objc_msgSend_744(obj, sel, property, key); } - late final __objc_msgSend_744Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_744 = - __objc_msgSend_744Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_744Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_744 = __objc_msgSend_744Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_streamStatus1 = _registerName1("streamStatus"); int _objc_msgSend_745(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_745(obj, sel); } - late final __objc_msgSend_745Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_745 = - __objc_msgSend_745Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_745Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_745 = __objc_msgSend_745Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_streamError1 = _registerName1("streamError"); late final _class_NSOutputStream1 = _getClass1("NSOutputStream"); @@ -26262,26 +26268,26 @@ class PedometerBindings { return __objc_msgSend_746(obj, sel, buffer, len); } - late final __objc_msgSend_746Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_746 = - __objc_msgSend_746Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_746Ptr = + _lookup< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_746 = __objc_msgSend_746Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_hasSpaceAvailable1 = _registerName1("hasSpaceAvailable"); late final _sel_initToMemory1 = _registerName1("initToMemory"); @@ -26297,26 +26303,26 @@ class PedometerBindings { return __objc_msgSend_747(obj, sel, buffer, capacity); } - late final __objc_msgSend_747Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_747 = - __objc_msgSend_747Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_747Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_747 = __objc_msgSend_747Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithURL_append_1 = _registerName1("initWithURL:append:"); instancetype _objc_msgSend_748( @@ -26328,26 +26334,26 @@ class PedometerBindings { return __objc_msgSend_748(obj, sel, url, shouldAppend); } - late final __objc_msgSend_748Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_748 = - __objc_msgSend_748Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_748Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_748 = __objc_msgSend_748Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_initToFileAtPath_append_1 = _registerName1( "initToFileAtPath:append:", @@ -26384,30 +26390,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_749Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_749 = - __objc_msgSend_749Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_749Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_749 = __objc_msgSend_749Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _class_NSHost1 = _getClass1("NSHost"); late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = @@ -26423,30 +26429,30 @@ class PedometerBindings { return __objc_msgSend_750(obj, sel, host, port, inputStream, outputStream); } - late final __objc_msgSend_750Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_750 = - __objc_msgSend_750Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_750Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_750 = __objc_msgSend_750Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1 = _registerName1("getBoundStreamsWithBufferSize:inputStream:outputStream:"); @@ -26460,28 +26466,28 @@ class PedometerBindings { return __objc_msgSend_751(obj, sel, bufferSize, inputStream, outputStream); } - late final __objc_msgSend_751Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_751 = - __objc_msgSend_751Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_751Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_751 = __objc_msgSend_751Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_read_maxLength_1 = _registerName1("read:maxLength:"); late final _sel_getBuffer_length_1 = _registerName1("getBuffer:length:"); @@ -26494,26 +26500,26 @@ class PedometerBindings { return __objc_msgSend_752(obj, sel, buffer, len); } - late final __objc_msgSend_752Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_752 = - __objc_msgSend_752Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_752Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_752 = __objc_msgSend_752Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + >(); late final _sel_hasBytesAvailable1 = _registerName1("hasBytesAvailable"); late final _sel_initWithFileAtPath_1 = _registerName1("initWithFileAtPath:"); @@ -26528,24 +26534,24 @@ class PedometerBindings { return __objc_msgSend_753(obj, sel, data); } - late final __objc_msgSend_753Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_753 = - __objc_msgSend_753Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_753Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_753 = __objc_msgSend_753Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_inputStreamWithFileAtPath_1 = _registerName1( "inputStreamWithFileAtPath:", @@ -26559,22 +26565,22 @@ class PedometerBindings { return __objc_msgSend_754(obj, sel); } - late final __objc_msgSend_754Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_754 = - __objc_msgSend_754Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_754Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_754 = __objc_msgSend_754Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_HTTPShouldHandleCookies1 = _registerName1( "HTTPShouldHandleCookies", @@ -26590,22 +26596,22 @@ class PedometerBindings { return __objc_msgSend_755(obj, sel); } - late final __objc_msgSend_755Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_755 = - __objc_msgSend_755Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_755Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_755 = __objc_msgSend_755Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_currentRequest1 = _registerName1("currentRequest"); late final _class_NSURLResponse1 = _getClass1("NSURLResponse"); @@ -26624,30 +26630,30 @@ class PedometerBindings { return __objc_msgSend_756(obj, sel, URL, MIMEType, length, name); } - late final __objc_msgSend_756Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_756 = - __objc_msgSend_756Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_756Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_756 = __objc_msgSend_756Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_MIMEType1 = _registerName1("MIMEType"); late final _sel_expectedContentLength1 = _registerName1( @@ -26663,22 +26669,22 @@ class PedometerBindings { return __objc_msgSend_757(obj, sel); } - late final __objc_msgSend_757Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_757 = - __objc_msgSend_757Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_757Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_757 = __objc_msgSend_757Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_progress1 = _registerName1("progress"); ffi.Pointer _objc_msgSend_758( @@ -26688,22 +26694,22 @@ class PedometerBindings { return __objc_msgSend_758(obj, sel); } - late final __objc_msgSend_758Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_758 = - __objc_msgSend_758Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_758Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_758 = __objc_msgSend_758Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_earliestBeginDate1 = _registerName1("earliestBeginDate"); late final _sel_setEarliestBeginDate_1 = _registerName1( @@ -26738,16 +26744,16 @@ class PedometerBindings { return __objc_msgSend_759(obj, sel); } - late final __objc_msgSend_759Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_759 = - __objc_msgSend_759Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_759Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_759 = __objc_msgSend_759Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_suspend1 = _registerName1("suspend"); late final _sel_priority1 = _registerName1("priority"); @@ -26760,20 +26766,20 @@ class PedometerBindings { return __objc_msgSend_760(obj, sel, value); } - late final __objc_msgSend_760Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Float, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_760 = - __objc_msgSend_760Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, double) - >(); + late final __objc_msgSend_760Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_760 = __objc_msgSend_760Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, double) + >(); late final _sel_prefersIncrementalDelivery1 = _registerName1( "prefersIncrementalDelivery", @@ -26793,26 +26799,26 @@ class PedometerBindings { return __objc_msgSend_761(obj, sel, cookies, task); } - late final __objc_msgSend_761Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_761 = - __objc_msgSend_761Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_761Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_761 = __objc_msgSend_761Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getCookiesForTask_completionHandler_1 = _registerName1( "getCookiesForTask:completionHandler:", @@ -26826,26 +26832,26 @@ class PedometerBindings { return __objc_msgSend_762(obj, sel, task, completionHandler); } - late final __objc_msgSend_762Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_762 = - __objc_msgSend_762Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_762Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_762 = __objc_msgSend_762Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _class_NSIndexPath1 = _getClass1("NSIndexPath"); late final _sel_indexPathWithIndex_1 = _registerName1("indexPathWithIndex:"); @@ -26861,26 +26867,26 @@ class PedometerBindings { return __objc_msgSend_763(obj, sel, indexes, length); } - late final __objc_msgSend_763Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_763 = - __objc_msgSend_763Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_763Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_763 = __objc_msgSend_763Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithIndexes_length_1 = _registerName1( "initWithIndexes:length:", @@ -26896,24 +26902,24 @@ class PedometerBindings { return __objc_msgSend_764(obj, sel, index); } - late final __objc_msgSend_764Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_764 = - __objc_msgSend_764Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_764Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_764 = __objc_msgSend_764Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_indexPathByRemovingLastIndex1 = _registerName1( "indexPathByRemovingLastIndex", @@ -26925,22 +26931,22 @@ class PedometerBindings { return __objc_msgSend_765(obj, sel); } - late final __objc_msgSend_765Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_765 = - __objc_msgSend_765Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_765Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_765 = __objc_msgSend_765Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_indexAtPosition_1 = _registerName1("indexAtPosition:"); late final _sel_getIndexes_range_1 = _registerName1("getIndexes:range:"); @@ -26953,26 +26959,26 @@ class PedometerBindings { return __objc_msgSend_766(obj, sel, indexes, positionRange); } - late final __objc_msgSend_766Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_766 = - __objc_msgSend_766Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_766Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_766 = __objc_msgSend_766Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); int _objc_msgSend_767( ffi.Pointer obj, @@ -26982,24 +26988,24 @@ class PedometerBindings { return __objc_msgSend_767(obj, sel, otherObject); } - late final __objc_msgSend_767Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_767 = - __objc_msgSend_767Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_767Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_767 = __objc_msgSend_767Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getIndexes_1 = _registerName1("getIndexes:"); void _objc_msgSend_768( @@ -27010,24 +27016,24 @@ class PedometerBindings { return __objc_msgSend_768(obj, sel, indexes); } - late final __objc_msgSend_768Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_768 = - __objc_msgSend_768Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_768Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_768 = __objc_msgSend_768Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSInflectionRule1 = _getClass1("NSInflectionRule"); late final _sel_automaticRule1 = _registerName1("automaticRule"); @@ -27038,22 +27044,22 @@ class PedometerBindings { return __objc_msgSend_769(obj, sel); } - late final __objc_msgSend_769Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_769 = - __objc_msgSend_769Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_769Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_769 = __objc_msgSend_769Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_canInflectLanguage_1 = _registerName1("canInflectLanguage:"); late final _sel_canInflectPreferredLocalization1 = _registerName1( @@ -27065,16 +27071,16 @@ class PedometerBindings { return __objc_msgSend_770(obj, sel); } - late final __objc_msgSend_770Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_770 = - __objc_msgSend_770Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_770Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_770 = __objc_msgSend_770Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setGrammaticalGender_1 = _registerName1( "setGrammaticalGender:", @@ -27087,36 +27093,36 @@ class PedometerBindings { return __objc_msgSend_771(obj, sel, value); } - late final __objc_msgSend_771Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_771 = - __objc_msgSend_771Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_771Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_771 = __objc_msgSend_771Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_partOfSpeech1 = _registerName1("partOfSpeech"); int _objc_msgSend_772(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_772(obj, sel); } - late final __objc_msgSend_772Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_772 = - __objc_msgSend_772Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_772Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_772 = __objc_msgSend_772Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setPartOfSpeech_1 = _registerName1("setPartOfSpeech:"); void _objc_msgSend_773( @@ -27127,36 +27133,36 @@ class PedometerBindings { return __objc_msgSend_773(obj, sel, value); } - late final __objc_msgSend_773Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_773 = - __objc_msgSend_773Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_773Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_773 = __objc_msgSend_773Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_number1 = _registerName1("number"); int _objc_msgSend_774(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_774(obj, sel); } - late final __objc_msgSend_774Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_774 = - __objc_msgSend_774Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_774Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_774 = __objc_msgSend_774Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setNumber_1 = _registerName1("setNumber:"); void _objc_msgSend_775( @@ -27167,36 +27173,36 @@ class PedometerBindings { return __objc_msgSend_775(obj, sel, value); } - late final __objc_msgSend_775Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_775 = - __objc_msgSend_775Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_775Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_775 = __objc_msgSend_775Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_grammaticalCase1 = _registerName1("grammaticalCase"); int _objc_msgSend_776(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_776(obj, sel); } - late final __objc_msgSend_776Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_776 = - __objc_msgSend_776Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_776Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_776 = __objc_msgSend_776Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setGrammaticalCase_1 = _registerName1("setGrammaticalCase:"); void _objc_msgSend_777( @@ -27207,36 +27213,36 @@ class PedometerBindings { return __objc_msgSend_777(obj, sel, value); } - late final __objc_msgSend_777Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_777 = - __objc_msgSend_777Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_777Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_777 = __objc_msgSend_777Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_determination1 = _registerName1("determination"); int _objc_msgSend_778(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_778(obj, sel); } - late final __objc_msgSend_778Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_778 = - __objc_msgSend_778Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_778Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_778 = __objc_msgSend_778Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setDetermination_1 = _registerName1("setDetermination:"); void _objc_msgSend_779( @@ -27247,36 +27253,36 @@ class PedometerBindings { return __objc_msgSend_779(obj, sel, value); } - late final __objc_msgSend_779Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_779 = - __objc_msgSend_779Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_779Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_779 = __objc_msgSend_779Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_grammaticalPerson1 = _registerName1("grammaticalPerson"); int _objc_msgSend_780(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_780(obj, sel); } - late final __objc_msgSend_780Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_780 = - __objc_msgSend_780Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_780Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_780 = __objc_msgSend_780Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setGrammaticalPerson_1 = _registerName1( "setGrammaticalPerson:", @@ -27289,36 +27295,36 @@ class PedometerBindings { return __objc_msgSend_781(obj, sel, value); } - late final __objc_msgSend_781Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_781 = - __objc_msgSend_781Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_781Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_781 = __objc_msgSend_781Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_pronounType1 = _registerName1("pronounType"); int _objc_msgSend_782(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_782(obj, sel); } - late final __objc_msgSend_782Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_782 = - __objc_msgSend_782Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_782Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_782 = __objc_msgSend_782Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setPronounType_1 = _registerName1("setPronounType:"); void _objc_msgSend_783( @@ -27329,36 +27335,36 @@ class PedometerBindings { return __objc_msgSend_783(obj, sel, value); } - late final __objc_msgSend_783Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_783 = - __objc_msgSend_783Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_783Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_783 = __objc_msgSend_783Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_definiteness1 = _registerName1("definiteness"); int _objc_msgSend_784(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_784(obj, sel); } - late final __objc_msgSend_784Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_784 = - __objc_msgSend_784Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_784Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_784 = __objc_msgSend_784Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setDefiniteness_1 = _registerName1("setDefiniteness:"); void _objc_msgSend_785( @@ -27369,20 +27375,20 @@ class PedometerBindings { return __objc_msgSend_785(obj, sel, value); } - late final __objc_msgSend_785Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_785 = - __objc_msgSend_785Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_785Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_785 = __objc_msgSend_785Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _class_NSMorphologyCustomPronoun1 = _getClass1( "NSMorphologyCustomPronoun", @@ -27418,24 +27424,24 @@ class PedometerBindings { return __objc_msgSend_786(obj, sel, language); } - late final __objc_msgSend_786Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_786 = - __objc_msgSend_786Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_786Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_786 = __objc_msgSend_786Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setCustomPronoun_forLanguage_error_1 = _registerName1( "setCustomPronoun:forLanguage:error:", @@ -27450,28 +27456,28 @@ class PedometerBindings { return __objc_msgSend_787(obj, sel, features, language, error); } - late final __objc_msgSend_787Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_787 = - __objc_msgSend_787Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_787Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_787 = __objc_msgSend_787Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_isUnspecified1 = _registerName1("isUnspecified"); late final _sel_userMorphology1 = _registerName1("userMorphology"); @@ -27482,22 +27488,22 @@ class PedometerBindings { return __objc_msgSend_788(obj, sel); } - late final __objc_msgSend_788Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_788 = - __objc_msgSend_788Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_788Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_788 = __objc_msgSend_788Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSOperationQueue1 = _getClass1("NSOperationQueue"); late final _class_NSOperation1 = _getClass1("NSOperation"); @@ -27513,24 +27519,24 @@ class PedometerBindings { return __objc_msgSend_789(obj, sel, op); } - late final __objc_msgSend_789Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_789 = - __objc_msgSend_789Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_789Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_789 = __objc_msgSend_789Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeDependency_1 = _registerName1("removeDependency:"); late final _sel_dependencies1 = _registerName1("dependencies"); @@ -27539,16 +27545,16 @@ class PedometerBindings { return __objc_msgSend_790(obj, sel); } - late final __objc_msgSend_790Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_790 = - __objc_msgSend_790Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_790Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_790 = __objc_msgSend_790Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setQueuePriority_1 = _registerName1("setQueuePriority:"); void _objc_msgSend_791( @@ -27559,20 +27565,20 @@ class PedometerBindings { return __objc_msgSend_791(obj, sel, value); } - late final __objc_msgSend_791Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_791 = - __objc_msgSend_791Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_791Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_791 = __objc_msgSend_791Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_completionBlock1 = _registerName1("completionBlock"); late final _sel_setCompletionBlock_1 = _registerName1("setCompletionBlock:"); @@ -27590,26 +27596,26 @@ class PedometerBindings { return __objc_msgSend_792(obj, sel, ops, wait); } - late final __objc_msgSend_792Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_792 = - __objc_msgSend_792Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_792Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_792 = __objc_msgSend_792Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_addOperationWithBlock_1 = _registerName1( "addOperationWithBlock:", @@ -27631,22 +27637,22 @@ class PedometerBindings { return __objc_msgSend_793(obj, sel); } - late final __objc_msgSend_793Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_793 = - __objc_msgSend_793Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_793Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_793 = __objc_msgSend_793Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setUnderlyingQueue_1 = _registerName1("setUnderlyingQueue:"); void _objc_msgSend_794( @@ -27657,24 +27663,24 @@ class PedometerBindings { return __objc_msgSend_794(obj, sel, value); } - late final __objc_msgSend_794Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_794 = - __objc_msgSend_794Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_794Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_794 = __objc_msgSend_794Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_cancelAllOperations1 = _registerName1("cancelAllOperations"); late final _sel_waitUntilAllOperationsAreFinished1 = _registerName1( @@ -27688,22 +27694,22 @@ class PedometerBindings { return __objc_msgSend_795(obj, sel); } - late final __objc_msgSend_795Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_795 = - __objc_msgSend_795Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_795Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_795 = __objc_msgSend_795Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_mainQueue1 = _registerName1("mainQueue"); ffi.Pointer _objc_msgSend_796( @@ -27713,22 +27719,22 @@ class PedometerBindings { return __objc_msgSend_796(obj, sel); } - late final __objc_msgSend_796Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_796 = - __objc_msgSend_796Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_796Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_796 = __objc_msgSend_796Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_operations1 = _registerName1("operations"); late final _sel_operationCount1 = _registerName1("operationCount"); @@ -27742,24 +27748,24 @@ class PedometerBindings { return __objc_msgSend_797(obj, sel, options); } - late final __objc_msgSend_797Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_797 = - __objc_msgSend_797Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_797Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_797 = __objc_msgSend_797Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _class_NSPointerFunctions1 = _getClass1("NSPointerFunctions"); late final _sel_pointerFunctionsWithOptions_1 = _registerName1( @@ -27773,24 +27779,24 @@ class PedometerBindings { return __objc_msgSend_798(obj, sel, options); } - late final __objc_msgSend_798Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_798 = - __objc_msgSend_798Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_798Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_798 = __objc_msgSend_798Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_hashFunction1 = _registerName1("hashFunction"); ffi.Pointer< @@ -27807,40 +27813,40 @@ class PedometerBindings { return __objc_msgSend_799(obj, sel); } - late final __objc_msgSend_799Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< + late final __objc_msgSend_799Ptr = + _lookup< ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_799 = - __objc_msgSend_799Ptr - .asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) > - Function(ffi.Pointer, ffi.Pointer) - >(); + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_799 = __objc_msgSend_799Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setHashFunction_1 = _registerName1("setHashFunction:"); void _objc_msgSend_800( @@ -27861,46 +27867,46 @@ class PedometerBindings { return __objc_msgSend_800(obj, sel, value); } - late final __objc_msgSend_800Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_800 = - __objc_msgSend_800Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - >(); + late final __objc_msgSend_800Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_800 = __objc_msgSend_800Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); late final _sel_isEqualFunction1 = _registerName1("isEqualFunction"); ffi.Pointer< @@ -27918,42 +27924,42 @@ class PedometerBindings { return __objc_msgSend_801(obj, sel); } - late final __objc_msgSend_801Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< + late final __objc_msgSend_801Ptr = + _lookup< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_801 = - __objc_msgSend_801Ptr - .asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) > - Function(ffi.Pointer, ffi.Pointer) - >(); + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_801 = __objc_msgSend_801Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setIsEqualFunction_1 = _registerName1("setIsEqualFunction:"); void _objc_msgSend_802( @@ -27975,48 +27981,48 @@ class PedometerBindings { return __objc_msgSend_802(obj, sel, value); } - late final __objc_msgSend_802Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_802 = - __objc_msgSend_802Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - >(); + late final __objc_msgSend_802Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_802 = __objc_msgSend_802Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); late final _sel_sizeFunction1 = _registerName1("sizeFunction"); ffi.Pointer< @@ -28026,24 +28032,22 @@ class PedometerBindings { return __objc_msgSend_803(obj, sel); } - late final __objc_msgSend_803Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction)> - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_803 = - __objc_msgSend_803Ptr - .asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - > - Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_803Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer< + ffi.NativeFunction)> + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_803 = __objc_msgSend_803Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction)> + > + Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setSizeFunction_1 = _registerName1("setSizeFunction:"); void _objc_msgSend_804( @@ -28057,30 +28061,30 @@ class PedometerBindings { return __objc_msgSend_804(obj, sel, value); } - late final __objc_msgSend_804Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction)> - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_804 = - __objc_msgSend_804Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - >(); + late final __objc_msgSend_804Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_804 = __objc_msgSend_804Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + >(); late final _sel_descriptionFunction1 = _registerName1("descriptionFunction"); ffi.Pointer< @@ -28090,26 +28094,26 @@ class PedometerBindings { return __objc_msgSend_805(obj, sel); } - late final __objc_msgSend_805Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< + late final __objc_msgSend_805Ptr = + _lookup< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_805 = - __objc_msgSend_805Ptr - .asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) > - Function(ffi.Pointer, ffi.Pointer) - >(); + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_805 = __objc_msgSend_805Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setDescriptionFunction_1 = _registerName1( "setDescriptionFunction:", @@ -28127,32 +28131,32 @@ class PedometerBindings { return __objc_msgSend_806(obj, sel, value); } - late final __objc_msgSend_806Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_806 = - __objc_msgSend_806Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer) - > - >, - ) - >(); + late final __objc_msgSend_806Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_806 = __objc_msgSend_806Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >, + ) + >(); late final _sel_relinquishFunction1 = _registerName1("relinquishFunction"); ffi.Pointer< @@ -28169,40 +28173,40 @@ class PedometerBindings { return __objc_msgSend_807(obj, sel); } - late final __objc_msgSend_807Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< + late final __objc_msgSend_807Ptr = + _lookup< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_807 = - __objc_msgSend_807Ptr - .asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) > - Function(ffi.Pointer, ffi.Pointer) - >(); + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_807 = __objc_msgSend_807Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setRelinquishFunction_1 = _registerName1( "setRelinquishFunction:", @@ -28225,46 +28229,46 @@ class PedometerBindings { return __objc_msgSend_808(obj, sel, value); } - late final __objc_msgSend_808Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_808 = - __objc_msgSend_808Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ) - > - >, - ) - >(); + late final __objc_msgSend_808Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_808 = __objc_msgSend_808Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); late final _sel_acquireFunction1 = _registerName1("acquireFunction"); ffi.Pointer< @@ -28282,42 +28286,42 @@ class PedometerBindings { return __objc_msgSend_809(obj, sel); } - late final __objc_msgSend_809Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< + late final __objc_msgSend_809Ptr = + _lookup< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - > - Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_809 = - __objc_msgSend_809Ptr - .asFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) > - Function(ffi.Pointer, ffi.Pointer) - >(); + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_809 = __objc_msgSend_809Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setAcquireFunction_1 = _registerName1("setAcquireFunction:"); void _objc_msgSend_810( @@ -28339,48 +28343,48 @@ class PedometerBindings { return __objc_msgSend_810(obj, sel, value); } - late final __objc_msgSend_810Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - >, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_810 = - __objc_msgSend_810Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer) - > - >, - ffi.Bool, - ) - > - >, - ) - >(); + late final __objc_msgSend_810Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_810 = __objc_msgSend_810Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + >, + ) + >(); late final _sel_usesStrongWriteBarrier1 = _registerName1( "usesStrongWriteBarrier", @@ -28405,24 +28409,24 @@ class PedometerBindings { return __objc_msgSend_811(obj, sel, functions); } - late final __objc_msgSend_811Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_811 = - __objc_msgSend_811Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_811Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_811 = __objc_msgSend_811Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pointerArrayWithOptions_1 = _registerName1( "pointerArrayWithOptions:", @@ -28435,24 +28439,24 @@ class PedometerBindings { return __objc_msgSend_812(obj, sel, options); } - late final __objc_msgSend_812Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_812 = - __objc_msgSend_812Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_812Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_812 = __objc_msgSend_812Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_pointerArrayWithPointerFunctions_1 = _registerName1( "pointerArrayWithPointerFunctions:", @@ -28465,24 +28469,24 @@ class PedometerBindings { return __objc_msgSend_813(obj, sel, functions); } - late final __objc_msgSend_813Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_813 = - __objc_msgSend_813Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_813Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_813 = __objc_msgSend_813Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pointerFunctions1 = _registerName1("pointerFunctions"); ffi.Pointer _objc_msgSend_814( @@ -28492,22 +28496,22 @@ class PedometerBindings { return __objc_msgSend_814(obj, sel); } - late final __objc_msgSend_814Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_814 = - __objc_msgSend_814Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_814Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_814 = __objc_msgSend_814Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pointerAtIndex_1 = _registerName1("pointerAtIndex:"); ffi.Pointer _objc_msgSend_815( @@ -28518,24 +28522,24 @@ class PedometerBindings { return __objc_msgSend_815(obj, sel, index); } - late final __objc_msgSend_815Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_815 = - __objc_msgSend_815Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_815Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_815 = __objc_msgSend_815Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_addPointer_1 = _registerName1("addPointer:"); late final _sel_removePointerAtIndex_1 = _registerName1( @@ -28556,26 +28560,26 @@ class PedometerBindings { return __objc_msgSend_816(obj, sel, index, item); } - late final __objc_msgSend_816Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_816 = - __objc_msgSend_816Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_816Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_816 = __objc_msgSend_816Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_compact1 = _registerName1("compact"); late final _sel_setCount_1 = _registerName1("setCount:"); @@ -28595,22 +28599,22 @@ class PedometerBindings { return __objc_msgSend_817(obj, sel); } - late final __objc_msgSend_817Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_817 = - __objc_msgSend_817Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_817Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_817 = __objc_msgSend_817Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_weakObjectsPointerArray1 = _registerName1( "weakObjectsPointerArray", @@ -28624,22 +28628,22 @@ class PedometerBindings { return __objc_msgSend_818(obj, sel); } - late final __objc_msgSend_818Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_818 = - __objc_msgSend_818Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_818Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_818 = __objc_msgSend_818Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_environment1 = _registerName1("environment"); late final _sel_arguments1 = _registerName1("arguments"); @@ -28665,22 +28669,22 @@ class PedometerBindings { return __objc_msgSend_819(obj, sel); } - late final __objc_msgSend_819Ptr = _lookup< - ffi.NativeFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_819 = - __objc_msgSend_819Ptr - .asFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_819Ptr = + _lookup< + ffi.NativeFunction< + NSOperatingSystemVersion Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_819 = __objc_msgSend_819Ptr + .asFunction< + NSOperatingSystemVersion Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_819_stret( ffi.Pointer stret, @@ -28690,24 +28694,24 @@ class PedometerBindings { return __objc_msgSend_819_stret(stret, obj, sel); } - late final __objc_msgSend_819_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_819_stret = - __objc_msgSend_819_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_819_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_819_stret = __objc_msgSend_819_stretPtr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_processorCount1 = _registerName1("processorCount"); late final _sel_activeProcessorCount1 = _registerName1( @@ -28725,24 +28729,24 @@ class PedometerBindings { return __objc_msgSend_820(obj, sel, version); } - late final __objc_msgSend_820Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - NSOperatingSystemVersion, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_820 = - __objc_msgSend_820Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - NSOperatingSystemVersion, - ) - >(); + late final __objc_msgSend_820Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + NSOperatingSystemVersion, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_820 = __objc_msgSend_820Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + NSOperatingSystemVersion, + ) + >(); late final _sel_systemUptime1 = _registerName1("systemUptime"); late final _sel_disableSuddenTermination1 = _registerName1( @@ -28775,26 +28779,26 @@ class PedometerBindings { return __objc_msgSend_821(obj, sel, options, reason); } - late final __objc_msgSend_821Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_821 = - __objc_msgSend_821Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_821Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_821 = __objc_msgSend_821Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_endActivity_1 = _registerName1("endActivity:"); late final _sel_performActivityWithOptions_reason_usingBlock_1 = @@ -28809,28 +28813,28 @@ class PedometerBindings { return __objc_msgSend_822(obj, sel, options, reason, block); } - late final __objc_msgSend_822Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_822 = - __objc_msgSend_822Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_822Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_822 = __objc_msgSend_822Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_performExpiringActivityWithReason_usingBlock_1 = _registerName1("performExpiringActivityWithReason:usingBlock:"); @@ -28843,26 +28847,26 @@ class PedometerBindings { return __objc_msgSend_823(obj, sel, reason, block); } - late final __objc_msgSend_823Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_823 = - __objc_msgSend_823Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_823Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_823 = __objc_msgSend_823Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_userName1 = _registerName1("userName"); late final _sel_fullUserName1 = _registerName1("fullUserName"); @@ -28871,16 +28875,16 @@ class PedometerBindings { return __objc_msgSend_824(obj, sel); } - late final __objc_msgSend_824Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_824 = - __objc_msgSend_824Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_824Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_824 = __objc_msgSend_824Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_isLowPowerModeEnabled1 = _registerName1( "isLowPowerModeEnabled", @@ -28893,16 +28897,16 @@ class PedometerBindings { return __objc_msgSend_825(obj, sel); } - late final __objc_msgSend_825Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_825 = - __objc_msgSend_825Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_825Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_825 = __objc_msgSend_825Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_range1 = _registerName1("range"); late final _sel_orthography1 = _registerName1("orthography"); @@ -28913,22 +28917,22 @@ class PedometerBindings { return __objc_msgSend_826(obj, sel); } - late final __objc_msgSend_826Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_826 = - __objc_msgSend_826Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_826Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_826 = __objc_msgSend_826Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_grammarDetails1 = _registerName1("grammarDetails"); late final _sel_duration1 = _registerName1("duration"); @@ -28949,28 +28953,28 @@ class PedometerBindings { return __objc_msgSend_827(obj, sel, pattern, options, error); } - late final __objc_msgSend_827Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_827 = - __objc_msgSend_827Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_827Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_827 = __objc_msgSend_827Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_initWithPattern_options_error_1 = _registerName1( "initWithPattern:options:error:", @@ -28985,28 +28989,28 @@ class PedometerBindings { return __objc_msgSend_828(obj, sel, pattern, options, error); } - late final __objc_msgSend_828Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_828 = - __objc_msgSend_828Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_828Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_828 = __objc_msgSend_828Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_pattern1 = _registerName1("pattern"); late final _sel_options1 = _registerName1("options"); @@ -29014,16 +29018,16 @@ class PedometerBindings { return __objc_msgSend_829(obj, sel); } - late final __objc_msgSend_829Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_829 = - __objc_msgSend_829Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_829Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_829 = __objc_msgSend_829Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_numberOfCaptureGroups1 = _registerName1( "numberOfCaptureGroups", @@ -29044,30 +29048,30 @@ class PedometerBindings { return __objc_msgSend_830(obj, sel, string, options, range, block); } - late final __objc_msgSend_830Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_830 = - __objc_msgSend_830Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_830Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_830 = __objc_msgSend_830Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_matchesInString_options_range_1 = _registerName1( "matchesInString:options:range:", @@ -29082,28 +29086,28 @@ class PedometerBindings { return __objc_msgSend_831(obj, sel, string, options, range); } - late final __objc_msgSend_831Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_831 = - __objc_msgSend_831Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_831Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_831 = __objc_msgSend_831Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_numberOfMatchesInString_options_range_1 = _registerName1( "numberOfMatchesInString:options:range:", @@ -29118,28 +29122,28 @@ class PedometerBindings { return __objc_msgSend_832(obj, sel, string, options, range); } - late final __objc_msgSend_832Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_832 = - __objc_msgSend_832Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_832Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_832 = __objc_msgSend_832Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_firstMatchInString_options_range_1 = _registerName1( "firstMatchInString:options:range:", @@ -29154,28 +29158,28 @@ class PedometerBindings { return __objc_msgSend_833(obj, sel, string, options, range); } - late final __objc_msgSend_833Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_833 = - __objc_msgSend_833Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_833Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_833 = __objc_msgSend_833Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_rangeOfFirstMatchInString_options_range_1 = _registerName1( "rangeOfFirstMatchInString:options:range:", @@ -29190,28 +29194,28 @@ class PedometerBindings { return __objc_msgSend_834(obj, sel, string, options, range); } - late final __objc_msgSend_834Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_834 = - __objc_msgSend_834Ptr - .asFunction< - _NSRange Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_834Ptr = + _lookup< + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_834 = __objc_msgSend_834Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_834_stret( ffi.Pointer<_NSRange> stret, @@ -29224,30 +29228,30 @@ class PedometerBindings { return __objc_msgSend_834_stret(stret, obj, sel, string, options, range); } - late final __objc_msgSend_834_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_834_stret = - __objc_msgSend_834_stretPtr - .asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ) - >(); + late final __objc_msgSend_834_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_834_stret = __objc_msgSend_834_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); late final _sel_stringByReplacingMatchesInString_options_range_withTemplate_1 = _registerName1( @@ -29264,30 +29268,30 @@ class PedometerBindings { return __objc_msgSend_835(obj, sel, string, options, range, templ); } - late final __objc_msgSend_835Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_835 = - __objc_msgSend_835Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_835Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_835 = __objc_msgSend_835Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_replaceMatchesInString_options_range_withTemplate_1 = _registerName1("replaceMatchesInString:options:range:withTemplate:"); @@ -29302,30 +29306,30 @@ class PedometerBindings { return __objc_msgSend_836(obj, sel, string, options, range, templ); } - late final __objc_msgSend_836Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_836 = - __objc_msgSend_836Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_836Ptr = + _lookup< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_836 = __objc_msgSend_836Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_replacementStringForResult_inString_offset_template_1 = _registerName1("replacementStringForResult:inString:offset:template:"); @@ -29340,30 +29344,30 @@ class PedometerBindings { return __objc_msgSend_837(obj, sel, result, string, offset, templ); } - late final __objc_msgSend_837Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_837 = - __objc_msgSend_837Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_837Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_837 = __objc_msgSend_837Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_escapedTemplateForString_1 = _registerName1( "escapedTemplateForString:", @@ -29376,22 +29380,22 @@ class PedometerBindings { return __objc_msgSend_838(obj, sel); } - late final __objc_msgSend_838Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_838 = - __objc_msgSend_838Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_838Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_838 = __objc_msgSend_838Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_phoneNumber1 = _registerName1("phoneNumber"); late final _sel_numberOfRanges1 = _registerName1("numberOfRanges"); @@ -29408,24 +29412,24 @@ class PedometerBindings { return __objc_msgSend_839(obj, sel, offset); } - late final __objc_msgSend_839Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_839 = - __objc_msgSend_839Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_839Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_839 = __objc_msgSend_839Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_addressComponents1 = _registerName1("addressComponents"); late final _sel_orthographyCheckingResultWithRange_orthography_1 = @@ -29439,26 +29443,26 @@ class PedometerBindings { return __objc_msgSend_840(obj, sel, range, orthography); } - late final __objc_msgSend_840Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_840 = - __objc_msgSend_840Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_840Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_840 = __objc_msgSend_840Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_spellCheckingResultWithRange_1 = _registerName1( "spellCheckingResultWithRange:", @@ -29471,24 +29475,24 @@ class PedometerBindings { return __objc_msgSend_841(obj, sel, range); } - late final __objc_msgSend_841Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_841 = - __objc_msgSend_841Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ) - >(); + late final __objc_msgSend_841Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_841 = __objc_msgSend_841Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_grammarCheckingResultWithRange_details_1 = _registerName1( "grammarCheckingResultWithRange:details:", @@ -29502,26 +29506,26 @@ class PedometerBindings { return __objc_msgSend_842(obj, sel, range, details); } - late final __objc_msgSend_842Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_842 = - __objc_msgSend_842Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_842Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_842 = __objc_msgSend_842Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_dateCheckingResultWithRange_date_1 = _registerName1( "dateCheckingResultWithRange:date:", @@ -29535,26 +29539,26 @@ class PedometerBindings { return __objc_msgSend_843(obj, sel, range, date); } - late final __objc_msgSend_843Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_843 = - __objc_msgSend_843Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_843Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_843 = __objc_msgSend_843Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = _registerName1("dateCheckingResultWithRange:date:timeZone:duration:"); @@ -29569,30 +29573,30 @@ class PedometerBindings { return __objc_msgSend_844(obj, sel, range, date, timeZone, duration); } - late final __objc_msgSend_844Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_844 = - __objc_msgSend_844Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + late final __objc_msgSend_844Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_844 = __objc_msgSend_844Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); late final _sel_addressCheckingResultWithRange_components_1 = _registerName1( "addressCheckingResultWithRange:components:", @@ -29606,26 +29610,26 @@ class PedometerBindings { return __objc_msgSend_845(obj, sel, range, components); } - late final __objc_msgSend_845Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_845 = - __objc_msgSend_845Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_845Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_845 = __objc_msgSend_845Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_linkCheckingResultWithRange_URL_1 = _registerName1( "linkCheckingResultWithRange:URL:", @@ -29639,26 +29643,26 @@ class PedometerBindings { return __objc_msgSend_846(obj, sel, range, url); } - late final __objc_msgSend_846Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_846 = - __objc_msgSend_846Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_846Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_846 = __objc_msgSend_846Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_quoteCheckingResultWithRange_replacementString_1 = _registerName1("quoteCheckingResultWithRange:replacementString:"); @@ -29671,26 +29675,26 @@ class PedometerBindings { return __objc_msgSend_847(obj, sel, range, replacementString); } - late final __objc_msgSend_847Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_847 = - __objc_msgSend_847Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_847Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_847 = __objc_msgSend_847Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_dashCheckingResultWithRange_replacementString_1 = _registerName1("dashCheckingResultWithRange:replacementString:"); @@ -29718,28 +29722,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_848Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_848 = - __objc_msgSend_848Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_848Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_848 = __objc_msgSend_848Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1 = _registerName1( @@ -29755,28 +29759,28 @@ class PedometerBindings { return __objc_msgSend_849(obj, sel, ranges, count, regularExpression); } - late final __objc_msgSend_849Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.UnsignedLong, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_849 = - __objc_msgSend_849Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_849Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_849 = __objc_msgSend_849Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + int, + ffi.Pointer, + ) + >(); late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = _registerName1("phoneNumberCheckingResultWithRange:phoneNumber:"); @@ -29791,22 +29795,22 @@ class PedometerBindings { return __objc_msgSend_850(obj, sel); } - late final __objc_msgSend_850Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_850 = - __objc_msgSend_850Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_850Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_850 = __objc_msgSend_850Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setSharedURLCache_1 = _registerName1("setSharedURLCache:"); void _objc_msgSend_851( @@ -29817,24 +29821,24 @@ class PedometerBindings { return __objc_msgSend_851(obj, sel, value); } - late final __objc_msgSend_851Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_851 = - __objc_msgSend_851Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_851Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_851 = __objc_msgSend_851Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = _registerName1("initWithMemoryCapacity:diskCapacity:diskPath:"); @@ -29848,28 +29852,28 @@ class PedometerBindings { return __objc_msgSend_852(obj, sel, memoryCapacity, diskCapacity, path); } - late final __objc_msgSend_852Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_852 = - __objc_msgSend_852Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_852Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_852 = __objc_msgSend_852Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = _registerName1("initWithMemoryCapacity:diskCapacity:directoryURL:"); @@ -29889,28 +29893,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_853Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_853 = - __objc_msgSend_853Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_853Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_853 = __objc_msgSend_853Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); late final _class_NSCachedURLResponse1 = _getClass1("NSCachedURLResponse"); late final _sel_initWithResponse_data_1 = _registerName1( @@ -29925,26 +29929,26 @@ class PedometerBindings { return __objc_msgSend_854(obj, sel, response, data); } - late final __objc_msgSend_854Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_854 = - __objc_msgSend_854Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_854Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_854 = __objc_msgSend_854Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = _registerName1("initWithResponse:data:userInfo:storagePolicy:"); @@ -29966,30 +29970,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_855Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_855 = - __objc_msgSend_855Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_855Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_855 = __objc_msgSend_855Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); ffi.Pointer _objc_msgSend_856( ffi.Pointer obj, @@ -29998,38 +30002,38 @@ class PedometerBindings { return __objc_msgSend_856(obj, sel); } - late final __objc_msgSend_856Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_856 = - __objc_msgSend_856Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_856Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_856 = __objc_msgSend_856Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_storagePolicy1 = _registerName1("storagePolicy"); int _objc_msgSend_857(ffi.Pointer obj, ffi.Pointer sel) { return __objc_msgSend_857(obj, sel); } - late final __objc_msgSend_857Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_857 = - __objc_msgSend_857Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_857Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_857 = __objc_msgSend_857Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_cachedResponseForRequest_1 = _registerName1( "cachedResponseForRequest:", @@ -30042,24 +30046,24 @@ class PedometerBindings { return __objc_msgSend_858(obj, sel, request); } - late final __objc_msgSend_858Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_858 = - __objc_msgSend_858Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_858Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_858 = __objc_msgSend_858Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_storeCachedResponse_forRequest_1 = _registerName1( "storeCachedResponse:forRequest:", @@ -30073,26 +30077,26 @@ class PedometerBindings { return __objc_msgSend_859(obj, sel, cachedResponse, request); } - late final __objc_msgSend_859Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_859 = - __objc_msgSend_859Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_859Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_859 = __objc_msgSend_859Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeCachedResponseForRequest_1 = _registerName1( "removeCachedResponseForRequest:", @@ -30105,24 +30109,24 @@ class PedometerBindings { return __objc_msgSend_860(obj, sel, request); } - late final __objc_msgSend_860Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_860 = - __objc_msgSend_860Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_860Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_860 = __objc_msgSend_860Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeAllCachedResponses1 = _registerName1( "removeAllCachedResponses", @@ -30149,26 +30153,26 @@ class PedometerBindings { return __objc_msgSend_861(obj, sel, cachedResponse, dataTask); } - late final __objc_msgSend_861Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_861 = - __objc_msgSend_861Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_861Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_861 = __objc_msgSend_861Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getCachedResponseForDataTask_completionHandler_1 = _registerName1("getCachedResponseForDataTask:completionHandler:"); @@ -30176,31 +30180,31 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer dataTask, - ffi.Pointer<_ObjCBlock> completionHandler, - ) { - return __objc_msgSend_862(obj, sel, dataTask, completionHandler); - } - - late final __objc_msgSend_862Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_862 = - __objc_msgSend_862Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + ffi.Pointer<_ObjCBlock> completionHandler, + ) { + return __objc_msgSend_862(obj, sel, dataTask, completionHandler); + } + + late final __objc_msgSend_862Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_862 = __objc_msgSend_862Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_removeCachedResponseForDataTask_1 = _registerName1( "removeCachedResponseForDataTask:", @@ -30213,24 +30217,24 @@ class PedometerBindings { return __objc_msgSend_863(obj, sel, dataTask); } - late final __objc_msgSend_863Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_863 = - __objc_msgSend_863Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_863Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_863 = __objc_msgSend_863Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSURLConnection1 = _getClass1("NSURLConnection"); late final _sel_initWithRequest_delegate_startImmediately_1 = _registerName1( @@ -30246,28 +30250,28 @@ class PedometerBindings { return __objc_msgSend_864(obj, sel, request, delegate, startImmediately); } - late final __objc_msgSend_864Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_864 = - __objc_msgSend_864Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ) - >(); + late final __objc_msgSend_864Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_864 = __objc_msgSend_864Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_initWithRequest_delegate_1 = _registerName1( "initWithRequest:delegate:", @@ -30281,26 +30285,26 @@ class PedometerBindings { return __objc_msgSend_865(obj, sel, request, delegate); } - late final __objc_msgSend_865Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_865 = - __objc_msgSend_865Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_865Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_865 = __objc_msgSend_865Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_connectionWithRequest_delegate_1 = _registerName1( "connectionWithRequest:delegate:", @@ -30314,26 +30318,26 @@ class PedometerBindings { return __objc_msgSend_866(obj, sel, request, delegate); } - late final __objc_msgSend_866Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_866 = - __objc_msgSend_866Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_866Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_866 = __objc_msgSend_866Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer _objc_msgSend_867( ffi.Pointer obj, @@ -30342,22 +30346,22 @@ class PedometerBindings { return __objc_msgSend_867(obj, sel); } - late final __objc_msgSend_867Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_867 = - __objc_msgSend_867Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_867Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_867 = __objc_msgSend_867Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_unscheduleFromRunLoop_forMode_1 = _registerName1( "unscheduleFromRunLoop:forMode:", @@ -30371,24 +30375,24 @@ class PedometerBindings { return __objc_msgSend_868(obj, sel, queue); } - late final __objc_msgSend_868Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_868 = - __objc_msgSend_868Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_868Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_868 = __objc_msgSend_868Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_canHandleRequest_1 = _registerName1("canHandleRequest:"); bool _objc_msgSend_869( @@ -30399,24 +30403,24 @@ class PedometerBindings { return __objc_msgSend_869(obj, sel, request); } - late final __objc_msgSend_869Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_869 = - __objc_msgSend_869Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_869Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_869 = __objc_msgSend_869Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sendSynchronousRequest_returningResponse_error_1 = _registerName1("sendSynchronousRequest:returningResponse:error:"); @@ -30430,28 +30434,28 @@ class PedometerBindings { return __objc_msgSend_870(obj, sel, request, response, error); } - late final __objc_msgSend_870Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_870 = - __objc_msgSend_870Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_870Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_870 = __objc_msgSend_870Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = _registerName1("sendAsynchronousRequest:queue:completionHandler:"); @@ -30465,28 +30469,28 @@ class PedometerBindings { return __objc_msgSend_871(obj, sel, request, queue, handler); } - late final __objc_msgSend_871Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_871 = - __objc_msgSend_871Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_871Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_871 = __objc_msgSend_871Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _class_NSURLCredential1 = _getClass1("NSURLCredential"); late final _sel_persistence1 = _registerName1("persistence"); @@ -30494,16 +30498,16 @@ class PedometerBindings { return __objc_msgSend_872(obj, sel); } - late final __objc_msgSend_872Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_872 = - __objc_msgSend_872Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_872Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_872 = __objc_msgSend_872Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_initWithUser_password_persistence_1 = _registerName1( "initWithUser:password:persistence:", @@ -30518,28 +30522,28 @@ class PedometerBindings { return __objc_msgSend_873(obj, sel, user, password, persistence); } - late final __objc_msgSend_873Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_873 = - __objc_msgSend_873Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_873Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_873 = __objc_msgSend_873Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_credentialWithUser_password_persistence_1 = _registerName1( "credentialWithUser:password:persistence:", @@ -30554,28 +30558,28 @@ class PedometerBindings { return __objc_msgSend_874(obj, sel, user, password, persistence); } - late final __objc_msgSend_874Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_874 = - __objc_msgSend_874Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_874Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_874 = __objc_msgSend_874Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_hasPassword1 = _registerName1("hasPassword"); late final _sel_initWithIdentity_certificates_persistence_1 = _registerName1( @@ -30591,28 +30595,28 @@ class PedometerBindings { return __objc_msgSend_875(obj, sel, identity, certArray, persistence); } - late final __objc_msgSend_875Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_875 = - __objc_msgSend_875Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_875Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_875 = __objc_msgSend_875Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + int, + ) + >(); late final _sel_credentialWithIdentity_certificates_persistence_1 = _registerName1("credentialWithIdentity:certificates:persistence:"); @@ -30626,28 +30630,28 @@ class PedometerBindings { return __objc_msgSend_876(obj, sel, identity, certArray, persistence); } - late final __objc_msgSend_876Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_876 = - __objc_msgSend_876Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_876Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_876 = __objc_msgSend_876Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + int, + ) + >(); late final _sel_identity1 = _registerName1("identity"); ffi.Pointer<__SecIdentity> _objc_msgSend_877( @@ -30657,22 +30661,22 @@ class PedometerBindings { return __objc_msgSend_877(obj, sel); } - late final __objc_msgSend_877Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_877 = - __objc_msgSend_877Ptr - .asFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_877Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_877 = __objc_msgSend_877Ptr + .asFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_certificates1 = _registerName1("certificates"); late final _sel_initWithTrust_1 = _registerName1("initWithTrust:"); @@ -30684,24 +30688,24 @@ class PedometerBindings { return __objc_msgSend_878(obj, sel, trust); } - late final __objc_msgSend_878Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_878 = - __objc_msgSend_878Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - ) - >(); + late final __objc_msgSend_878Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_878 = __objc_msgSend_878Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + >(); late final _sel_credentialForTrust_1 = _registerName1("credentialForTrust:"); ffi.Pointer _objc_msgSend_879( @@ -30712,24 +30716,24 @@ class PedometerBindings { return __objc_msgSend_879(obj, sel, trust); } - late final __objc_msgSend_879Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_879 = - __objc_msgSend_879Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecTrust>, - ) - >(); + late final __objc_msgSend_879Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_879 = __objc_msgSend_879Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + >(); late final _class_NSURLProtectionSpace1 = _getClass1("NSURLProtectionSpace"); late final _sel_initWithHost_port_protocol_realm_authenticationMethod_1 = @@ -30754,32 +30758,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_880Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_880 = - __objc_msgSend_880Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_880Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_880 = __objc_msgSend_880Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithProxyHost_port_type_realm_authenticationMethod_1 = _registerName1("initWithProxyHost:port:type:realm:authenticationMethod:"); @@ -30802,22 +30806,22 @@ class PedometerBindings { return __objc_msgSend_881(obj, sel); } - late final __objc_msgSend_881Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_881 = - __objc_msgSend_881Ptr - .asFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_881Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer<__SecTrust> Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_881 = __objc_msgSend_881Ptr + .asFunction< + ffi.Pointer<__SecTrust> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSURLCredentialStorage1 = _getClass1( "NSURLCredentialStorage", @@ -30832,22 +30836,22 @@ class PedometerBindings { return __objc_msgSend_882(obj, sel); } - late final __objc_msgSend_882Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_882 = - __objc_msgSend_882Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_882Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_882 = __objc_msgSend_882Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_credentialsForProtectionSpace_1 = _registerName1( "credentialsForProtectionSpace:", @@ -30860,24 +30864,24 @@ class PedometerBindings { return __objc_msgSend_883(obj, sel, space); } - late final __objc_msgSend_883Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_883 = - __objc_msgSend_883Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_883Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_883 = __objc_msgSend_883Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_allCredentials1 = _registerName1("allCredentials"); late final _sel_setCredential_forProtectionSpace_1 = _registerName1( @@ -30892,26 +30896,26 @@ class PedometerBindings { return __objc_msgSend_884(obj, sel, credential, space); } - late final __objc_msgSend_884Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_884 = - __objc_msgSend_884Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_884Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_884 = __objc_msgSend_884Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeCredential_forProtectionSpace_1 = _registerName1( "removeCredential:forProtectionSpace:", @@ -30928,28 +30932,28 @@ class PedometerBindings { return __objc_msgSend_885(obj, sel, credential, space, options); } - late final __objc_msgSend_885Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_885 = - __objc_msgSend_885Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_885Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_885 = __objc_msgSend_885Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_defaultCredentialForProtectionSpace_1 = _registerName1( "defaultCredentialForProtectionSpace:", @@ -30962,24 +30966,24 @@ class PedometerBindings { return __objc_msgSend_886(obj, sel, space); } - late final __objc_msgSend_886Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_886 = - __objc_msgSend_886Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_886Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_886 = __objc_msgSend_886Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setDefaultCredential_forProtectionSpace_1 = _registerName1( "setDefaultCredential:forProtectionSpace:", @@ -31004,28 +31008,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_887Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_887 = - __objc_msgSend_887Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_887Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_887 = __objc_msgSend_887Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_setCredential_forProtectionSpace_task_1 = _registerName1( "setCredential:forProtectionSpace:task:", @@ -31040,28 +31044,28 @@ class PedometerBindings { return __objc_msgSend_888(obj, sel, credential, protectionSpace, task); } - late final __objc_msgSend_888Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_888 = - __objc_msgSend_888Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_888Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_888 = __objc_msgSend_888Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeCredential_forProtectionSpace_options_task_1 = _registerName1("removeCredential:forProtectionSpace:options:task:"); @@ -31083,30 +31087,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_889Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_889 = - __objc_msgSend_889Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_889Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_889 = __objc_msgSend_889Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1 = _registerName1( @@ -31122,28 +31126,28 @@ class PedometerBindings { return __objc_msgSend_890(obj, sel, space, task, completionHandler); } - late final __objc_msgSend_890Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_890 = - __objc_msgSend_890Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_890Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_890 = __objc_msgSend_890Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_setDefaultCredential_forProtectionSpace_task_1 = _registerName1("setDefaultCredential:forProtectionSpace:task:"); @@ -31161,28 +31165,28 @@ class PedometerBindings { return __objc_msgSend_891(obj, sel, request, cachedResponse, client); } - late final __objc_msgSend_891Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_891 = - __objc_msgSend_891Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_891Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_891 = __objc_msgSend_891Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_client1 = _registerName1("client"); late final _sel_request1 = _registerName1("request"); @@ -31194,22 +31198,22 @@ class PedometerBindings { return __objc_msgSend_892(obj, sel); } - late final __objc_msgSend_892Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_892 = - __objc_msgSend_892Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_892Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_892 = __objc_msgSend_892Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_canInitWithRequest_1 = _registerName1("canInitWithRequest:"); late final _sel_canonicalRequestForRequest_1 = _registerName1( @@ -31223,24 +31227,24 @@ class PedometerBindings { return __objc_msgSend_893(obj, sel, request); } - late final __objc_msgSend_893Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_893 = - __objc_msgSend_893Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_893Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_893 = __objc_msgSend_893Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_requestIsCacheEquivalent_toRequest_1 = _registerName1( "requestIsCacheEquivalent:toRequest:", @@ -31254,26 +31258,26 @@ class PedometerBindings { return __objc_msgSend_894(obj, sel, a, b); } - late final __objc_msgSend_894Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_894 = - __objc_msgSend_894Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_894Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_894 = __objc_msgSend_894Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_startLoading1 = _registerName1("startLoading"); late final _sel_stopLoading1 = _registerName1("stopLoading"); @@ -31289,26 +31293,26 @@ class PedometerBindings { return __objc_msgSend_895(obj, sel, key, request); } - late final __objc_msgSend_895Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_895 = - __objc_msgSend_895Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_895Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_895 = __objc_msgSend_895Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSMutableURLRequest1 = _getClass1("NSMutableURLRequest"); late final _sel_setURL_1 = _registerName1("setURL:"); @@ -31321,20 +31325,20 @@ class PedometerBindings { return __objc_msgSend_896(obj, sel, value); } - late final __objc_msgSend_896Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_896 = - __objc_msgSend_896Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_896Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_896 = __objc_msgSend_896Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_setTimeoutInterval_1 = _registerName1("setTimeoutInterval:"); late final _sel_setMainDocumentURL_1 = _registerName1("setMainDocumentURL:"); @@ -31349,20 +31353,20 @@ class PedometerBindings { return __objc_msgSend_897(obj, sel, value); } - late final __objc_msgSend_897Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_897 = - __objc_msgSend_897Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_897Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_897 = __objc_msgSend_897Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_setAllowsCellularAccess_1 = _registerName1( "setAllowsCellularAccess:", @@ -31385,20 +31389,20 @@ class PedometerBindings { return __objc_msgSend_898(obj, sel, value); } - late final __objc_msgSend_898Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_898 = - __objc_msgSend_898Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_898Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_898 = __objc_msgSend_898Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_setRequiresDNSSECValidation_1 = _registerName1( "setRequiresDNSSECValidation:", @@ -31419,26 +31423,26 @@ class PedometerBindings { return __objc_msgSend_899(obj, sel, value, field); } - late final __objc_msgSend_899Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_899 = - __objc_msgSend_899Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_899Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_899 = __objc_msgSend_899Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addValue_forHTTPHeaderField_1 = _registerName1( "addValue:forHTTPHeaderField:", @@ -31452,24 +31456,24 @@ class PedometerBindings { return __objc_msgSend_900(obj, sel, value); } - late final __objc_msgSend_900Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_900 = - __objc_msgSend_900Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_900Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_900 = __objc_msgSend_900Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setHTTPBodyStream_1 = _registerName1("setHTTPBodyStream:"); void _objc_msgSend_901( @@ -31480,24 +31484,24 @@ class PedometerBindings { return __objc_msgSend_901(obj, sel, value); } - late final __objc_msgSend_901Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_901 = - __objc_msgSend_901Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_901Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_901 = __objc_msgSend_901Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setHTTPShouldHandleCookies_1 = _registerName1( "setHTTPShouldHandleCookies:", @@ -31518,28 +31522,28 @@ class PedometerBindings { return __objc_msgSend_902(obj, sel, value, key, request); } - late final __objc_msgSend_902Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_902 = - __objc_msgSend_902Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_902Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_902 = __objc_msgSend_902Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removePropertyForKey_inRequest_1 = _registerName1( "removePropertyForKey:inRequest:", @@ -31553,26 +31557,26 @@ class PedometerBindings { return __objc_msgSend_903(obj, sel, key, request); } - late final __objc_msgSend_903Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_903 = - __objc_msgSend_903Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_903Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_903 = __objc_msgSend_903Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_registerClass_1 = _registerName1("registerClass:"); late final _sel_unregisterClass_1 = _registerName1("unregisterClass:"); @@ -31585,24 +31589,24 @@ class PedometerBindings { return __objc_msgSend_904(obj, sel, task); } - late final __objc_msgSend_904Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_904 = - __objc_msgSend_904Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_904Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_904 = __objc_msgSend_904Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithTask_cachedResponse_client_1 = _registerName1( "initWithTask:cachedResponse:client:", @@ -31617,28 +31621,28 @@ class PedometerBindings { return __objc_msgSend_905(obj, sel, task, cachedResponse, client); } - late final __objc_msgSend_905Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_905 = - __objc_msgSend_905Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_905Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_905 = __objc_msgSend_905Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_task1 = _registerName1("task"); ffi.Pointer _objc_msgSend_906( @@ -31648,22 +31652,22 @@ class PedometerBindings { return __objc_msgSend_906(obj, sel); } - late final __objc_msgSend_906Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_906 = - __objc_msgSend_906Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_906Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_906 = __objc_msgSend_906Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSXMLParser1 = _getClass1("NSXMLParser"); late final _sel_initWithStream_1 = _registerName1("initWithStream:"); @@ -31675,24 +31679,24 @@ class PedometerBindings { return __objc_msgSend_907(obj, sel, stream); } - late final __objc_msgSend_907Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_907 = - __objc_msgSend_907Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_907Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_907 = __objc_msgSend_907Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_shouldProcessNamespaces1 = _registerName1( "shouldProcessNamespaces", @@ -31713,16 +31717,16 @@ class PedometerBindings { return __objc_msgSend_908(obj, sel); } - late final __objc_msgSend_908Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_908 = - __objc_msgSend_908Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_908Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_908 = __objc_msgSend_908Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setExternalEntityResolvingPolicy_1 = _registerName1( "setExternalEntityResolvingPolicy:", @@ -31735,20 +31739,20 @@ class PedometerBindings { return __objc_msgSend_909(obj, sel, value); } - late final __objc_msgSend_909Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_909 = - __objc_msgSend_909Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_909Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_909 = __objc_msgSend_909Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_allowedExternalEntityURLs1 = _registerName1( "allowedExternalEntityURLs", @@ -31764,24 +31768,24 @@ class PedometerBindings { return __objc_msgSend_910(obj, sel, value); } - late final __objc_msgSend_910Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_910 = - __objc_msgSend_910Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_910Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_910 = __objc_msgSend_910Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_parse1 = _registerName1("parse"); late final _sel_abortParsing1 = _registerName1("abortParsing"); @@ -31810,28 +31814,28 @@ class PedometerBindings { return __objc_msgSend_911(obj, sel, url, options, outError); } - late final __objc_msgSend_911Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_911 = - __objc_msgSend_911Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_911Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_911 = __objc_msgSend_911Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_initDirectoryWithFileWrappers_1 = _registerName1( "initDirectoryWithFileWrappers:", @@ -31872,28 +31876,28 @@ class PedometerBindings { return __objc_msgSend_912(obj, sel, url, options, outError); } - late final __objc_msgSend_912Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_912 = - __objc_msgSend_912Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_912Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_912 = __objc_msgSend_912Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer>, + ) + >(); late final _sel_writeToURL_options_originalContentsURL_error_1 = _registerName1("writeToURL:options:originalContentsURL:error:"); @@ -31915,30 +31919,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_913Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_913 = - __objc_msgSend_913Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_913Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_913 = __objc_msgSend_913Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_serializedRepresentation1 = _registerName1( "serializedRepresentation", @@ -31952,56 +31956,56 @@ class PedometerBindings { return __objc_msgSend_914(obj, sel, child); } - late final __objc_msgSend_914Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_914 = - __objc_msgSend_914Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_914Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_914 = __objc_msgSend_914Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addRegularFileWithContents_preferredFilename_1 = _registerName1("addRegularFileWithContents:preferredFilename:"); ffi.Pointer _objc_msgSend_915( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer data, - ffi.Pointer fileName, - ) { - return __objc_msgSend_915(obj, sel, data, fileName); - } - - late final __objc_msgSend_915Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_915 = - __objc_msgSend_915Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + ffi.Pointer obj, + ffi.Pointer sel, + ffi.Pointer data, + ffi.Pointer fileName, + ) { + return __objc_msgSend_915(obj, sel, data, fileName); + } + + late final __objc_msgSend_915Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_915 = __objc_msgSend_915Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeFileWrapper_1 = _registerName1("removeFileWrapper:"); void _objc_msgSend_916( @@ -32012,24 +32016,24 @@ class PedometerBindings { return __objc_msgSend_916(obj, sel, child); } - late final __objc_msgSend_916Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_916 = - __objc_msgSend_916Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_916Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_916 = __objc_msgSend_916Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileWrappers1 = _registerName1("fileWrappers"); late final _sel_keyForFileWrapper_1 = _registerName1("keyForFileWrapper:"); @@ -32041,24 +32045,24 @@ class PedometerBindings { return __objc_msgSend_917(obj, sel, child); } - late final __objc_msgSend_917Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_917 = - __objc_msgSend_917Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_917Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_917 = __objc_msgSend_917Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_regularFileContents1 = _registerName1("regularFileContents"); late final _sel_symbolicLinkDestinationURL1 = _registerName1( @@ -32084,28 +32088,28 @@ class PedometerBindings { return __objc_msgSend_918(obj, sel, path, atomicFlag, updateFilenamesFlag); } - late final __objc_msgSend_918Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_918 = - __objc_msgSend_918Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - bool, - ) - >(); + late final __objc_msgSend_918Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_918 = __objc_msgSend_918Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + bool, + ) + >(); late final _sel_addFileWithPath_1 = _registerName1("addFileWithPath:"); late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = @@ -32122,22 +32126,22 @@ class PedometerBindings { return __objc_msgSend_919(obj, sel); } - late final __objc_msgSend_919Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_919 = - __objc_msgSend_919Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_919Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_919 = __objc_msgSend_919Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSURLSessionConfiguration1 = _getClass1( "NSURLSessionConfiguration", @@ -32152,22 +32156,22 @@ class PedometerBindings { return __objc_msgSend_920(obj, sel); } - late final __objc_msgSend_920Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_920 = - __objc_msgSend_920Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_920Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_920 = __objc_msgSend_920Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_ephemeralSessionConfiguration1 = _registerName1( "ephemeralSessionConfiguration", @@ -32182,24 +32186,24 @@ class PedometerBindings { return __objc_msgSend_921(obj, sel, identifier); } - late final __objc_msgSend_921Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_921 = - __objc_msgSend_921Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_921Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_921 = __objc_msgSend_921Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_identifier1 = _registerName1("identifier"); late final _sel_requestCachePolicy1 = _registerName1("requestCachePolicy"); @@ -32251,16 +32255,16 @@ class PedometerBindings { return __objc_msgSend_922(obj, sel); } - late final __objc_msgSend_922Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_922 = - __objc_msgSend_922Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_922Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_922 = __objc_msgSend_922Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setTLSMinimumSupportedProtocol_1 = _registerName1( "setTLSMinimumSupportedProtocol:", @@ -32273,20 +32277,20 @@ class PedometerBindings { return __objc_msgSend_923(obj, sel, value); } - late final __objc_msgSend_923Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_923 = - __objc_msgSend_923Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_923Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_923 = __objc_msgSend_923Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_TLSMaximumSupportedProtocol1 = _registerName1( "TLSMaximumSupportedProtocol", @@ -32301,16 +32305,16 @@ class PedometerBindings { return __objc_msgSend_924(obj, sel); } - late final __objc_msgSend_924Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_924 = - __objc_msgSend_924Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_924Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_924 = __objc_msgSend_924Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setTLSMinimumSupportedProtocolVersion_1 = _registerName1( "setTLSMinimumSupportedProtocolVersion:", @@ -32323,20 +32327,20 @@ class PedometerBindings { return __objc_msgSend_925(obj, sel, value); } - late final __objc_msgSend_925Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_925 = - __objc_msgSend_925Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_925Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_925 = __objc_msgSend_925Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_TLSMaximumSupportedProtocolVersion1 = _registerName1( "TLSMaximumSupportedProtocolVersion", @@ -32376,22 +32380,22 @@ class PedometerBindings { return __objc_msgSend_926(obj, sel); } - late final __objc_msgSend_926Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_926 = - __objc_msgSend_926Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_926Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_926 = __objc_msgSend_926Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setHTTPCookieStorage_1 = _registerName1( "setHTTPCookieStorage:", @@ -32404,24 +32408,24 @@ class PedometerBindings { return __objc_msgSend_927(obj, sel, value); } - late final __objc_msgSend_927Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_927 = - __objc_msgSend_927Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_927Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_927 = __objc_msgSend_927Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLCredentialStorage1 = _registerName1( "URLCredentialStorage", @@ -32433,22 +32437,22 @@ class PedometerBindings { return __objc_msgSend_928(obj, sel); } - late final __objc_msgSend_928Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_928 = - __objc_msgSend_928Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_928Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_928 = __objc_msgSend_928Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setURLCredentialStorage_1 = _registerName1( "setURLCredentialStorage:", @@ -32461,24 +32465,24 @@ class PedometerBindings { return __objc_msgSend_929(obj, sel, value); } - late final __objc_msgSend_929Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_929 = - __objc_msgSend_929Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_929Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_929 = __objc_msgSend_929Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLCache1 = _registerName1("URLCache"); ffi.Pointer _objc_msgSend_930( @@ -32488,22 +32492,22 @@ class PedometerBindings { return __objc_msgSend_930(obj, sel); } - late final __objc_msgSend_930Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_930 = - __objc_msgSend_930Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_930Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_930 = __objc_msgSend_930Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setURLCache_1 = _registerName1("setURLCache:"); void _objc_msgSend_931( @@ -32514,24 +32518,24 @@ class PedometerBindings { return __objc_msgSend_931(obj, sel, value); } - late final __objc_msgSend_931Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_931 = - __objc_msgSend_931Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_931Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_931 = __objc_msgSend_931Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_shouldUseExtendedBackgroundIdleMode1 = _registerName1( "shouldUseExtendedBackgroundIdleMode", @@ -32549,24 +32553,24 @@ class PedometerBindings { return __objc_msgSend_932(obj, sel, value); } - late final __objc_msgSend_932Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_932 = - __objc_msgSend_932Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_932Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_932 = __objc_msgSend_932Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_multipathServiceType1 = _registerName1( "multipathServiceType", @@ -32575,16 +32579,16 @@ class PedometerBindings { return __objc_msgSend_933(obj, sel); } - late final __objc_msgSend_933Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_933 = - __objc_msgSend_933Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_933Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_933 = __objc_msgSend_933Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setMultipathServiceType_1 = _registerName1( "setMultipathServiceType:", @@ -32597,20 +32601,20 @@ class PedometerBindings { return __objc_msgSend_934(obj, sel, value); } - late final __objc_msgSend_934Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_934 = - __objc_msgSend_934Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_934Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_934 = __objc_msgSend_934Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_backgroundSessionConfiguration_1 = _registerName1( "backgroundSessionConfiguration:", @@ -32626,24 +32630,24 @@ class PedometerBindings { return __objc_msgSend_935(obj, sel, configuration); } - late final __objc_msgSend_935Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_935 = - __objc_msgSend_935Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_935Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_935 = __objc_msgSend_935Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = _registerName1("sessionWithConfiguration:delegate:delegateQueue:"); @@ -32657,28 +32661,28 @@ class PedometerBindings { return __objc_msgSend_936(obj, sel, configuration, delegate, queue); } - late final __objc_msgSend_936Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_936 = - __objc_msgSend_936Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_936Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_936 = __objc_msgSend_936Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_delegateQueue1 = _registerName1("delegateQueue"); late final _sel_configuration1 = _registerName1("configuration"); @@ -32707,24 +32711,24 @@ class PedometerBindings { return __objc_msgSend_937(obj, sel, completionHandler); } - late final __objc_msgSend_937Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_937 = - __objc_msgSend_937Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_937Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_937 = __objc_msgSend_937Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_getAllTasksWithCompletionHandler_1 = _registerName1( "getAllTasksWithCompletionHandler:", @@ -32737,24 +32741,24 @@ class PedometerBindings { return __objc_msgSend_938(obj, sel, completionHandler); } - late final __objc_msgSend_938Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_938 = - __objc_msgSend_938Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_938Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_938 = __objc_msgSend_938Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_dataTaskWithRequest_1 = _registerName1( "dataTaskWithRequest:", @@ -32767,24 +32771,24 @@ class PedometerBindings { return __objc_msgSend_939(obj, sel, request); } - late final __objc_msgSend_939Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_939 = - __objc_msgSend_939Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_939Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_939 = __objc_msgSend_939Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dataTaskWithURL_1 = _registerName1("dataTaskWithURL:"); ffi.Pointer _objc_msgSend_940( @@ -32795,24 +32799,24 @@ class PedometerBindings { return __objc_msgSend_940(obj, sel, url); } - late final __objc_msgSend_940Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_940 = - __objc_msgSend_940Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_940Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_940 = __objc_msgSend_940Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSURLSessionUploadTask1 = _getClass1( "NSURLSessionUploadTask", @@ -32828,24 +32832,24 @@ class PedometerBindings { return __objc_msgSend_941(obj, sel, completionHandler); } - late final __objc_msgSend_941Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_941 = - __objc_msgSend_941Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_941Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_941 = __objc_msgSend_941Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_uploadTaskWithRequest_fromFile_1 = _registerName1( "uploadTaskWithRequest:fromFile:", @@ -32859,26 +32863,26 @@ class PedometerBindings { return __objc_msgSend_942(obj, sel, request, fileURL); } - late final __objc_msgSend_942Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_942 = - __objc_msgSend_942Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_942Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_942 = __objc_msgSend_942Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_uploadTaskWithRequest_fromData_1 = _registerName1( "uploadTaskWithRequest:fromData:", @@ -32892,26 +32896,26 @@ class PedometerBindings { return __objc_msgSend_943(obj, sel, request, bodyData); } - late final __objc_msgSend_943Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_943 = - __objc_msgSend_943Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_943Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_943 = __objc_msgSend_943Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_uploadTaskWithResumeData_1 = _registerName1( "uploadTaskWithResumeData:", @@ -32924,24 +32928,24 @@ class PedometerBindings { return __objc_msgSend_944(obj, sel, resumeData); } - late final __objc_msgSend_944Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_944 = - __objc_msgSend_944Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_944Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_944 = __objc_msgSend_944Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_uploadTaskWithStreamedRequest_1 = _registerName1( "uploadTaskWithStreamedRequest:", @@ -32954,24 +32958,24 @@ class PedometerBindings { return __objc_msgSend_945(obj, sel, request); } - late final __objc_msgSend_945Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_945 = - __objc_msgSend_945Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_945Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_945 = __objc_msgSend_945Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSURLSessionDownloadTask1 = _getClass1( "NSURLSessionDownloadTask", @@ -32987,24 +32991,24 @@ class PedometerBindings { return __objc_msgSend_946(obj, sel, request); } - late final __objc_msgSend_946Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_946 = - __objc_msgSend_946Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_946Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_946 = __objc_msgSend_946Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_downloadTaskWithURL_1 = _registerName1( "downloadTaskWithURL:", @@ -33017,24 +33021,24 @@ class PedometerBindings { return __objc_msgSend_947(obj, sel, url); } - late final __objc_msgSend_947Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_947 = - __objc_msgSend_947Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_947Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_947 = __objc_msgSend_947Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_downloadTaskWithResumeData_1 = _registerName1( "downloadTaskWithResumeData:", @@ -33047,24 +33051,24 @@ class PedometerBindings { return __objc_msgSend_948(obj, sel, resumeData); } - late final __objc_msgSend_948Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_948 = - __objc_msgSend_948Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_948Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_948 = __objc_msgSend_948Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSURLSessionStreamTask1 = _getClass1( "NSURLSessionStreamTask", @@ -33091,30 +33095,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_949Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Double, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_949 = - __objc_msgSend_949Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - double, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_949Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Double, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_949 = __objc_msgSend_949Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + double, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_writeData_timeout_completionHandler_1 = _registerName1( "writeData:timeout:completionHandler:", @@ -33129,28 +33133,28 @@ class PedometerBindings { return __objc_msgSend_950(obj, sel, data, timeout, completionHandler); } - late final __objc_msgSend_950Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_950 = - __objc_msgSend_950Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_950Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_950 = __objc_msgSend_950Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_captureStreams1 = _registerName1("captureStreams"); late final _sel_closeWrite1 = _registerName1("closeWrite"); @@ -33173,26 +33177,26 @@ class PedometerBindings { return __objc_msgSend_951(obj, sel, hostname, port); } - late final __objc_msgSend_951Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_951 = - __objc_msgSend_951Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_951Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_951 = __objc_msgSend_951Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _class_NSNetService1 = _getClass1("NSNetService"); late final _sel_initWithDomain_type_name_port_1 = _registerName1( @@ -33209,30 +33213,30 @@ class PedometerBindings { return __objc_msgSend_952(obj, sel, domain, type, name, port); } - late final __objc_msgSend_952Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Int, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_952 = - __objc_msgSend_952Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_952Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_952 = __objc_msgSend_952Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithDomain_type_name_1 = _registerName1( "initWithDomain:type:name:", @@ -33247,28 +33251,28 @@ class PedometerBindings { return __objc_msgSend_953(obj, sel, domain, type, name); } - late final __objc_msgSend_953Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_953 = - __objc_msgSend_953Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_953Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_953 = __objc_msgSend_953Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_includesPeerToPeer1 = _registerName1("includesPeerToPeer"); late final _sel_setIncludesPeerToPeer_1 = _registerName1( @@ -33285,20 +33289,20 @@ class PedometerBindings { return __objc_msgSend_954(obj, sel, options); } - late final __objc_msgSend_954Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_954 = - __objc_msgSend_954Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_954Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_954 = __objc_msgSend_954Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_resolve1 = _registerName1("resolve"); late final _sel_stop1 = _registerName1("stop"); @@ -33313,24 +33317,24 @@ class PedometerBindings { return __objc_msgSend_955(obj, sel, txtData); } - late final __objc_msgSend_955Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_955 = - __objc_msgSend_955Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_955Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_955 = __objc_msgSend_955Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dataFromTXTRecordDictionary_1 = _registerName1( "dataFromTXTRecordDictionary:", @@ -33343,24 +33347,24 @@ class PedometerBindings { return __objc_msgSend_956(obj, sel, txtDictionary); } - late final __objc_msgSend_956Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_956 = - __objc_msgSend_956Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_956Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_956 = __objc_msgSend_956Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_resolveWithTimeout_1 = _registerName1("resolveWithTimeout:"); late final _sel_getInputStream_outputStream_1 = _registerName1( @@ -33375,26 +33379,26 @@ class PedometerBindings { return __objc_msgSend_957(obj, sel, inputStream, outputStream); } - late final __objc_msgSend_957Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_957 = - __objc_msgSend_957Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - ) - >(); + late final __objc_msgSend_957Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_957 = __objc_msgSend_957Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + >(); late final _sel_setTXTRecordData_1 = _registerName1("setTXTRecordData:"); bool _objc_msgSend_958( @@ -33405,24 +33409,24 @@ class PedometerBindings { return __objc_msgSend_958(obj, sel, recordData); } - late final __objc_msgSend_958Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_958 = - __objc_msgSend_958Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_958Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_958 = __objc_msgSend_958Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_TXTRecordData1 = _registerName1("TXTRecordData"); late final _sel_startMonitoring1 = _registerName1("startMonitoring"); @@ -33438,24 +33442,24 @@ class PedometerBindings { return __objc_msgSend_959(obj, sel, service); } - late final __objc_msgSend_959Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_959 = - __objc_msgSend_959Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_959Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_959 = __objc_msgSend_959Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSURLSessionWebSocketTask1 = _getClass1( "NSURLSessionWebSocketTask", @@ -33467,16 +33471,16 @@ class PedometerBindings { return __objc_msgSend_960(obj, sel); } - late final __objc_msgSend_960Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_960 = - __objc_msgSend_960Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_960Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_960 = __objc_msgSend_960Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_sendMessage_completionHandler_1 = _registerName1( "sendMessage:completionHandler:", @@ -33490,26 +33494,26 @@ class PedometerBindings { return __objc_msgSend_961(obj, sel, message, completionHandler); } - late final __objc_msgSend_961Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_961 = - __objc_msgSend_961Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_961Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_961 = __objc_msgSend_961Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_receiveMessageWithCompletionHandler_1 = _registerName1( "receiveMessageWithCompletionHandler:", @@ -33522,24 +33526,24 @@ class PedometerBindings { return __objc_msgSend_962(obj, sel, completionHandler); } - late final __objc_msgSend_962Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_962 = - __objc_msgSend_962Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_962Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_962 = __objc_msgSend_962Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_sendPingWithPongReceiveHandler_1 = _registerName1( "sendPingWithPongReceiveHandler:", @@ -33552,24 +33556,24 @@ class PedometerBindings { return __objc_msgSend_963(obj, sel, pongReceiveHandler); } - late final __objc_msgSend_963Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_963 = - __objc_msgSend_963Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_963Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_963 = __objc_msgSend_963Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_cancelWithCloseCode_reason_1 = _registerName1( "cancelWithCloseCode:reason:", @@ -33583,26 +33587,26 @@ class PedometerBindings { return __objc_msgSend_964(obj, sel, closeCode, reason); } - late final __objc_msgSend_964Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_964 = - __objc_msgSend_964Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_964Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_964 = __objc_msgSend_964Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_maximumMessageSize1 = _registerName1("maximumMessageSize"); late final _sel_setMaximumMessageSize_1 = _registerName1( @@ -33613,16 +33617,16 @@ class PedometerBindings { return __objc_msgSend_965(obj, sel); } - late final __objc_msgSend_965Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_965 = - __objc_msgSend_965Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_965Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_965 = __objc_msgSend_965Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_closeReason1 = _registerName1("closeReason"); late final _sel_webSocketTaskWithURL_1 = _registerName1( @@ -33636,24 +33640,24 @@ class PedometerBindings { return __objc_msgSend_966(obj, sel, url); } - late final __objc_msgSend_966Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_966 = - __objc_msgSend_966Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_966Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_966 = __objc_msgSend_966Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_webSocketTaskWithURL_protocols_1 = _registerName1( "webSocketTaskWithURL:protocols:", @@ -33667,26 +33671,26 @@ class PedometerBindings { return __objc_msgSend_967(obj, sel, url, protocols); } - late final __objc_msgSend_967Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_967 = - __objc_msgSend_967Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_967Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_967 = __objc_msgSend_967Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_webSocketTaskWithRequest_1 = _registerName1( "webSocketTaskWithRequest:", @@ -33699,24 +33703,24 @@ class PedometerBindings { return __objc_msgSend_968(obj, sel, request); } - late final __objc_msgSend_968Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_968 = - __objc_msgSend_968Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_968Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_968 = __objc_msgSend_968Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dataTaskWithRequest_completionHandler_1 = _registerName1( "dataTaskWithRequest:completionHandler:", @@ -33730,26 +33734,26 @@ class PedometerBindings { return __objc_msgSend_969(obj, sel, request, completionHandler); } - late final __objc_msgSend_969Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_969 = - __objc_msgSend_969Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_969Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_969 = __objc_msgSend_969Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_dataTaskWithURL_completionHandler_1 = _registerName1( "dataTaskWithURL:completionHandler:", @@ -33763,26 +33767,26 @@ class PedometerBindings { return __objc_msgSend_970(obj, sel, url, completionHandler); } - late final __objc_msgSend_970Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_970 = - __objc_msgSend_970Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_970Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_970 = __objc_msgSend_970Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = _registerName1("uploadTaskWithRequest:fromFile:completionHandler:"); @@ -33796,28 +33800,28 @@ class PedometerBindings { return __objc_msgSend_971(obj, sel, request, fileURL, completionHandler); } - late final __objc_msgSend_971Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_971 = - __objc_msgSend_971Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_971Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_971 = __objc_msgSend_971Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = _registerName1("uploadTaskWithRequest:fromData:completionHandler:"); @@ -33831,28 +33835,28 @@ class PedometerBindings { return __objc_msgSend_972(obj, sel, request, bodyData, completionHandler); } - late final __objc_msgSend_972Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_972 = - __objc_msgSend_972Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_972Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_972 = __objc_msgSend_972Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_uploadTaskWithResumeData_completionHandler_1 = _registerName1( "uploadTaskWithResumeData:completionHandler:", @@ -33866,26 +33870,26 @@ class PedometerBindings { return __objc_msgSend_973(obj, sel, resumeData, completionHandler); } - late final __objc_msgSend_973Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_973 = - __objc_msgSend_973Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_973Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_973 = __objc_msgSend_973Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_downloadTaskWithRequest_completionHandler_1 = _registerName1( "downloadTaskWithRequest:completionHandler:", @@ -33899,26 +33903,26 @@ class PedometerBindings { return __objc_msgSend_974(obj, sel, request, completionHandler); } - late final __objc_msgSend_974Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_974 = - __objc_msgSend_974Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_974Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_974 = __objc_msgSend_974Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_downloadTaskWithURL_completionHandler_1 = _registerName1( "downloadTaskWithURL:completionHandler:", @@ -33932,26 +33936,26 @@ class PedometerBindings { return __objc_msgSend_975(obj, sel, url, completionHandler); } - late final __objc_msgSend_975Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_975 = - __objc_msgSend_975Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_975Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_975 = __objc_msgSend_975Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_downloadTaskWithResumeData_completionHandler_1 = _registerName1("downloadTaskWithResumeData:completionHandler:"); @@ -33964,26 +33968,26 @@ class PedometerBindings { return __objc_msgSend_976(obj, sel, resumeData, completionHandler); } - late final __objc_msgSend_976Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_976 = - __objc_msgSend_976Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_976Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_976 = __objc_msgSend_976Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _class_CMPedometer1 = _getClass1("CMPedometer"); late final _sel_isStepCountingAvailable1 = _registerName1( @@ -34003,16 +34007,16 @@ class PedometerBindings { return __objc_msgSend_977(obj, sel); } - late final __objc_msgSend_977Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_977 = - __objc_msgSend_977Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_977Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_977 = __objc_msgSend_977Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _class_CMPedometerData1 = _getClass1("CMPedometerData"); late final _sel_startDate1 = _registerName1("startDate"); @@ -34036,28 +34040,28 @@ class PedometerBindings { return __objc_msgSend_978(obj, sel, start, end, handler); } - late final __objc_msgSend_978Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_978 = - __objc_msgSend_978Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_978Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_978 = __objc_msgSend_978Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_startPedometerUpdatesFromDate_withHandler_1 = _registerName1( "startPedometerUpdatesFromDate:withHandler:", @@ -34071,26 +34075,26 @@ class PedometerBindings { return __objc_msgSend_979(obj, sel, start, handler); } - late final __objc_msgSend_979Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_979 = - __objc_msgSend_979Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_979Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_979 = __objc_msgSend_979Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_stopPedometerUpdates1 = _registerName1( "stopPedometerUpdates", @@ -34100,16 +34104,16 @@ class PedometerBindings { return __objc_msgSend_980(obj, sel); } - late final __objc_msgSend_980Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_980 = - __objc_msgSend_980Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_980Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_980 = __objc_msgSend_980Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_startPedometerEventUpdatesWithHandler_1 = _registerName1( "startPedometerEventUpdatesWithHandler:", @@ -34122,24 +34126,24 @@ class PedometerBindings { return __objc_msgSend_981(obj, sel, handler); } - late final __objc_msgSend_981Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_981 = - __objc_msgSend_981Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_981Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_981 = __objc_msgSend_981Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_stopPedometerEventUpdates1 = _registerName1( "stopPedometerEventUpdates", @@ -34165,16 +34169,16 @@ class PedometerBindings { return __objc_msgSend_982(obj, sel); } - late final __objc_msgSend_982Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_982 = - __objc_msgSend_982Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_982Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_982 = __objc_msgSend_982Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_accuracyAuthorization1 = _registerName1( "accuracyAuthorization", @@ -34183,16 +34187,16 @@ class PedometerBindings { return __objc_msgSend_983(obj, sel); } - late final __objc_msgSend_983Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_983 = - __objc_msgSend_983Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_983Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_983 = __objc_msgSend_983Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_isAuthorizedForWidgetUpdates1 = _registerName1( "isAuthorizedForWidgetUpdates", @@ -34204,16 +34208,16 @@ class PedometerBindings { return __objc_msgSend_984(obj, sel); } - late final __objc_msgSend_984Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_984 = - __objc_msgSend_984Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_984Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_984 = __objc_msgSend_984Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setActivityType_1 = _registerName1("setActivityType:"); void _objc_msgSend_985( @@ -34224,20 +34228,20 @@ class PedometerBindings { return __objc_msgSend_985(obj, sel, value); } - late final __objc_msgSend_985Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_985 = - __objc_msgSend_985Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_985Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_985 = __objc_msgSend_985Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_distanceFilter1 = _registerName1("distanceFilter"); late final _sel_setDistanceFilter_1 = _registerName1("setDistanceFilter:"); @@ -34274,26 +34278,26 @@ class PedometerBindings { return __objc_msgSend_986(obj, sel, latitude, longitude); } - late final __objc_msgSend_986Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_986 = - __objc_msgSend_986Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - double, - double, - ) - >(); + late final __objc_msgSend_986Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_986 = __objc_msgSend_986Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + double, + ) + >(); late final _sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_timestamp_1 = _registerName1( @@ -34319,32 +34323,32 @@ class PedometerBindings { ); } - late final __objc_msgSend_987Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_987 = - __objc_msgSend_987Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - double, - double, - double, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_987Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_987 = __objc_msgSend_987Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + double, + double, + double, + ffi.Pointer, + ) + >(); late final _sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_speed_timestamp_1 = _registerName1( @@ -34374,36 +34378,36 @@ class PedometerBindings { ); } - late final __objc_msgSend_988Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_988 = - __objc_msgSend_988Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - double, - double, - double, - double, - double, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_988Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_988 = __objc_msgSend_988Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + double, + double, + double, + double, + double, + ffi.Pointer, + ) + >(); late final _sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_1 = _registerName1( @@ -34437,40 +34441,40 @@ class PedometerBindings { ); } - late final __objc_msgSend_989Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_989 = - __objc_msgSend_989Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - double, - double, - double, - double, - double, - double, - double, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_989Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_989 = __objc_msgSend_989Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + double, + double, + double, + double, + double, + double, + double, + ffi.Pointer, + ) + >(); late final _class_CLLocationSourceInformation1 = _getClass1( "CLLocationSourceInformation", @@ -34488,26 +34492,26 @@ class PedometerBindings { return __objc_msgSend_990(obj, sel, isSoftware, isAccessory); } - late final __objc_msgSend_990Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Bool, - ffi.Bool, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_990 = - __objc_msgSend_990Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - bool, - bool, - ) - >(); + late final __objc_msgSend_990Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_990 = __objc_msgSend_990Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + bool, + bool, + ) + >(); late final _sel_isSimulatedBySoftware1 = _registerName1( "isSimulatedBySoftware", @@ -34549,42 +34553,42 @@ class PedometerBindings { ); } - late final __objc_msgSend_991Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_991 = - __objc_msgSend_991Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - double, - double, - double, - double, - double, - double, - double, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_991Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_991 = __objc_msgSend_991Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + double, + double, + double, + double, + double, + double, + double, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_coordinate1 = _registerName1("coordinate"); CLLocationCoordinate2D _objc_msgSend_992( @@ -34594,22 +34598,22 @@ class PedometerBindings { return __objc_msgSend_992(obj, sel); } - late final __objc_msgSend_992Ptr = _lookup< - ffi.NativeFunction< - CLLocationCoordinate2D Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_992 = - __objc_msgSend_992Ptr - .asFunction< - CLLocationCoordinate2D Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_992Ptr = + _lookup< + ffi.NativeFunction< + CLLocationCoordinate2D Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_992 = __objc_msgSend_992Ptr + .asFunction< + CLLocationCoordinate2D Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_992_stret( ffi.Pointer stret, @@ -34619,24 +34623,24 @@ class PedometerBindings { return __objc_msgSend_992_stret(stret, obj, sel); } - late final __objc_msgSend_992_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend_stret'); - late final __objc_msgSend_992_stret = - __objc_msgSend_992_stretPtr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_992_stretPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_992_stret = __objc_msgSend_992_stretPtr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_altitude1 = _registerName1("altitude"); late final _sel_ellipsoidalAltitude1 = _registerName1("ellipsoidalAltitude"); @@ -34657,22 +34661,22 @@ class PedometerBindings { return __objc_msgSend_993(obj, sel); } - late final __objc_msgSend_993Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_993 = - __objc_msgSend_993Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_993Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_993 = __objc_msgSend_993Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sourceInformation1 = _registerName1("sourceInformation"); ffi.Pointer _objc_msgSend_994( @@ -34682,22 +34686,22 @@ class PedometerBindings { return __objc_msgSend_994(obj, sel); } - late final __objc_msgSend_994Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_994 = - __objc_msgSend_994Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_994Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_994 = __objc_msgSend_994Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getDistanceFrom_1 = _registerName1("getDistanceFrom:"); double _objc_msgSend_995( @@ -34708,24 +34712,24 @@ class PedometerBindings { return __objc_msgSend_995(obj, sel, location); } - late final __objc_msgSend_995Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_995 = - __objc_msgSend_995Ptr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_995Ptr = + _lookup< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_995 = __objc_msgSend_995Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_995_fpret( ffi.Pointer obj, @@ -34735,24 +34739,24 @@ class PedometerBindings { return __objc_msgSend_995_fpret(obj, sel, location); } - late final __objc_msgSend_995_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend_fpret'); - late final __objc_msgSend_995_fpret = - __objc_msgSend_995_fpretPtr - .asFunction< - double Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_995_fpretPtr = + _lookup< + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_995_fpret = __objc_msgSend_995_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_distanceFromLocation_1 = _registerName1( "distanceFromLocation:", @@ -34765,22 +34769,22 @@ class PedometerBindings { return __objc_msgSend_996(obj, sel); } - late final __objc_msgSend_996Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_996 = - __objc_msgSend_996Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_996Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_996 = __objc_msgSend_996Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_headingFilter1 = _registerName1("headingFilter"); late final _sel_setHeadingFilter_1 = _registerName1("setHeadingFilter:"); @@ -34789,16 +34793,16 @@ class PedometerBindings { return __objc_msgSend_997(obj, sel); } - late final __objc_msgSend_997Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer) - > - >('objc_msgSend'); - late final __objc_msgSend_997 = - __objc_msgSend_997Ptr - .asFunction< - int Function(ffi.Pointer, ffi.Pointer) - >(); + late final __objc_msgSend_997Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_997 = __objc_msgSend_997Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setHeadingOrientation_1 = _registerName1( "setHeadingOrientation:", @@ -34811,20 +34815,20 @@ class PedometerBindings { return __objc_msgSend_998(obj, sel, value); } - late final __objc_msgSend_998Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Int32, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_998 = - __objc_msgSend_998Ptr - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, int) - >(); + late final __objc_msgSend_998Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_998 = __objc_msgSend_998Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _class_CLHeading1 = _getClass1("CLHeading"); late final _sel_magneticHeading1 = _registerName1("magneticHeading"); @@ -34841,22 +34845,22 @@ class PedometerBindings { return __objc_msgSend_999(obj, sel); } - late final __objc_msgSend_999Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_999 = - __objc_msgSend_999Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_999Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_999 = __objc_msgSend_999Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_maximumRegionMonitoringDistance1 = _registerName1( "maximumRegionMonitoringDistance", @@ -34885,26 +34889,26 @@ class PedometerBindings { return __objc_msgSend_1000(obj, sel, purposeKey, completion); } - late final __objc_msgSend_1000Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1000 = - __objc_msgSend_1000Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1000Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1000 = __objc_msgSend_1000Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_requestTemporaryFullAccuracyAuthorizationWithPurposeKey_1 = _registerName1( @@ -34940,24 +34944,24 @@ class PedometerBindings { return __objc_msgSend_1001(obj, sel, completion); } - late final __objc_msgSend_1001Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1001 = - __objc_msgSend_1001Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1001Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1001 = __objc_msgSend_1001Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_stopMonitoringLocationPushes1 = _registerName1( "stopMonitoringLocationPushes", @@ -34975,28 +34979,28 @@ class PedometerBindings { return __objc_msgSend_1002(obj, sel, center, radius, identifier); } - late final __objc_msgSend_1002Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - ffi.Double, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1002 = - __objc_msgSend_1002Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - double, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1002Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1002 = __objc_msgSend_1002Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + double, + ffi.Pointer, + ) + >(); late final _sel_center1 = _registerName1("center"); late final _sel_radius1 = _registerName1("radius"); @@ -35007,30 +35011,30 @@ class PedometerBindings { late final _sel_containsCoordinate_1 = _registerName1("containsCoordinate:"); bool _objc_msgSend_1003( ffi.Pointer obj, - ffi.Pointer sel, - CLLocationCoordinate2D coordinate, - ) { - return __objc_msgSend_1003(obj, sel, coordinate); - } - - late final __objc_msgSend_1003Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1003 = - __objc_msgSend_1003Ptr - .asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - ) - >(); + ffi.Pointer sel, + CLLocationCoordinate2D coordinate, + ) { + return __objc_msgSend_1003(obj, sel, coordinate); + } + + late final __objc_msgSend_1003Ptr = + _lookup< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1003 = __objc_msgSend_1003Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ) + >(); late final _sel_startMonitoringForRegion_desiredAccuracy_1 = _registerName1( "startMonitoringForRegion:desiredAccuracy:", @@ -35044,26 +35048,26 @@ class PedometerBindings { return __objc_msgSend_1004(obj, sel, region, accuracy); } - late final __objc_msgSend_1004Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1004 = - __objc_msgSend_1004Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ) - >(); + late final __objc_msgSend_1004Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1004 = __objc_msgSend_1004Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); late final _sel_stopMonitoringForRegion_1 = _registerName1( "stopMonitoringForRegion:", @@ -35076,24 +35080,24 @@ class PedometerBindings { return __objc_msgSend_1005(obj, sel, region); } - late final __objc_msgSend_1005Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1005 = - __objc_msgSend_1005Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1005Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1005 = __objc_msgSend_1005Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_startMonitoringForRegion_1 = _registerName1( "startMonitoringForRegion:", @@ -35114,24 +35118,24 @@ class PedometerBindings { return __objc_msgSend_1006(obj, sel, bytes); } - late final __objc_msgSend_1006Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1006 = - __objc_msgSend_1006Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1006Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1006 = __objc_msgSend_1006Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getUUIDBytes_1 = _registerName1("getUUIDBytes:"); void _objc_msgSend_1007( @@ -35142,24 +35146,24 @@ class PedometerBindings { return __objc_msgSend_1007(obj, sel, uuid); } - late final __objc_msgSend_1007Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1007 = - __objc_msgSend_1007Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1007Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1007 = __objc_msgSend_1007Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); int _objc_msgSend_1008( ffi.Pointer obj, @@ -35169,24 +35173,24 @@ class PedometerBindings { return __objc_msgSend_1008(obj, sel, otherUUID); } - late final __objc_msgSend_1008Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1008 = - __objc_msgSend_1008Ptr - .asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1008Ptr = + _lookup< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1008 = __objc_msgSend_1008Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_UUIDString1 = _registerName1("UUIDString"); late final _sel_initWithUUID_identifier_1 = _registerName1( @@ -35201,26 +35205,26 @@ class PedometerBindings { return __objc_msgSend_1009(obj, sel, uuid, identifier); } - late final __objc_msgSend_1009Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1009 = - __objc_msgSend_1009Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1009Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1009 = __objc_msgSend_1009Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithProximityUUID_identifier_1 = _registerName1( "initWithProximityUUID:identifier:", @@ -35238,28 +35242,28 @@ class PedometerBindings { return __objc_msgSend_1010(obj, sel, uuid, major, identifier); } - late final __objc_msgSend_1010Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Uint16, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1010 = - __objc_msgSend_1010Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1010Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Uint16, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1010 = __objc_msgSend_1010Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_initWithProximityUUID_major_identifier_1 = _registerName1( "initWithProximityUUID:major:identifier:", @@ -35278,30 +35282,30 @@ class PedometerBindings { return __objc_msgSend_1011(obj, sel, uuid, major, minor, identifier); } - late final __objc_msgSend_1011Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Uint16, - ffi.Uint16, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1011 = - __objc_msgSend_1011Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1011Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Uint16, + ffi.Uint16, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1011 = __objc_msgSend_1011Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); late final _sel_initWithProximityUUID_major_minor_identifier_1 = _registerName1("initWithProximityUUID:major:minor:identifier:"); @@ -35319,22 +35323,22 @@ class PedometerBindings { return __objc_msgSend_1012(obj, sel); } - late final __objc_msgSend_1012Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1012 = - __objc_msgSend_1012Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1012Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1012 = __objc_msgSend_1012Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_major1 = _registerName1("major"); late final _sel_minor1 = _registerName1("minor"); @@ -35347,24 +35351,24 @@ class PedometerBindings { return __objc_msgSend_1013(obj, sel, uuid); } - late final __objc_msgSend_1013Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1013 = - __objc_msgSend_1013Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1013Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1013 = __objc_msgSend_1013Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithUUID_major_1 = _registerName1("initWithUUID:major:"); instancetype _objc_msgSend_1014( @@ -35376,26 +35380,26 @@ class PedometerBindings { return __objc_msgSend_1014(obj, sel, uuid, major); } - late final __objc_msgSend_1014Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Uint16, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1014 = - __objc_msgSend_1014Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ) - >(); + late final __objc_msgSend_1014Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Uint16, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1014 = __objc_msgSend_1014Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithUUID_major_minor_1 = _registerName1( "initWithUUID:major:minor:", @@ -35410,28 +35414,28 @@ class PedometerBindings { return __objc_msgSend_1015(obj, sel, uuid, major, minor); } - late final __objc_msgSend_1015Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Uint16, - ffi.Uint16, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1015 = - __objc_msgSend_1015Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ) - >(); + late final __objc_msgSend_1015Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Uint16, + ffi.Uint16, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1015 = __objc_msgSend_1015Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); late final _sel_initWithBeaconIdentityConstraint_identifier_1 = _registerName1("initWithBeaconIdentityConstraint:identifier:"); @@ -35444,26 +35448,26 @@ class PedometerBindings { return __objc_msgSend_1016(obj, sel, beaconIdentityConstraint, identifier); } - late final __objc_msgSend_1016Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1016 = - __objc_msgSend_1016Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1016Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1016 = __objc_msgSend_1016Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_peripheralDataWithMeasuredPower_1 = _registerName1( "peripheralDataWithMeasuredPower:", @@ -35476,24 +35480,24 @@ class PedometerBindings { return __objc_msgSend_1017(obj, sel, measuredPower); } - late final __objc_msgSend_1017Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1017 = - __objc_msgSend_1017Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1017Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1017 = __objc_msgSend_1017Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_beaconIdentityConstraint1 = _registerName1( "beaconIdentityConstraint", @@ -35505,22 +35509,22 @@ class PedometerBindings { return __objc_msgSend_1018(obj, sel); } - late final __objc_msgSend_1018Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1018 = - __objc_msgSend_1018Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1018Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1018 = __objc_msgSend_1018Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_proximityUUID1 = _registerName1("proximityUUID"); late final _sel_notifyEntryStateOnDisplay1 = _registerName1( @@ -35540,24 +35544,24 @@ class PedometerBindings { return __objc_msgSend_1019(obj, sel, region); } - late final __objc_msgSend_1019Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1019 = - __objc_msgSend_1019Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1019Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1019 = __objc_msgSend_1019Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_stopRangingBeaconsInRegion_1 = _registerName1( "stopRangingBeaconsInRegion:", @@ -35573,24 +35577,24 @@ class PedometerBindings { return __objc_msgSend_1020(obj, sel, constraint); } - late final __objc_msgSend_1020Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1020 = - __objc_msgSend_1020Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1020Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1020 = __objc_msgSend_1020Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_stopRangingBeaconsSatisfyingConstraint_1 = _registerName1( "stopRangingBeaconsSatisfyingConstraint:", @@ -35606,26 +35610,26 @@ class PedometerBindings { return __objc_msgSend_1021(obj, sel, distance, timeout); } - late final __objc_msgSend_1021Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Double, - ffi.Double, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1021 = - __objc_msgSend_1021Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - double, - double, - ) - >(); + late final __objc_msgSend_1021Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1021 = __objc_msgSend_1021Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + double, + ) + >(); late final _sel_disallowDeferredLocationUpdates1 = _registerName1( "disallowDeferredLocationUpdates", @@ -35647,28 +35651,28 @@ class PedometerBindings { return __objc_msgSend_1022(obj, sel, purposeKey, sampleCount, handler); } - late final __objc_msgSend_1022Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Long, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1022 = - __objc_msgSend_1022Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1022Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1022 = __objc_msgSend_1022Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_startMonitoringVisits1 = _registerName1( "startMonitoringVisits", @@ -35686,24 +35690,24 @@ class PedometerBindings { return __objc_msgSend_1023(obj, sel, placemark); } - late final __objc_msgSend_1023Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1023 = - __objc_msgSend_1023Ptr - .asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1023Ptr = + _lookup< + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1023 = __objc_msgSend_1023Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_region1 = _registerName1("region"); ffi.Pointer _objc_msgSend_1024( @@ -35713,22 +35717,22 @@ class PedometerBindings { return __objc_msgSend_1024(obj, sel); } - late final __objc_msgSend_1024Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1024 = - __objc_msgSend_1024Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1024Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1024 = __objc_msgSend_1024Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addressDictionary1 = _registerName1("addressDictionary"); late final _sel_thoroughfare1 = _registerName1("thoroughfare"); @@ -35754,22 +35758,22 @@ class PedometerBindings { return __objc_msgSend_1025(obj, sel); } - late final __objc_msgSend_1025Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1025 = - __objc_msgSend_1025Ptr - .asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ) - >(); + late final __objc_msgSend_1025Ptr = + _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1025 = __objc_msgSend_1025Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_CLGeocoder1 = _getClass1("CLGeocoder"); late final _sel_isGeocoding1 = _registerName1("isGeocoding"); @@ -35785,26 +35789,26 @@ class PedometerBindings { return __objc_msgSend_1026(obj, sel, location, completionHandler); } - late final __objc_msgSend_1026Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1026 = - __objc_msgSend_1026Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1026Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1026 = __objc_msgSend_1026Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_reverseGeocodeLocation_preferredLocale_completionHandler_1 = _registerName1( @@ -35820,28 +35824,28 @@ class PedometerBindings { return __objc_msgSend_1027(obj, sel, location, locale, completionHandler); } - late final __objc_msgSend_1027Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1027 = - __objc_msgSend_1027Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1027Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1027 = __objc_msgSend_1027Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_geocodeAddressDictionary_completionHandler_1 = _registerName1( "geocodeAddressDictionary:completionHandler:", @@ -35855,26 +35859,26 @@ class PedometerBindings { return __objc_msgSend_1028(obj, sel, addressDictionary, completionHandler); } - late final __objc_msgSend_1028Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1028 = - __objc_msgSend_1028Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1028Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1028 = __objc_msgSend_1028Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_geocodeAddressString_inRegion_completionHandler_1 = _registerName1("geocodeAddressString:inRegion:completionHandler:"); @@ -35894,28 +35898,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_1029Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1029 = - __objc_msgSend_1029Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1029Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1029 = __objc_msgSend_1029Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_geocodeAddressString_inRegion_preferredLocale_completionHandler_1 = _registerName1( @@ -35939,30 +35943,30 @@ class PedometerBindings { ); } - late final __objc_msgSend_1030Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1030 = - __objc_msgSend_1030Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1030Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1030 = __objc_msgSend_1030Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_geocodeAddressString_completionHandler_1 = _registerName1( "geocodeAddressString:completionHandler:", @@ -35976,26 +35980,26 @@ class PedometerBindings { return __objc_msgSend_1031(obj, sel, addressString, completionHandler); } - late final __objc_msgSend_1031Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1031 = - __objc_msgSend_1031Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1031Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1031 = __objc_msgSend_1031Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_cancelGeocode1 = _registerName1("cancelGeocode"); late final _sel_geocodePostalAddress_completionHandler_1 = _registerName1( @@ -36010,26 +36014,26 @@ class PedometerBindings { return __objc_msgSend_1032(obj, sel, postalAddress, completionHandler); } - late final __objc_msgSend_1032Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1032 = - __objc_msgSend_1032Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1032Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1032 = __objc_msgSend_1032Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_geocodePostalAddress_preferredLocale_completionHandler_1 = _registerName1("geocodePostalAddress:preferredLocale:completionHandler:"); @@ -36049,28 +36053,28 @@ class PedometerBindings { ); } - late final __objc_msgSend_1033Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - > - >('objc_msgSend'); - late final __objc_msgSend_1033 = - __objc_msgSend_1033Ptr - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>, - ) - >(); + late final __objc_msgSend_1033Ptr = + _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1033 = __objc_msgSend_1033Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); ObjCBlock_ffiVoid_CMPedometerData_NSError wrapCallback( ObjCBlock_ffiVoid_CMPedometerData_NSError callback, @@ -36083,16 +36087,14 @@ class PedometerBindings { ); } - late final _wrapCallbackPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function(ffi.Pointer<_ObjCBlock>) - > - >('wrapCallback'); - late final _wrapCallback = - _wrapCallbackPtr - .asFunction< - ffi.Pointer<_ObjCBlock> Function(ffi.Pointer<_ObjCBlock>) - >(); + late final _wrapCallbackPtr = + _lookup< + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function(ffi.Pointer<_ObjCBlock>) + > + >('wrapCallback'); + late final _wrapCallback = _wrapCallbackPtr + .asFunction Function(ffi.Pointer<_ObjCBlock>)>(); } class _ObjCWrapper implements ffi.Finalizable { @@ -38504,31 +38506,31 @@ class NSString extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_277_stret( - stret, - _id, - _lib._sel_localizedStandardRangeOfString_1, - str._id, - ) + stret, + _id, + _lib._sel_localizedStandardRangeOfString_1, + str._id, + ) : stret.ref = _lib._objc_msgSend_277( - _id, - _lib._sel_localizedStandardRangeOfString_1, - str._id, - ); + _id, + _lib._sel_localizedStandardRangeOfString_1, + str._id, + ); } void rangeOfString_(ffi.Pointer<_NSRange> stret, NSString searchString) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_277_stret( - stret, - _id, - _lib._sel_rangeOfString_1, - searchString._id, - ) + stret, + _id, + _lib._sel_rangeOfString_1, + searchString._id, + ) : stret.ref = _lib._objc_msgSend_277( - _id, - _lib._sel_rangeOfString_1, - searchString._id, - ); + _id, + _lib._sel_rangeOfString_1, + searchString._id, + ); } void rangeOfString_options_( @@ -38538,18 +38540,18 @@ class NSString extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_278_stret( - stret, - _id, - _lib._sel_rangeOfString_options_1, - searchString._id, - mask, - ) + stret, + _id, + _lib._sel_rangeOfString_options_1, + searchString._id, + mask, + ) : stret.ref = _lib._objc_msgSend_278( - _id, - _lib._sel_rangeOfString_options_1, - searchString._id, - mask, - ); + _id, + _lib._sel_rangeOfString_options_1, + searchString._id, + mask, + ); } void rangeOfString_options_range_( @@ -38560,20 +38562,20 @@ class NSString extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_279_stret( - stret, - _id, - _lib._sel_rangeOfString_options_range_1, - searchString._id, - mask, - rangeOfReceiverToSearch, - ) + stret, + _id, + _lib._sel_rangeOfString_options_range_1, + searchString._id, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_279( - _id, - _lib._sel_rangeOfString_options_range_1, - searchString._id, - mask, - rangeOfReceiverToSearch, - ); + _id, + _lib._sel_rangeOfString_options_range_1, + searchString._id, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfString_options_range_locale_( @@ -38585,22 +38587,22 @@ class NSString extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_298_stret( - stret, - _id, - _lib._sel_rangeOfString_options_range_locale_1, - searchString._id, - mask, - rangeOfReceiverToSearch, - locale?._id ?? ffi.nullptr, - ) + stret, + _id, + _lib._sel_rangeOfString_options_range_locale_1, + searchString._id, + mask, + rangeOfReceiverToSearch, + locale?._id ?? ffi.nullptr, + ) : stret.ref = _lib._objc_msgSend_298( - _id, - _lib._sel_rangeOfString_options_range_locale_1, - searchString._id, - mask, - rangeOfReceiverToSearch, - locale?._id ?? ffi.nullptr, - ); + _id, + _lib._sel_rangeOfString_options_range_locale_1, + searchString._id, + mask, + rangeOfReceiverToSearch, + locale?._id ?? ffi.nullptr, + ); } void rangeOfCharacterFromSet_( @@ -38609,16 +38611,16 @@ class NSString extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_299_stret( - stret, - _id, - _lib._sel_rangeOfCharacterFromSet_1, - searchSet._id, - ) + stret, + _id, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet._id, + ) : stret.ref = _lib._objc_msgSend_299( - _id, - _lib._sel_rangeOfCharacterFromSet_1, - searchSet._id, - ); + _id, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet._id, + ); } void rangeOfCharacterFromSet_options_( @@ -38628,18 +38630,18 @@ class NSString extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_300_stret( - stret, - _id, - _lib._sel_rangeOfCharacterFromSet_options_1, - searchSet._id, - mask, - ) + stret, + _id, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet._id, + mask, + ) : stret.ref = _lib._objc_msgSend_300( - _id, - _lib._sel_rangeOfCharacterFromSet_options_1, - searchSet._id, - mask, - ); + _id, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet._id, + mask, + ); } void rangeOfCharacterFromSet_options_range_( @@ -38650,20 +38652,20 @@ class NSString extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_301_stret( - stret, - _id, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet._id, - mask, - rangeOfReceiverToSearch, - ) + stret, + _id, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet._id, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_301( - _id, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet._id, - mask, - rangeOfReceiverToSearch, - ); + _id, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet._id, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfComposedCharacterSequenceAtIndex_( @@ -38672,16 +38674,16 @@ class NSString extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_302_stret( - stret, - _id, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, - index, - ) + stret, + _id, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ) : stret.ref = _lib._objc_msgSend_302( - _id, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, - index, - ); + _id, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ); } void rangeOfComposedCharacterSequencesForRange_( @@ -38690,16 +38692,16 @@ class NSString extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_303_stret( - stret, - _id, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, - range, - ) + stret, + _id, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_303( - _id, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, - range, - ); + _id, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ); } NSString stringByAppendingString_(NSString aString) { @@ -38833,16 +38835,16 @@ class NSString extends NSObject { void lineRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_303_stret( - stret, - _id, - _lib._sel_lineRangeForRange_1, - range, - ) + stret, + _id, + _lib._sel_lineRangeForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_303( - _id, - _lib._sel_lineRangeForRange_1, - range, - ); + _id, + _lib._sel_lineRangeForRange_1, + range, + ); } void getParagraphStart_end_contentsEnd_forRange_( @@ -38864,16 +38866,16 @@ class NSString extends NSObject { void paragraphRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_303_stret( - stret, - _id, - _lib._sel_paragraphRangeForRange_1, - range, - ) + stret, + _id, + _lib._sel_paragraphRangeForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_303( - _id, - _lib._sel_paragraphRangeForRange_1, - range, - ); + _id, + _lib._sel_paragraphRangeForRange_1, + range, + ); } void enumerateSubstringsInRange_options_usingBlock_( @@ -40629,20 +40631,20 @@ class NSCoder extends NSObject { double decodeFloatForKey_(NSString key) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_253_fpret( - _id, - _lib._sel_decodeFloatForKey_1, - key._id, - ) + _id, + _lib._sel_decodeFloatForKey_1, + key._id, + ) : _lib._objc_msgSend_253(_id, _lib._sel_decodeFloatForKey_1, key._id); } double decodeDoubleForKey_(NSString key) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_254_fpret( - _id, - _lib._sel_decodeDoubleForKey_1, - key._id, - ) + _id, + _lib._sel_decodeDoubleForKey_1, + key._id, + ) : _lib._objc_msgSend_254(_id, _lib._sel_decodeDoubleForKey_1, key._id); } @@ -41157,20 +41159,20 @@ class NSData extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_217_stret( - stret, - _id, - _lib._sel_rangeOfData_options_range_1, - dataToFind._id, - mask, - searchRange, - ) + stret, + _id, + _lib._sel_rangeOfData_options_range_1, + dataToFind._id, + mask, + searchRange, + ) : stret.ref = _lib._objc_msgSend_217( - _id, - _lib._sel_rangeOfData_options_range_1, - dataToFind._id, - mask, - searchRange, - ); + _id, + _lib._sel_rangeOfData_options_range_1, + dataToFind._id, + mask, + searchRange, + ); } void enumerateByteRangesUsingBlock_( @@ -44647,11 +44649,11 @@ class NSError extends NSObject { return _ret.address == 0 ? null : ObjCBlock_ObjCObject_NSError_NSString._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } @override @@ -44870,10 +44872,11 @@ _ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { ObjCBlock_ObjCObject_NSError_NSString._( @@ -44903,12 +44906,13 @@ class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ObjCObject_NSError_NSString_fnPtrTrampoline).cast(), + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ObjCObject_NSError_NSString_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -44927,14 +44931,13 @@ class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline, - ).cast(), + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline) + .cast(), _ObjCBlock_ObjCObject_NSError_NSString_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( @@ -44950,47 +44953,47 @@ class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { NSObject? call(NSError arg0, NSString arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >()(_id, arg0._id, arg1._id) - .address == - 0 - ? null - : NSObject._( - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ) - > - >() - .asFunction< + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, ) - >()(_id, arg0._id, arg1._id), - _lib, - retain: false, - release: true, - ); + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id) + .address == + 0 + ? null + : NSObject._( + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id), + _lib, + retain: false, + release: true, + ); } final class _ObjCBlockDesc extends ffi.Struct { @@ -45490,10 +45493,11 @@ void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline( ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( @@ -45520,12 +45524,13 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -45544,14 +45549,13 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( (int arg0, ffi.Pointer arg1) => fn(arg0, arg1), ), @@ -45574,15 +45578,17 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { void Function(int, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( @@ -45646,10 +45652,11 @@ bool _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline( ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { ObjCBlock_bool_ffiUnsignedLong_bool._( @@ -45676,15 +45683,13 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >(_ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, false) + .cast(), ptr.cast(), ), lib, @@ -45703,15 +45708,16 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, + false, + ) + .cast(), _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( (int arg0, ffi.Pointer arg1) => fn(arg0, arg1), ), @@ -45791,12 +45797,13 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -45815,12 +45822,13 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( (_NSRange arg0, ffi.Pointer arg1) => fn(arg0, arg1), ), @@ -45843,14 +45851,17 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { void Function(_NSRange, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - _NSRange, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( @@ -45915,10 +45926,11 @@ void _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline( ffi.Pointer arg0, int arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool._( @@ -45949,15 +45961,14 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -45976,15 +45987,16 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, + ) + .cast(), _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( ( ffi.Pointer arg0, @@ -46015,16 +46027,18 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { void Function(NSObject, int, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( @@ -46110,10 +46124,11 @@ bool _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureTrampoline( ffi.Pointer arg0, int arg1, ffi.Pointer arg2, -) => _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool._( @@ -46144,16 +46159,17 @@ class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ) + .cast(), ptr.cast(), ), lib, @@ -46172,16 +46188,17 @@ class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, + false, + ) + .cast(), _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_registerClosure( ( ffi.Pointer arg0, @@ -46255,10 +46272,11 @@ int _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject extends _ObjCBlockBase { @@ -46289,15 +46307,16 @@ class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_fnPtrTrampoline, - 0, - ).cast(), + ffi.Int32 Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_fnPtrTrampoline, + 0, + ) + .cast(), ptr.cast(), ), lib, @@ -46316,15 +46335,16 @@ class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureTrampoline, - 0, - ).cast(), + ffi.Int32 Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureTrampoline, + 0, + ) + .cast(), _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( NSObject._(arg0, lib, retain: true, release: true), @@ -46418,10 +46438,11 @@ bool _ObjCBlock_bool_ObjCObject_ObjCObject_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { ObjCBlock_bool_ObjCObject_ObjCObject._( @@ -46451,15 +46472,16 @@ class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ObjCObject_ObjCObject_fnPtrTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ObjCObject_fnPtrTrampoline, + false, + ) + .cast(), ptr.cast(), ), lib, @@ -46478,15 +46500,16 @@ class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ObjCObject_ObjCObject_closureTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ObjCObject_closureTrampoline, + false, + ) + .cast(), _ObjCBlock_bool_ObjCObject_ObjCObject_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( NSObject._(arg0, lib, retain: true, release: true), @@ -46824,10 +46847,11 @@ bool _ObjCBlock_bool_ObjCObject_NSDictionary_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { ObjCBlock_bool_ObjCObject_NSDictionary._( @@ -46857,15 +46881,16 @@ class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline, + false, + ) + .cast(), ptr.cast(), ), lib, @@ -46884,15 +46909,16 @@ class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ObjCObject_NSDictionary_closureTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_NSDictionary_closureTrampoline, + false, + ) + .cast(), _ObjCBlock_bool_ObjCObject_NSDictionary_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 @@ -47717,10 +47743,11 @@ void _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool._( @@ -47751,15 +47778,14 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -47778,15 +47804,14 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( ( ffi.Pointer arg0, @@ -47817,16 +47842,18 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { void Function(NSObject, NSObject, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( @@ -47927,10 +47954,11 @@ bool _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { ObjCBlock_bool_ObjCObject_ObjCObject_bool._( @@ -47961,16 +47989,17 @@ class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_fnPtrTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ObjCObject_bool_fnPtrTrampoline, + false, + ) + .cast(), ptr.cast(), ), lib, @@ -47989,16 +48018,17 @@ class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureTrampoline, + false, + ) + .cast(), _ObjCBlock_bool_ObjCObject_ObjCObject_bool_registerClosure( ( ffi.Pointer arg0, @@ -48085,13 +48115,13 @@ class NSDate extends NSObject { double get timeIntervalSinceReferenceDate { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_157_fpret( - _id, - _lib._sel_timeIntervalSinceReferenceDate1, - ) + _id, + _lib._sel_timeIntervalSinceReferenceDate1, + ) : _lib._objc_msgSend_157( - _id, - _lib._sel_timeIntervalSinceReferenceDate1, - ); + _id, + _lib._sel_timeIntervalSinceReferenceDate1, + ); } @override @@ -48123,15 +48153,15 @@ class NSDate extends NSObject { double timeIntervalSinceDate_(NSDate anotherDate) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_159_fpret( - _id, - _lib._sel_timeIntervalSinceDate_1, - anotherDate._id, - ) + _id, + _lib._sel_timeIntervalSinceDate_1, + anotherDate._id, + ) : _lib._objc_msgSend_159( - _id, - _lib._sel_timeIntervalSinceDate_1, - anotherDate._id, - ); + _id, + _lib._sel_timeIntervalSinceDate_1, + anotherDate._id, + ); } double get timeIntervalSinceNow { @@ -48501,10 +48531,11 @@ void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( @@ -48535,13 +48566,14 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -48560,15 +48592,14 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( ( ffi.Pointer arg0, @@ -48595,16 +48626,18 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( @@ -48689,10 +48722,11 @@ void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, int arg1, -) => _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( @@ -48719,14 +48753,13 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >(_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -48745,14 +48778,13 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >(_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( (ffi.Pointer arg0, int arg1) => fn(arg0, arg1), ), @@ -48775,15 +48807,17 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { void Function(ffi.Pointer, int) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( @@ -49956,10 +49990,11 @@ void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline( _NSRange arg1, _NSRange arg2, ffi.Pointer arg3, -) => _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2, arg3); +) => + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2, arg3); class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._( @@ -49991,16 +50026,15 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -50019,16 +50053,15 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( ( ffi.Pointer arg0, @@ -50063,17 +50096,19 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( @@ -50164,10 +50199,11 @@ void _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block.ref.target.address]!( + arg0, + arg1, + ); class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool._( @@ -50197,12 +50233,13 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -50221,12 +50258,13 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSString_bool_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn(NSString._(arg0, lib, retain: true, release: true), arg1), @@ -50250,14 +50288,17 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { void Function(NSString, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSString_bool_registerClosure( @@ -50304,19 +50345,20 @@ void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, int arg1, -) => block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ) - > - >() - .asFunction, int)>()( - arg0, - arg1, -); +) => + block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + >() + .asFunction, int)>()( + arg0, + arg1, + ); final _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex = @@ -50335,10 +50377,11 @@ void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, int arg1, -) => _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong extends _ObjCBlockBase { @@ -50369,14 +50412,13 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >(_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -50395,14 +50437,15 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ) - >( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + ) + .cast(), _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( (ffi.Pointer arg0, int arg1) => fn(arg0, arg1), ), @@ -50425,15 +50468,17 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong void Function(ffi.Pointer, int) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( @@ -50765,10 +50810,11 @@ void _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_bool._( @@ -50798,12 +50844,13 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ObjCObject_bool_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -50822,12 +50869,13 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1), @@ -50851,14 +50899,17 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { void Function(NSObject, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( @@ -50960,12 +51011,13 @@ class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline, false).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline, false) + .cast(), ptr.cast(), ), lib, @@ -50984,15 +51036,13 @@ class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_bool_ObjCObject_bool_closureTrampoline, - false, - ).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_ObjCObject_bool_closureTrampoline, false) + .cast(), _ObjCBlock_bool_ObjCObject_bool_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn(NSObject._(arg0, lib, retain: true, release: true), arg1), @@ -52102,11 +52152,12 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -52125,11 +52176,12 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSError_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSError_registerClosure( (ffi.Pointer arg0) => fn( arg0.address == 0 @@ -52156,13 +52208,14 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { void Function(NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSError_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSError_closureTrampoline) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSError_registerClosure( @@ -52310,12 +52363,13 @@ class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false) + .cast(), ptr.cast(), ), lib, @@ -52334,12 +52388,13 @@ class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false).cast(), + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false) + .cast(), _ObjCBlock_bool_NSURL_NSError_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( NSURL._(arg0, lib, retain: true, release: true), @@ -52406,10 +52461,11 @@ void _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError._( @@ -52439,12 +52495,13 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -52463,14 +52520,13 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 @@ -52500,15 +52556,17 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { void Function(NSDictionary?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( @@ -56315,10 +56373,11 @@ class NSThread extends NSObject { } } -void _ObjCBlock_ffiVoid_fnPtrTrampoline(ffi.Pointer<_ObjCBlock> block) => - block.ref.target - .cast>() - .asFunction()(); +void _ObjCBlock_ffiVoid_fnPtrTrampoline(ffi.Pointer<_ObjCBlock> block) => block + .ref + .target + .cast>() + .asFunction()(); final _ObjCBlock_ffiVoid_closureRegistry = {}; int _ObjCBlock_ffiVoid_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_registerClosure(void Function() fn) { @@ -56350,8 +56409,9 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>) - >(_ObjCBlock_ffiVoid_fnPtrTrampoline).cast(), + ffi.Void Function(ffi.Pointer<_ObjCBlock>) + >(_ObjCBlock_ffiVoid_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -56368,8 +56428,9 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>) - >(_ObjCBlock_ffiVoid_closureTrampoline).cast(), + ffi.Void Function(ffi.Pointer<_ObjCBlock>) + >(_ObjCBlock_ffiVoid_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_registerClosure(() => fn()), ), lib, @@ -56388,10 +56449,11 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { ObjCBlock_ffiVoid.listener(PedometerBindings lib, void Function() fn) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>) - >.listener(_ObjCBlock_ffiVoid_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function(ffi.Pointer<_ObjCBlock>) + >.listener(_ObjCBlock_ffiVoid_closureTrampoline) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_registerClosure(() => fn()), @@ -57159,11 +57221,11 @@ class NSItemProvider extends NSObject { return _ret.address == 0 ? null : ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } set previewImageHandler( @@ -57326,9 +57388,9 @@ _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( ffi.Pointer Function(ffi.Pointer<_ObjCBlock> arg0) > >() - .asFunction Function(ffi.Pointer<_ObjCBlock>)>()( - arg0, -); + .asFunction< + ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) + >()(arg0); final _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry = Function(ffi.Pointer<_ObjCBlock>)>{}; int _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex = 0; @@ -57345,10 +57407,11 @@ ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0, -) => _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[block + .ref + .target + .address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError._( @@ -57375,13 +57438,12 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline, - ).cast(), + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >(_ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -57400,13 +57462,12 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline, - ).cast(), + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >(_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline) + .cast(), _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( (ffi.Pointer<_ObjCBlock> arg0) => fn( @@ -57426,43 +57487,43 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ) - >()(_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ) - > - >() - .asFunction< + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, ) - >()(_id, arg0._id), - _lib, - retain: false, - release: true, - ); + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id) + .address == + 0 + ? null + : NSProgress._( + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id), + _lib, + retain: false, + release: true, + ); } class NSProgress extends NSObject { @@ -58023,9 +58084,9 @@ ffi.Pointer<_ObjCBlock> _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline( ffi.Pointer<_ObjCBlock> Function(ffi.Pointer arg0) > >() - .asFunction Function(ffi.Pointer)>()( - arg0, -); + .asFunction< + ffi.Pointer<_ObjCBlock> Function(ffi.Pointer) + >()(arg0); final _ObjCBlock_ffiVoid_NSProgress_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex = 0; @@ -58069,11 +58130,12 @@ class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline).cast(), + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -58092,11 +58154,12 @@ class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline).cast(), + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSProgress_registerClosure( (ffi.Pointer arg0) => fn( @@ -58111,43 +58174,43 @@ class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { ObjCBlock_ffiVoid? call(NSProgress arg0) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >()(_id, arg0._id) - .address == - 0 - ? null - : ObjCBlock_ffiVoid._( - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ) - > - >() - .asFunction< + .cast< + ffi.NativeFunction< ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, ) - >()(_id, arg0._id), - _lib, - retain: false, - release: true, - ); + > + >() + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >()(_id, arg0._id) + .address == + 0 + ? null + : ObjCBlock_ffiVoid._( + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >()(_id, arg0._id), + _lib, + retain: false, + release: true, + ); } void _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline( @@ -58181,10 +58244,11 @@ void _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError._( @@ -58214,12 +58278,13 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -58238,12 +58303,13 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 @@ -58273,14 +58339,17 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { void Function(NSData?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( @@ -58338,9 +58407,9 @@ _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( ffi.Pointer Function(ffi.Pointer<_ObjCBlock> arg0) > >() - .asFunction Function(ffi.Pointer<_ObjCBlock>)>()( - arg0, -); + .asFunction< + ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) + >()(arg0); final _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry = Function(ffi.Pointer<_ObjCBlock>)>{}; int _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex = 0; @@ -58358,10 +58427,11 @@ ffi.Pointer _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0, -) => _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[block + .ref + .target + .address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( @@ -58388,13 +58458,12 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline, - ).cast(), + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >(_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -58413,13 +58482,12 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ) - >( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline, - ).cast(), + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >(_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline) + .cast(), _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( (ffi.Pointer<_ObjCBlock> arg0) => fn( @@ -58439,43 +58507,43 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ) - >()(_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ) - > - >() - .asFunction< + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, ) - >()(_id, arg0._id), - _lib, - retain: false, - release: true, - ); + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id) + .address == + 0 + ? null + : NSProgress._( + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id), + _lib, + retain: false, + release: true, + ); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline( @@ -58515,10 +58583,11 @@ void _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError._( @@ -58549,13 +58618,14 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -58574,13 +58644,14 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( ( ffi.Pointer arg0, @@ -58615,16 +58686,18 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { void Function(NSURL?, bool, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( @@ -58707,10 +58780,11 @@ void _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block.ref.target.address]!( + arg0, + arg1, + ); class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError._( @@ -58740,12 +58814,13 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -58764,12 +58839,13 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 @@ -58799,14 +58875,17 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { void Function(NSURL?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( @@ -58860,9 +58939,9 @@ _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline( ffi.Pointer Function(ffi.Pointer<_ObjCBlock> arg0) > >() - .asFunction Function(ffi.Pointer<_ObjCBlock>)>()( - arg0, -); + .asFunction< + ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) + >()(arg0); final _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry = Function(ffi.Pointer<_ObjCBlock>)>{}; int _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistryIndex = 0; @@ -58880,10 +58959,11 @@ ffi.Pointer _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0, -) => _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry[block + .ref + .target + .address]!(arg0); class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidObjCObjectNSError._( @@ -58910,13 +58990,12 @@ class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ) - >( - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline, - ).cast(), + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >(_ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -58935,13 +59014,12 @@ class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ) - >( - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline, - ).cast(), + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >(_ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline) + .cast(), _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_registerClosure( (ffi.Pointer<_ObjCBlock> arg0) => fn( @@ -58961,43 +59039,43 @@ class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { NSProgress? call(ObjCBlock_ffiVoid_ObjCObject_NSError arg0) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ) - > - >() - .asFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ) - >()(_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ) - > - >() - .asFunction< + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, ) - >()(_id, arg0._id), - _lib, - retain: false, - release: true, - ); + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id) + .address == + 0 + ? null + : NSProgress._( + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id), + _lib, + retain: false, + release: true, + ); } void _ObjCBlock_ffiVoid_ObjCObject_NSError_fnPtrTrampoline( @@ -59031,10 +59109,11 @@ void _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_NSError._( @@ -59064,12 +59143,13 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ObjCObject_NSError_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -59088,12 +59168,13 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 @@ -59123,15 +59204,17 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { void Function(NSObject?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( @@ -59268,15 +59351,16 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_fnPtrTrampoline, + ) + .cast(), ptr.cast(), ), lib, @@ -59296,15 +59380,16 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline, + ) + .cast(), _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( ( ffi.Pointer<_ObjCBlock> arg0, @@ -59341,16 +59426,18 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( @@ -59438,10 +59525,11 @@ void _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_NSError1._( @@ -59471,12 +59559,13 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_ObjCObject_NSError1_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_NSError1_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -59495,14 +59584,13 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 @@ -59530,15 +59618,17 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { void Function(NSObject?, NSError) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( @@ -61354,15 +61444,15 @@ class NSBundle extends NSObject { double preservationPriorityForTag_(NSString tag) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_254_fpret( - _id, - _lib._sel_preservationPriorityForTag_1, - tag._id, - ) + _id, + _lib._sel_preservationPriorityForTag_1, + tag._id, + ) : _lib._objc_msgSend_254( - _id, - _lib._sel_preservationPriorityForTag_1, - tag._id, - ); + _id, + _lib._sel_preservationPriorityForTag_1, + tag._id, + ); } @override @@ -62048,10 +62138,11 @@ void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( @@ -62082,15 +62173,14 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -62109,15 +62199,14 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( ( ffi.Pointer arg0, @@ -62148,16 +62237,18 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { void Function(NSDictionary, _NSRange, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( @@ -62245,10 +62336,11 @@ void _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline( ffi.Pointer arg0, _NSRange arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_NSRange_bool._( @@ -62279,15 +62371,14 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -62306,15 +62397,14 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( ( ffi.Pointer arg0, @@ -62347,16 +62437,18 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { void Function(NSObject?, _NSRange, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( @@ -64225,15 +64317,15 @@ class NSTimeZone extends NSObject { double daylightSavingTimeOffsetForDate_(NSDate aDate) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_159_fpret( - _id, - _lib._sel_daylightSavingTimeOffsetForDate_1, - aDate._id, - ) + _id, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate._id, + ) : _lib._objc_msgSend_159( - _id, - _lib._sel_daylightSavingTimeOffsetForDate_1, - aDate._id, - ); + _id, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate._id, + ); } NSDate? nextDaylightSavingTimeTransitionAfterDate_(NSDate aDate) { @@ -64841,31 +64933,31 @@ class NSCalendar extends NSObject { void minimumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_626_stret( - stret, - _id, - _lib._sel_minimumRangeOfUnit_1, - unit, - ) + stret, + _id, + _lib._sel_minimumRangeOfUnit_1, + unit, + ) : stret.ref = _lib._objc_msgSend_626( - _id, - _lib._sel_minimumRangeOfUnit_1, - unit, - ); + _id, + _lib._sel_minimumRangeOfUnit_1, + unit, + ); } void maximumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_626_stret( - stret, - _id, - _lib._sel_maximumRangeOfUnit_1, - unit, - ) + stret, + _id, + _lib._sel_maximumRangeOfUnit_1, + unit, + ) : stret.ref = _lib._objc_msgSend_626( - _id, - _lib._sel_maximumRangeOfUnit_1, - unit, - ); + _id, + _lib._sel_maximumRangeOfUnit_1, + unit, + ); } void rangeOfUnit_inUnit_forDate_( @@ -64876,20 +64968,20 @@ class NSCalendar extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_627_stret( - stret, - _id, - _lib._sel_rangeOfUnit_inUnit_forDate_1, - smaller, - larger, - date._id, - ) + stret, + _id, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date._id, + ) : stret.ref = _lib._objc_msgSend_627( - _id, - _lib._sel_rangeOfUnit_inUnit_forDate_1, - smaller, - larger, - date._id, - ); + _id, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date._id, + ); } int ordinalityOfUnit_inUnit_forDate_(int smaller, int larger, NSDate date) { @@ -65904,10 +65996,11 @@ void _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool._( @@ -65938,13 +66031,14 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -65963,13 +66057,14 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( ( ffi.Pointer arg0, @@ -66002,16 +66097,18 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { void Function(NSDate?, bool, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( @@ -68665,11 +68762,12 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -68688,11 +68786,12 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSTimer_registerClosure( (ffi.Pointer arg0) => fn(NSTimer._(arg0, lib, retain: true, release: true)), @@ -68716,13 +68815,14 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { void Function(NSTimer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSTimer_registerClosure( @@ -69382,11 +69482,11 @@ class NSFileHandle extends NSObject { return _ret.address == 0 ? null : ObjCBlock_ffiVoid_NSFileHandle._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } set readabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { @@ -69402,11 +69502,11 @@ class NSFileHandle extends NSObject { return _ret.address == 0 ? null : ObjCBlock_ffiVoid_NSFileHandle._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } set writeabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { @@ -69646,11 +69746,12 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -69669,11 +69770,12 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( (ffi.Pointer arg0) => fn(NSFileHandle._(arg0, lib, retain: true, release: true)), @@ -69697,13 +69799,16 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { void Function(NSFileHandle) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( @@ -72817,11 +72922,12 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -72840,11 +72946,12 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSArray_registerClosure( (ffi.Pointer arg0) => fn( arg0.address == 0 @@ -72871,13 +72978,14 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { void Function(NSArray?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSArray_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSArray_closureTrampoline) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSArray_registerClosure( @@ -75305,14 +75413,14 @@ class NSProcessInfo extends NSObject { void getOperatingSystemVersion(ffi.Pointer stret) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_819_stret( - stret, - _id, - _lib._sel_operatingSystemVersion1, - ) + stret, + _id, + _lib._sel_operatingSystemVersion1, + ) : stret.ref = _lib._objc_msgSend_819( - _id, - _lib._sel_operatingSystemVersion1, - ); + _id, + _lib._sel_operatingSystemVersion1, + ); } int get processorCount { @@ -75639,8 +75747,9 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool) - >(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline).cast(), + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool) + >(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -75659,8 +75768,9 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool) - >(_ObjCBlock_ffiVoid_bool_closureTrampoline).cast(), + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool) + >(_ObjCBlock_ffiVoid_bool_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), ), lib, @@ -75679,10 +75789,11 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_bool.listener(PedometerBindings lib, void Function(bool) fn) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool) - >.listener(_ObjCBlock_ffiVoid_bool_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool) + >.listener(_ObjCBlock_ffiVoid_bool_closureTrampoline) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), @@ -75840,31 +75951,31 @@ class NSTextCheckingResult extends NSObject { void rangeAtIndex_(ffi.Pointer<_NSRange> stret, int idx) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_302_stret( - stret, - _id, - _lib._sel_rangeAtIndex_1, - idx, - ) + stret, + _id, + _lib._sel_rangeAtIndex_1, + idx, + ) : stret.ref = _lib._objc_msgSend_302( - _id, - _lib._sel_rangeAtIndex_1, - idx, - ); + _id, + _lib._sel_rangeAtIndex_1, + idx, + ); } void rangeWithName_(ffi.Pointer<_NSRange> stret, NSString name) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_277_stret( - stret, - _id, - _lib._sel_rangeWithName_1, - name._id, - ) + stret, + _id, + _lib._sel_rangeWithName_1, + name._id, + ) : stret.ref = _lib._objc_msgSend_277( - _id, - _lib._sel_rangeWithName_1, - name._id, - ); + _id, + _lib._sel_rangeWithName_1, + name._id, + ); } NSTextCheckingResult resultByAdjustingRangesWithOffset_(int offset) { @@ -76415,20 +76526,20 @@ class NSRegularExpression extends NSObject { ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_834_stret( - stret, - _id, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string._id, - options, - range, - ) + stret, + _id, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string._id, + options, + range, + ) : stret.ref = _lib._objc_msgSend_834( - _id, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string._id, - options, - range, - ); + _id, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string._id, + options, + range, + ); } NSString stringByReplacingMatchesInString_options_range_withTemplate_( @@ -76715,15 +76826,16 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, + ) + .cast(), ptr.cast(), ), lib, @@ -76742,15 +76854,16 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + ) + .cast(), _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( ( ffi.Pointer arg0, @@ -76760,11 +76873,11 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool arg0.address == 0 ? null : NSTextCheckingResult._( - arg0, - lib, - retain: true, - release: true, - ), + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2, ), @@ -76788,16 +76901,18 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( @@ -76809,11 +76924,11 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool arg0.address == 0 ? null : NSTextCheckingResult._( - arg0, - lib, - retain: true, - release: true, - ), + arg0, + lib, + retain: true, + release: true, + ), arg1, arg2, ), @@ -77748,10 +77863,11 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( void _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[block + .ref + .target + .address]!(arg0); class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse._( @@ -77776,11 +77892,12 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -77799,23 +77916,22 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( (ffi.Pointer arg0) => fn( arg0.address == 0 ? null : NSCachedURLResponse._( - arg0, - lib, - retain: true, - release: true, - ), + arg0, + lib, + retain: true, + release: true, + ), ), ), ), @@ -77837,14 +77953,16 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { void Function(NSCachedURLResponse?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( @@ -77852,11 +77970,11 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { arg0.address == 0 ? null : NSCachedURLResponse._( - arg0, - lib, - retain: true, - release: true, - ), + arg0, + lib, + retain: true, + release: true, + ), ), ), ), @@ -78397,10 +78515,11 @@ void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._( @@ -78431,15 +78550,14 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -78458,15 +78576,14 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( ( ffi.Pointer arg0, @@ -78503,16 +78620,18 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { void Function(NSURLResponse?, NSData?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( @@ -78545,30 +78664,31 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { >? _dartFuncListenerTrampoline; - void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr, - ); + void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + _id, + arg0?._id ?? ffi.nullptr, + arg1?._id ?? ffi.nullptr, + arg2?._id ?? ffi.nullptr, + ); } /// ! @@ -79677,11 +79797,12 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -79700,11 +79821,12 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSDictionary_registerClosure( (ffi.Pointer arg0) => fn( arg0.address == 0 @@ -79731,13 +79853,16 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { void Function(NSDictionary?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSDictionary_registerClosure( @@ -79789,10 +79914,11 @@ ffi.Pointer _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( void _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, -) => _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[block - .ref - .target - .address]!(arg0); +) => + _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[block + .ref + .target + .address]!(arg0); class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential._( @@ -79817,11 +79943,12 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -79840,11 +79967,12 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( (ffi.Pointer arg0) => fn( arg0.address == 0 @@ -79871,13 +79999,16 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { void Function(NSURLCredential?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( @@ -82545,9 +82676,9 @@ class NSURLSessionConfiguration extends NSObject { double get timeoutIntervalForRequest { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_157_fpret( - _id, - _lib._sel_timeoutIntervalForRequest1, - ) + _id, + _lib._sel_timeoutIntervalForRequest1, + ) : _lib._objc_msgSend_157(_id, _lib._sel_timeoutIntervalForRequest1); } @@ -82562,9 +82693,9 @@ class NSURLSessionConfiguration extends NSObject { double get timeoutIntervalForResource { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_157_fpret( - _id, - _lib._sel_timeoutIntervalForResource1, - ) + _id, + _lib._sel_timeoutIntervalForResource1, + ) : _lib._objc_msgSend_157(_id, _lib._sel_timeoutIntervalForResource1); } @@ -83185,10 +83316,11 @@ void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( @@ -83219,15 +83351,14 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -83246,15 +83377,14 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( ( ffi.Pointer arg0, @@ -83285,16 +83415,18 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { void Function(NSArray, NSArray, NSArray) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( @@ -83389,11 +83521,12 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -83412,11 +83545,12 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSArray1_registerClosure( (ffi.Pointer arg0) => fn(NSArray._(arg0, lib, retain: true, release: true)), @@ -83440,13 +83574,14 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { void Function(NSArray) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSArray1_registerClosure( @@ -83705,11 +83840,12 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -83728,11 +83864,12 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSData_registerClosure( (ffi.Pointer arg0) => fn( arg0.address == 0 @@ -83759,13 +83896,14 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { void Function(NSData?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSData_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSData_closureTrampoline) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSData_registerClosure( @@ -84232,10 +84370,11 @@ void _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline( ffi.Pointer arg0, bool arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError._( @@ -84266,13 +84405,14 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -84291,15 +84431,14 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( ( ffi.Pointer arg0, @@ -84332,16 +84471,18 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { void Function(NSData, bool, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( @@ -85305,14 +85446,15 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, + ) + .cast(), ptr.cast(), ), lib, @@ -85331,24 +85473,25 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + ) + .cast(), _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 ? null : NSURLSessionWebSocketMessage._( - arg0, - lib, - retain: true, - release: true, - ), + arg0, + lib, + retain: true, + release: true, + ), arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true), @@ -85373,15 +85516,17 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError void Function(NSURLSessionWebSocketMessage?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( @@ -85389,11 +85534,11 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError arg0.address == 0 ? null : NSURLSessionWebSocketMessage._( - arg0, - lib, - retain: true, - release: true, - ), + arg0, + lib, + retain: true, + release: true, + ), arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true), @@ -85499,10 +85644,11 @@ void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._( @@ -85533,15 +85679,14 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -85560,15 +85705,14 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( ( ffi.Pointer arg0, @@ -85605,16 +85749,18 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { void Function(NSData?, NSURLResponse?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( @@ -85647,30 +85793,31 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { >? _dartFuncListenerTrampoline; - void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr, - ); + void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + _id, + arg0?._id ?? ffi.nullptr, + arg1?._id ?? ffi.nullptr, + arg2?._id ?? ffi.nullptr, + ); } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline( @@ -85725,10 +85872,11 @@ void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline( ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, -) => _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1, arg2); +) => + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( @@ -85759,15 +85907,14 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -85786,15 +85933,14 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( ( ffi.Pointer arg0, @@ -85831,16 +85977,18 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { void Function(NSURL?, NSURLResponse?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( @@ -85873,30 +86021,31 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { >? _dartFuncListenerTrampoline; - void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) - > - >() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ) - >()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr, - ); + void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()( + _id, + arg0?._id ?? ffi.nullptr, + arg1?._id ?? ffi.nullptr, + arg2?._id ?? ffi.nullptr, + ); } class CMPedometer extends NSObject { @@ -86187,10 +86336,11 @@ void _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_CMPedometerData_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_CMPedometerData_NSError._( @@ -86220,14 +86370,13 @@ class ObjCBlock_ffiVoid_CMPedometerData_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_CMPedometerData_NSError_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_CMPedometerData_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -86246,14 +86395,13 @@ class ObjCBlock_ffiVoid_CMPedometerData_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_CMPedometerData_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_CMPedometerData_NSError_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 @@ -86283,15 +86431,17 @@ class ObjCBlock_ffiVoid_CMPedometerData_NSError extends _ObjCBlockBase { void Function(CMPedometerData?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_CMPedometerData_NSError_registerClosure( @@ -86588,10 +86738,11 @@ void _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_CMPedometerEvent_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_CMPedometerEvent_NSError._( @@ -86621,14 +86772,13 @@ class ObjCBlock_ffiVoid_CMPedometerEvent_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_fnPtrTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_CMPedometerEvent_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -86647,14 +86797,13 @@ class ObjCBlock_ffiVoid_CMPedometerEvent_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >( - _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureTrampoline, - ).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 @@ -86684,15 +86833,17 @@ class ObjCBlock_ffiVoid_CMPedometerEvent_NSError extends _ObjCBlockBase { void Function(CMPedometerEvent?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_registerClosure( @@ -87154,13 +87305,13 @@ class CLLocationManager extends NSObject { double get maximumRegionMonitoringDistance { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_157_fpret( - _id, - _lib._sel_maximumRegionMonitoringDistance1, - ) + _id, + _lib._sel_maximumRegionMonitoringDistance1, + ) : _lib._objc_msgSend_157( - _id, - _lib._sel_maximumRegionMonitoringDistance1, - ); + _id, + _lib._sel_maximumRegionMonitoringDistance1, + ); } NSSet get monitoredRegions { @@ -87740,39 +87891,39 @@ class CLLocation extends NSObject { return _ret.address == 0 ? null : CLLocationSourceInformation._( - _ret, - _lib, - retain: true, - release: true, - ); + _ret, + _lib, + retain: true, + release: true, + ); } double getDistanceFrom_(CLLocation location) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_995_fpret( - _id, - _lib._sel_getDistanceFrom_1, - location._id, - ) + _id, + _lib._sel_getDistanceFrom_1, + location._id, + ) : _lib._objc_msgSend_995( - _id, - _lib._sel_getDistanceFrom_1, - location._id, - ); + _id, + _lib._sel_getDistanceFrom_1, + location._id, + ); } double distanceFromLocation_(CLLocation location) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_995_fpret( - _id, - _lib._sel_distanceFromLocation_1, - location._id, - ) + _id, + _lib._sel_distanceFromLocation_1, + location._id, + ) : _lib._objc_msgSend_995( - _id, - _lib._sel_distanceFromLocation_1, - location._id, - ); + _id, + _lib._sel_distanceFromLocation_1, + location._id, + ); } @override @@ -89884,10 +90035,11 @@ void _ObjCBlock_ffiVoid_NSArray_NSError_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSArray_NSError_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSArray_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSArray_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSError._( @@ -89917,12 +90069,13 @@ class ObjCBlock_ffiVoid_NSArray_NSError extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray_NSError_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_NSError_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -89941,12 +90094,13 @@ class ObjCBlock_ffiVoid_NSArray_NSError extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray_NSError_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_NSError_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSArray_NSError_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( NSArray._(arg0, lib, retain: true, release: true), @@ -89974,14 +90128,17 @@ class ObjCBlock_ffiVoid_NSArray_NSError extends _ObjCBlockBase { void Function(NSArray, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener(_ObjCBlock_ffiVoid_NSArray_NSError_closureTrampoline) - ..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray_NSError_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSArray_NSError_registerClosure( @@ -90653,10 +90810,11 @@ void _ObjCBlock_ffiVoid_NSArray_NSError1_closureTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1, -) => _ObjCBlock_ffiVoid_NSArray_NSError1_closureRegistry[block - .ref - .target - .address]!(arg0, arg1); +) => + _ObjCBlock_ffiVoid_NSArray_NSError1_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSArray_NSError1 extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSError1._( @@ -90686,12 +90844,13 @@ class ObjCBlock_ffiVoid_NSArray_NSError1 extends _ObjCBlockBase { lib._newBlock1( _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray_NSError1_fnPtrTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_NSError1_fnPtrTrampoline) + .cast(), ptr.cast(), ), lib, @@ -90710,12 +90869,13 @@ class ObjCBlock_ffiVoid_NSArray_NSError1 extends _ObjCBlockBase { lib._newBlock1( _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >(_ObjCBlock_ffiVoid_NSArray_NSError1_closureTrampoline).cast(), + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_NSError1_closureTrampoline) + .cast(), _ObjCBlock_ffiVoid_NSArray_NSError1_registerClosure( (ffi.Pointer arg0, ffi.Pointer arg1) => fn( arg0.address == 0 @@ -90745,15 +90905,17 @@ class ObjCBlock_ffiVoid_NSArray_NSError1 extends _ObjCBlockBase { void Function(NSArray?, NSError?) fn, ) : this._( lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ) - >.listener( - _ObjCBlock_ffiVoid_NSArray_NSError1_closureTrampoline, - )..keepIsolateAlive = false) + (_dartFuncListenerTrampoline ??= + ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray_NSError1_closureTrampoline, + ) + ..keepIsolateAlive = false) .nativeFunction .cast(), _ObjCBlock_ffiVoid_NSArray_NSError1_registerClosure( diff --git a/pedometer/pubspec.yaml b/pedometer/pubspec.yaml index b52c1341945..5dfa80d0f3c 100644 --- a/pedometer/pubspec.yaml +++ b/pedometer/pubspec.yaml @@ -2,23 +2,26 @@ name: pedometer description: A new Flutter FFI plugin project. version: 0.0.1 publish_to: none +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter plugin_platform_interface: ^2.1.8 - jni: ^0.13.0 + jni: ^0.14.2 ffi: ^2.1.2 dev_dependencies: - ffigen: ^16.0.0 - jnigen: ^0.13.1 + analysis_defaults: + path: ../analysis_defaults + ffigen: ^19.1.0 + jnigen: ^0.14.2 flutter_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ^6.0.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/place_tracker/lib/place_details.dart b/place_tracker/lib/place_details.dart index 05ff1fbdfaf..56e5524f24a 100644 --- a/place_tracker/lib/place_details.dart +++ b/place_tracker/lib/place_details.dart @@ -240,10 +240,9 @@ class _Reviews extends StatelessWidget { ), ), Column( - children: - StubData.reviewStrings - .map((reviewText) => _buildSingleReview(reviewText)) - .toList(), + children: StubData.reviewStrings + .map((reviewText) => _buildSingleReview(reviewText)) + .toList(), ), ], ); @@ -308,17 +307,16 @@ class _StarBar extends StatelessWidget { Widget build(BuildContext context) { return Row( mainAxisAlignment: MainAxisAlignment.center, - children: - List.generate(maxStars, (index) { - return IconButton( - icon: const Icon(Icons.star), - iconSize: 40, - color: rating > index ? Colors.amber : Colors.grey[400], - onPressed: () { - onChanged(index + 1); - }, - ); - }).toList(), + children: List.generate(maxStars, (index) { + return IconButton( + icon: const Icon(Icons.star), + iconSize: 40, + color: rating > index ? Colors.amber : Colors.grey[400], + onPressed: () { + onChanged(index + 1); + }, + ); + }).toList(), ); } } diff --git a/place_tracker/lib/place_list.dart b/place_tracker/lib/place_list.dart index 46a9e29c954..d6e10d5797c 100644 --- a/place_tracker/lib/place_list.dart +++ b/place_tracker/lib/place_list.dart @@ -33,11 +33,10 @@ class _PlaceListState extends State { padding: const EdgeInsets.fromLTRB(16.0, 0.0, 16.0, 8.0), controller: _scrollController, shrinkWrap: true, - children: - state.places - .where((place) => place.category == state.selectedCategory) - .map((place) => _PlaceListTile(place: place)) - .toList(), + children: state.places + .where((place) => place.category == state.selectedCategory) + .map((place) => _PlaceListTile(place: place)) + .toList(), ), ), ], @@ -158,17 +157,15 @@ class _PlaceListTile extends StatelessWidget { maxLines: 3, ), Row( - children: - List.generate(5, (index) { - return Icon( - Icons.star, - size: 28.0, - color: - place.starRating > index - ? Colors.amber - : Colors.grey[400], - ); - }).toList(), + children: List.generate(5, (index) { + return Icon( + Icons.star, + size: 28.0, + color: place.starRating > index + ? Colors.amber + : Colors.grey[400], + ); + }).toList(), ), Text( place.description ?? '', diff --git a/place_tracker/lib/place_map.dart b/place_tracker/lib/place_map.dart index ffebe88fa35..0d6a8842584 100644 --- a/place_tracker/lib/place_map.dart +++ b/place_tracker/lib/place_map.dart @@ -273,13 +273,16 @@ class _PlaceMapState extends State { newConfiguration.selectedCategory) { // If the configuration change is only a category change, just update // the marker visibilities. - await _showPlacesForSelectedCategory(newConfiguration.selectedCategory); + await _showPlacesForSelectedCategory( + newConfiguration.selectedCategory, + ); } else { // At this point, we know the places have been updated from the list // view. We need to reconfigure the map to respect the updates. for (final place in newConfiguration.places) { - final oldPlace = - _configuration!.places.where((p) => p.id == place.id).firstOrNull; + final oldPlace = _configuration!.places + .where((p) => p.id == place.id) + .firstOrNull; if (oldPlace == null || oldPlace != place) { // New place or updated place. _updateExistingPlaceMarker(place: place); @@ -342,7 +345,10 @@ class _PlaceMapState extends State { } Future _switchSelectedCategory(PlaceCategory category) async { - Provider.of(context, listen: false).setSelectedCategory(category); + Provider.of( + context, + listen: false, + ).setSelectedCategory(category); await _showPlacesForSelectedCategory(category); } @@ -355,11 +361,16 @@ class _PlaceMapState extends State { final updatedMarker = marker.copyWith( infoWindowParam: InfoWindow( title: place.name, - snippet: - place.starRating != 0 ? '${place.starRating} Star Rating' : null, + snippet: place.starRating != 0 + ? '${place.starRating} Star Rating' + : null, ), ); - _updateMarker(marker: marker, updatedMarker: updatedMarker, place: place); + _updateMarker( + marker: marker, + updatedMarker: updatedMarker, + place: place, + ); }); } @@ -502,8 +513,8 @@ class _CategoryButtonBar extends StatelessWidget { style: FilledButton.styleFrom( backgroundColor: selectedPlaceCategory == PlaceCategory.favorite - ? Colors.green[700] - : Colors.lightGreen, + ? Colors.green[700] + : Colors.lightGreen, ), onPressed: () => onChanged(PlaceCategory.favorite), child: const Text( @@ -515,8 +526,8 @@ class _CategoryButtonBar extends StatelessWidget { style: FilledButton.styleFrom( backgroundColor: selectedPlaceCategory == PlaceCategory.visited - ? Colors.green[700] - : Colors.lightGreen, + ? Colors.green[700] + : Colors.lightGreen, ), onPressed: () => onChanged(PlaceCategory.visited), child: const Text( @@ -528,8 +539,8 @@ class _CategoryButtonBar extends StatelessWidget { style: FilledButton.styleFrom( backgroundColor: selectedPlaceCategory == PlaceCategory.wantToGo - ? Colors.green[700] - : Colors.lightGreen, + ? Colors.green[700] + : Colors.lightGreen, ), onPressed: () => onChanged(PlaceCategory.wantToGo), child: const Text( diff --git a/place_tracker/pubspec.yaml b/place_tracker/pubspec.yaml index 23048911442..3bdda822fde 100644 --- a/place_tracker/pubspec.yaml +++ b/place_tracker/pubspec.yaml @@ -1,27 +1,25 @@ name: place_tracker description: A new Flutter project. - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - cupertino_icons: ^1.0.0 google_maps_flutter: ^2.2.0 provider: ^6.0.2 uuid: ^4.0.0 - go_router: ">=10.0.0 <16.0.0" + go_router: ^16.0.0 dev_dependencies: analysis_defaults: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: assets: - assets/ diff --git a/platform_channels/lib/main.dart b/platform_channels/lib/main.dart index 29c69570dc2..53fb0be9e57 100644 --- a/platform_channels/lib/main.dart +++ b/platform_channels/lib/main.dart @@ -22,7 +22,9 @@ class PlatformChannelSample extends StatelessWidget { return MaterialApp.router( title: 'Platform Channel Sample', theme: ThemeData( - snackBarTheme: SnackBarThemeData(backgroundColor: Colors.blue[500]), + snackBarTheme: SnackBarThemeData( + backgroundColor: Colors.blue[500], + ), ), routerConfig: router(), ); diff --git a/platform_channels/lib/src/add_pet_details.dart b/platform_channels/lib/src/add_pet_details.dart index 756189f2433..6da6ced6679 100644 --- a/platform_channels/lib/src/add_pet_details.dart +++ b/platform_channels/lib/src/add_pet_details.dart @@ -31,7 +31,10 @@ class _AddPetDetailsState extends State { icon: const Icon(Icons.add), onPressed: () { PetListMessageChannel.addPetDetails( - PetDetails(petType: petType, breed: breedTextController.text), + PetDetails( + petType: petType, + breed: breedTextController.text, + ), ); context.pop(); @@ -41,40 +44,36 @@ class _AddPetDetailsState extends State { ), body: Padding( padding: const EdgeInsets.all(8.0), - child: Column( - children: [ - const SizedBox(height: 8), - TextField( - controller: breedTextController, - decoration: const InputDecoration( - border: OutlineInputBorder(), - filled: true, - hintText: 'Breed of pet', - labelText: 'Breed', + child: RadioGroup( + groupValue: petType, + onChanged: (value) { + setState(() { + petType = value!; + }); + }, + child: Column( + children: [ + const SizedBox(height: 8), + TextField( + controller: breedTextController, + decoration: const InputDecoration( + border: OutlineInputBorder(), + filled: true, + hintText: 'Breed of pet', + labelText: 'Breed', + ), ), - ), - const SizedBox(height: 8), - RadioListTile( - title: const Text('Dog'), - value: 'Dog', - groupValue: petType, - onChanged: (value) { - setState(() { - petType = value!; - }); - }, - ), - RadioListTile( - title: const Text('Cat'), - value: 'Cat', - groupValue: petType, - onChanged: (value) { - setState(() { - petType = value!; - }); - }, - ), - ], + const SizedBox(height: 8), + RadioListTile( + title: const Text('Dog'), + value: 'Dog', + ), + RadioListTile( + title: const Text('Cat'), + value: 'Cat', + ), + ], + ), ), ), ); diff --git a/platform_channels/lib/src/counter_method_channel.dart b/platform_channels/lib/src/counter_method_channel.dart index f6c6a2edd63..38b948a7dcb 100644 --- a/platform_channels/lib/src/counter_method_channel.dart +++ b/platform_channels/lib/src/counter_method_channel.dart @@ -11,7 +11,9 @@ class Counter { /// Creates a [MethodChannel] with the specified name to invoke platform method. /// In order to communicate across platforms, the name of MethodChannel /// should be same on native and dart side. - static MethodChannel methodChannel = const MethodChannel('methodChannelDemo'); + static MethodChannel methodChannel = const MethodChannel( + 'methodChannelDemo', + ); /// This method is responsible to increment and return the value of count. static Future increment({required int counterValue}) async { diff --git a/platform_channels/lib/src/method_channel_demo.dart b/platform_channels/lib/src/method_channel_demo.dart index c12f323f664..e3ecf024b93 100644 --- a/platform_channels/lib/src/method_channel_demo.dart +++ b/platform_channels/lib/src/method_channel_demo.dart @@ -39,7 +39,9 @@ class _MethodChannelDemoState extends State { FilledButton.icon( onPressed: () async { try { - final value = await Counter.increment(counterValue: count); + final value = await Counter.increment( + counterValue: count, + ); setState(() => count = value); } catch (error) { if (!context.mounted) return; @@ -58,7 +60,9 @@ class _MethodChannelDemoState extends State { FilledButton.icon( onPressed: () async { try { - final value = await Counter.decrement(counterValue: count); + final value = await Counter.decrement( + counterValue: count, + ); setState(() => count = value); } catch (error) { if (!context.mounted) return; diff --git a/platform_channels/lib/src/pet_list_message_channel.dart b/platform_channels/lib/src/pet_list_message_channel.dart index defb6f6ea9e..d9ed6275801 100644 --- a/platform_channels/lib/src/pet_list_message_channel.dart +++ b/platform_channels/lib/src/pet_list_message_channel.dart @@ -34,7 +34,9 @@ class PetListMessageChannel { /// we will throw a [PlatformException]. static Future removePet(int index) async { final uInt8List = utf8.encoder.convert(index.toString()); - final reply = await _binaryCodecChannel.send(uInt8List.buffer.asByteData()); + final reply = await _binaryCodecChannel.send( + uInt8List.buffer.asByteData(), + ); if (reply == null) { throw PlatformException( code: 'INVALID INDEX', diff --git a/platform_channels/lib/src/pet_list_screen.dart b/platform_channels/lib/src/pet_list_screen.dart index 34dc810eb35..caf821b388c 100644 --- a/platform_channels/lib/src/pet_list_screen.dart +++ b/platform_channels/lib/src/pet_list_screen.dart @@ -56,10 +56,9 @@ class _PetListScreenState extends State { context.go('/petListScreen/addPetDetails'); }, ), - body: - petListModel.petList.isEmpty - ? const Center(child: Text('Enter Pet Details')) - : BuildPetList(petListModel.petList), + body: petListModel.petList.isEmpty + ? const Center(child: Text('Enter Pet Details')) + : BuildPetList(petListModel.petList), ); } } diff --git a/platform_channels/lib/src/platform_image_demo.dart b/platform_channels/lib/src/platform_image_demo.dart index 4a801781142..6e981cb1cce 100644 --- a/platform_channels/lib/src/platform_image_demo.dart +++ b/platform_channels/lib/src/platform_image_demo.dart @@ -45,7 +45,10 @@ class _PlatformImageDemoState extends State { ); } else if (snapshot.connectionState == ConnectionState.done) { - return Image.memory(snapshot.data!, fit: BoxFit.fill); + return Image.memory( + snapshot.data!, + fit: BoxFit.fill, + ); } return const CircularProgressIndicator(); }, @@ -54,14 +57,13 @@ class _PlatformImageDemoState extends State { ), const SizedBox(height: 16), FilledButton( - onPressed: - imageData != null - ? null - : () { - setState(() { - imageData = PlatformImageFetcher.getImage(); - }); - }, + onPressed: imageData != null + ? null + : () { + setState(() { + imageData = PlatformImageFetcher.getImage(); + }); + }, child: const Text('Get Image'), ), ], diff --git a/platform_channels/pubspec.yaml b/platform_channels/pubspec.yaml index 5c58e4d239b..7ebe27e07b1 100644 --- a/platform_channels/pubspec.yaml +++ b/platform_channels/pubspec.yaml @@ -1,24 +1,22 @@ name: platform_channels description: A new Flutter project. - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - cupertino_icons: ^1.0.3 - go_router: ">=10.1.0 <16.0.0" + go_router: ^16.0.0 dev_dependencies: analysis_defaults: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true assets: diff --git a/platform_channels/test/src/add_pet_details_test.dart b/platform_channels/test/src/add_pet_details_test.dart index fc63ae140ef..dc0ba0351db 100644 --- a/platform_channels/test/src/add_pet_details_test.dart +++ b/platform_channels/test/src/add_pet_details_test.dart @@ -38,7 +38,10 @@ void main() { // Navigate back to /petListScreen await tester.pumpAndSettle(); - expect(router.routeInformationProvider.value.uri.path, '/petListScreen'); + expect( + router.routeInformationProvider.value.uri.path, + '/petListScreen', + ); }); }); } diff --git a/platform_channels/test/src/event_channel_demo_test.dart b/platform_channels/test/src/event_channel_demo_test.dart index 9ca672e403f..1b854f93e89 100644 --- a/platform_channels/test/src/event_channel_demo_test.dart +++ b/platform_channels/test/src/event_channel_demo_test.dart @@ -34,7 +34,9 @@ void main() { if (methodCall.method == 'listen') { // Emit new sensor values. - emitValues(standardMethod.encodeSuccessEnvelope(sensorValues)); + emitValues( + standardMethod.encodeSuccessEnvelope(sensorValues), + ); emitValues(null); return standardMethod.encodeSuccessEnvelope(null); } else if (methodCall.method == 'cancel') { diff --git a/platform_channels/test/src/method_channel_demo_test.dart b/platform_channels/test/src/method_channel_demo_test.dart index fad8f076547..5fea9a5fccb 100644 --- a/platform_channels/test/src/method_channel_demo_test.dart +++ b/platform_channels/test/src/method_channel_demo_test.dart @@ -23,7 +23,9 @@ void main() { return MissingPluginException(); }, ); - await tester.pumpWidget(const MaterialApp(home: MethodChannelDemo())); + await tester.pumpWidget( + const MaterialApp(home: MethodChannelDemo()), + ); // Initially the value of count should be 0. expect(find.text('Value of count is 0'), findsOneWidget); diff --git a/platform_channels/test/src/pet_list_screen_test.dart b/platform_channels/test/src/pet_list_screen_test.dart index c3011704328..2eb8a600089 100644 --- a/platform_channels/test/src/pet_list_screen_test.dart +++ b/platform_channels/test/src/pet_list_screen_test.dart @@ -26,7 +26,9 @@ void main() { setUpAll(() { // Mock for the pet list received from the platform. TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger - .setMockDecodedMessageHandler(basicMessageChannel, (message) async { + .setMockDecodedMessageHandler(basicMessageChannel, ( + message, + ) async { petListModel = PetListModel.fromJson(message!); return null; }); @@ -78,7 +80,9 @@ void main() { testWidgets('BuildPetList test', (tester) async { await tester.pumpWidget( - MaterialApp(home: Scaffold(body: BuildPetList(petListModel!.petList))), + MaterialApp( + home: Scaffold(body: BuildPetList(petListModel!.petList)), + ), ); expect(find.text('Pet type: Dog'), findsOneWidget); diff --git a/platform_channels/test/src/platform_image_demo_test.dart b/platform_channels/test/src/platform_image_demo_test.dart index 65c2bb21572..c46c9f26778 100644 --- a/platform_channels/test/src/platform_image_demo_test.dart +++ b/platform_channels/test/src/platform_image_demo_test.dart @@ -16,11 +16,15 @@ void main() { StandardMessageCodec(), ), (dynamic message) async { - var byteData = await rootBundle.load('assets/eat_new_orleans.jpg'); + var byteData = await rootBundle.load( + 'assets/eat_new_orleans.jpg', + ); return byteData.buffer.asUint8List(); }, ); - await tester.pumpWidget(const MaterialApp(home: PlatformImageDemo())); + await tester.pumpWidget( + const MaterialApp(home: PlatformImageDemo()), + ); // Initially a PlaceHolder is displayed when imageData is null. expect(find.byType(Placeholder), findsOneWidget); diff --git a/platform_design/lib/main.dart b/platform_design/lib/main.dart index 03e10489220..cc1ef223db5 100644 --- a/platform_design/lib/main.dart +++ b/platform_design/lib/main.dart @@ -88,7 +88,10 @@ class _PlatformAdaptingHomePageState extends State { label: SongsTab.title, icon: SongsTab.iosIcon, ), - BottomNavigationBarItem(label: NewsTab.title, icon: NewsTab.iosIcon), + BottomNavigationBarItem( + label: NewsTab.title, + icon: NewsTab.iosIcon, + ), BottomNavigationBarItem( label: ProfileTab.title, icon: ProfileTab.iosIcon, @@ -168,7 +171,9 @@ class _AndroidDrawer extends StatelessWidget { Navigator.pop(context); Navigator.push( context, - MaterialPageRoute(builder: (context) => const ProfileTab()), + MaterialPageRoute( + builder: (context) => const ProfileTab(), + ), ); }, ), @@ -184,7 +189,9 @@ class _AndroidDrawer extends StatelessWidget { Navigator.pop(context); Navigator.push( context, - MaterialPageRoute(builder: (context) => const SettingsTab()), + MaterialPageRoute( + builder: (context) => const SettingsTab(), + ), ); }, ), diff --git a/platform_design/lib/news_tab.dart b/platform_design/lib/news_tab.dart index 26c3a698c00..e4415d3b3d1 100644 --- a/platform_design/lib/news_tab.dart +++ b/platform_design/lib/news_tab.dart @@ -31,7 +31,10 @@ class _NewsTabState extends State { @override void initState() { colors = getRandomColors(_itemsLength); - titles = List.generate(_itemsLength, (index) => generateRandomHeadline()); + titles = List.generate( + _itemsLength, + (index) => generateRandomHeadline(), + ); contents = List.generate( _itemsLength, (index) => lorem(paragraphs: 1, words: 24), @@ -46,7 +49,9 @@ class _NewsTabState extends State { child: Card( elevation: 1.5, margin: const EdgeInsets.fromLTRB(6, 12, 6, 0), - shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(4)), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(4), + ), child: InkWell( // Make it splash on Android. It would happen automatically if this // was a real card but this is just a demo. Skip the splash on iOS. @@ -114,6 +119,9 @@ class _NewsTabState extends State { @override Widget build(context) { - return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); + return PlatformWidget( + androidBuilder: _buildAndroid, + iosBuilder: _buildIos, + ); } } diff --git a/platform_design/lib/profile_tab.dart b/platform_design/lib/profile_tab.dart index ddca7dbe190..6ce9bf57f22 100644 --- a/platform_design/lib/profile_tab.dart +++ b/platform_design/lib/profile_tab.dart @@ -99,7 +99,10 @@ class ProfileTab extends StatelessWidget { @override Widget build(context) { - return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); + return PlatformWidget( + androidBuilder: _buildAndroid, + iosBuilder: _buildIos, + ); } } @@ -243,6 +246,9 @@ class LogOutButton extends StatelessWidget { @override Widget build(context) { - return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); + return PlatformWidget( + androidBuilder: _buildAndroid, + iosBuilder: _buildIos, + ); } } diff --git a/platform_design/lib/settings_tab.dart b/platform_design/lib/settings_tab.dart index d9df9500480..43fa0d8c473 100644 --- a/platform_design/lib/settings_tab.dart +++ b/platform_design/lib/settings_tab.dart @@ -105,6 +105,9 @@ class _SettingsTabState extends State { @override Widget build(context) { - return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); + return PlatformWidget( + androidBuilder: _buildAndroid, + iosBuilder: _buildIos, + ); } } diff --git a/platform_design/lib/song_detail_tab.dart b/platform_design/lib/song_detail_tab.dart index a3d1827fa2b..2236c280758 100644 --- a/platform_design/lib/song_detail_tab.dart +++ b/platform_design/lib/song_detail_tab.dart @@ -42,38 +42,38 @@ class SongDetailTab extends StatelessWidget { // to build while the hero transition is mid-flight. // // It could either be specified here or in SongsTab. - flightShuttleBuilder: ( - context, - animation, - flightDirection, - fromHeroContext, - toHeroContext, - ) { - return HeroAnimatingSongCard( - song: song, - color: color, - heroAnimation: animation, - ); - }, + flightShuttleBuilder: + ( + context, + animation, + flightDirection, + fromHeroContext, + toHeroContext, + ) { + return HeroAnimatingSongCard( + song: song, + color: color, + heroAnimation: animation, + ); + }, ), const Divider(height: 0, color: Colors.grey), Expanded( child: ListView.builder( itemCount: 10, - itemBuilder: - (context, index) => switch (index) { - 0 => const Padding( - padding: EdgeInsets.only(left: 15, top: 16, bottom: 8), - child: Text( - 'You might also like:', - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), + itemBuilder: (context, index) => switch (index) { + 0 => const Padding( + padding: EdgeInsets.only(left: 15, top: 16, bottom: 8), + child: Text( + 'You might also like:', + style: TextStyle( + fontSize: 16, + fontWeight: FontWeight.w500, ), - _ => const SongPlaceholderTile(), - }, + ), + ), + _ => const SongPlaceholderTile(), + }, ), ), ], @@ -86,7 +86,10 @@ class SongDetailTab extends StatelessWidget { // =========================================================================== Widget _buildAndroid(BuildContext context) { - return Scaffold(appBar: AppBar(title: Text(song)), body: _buildBody()); + return Scaffold( + appBar: AppBar(title: Text(song)), + body: _buildBody(), + ); } Widget _buildIos(BuildContext context) { @@ -101,6 +104,9 @@ class SongDetailTab extends StatelessWidget { @override Widget build(context) { - return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); + return PlatformWidget( + androidBuilder: _buildAndroid, + iosBuilder: _buildIos, + ); } } diff --git a/platform_design/lib/songs_tab.dart b/platform_design/lib/songs_tab.dart index 48d8d8f2afb..928b497ac5e 100644 --- a/platform_design/lib/songs_tab.dart +++ b/platform_design/lib/songs_tab.dart @@ -55,10 +55,9 @@ class _SongsTabState extends State { // Show a slightly different color palette. Show poppy-ier colors on iOS // due to lighter contrasting bars and tone it down on Android. - final color = - defaultTargetPlatform == TargetPlatform.iOS - ? colors[index] - : colors[index].shade400; + final color = defaultTargetPlatform == TargetPlatform.iOS + ? colors[index] + : colors[index].shade400; return SafeArea( top: false, @@ -69,17 +68,15 @@ class _SongsTabState extends State { song: songNames[index], color: color, heroAnimation: const AlwaysStoppedAnimation(0), - onPressed: - () => Navigator.of(context).push( - MaterialPageRoute( - builder: - (context) => SongDetailTab( - id: index, - song: songNames[index], - color: color, - ), - ), + onPressed: () => Navigator.of(context).push( + MaterialPageRoute( + builder: (context) => SongDetailTab( + id: index, + song: songNames[index], + color: color, ), + ), + ), ), ), ); @@ -117,8 +114,8 @@ class _SongsTabState extends State { actions: [ IconButton( icon: const Icon(Icons.refresh), - onPressed: - () async => await _androidRefreshKey.currentState!.show(), + onPressed: () async => + await _androidRefreshKey.currentState!.show(), ), IconButton( icon: const Icon(Icons.shuffle), @@ -168,6 +165,9 @@ class _SongsTabState extends State { @override Widget build(context) { - return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); + return PlatformWidget( + androidBuilder: _buildAndroid, + iosBuilder: _buildIos, + ); } } diff --git a/platform_design/lib/utils.dart b/platform_design/lib/utils.dart index e7fa1e8e8dd..c26417fd56b 100644 --- a/platform_design/lib/utils.dart +++ b/platform_design/lib/utils.dart @@ -54,7 +54,9 @@ String generateRandomHeadline() { List getRandomColors(int amount) { return List.generate(amount, (index) { - return _myListOfRandomColors[_random.nextInt(_myListOfRandomColors.length)]; + return _myListOfRandomColors[_random.nextInt( + _myListOfRandomColors.length, + )]; }); } diff --git a/platform_design/lib/widgets.dart b/platform_design/lib/widgets.dart index 7189998c16a..439f276dcb0 100644 --- a/platform_design/lib/widgets.dart +++ b/platform_design/lib/widgets.dart @@ -113,7 +113,10 @@ class _PressableCardState extends State scale: 1 - elevationAnimation.value * 0.03, child: Padding( padding: - const EdgeInsets.symmetric(vertical: 16, horizontal: 16) * + const EdgeInsets.symmetric( + vertical: 16, + horizontal: 16, + ) * flatten, child: PhysicalModel( elevation: @@ -303,18 +306,22 @@ void showChoices(BuildContext context, List choices) { contentPadding: const EdgeInsets.only(top: 12), content: StatefulBuilder( builder: (context, setState) { - return Column( - mainAxisSize: MainAxisSize.min, - children: List.generate(choices.length, (index) { - return RadioListTile( - title: Text(choices[index]), - value: index, - groupValue: selectedRadio, - onChanged: (value) { - setState(() => selectedRadio = value); - }, - ); - }), + return RadioGroup( + groupValue: selectedRadio, + onChanged: (value) { + setState(() => selectedRadio = value); + }, + child: Column( + mainAxisSize: MainAxisSize.min, + children: List.generate(choices.length, ( + index, + ) { + return RadioListTile( + title: Text(choices[index]), + value: index, + ); + }), + ), ); }, ), @@ -343,7 +350,9 @@ void showChoices(BuildContext context, List choices) { useMagnifier: true, magnification: 1.1, itemExtent: 40, - scrollController: FixedExtentScrollController(initialItem: 1), + scrollController: FixedExtentScrollController( + initialItem: 1, + ), children: List.generate(choices.length, (index) { return Center( child: Text( diff --git a/platform_design/pubspec.yaml b/platform_design/pubspec.yaml index d91118cf6e1..53709dad031 100644 --- a/platform_design/pubspec.yaml +++ b/platform_design/pubspec.yaml @@ -1,16 +1,16 @@ name: platform_design description: A project showcasing a Flutter app following different platform IA conventions. version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: english_words: ^4.0.0 flutter_lorem: ^2.0.0 flutter: sdk: flutter - cupertino_icons: ^1.0.2 dev_dependencies: @@ -18,6 +18,5 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true diff --git a/platform_view_swift/.gitignore b/platform_view_swift/.gitignore index 2ddde2a5e36..63c92031499 100644 --- a/platform_view_swift/.gitignore +++ b/platform_view_swift/.gitignore @@ -55,6 +55,7 @@ **/ios/**/profile **/ios/**/xcuserdata **/ios/.generated/ +**/ios/Flutter/ephemeral/ **/ios/Flutter/App.framework **/ios/Flutter/Flutter.framework **/ios/Flutter/Generated.xcconfig diff --git a/platform_view_swift/pubspec.yaml b/platform_view_swift/pubspec.yaml index 159ee998402..22c2b7d097c 100644 --- a/platform_view_swift/pubspec.yaml +++ b/platform_view_swift/pubspec.yaml @@ -1,15 +1,14 @@ name: platform_view_swift description: A new Flutter project. - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - cupertino_icons: ^1.0.4 dev_dependencies: @@ -17,6 +16,5 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true diff --git a/provider_counter/lib/main.dart b/provider_counter/lib/main.dart index 1a6bdd03505..fff4e289fd4 100644 --- a/provider_counter/lib/main.dart +++ b/provider_counter/lib/main.dart @@ -32,7 +32,8 @@ const double windowWidth = 360; const double windowHeight = 640; void setupWindow() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { + if (!kIsWeb && + (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { WidgetsFlutterBinding.ensureInitialized(); setWindowTitle('Provider Counter'); setWindowMinSize(const Size(windowWidth, windowHeight)); @@ -92,11 +93,10 @@ class MyHomePage extends StatelessWidget { // Then it uses that model to build widgets, and will trigger // rebuilds if the model is updated. Consumer( - builder: - (context, counter, child) => Text( - '${counter.value}', - style: Theme.of(context).textTheme.headlineMedium, - ), + builder: (context, counter, child) => Text( + '${counter.value}', + style: Theme.of(context).textTheme.headlineMedium, + ), ), ], ), diff --git a/provider_counter/pubspec.yaml b/provider_counter/pubspec.yaml index 1aa8464ce1a..ebf2cc39116 100644 --- a/provider_counter/pubspec.yaml +++ b/provider_counter/pubspec.yaml @@ -3,14 +3,14 @@ description: > The starter Flutter application, but using Provider to manage state. publish_to: none version: 1.0.0 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - provider: ^6.0.2 cupertino_icons: ^1.0.3 window_size: @@ -23,6 +23,5 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true diff --git a/provider_shopper/lib/main.dart b/provider_shopper/lib/main.dart index 111e9fe9ff6..395f2da1d88 100644 --- a/provider_shopper/lib/main.dart +++ b/provider_shopper/lib/main.dart @@ -25,7 +25,8 @@ const double windowWidth = 400; const double windowHeight = 800; void setupWindow() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { + if (!kIsWeb && + (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { WidgetsFlutterBinding.ensureInitialized(); setWindowTitle('Provider Demo'); setWindowMinSize(const Size(windowWidth, windowHeight)); @@ -46,12 +47,18 @@ GoRouter router() { return GoRouter( initialLocation: '/login', routes: [ - GoRoute(path: '/login', builder: (context, state) => const MyLogin()), + GoRoute( + path: '/login', + builder: (context, state) => const MyLogin(), + ), GoRoute( path: '/catalog', builder: (context, state) => const MyCatalog(), routes: [ - GoRoute(path: 'cart', builder: (context, state) => const MyCart()), + GoRoute( + path: 'cart', + builder: (context, state) => const MyCart(), + ), ], ), ], diff --git a/provider_shopper/lib/screens/cart.dart b/provider_shopper/lib/screens/cart.dart index 9e063600b78..b90e866e3ca 100644 --- a/provider_shopper/lib/screens/cart.dart +++ b/provider_shopper/lib/screens/cart.dart @@ -13,7 +13,10 @@ class MyCart extends StatelessWidget { Widget build(BuildContext context) { return Scaffold( appBar: AppBar( - title: Text('Cart', style: Theme.of(context).textTheme.displayLarge), + title: Text( + 'Cart', + style: Theme.of(context).textTheme.displayLarge, + ), backgroundColor: Colors.white, ), body: Container( @@ -46,17 +49,16 @@ class _CartList extends StatelessWidget { return ListView.builder( itemCount: cart.items.length, - itemBuilder: - (context, index) => ListTile( - leading: const Icon(Icons.done), - trailing: IconButton( - icon: const Icon(Icons.remove_circle_outline), - onPressed: () { - cart.remove(cart.items[index]); - }, - ), - title: Text(cart.items[index].name, style: itemNameStyle), - ), + itemBuilder: (context, index) => ListTile( + leading: const Icon(Icons.done), + trailing: IconButton( + icon: const Icon(Icons.remove_circle_outline), + onPressed: () { + cart.remove(cart.items[index]); + }, + ), + title: Text(cart.items[index].name, style: itemNameStyle), + ), ); } } @@ -81,15 +83,16 @@ class _CartTotal extends StatelessWidget { // The important thing is that it will not rebuild // the rest of the widgets in this build method. Consumer( - builder: - (context, cart, child) => - Text('\$${cart.totalPrice}', style: hugeStyle), + builder: (context, cart, child) => + Text('\$${cart.totalPrice}', style: hugeStyle), ), const SizedBox(width: 24), FilledButton( onPressed: () { ScaffoldMessenger.of(context).showSnackBar( - const SnackBar(content: Text('Buying not supported yet.')), + const SnackBar( + content: Text('Buying not supported yet.'), + ), ); }, style: TextButton.styleFrom(foregroundColor: Colors.white), diff --git a/provider_shopper/lib/screens/catalog.dart b/provider_shopper/lib/screens/catalog.dart index 555251a74b0..476e1b8b9ca 100644 --- a/provider_shopper/lib/screens/catalog.dart +++ b/provider_shopper/lib/screens/catalog.dart @@ -48,17 +48,16 @@ class _AddButton extends StatelessWidget { ); return TextButton( - onPressed: - isInCart - ? null - : () { - // If the item is not in cart, we let the user add it. - // We are using context.read() here because the callback - // is executed whenever the user taps the button. In other - // words, it is executed outside the build method. - var cart = context.read(); - cart.add(item); - }, + onPressed: isInCart + ? null + : () { + // If the item is not in cart, we let the user add it. + // We are using context.read() here because the callback + // is executed whenever the user taps the button. In other + // words, it is executed outside the build method. + var cart = context.read(); + cart.add(item); + }, style: ButtonStyle( overlayColor: WidgetStateProperty.resolveWith((states) { if (states.contains(WidgetState.pressed)) { @@ -67,10 +66,9 @@ class _AddButton extends StatelessWidget { return null; // Defer to the widget's default. }), ), - child: - isInCart - ? const Icon(Icons.check, semanticLabel: 'ADDED') - : const Text('ADD'), + child: isInCart + ? const Icon(Icons.check, semanticLabel: 'ADDED') + : const Text('ADD'), ); } } @@ -79,7 +77,10 @@ class _MyAppBar extends StatelessWidget { @override Widget build(BuildContext context) { return SliverAppBar( - title: Text('Catalog', style: Theme.of(context).textTheme.displayLarge), + title: Text( + 'Catalog', + style: Theme.of(context).textTheme.displayLarge, + ), floating: true, actions: [ IconButton( @@ -111,7 +112,10 @@ class _MyListItem extends StatelessWidget { maxHeight: 48, child: Row( children: [ - AspectRatio(aspectRatio: 1, child: Container(color: item.color)), + AspectRatio( + aspectRatio: 1, + child: Container(color: item.color), + ), const SizedBox(width: 24), Expanded(child: Text(item.name, style: textTheme)), const SizedBox(width: 24), diff --git a/provider_shopper/lib/screens/login.dart b/provider_shopper/lib/screens/login.dart index 9b17ff1a425..6f0cfa40a8a 100644 --- a/provider_shopper/lib/screens/login.dart +++ b/provider_shopper/lib/screens/login.dart @@ -17,7 +17,10 @@ class MyLogin extends StatelessWidget { child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - Text('Welcome', style: Theme.of(context).textTheme.displayLarge), + Text( + 'Welcome', + style: Theme.of(context).textTheme.displayLarge, + ), TextFormField( decoration: const InputDecoration(hintText: 'Username'), ), @@ -30,7 +33,9 @@ class MyLogin extends StatelessWidget { onPressed: () { context.pushReplacement('/catalog'); }, - style: ElevatedButton.styleFrom(backgroundColor: Colors.yellow), + style: ElevatedButton.styleFrom( + backgroundColor: Colors.yellow, + ), child: const Text('ENTER'), ), ], diff --git a/provider_shopper/pubspec.yaml b/provider_shopper/pubspec.yaml index 99c6d258670..2c8524c97df 100644 --- a/provider_shopper/pubspec.yaml +++ b/provider_shopper/pubspec.yaml @@ -1,16 +1,16 @@ name: provider_shopper description: A shopping app sample that uses Provider for state management. publish_to: none - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - go_router: ^15.0.0 + go_router: ^16.0.0 provider: ^6.0.2 window_size: git: @@ -22,7 +22,6 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true diff --git a/pubspec.yaml b/pubspec.yaml new file mode 100644 index 00000000000..b7d3e3c245f --- /dev/null +++ b/pubspec.yaml @@ -0,0 +1,53 @@ +name: samples +description: A collection of samples for Dart and Flutter. + +environment: + sdk: ^3.9.0-0 + +workspace: + - add_to_app/android_view/flutter_module_using_plugin_android_view + - add_to_app/books/flutter_module_books + - add_to_app/fullscreen/flutter_module_fullscreen + - add_to_app/multiple_flutters/multiple_flutters_module + - add_to_app/plugin/flutter_module_using_plugin + - add_to_app/prebuilt_module/flutter_module + - analysis_defaults + - android_splash_screen + - animations + - asset_transformation + - background_isolate_channels + - code_sharing/client + - code_sharing/server + - code_sharing/shared + - compass_app/app + - compass_app/server + - context_menus + - date_planner + - deeplink_store_example + - desktop_photo_search/fluent_ui + - desktop_photo_search/material + - dynamic_theme + - form_app + - game_template + - gemini_tasks + - google_maps + - infinite_list + - ios_app_clip + - isolate_example + - material_3_demo + - navigation_and_routing + - pedometer + - pedometer/example + - place_tracker + - platform_channels + - platform_design + - platform_view_swift + - provider_counter + - provider_shopper + - simple_shader + - simplistic_calculator + - simplistic_editor + - testing_app + - tool + - web_embedding/element_embedding_demo + - web_embedding/ng-flutter/flutter diff --git a/simple_shader/pubspec.yaml b/simple_shader/pubspec.yaml index f71b19ea2d3..cfca8f54dd9 100644 --- a/simple_shader/pubspec.yaml +++ b/simple_shader/pubspec.yaml @@ -2,9 +2,10 @@ name: simple_shader description: Using a shader, simply. publish_to: 'none' version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: @@ -16,7 +17,6 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true shaders: diff --git a/simplistic_calculator/lib/main.dart b/simplistic_calculator/lib/main.dart index 0129f5d1d31..fab60a61e40 100644 --- a/simplistic_calculator/lib/main.dart +++ b/simplistic_calculator/lib/main.dart @@ -13,7 +13,8 @@ import 'package:math_expressions/math_expressions.dart'; import 'package:window_size/window_size.dart'; void main() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { + if (!kIsWeb && + (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { WidgetsFlutterBinding.ensureInitialized(); setWindowTitle('Simplistic Calculator'); setWindowMinSize(const Size(600, 500)); @@ -107,14 +108,16 @@ class CalculatorEngine extends StateNotifier { mode: CalculatorEngineMode.result, ); default: - final resultStr = - result.ceil() == result - ? result.toInt().toString() - : result.toString(); + final resultStr = result.ceil() == result + ? result.toInt().toString() + : result.toString(); state = state.copyWith( buffer: resultStr, mode: CalculatorEngineMode.result, - calcHistory: ['${state.buffer} = $resultStr', ...state.calcHistory], + calcHistory: [ + '${state.buffer} = $resultStr', + ...state.calcHistory, + ], ); } } catch (err) { @@ -379,26 +382,25 @@ class CalculatorApp extends ConsumerWidget { horizontal: 8, vertical: 8, ), - child: - state.error.isEmpty - ? AutoSizeText( - state.buffer, - textAlign: TextAlign.end, - style: const TextStyle( - fontSize: 80, - color: Colors.black, - ), - maxLines: 2, - ) - : AutoSizeText( - state.error, - textAlign: TextAlign.start, - style: const TextStyle( - fontSize: 80, - color: Colors.red, - ), - maxLines: 2, + child: state.error.isEmpty + ? AutoSizeText( + state.buffer, + textAlign: TextAlign.end, + style: const TextStyle( + fontSize: 80, + color: Colors.black, ), + maxLines: 2, + ) + : AutoSizeText( + state.error, + textAlign: TextAlign.start, + style: const TextStyle( + fontSize: 80, + color: Colors.red, + ), + maxLines: 2, + ), ), ), ), diff --git a/simplistic_calculator/pubspec.yaml b/simplistic_calculator/pubspec.yaml index 41a86b172fb..2f59b1b5d3c 100644 --- a/simplistic_calculator/pubspec.yaml +++ b/simplistic_calculator/pubspec.yaml @@ -2,9 +2,10 @@ name: simplistic_calculator description: A new Flutter project. publish_to: 'none' version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: auto_size_text: ^3.0.0 @@ -15,10 +16,10 @@ dependencies: sdk: flutter flutter_layout_grid: ^2.0.1 flutter_riverpod: ^2.0.2 - math_expressions: ^2.3.0 - window_size: + math_expressions: ^2.7.0 + window_size: git: - url: https://github.com/google/flutter-desktop-embedding + url: https://github.com/google/flutter-desktop-embedding.git path: plugins/window_size dev_dependencies: @@ -26,6 +27,5 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - flutter: uses-material-design: true diff --git a/simplistic_editor/lib/app_state.dart b/simplistic_editor/lib/app_state.dart index e90a10167bb..f6be194048f 100644 --- a/simplistic_editor/lib/app_state.dart +++ b/simplistic_editor/lib/app_state.dart @@ -53,7 +53,9 @@ class AppStateWidgetState extends State { toggleButtonsState: {}, ); - void updateTextEditingDeltaHistory(List textEditingDeltas) { + void updateTextEditingDeltaHistory( + List textEditingDeltas, + ) { _data = _data.copyWith( textEditingDeltaHistory: [ ..._data.textEditingDeltaHistory, @@ -76,11 +78,12 @@ class AppStateWidgetState extends State { if (replacementStyles.isEmpty) { _data = _data.copyWith( - toggleButtonsState: Set.from(_data.toggleButtonsState)..removeAll({ - ToggleButtonsState.bold, - ToggleButtonsState.italic, - ToggleButtonsState.underline, - }), + toggleButtonsState: Set.from(_data.toggleButtonsState) + ..removeAll({ + ToggleButtonsState.bold, + ToggleButtonsState.italic, + ToggleButtonsState.underline, + }), ); } @@ -180,7 +183,8 @@ class AppStateWidgetState extends State { controller.applyReplacement( TextEditingInlineSpanReplacement( replacementRange, - (string, range) => TextSpan(text: string, style: attributeMap[index]), + (string, range) => + TextSpan(text: string, style: attributeMap[index]), true, ), ); diff --git a/simplistic_editor/lib/app_state_manager.dart b/simplistic_editor/lib/app_state_manager.dart index 3f9120d860f..c2ce6c046ec 100644 --- a/simplistic_editor/lib/app_state_manager.dart +++ b/simplistic_editor/lib/app_state_manager.dart @@ -10,8 +10,8 @@ class AppStateManager extends InheritedWidget { }) : _appState = state; static AppStateManager of(BuildContext context) { - final AppStateManager? result = - context.dependOnInheritedWidgetOfExactType(); + final AppStateManager? result = context + .dependOnInheritedWidgetOfExactType(); assert(result != null, 'No AppStateManager found in context'); return result!; } diff --git a/simplistic_editor/lib/basic_text_field.dart b/simplistic_editor/lib/basic_text_field.dart index fad6d733d71..ef57695b747 100644 --- a/simplistic_editor/lib/basic_text_field.dart +++ b/simplistic_editor/lib/basic_text_field.dart @@ -89,7 +89,9 @@ class _BasicTextFieldState extends State { TextSelection selection, SelectionChangedCause? cause, ) { - final bool willShowSelectionHandles = _shouldShowSelectionHandles(cause); + final bool willShowSelectionHandles = _shouldShowSelectionHandles( + cause, + ); if (willShowSelectionHandles != _showSelectionHandles) { setState(() { _showSelectionHandles = willShowSelectionHandles; @@ -98,16 +100,15 @@ class _BasicTextFieldState extends State { } void _onDragUpdate(DragUpdateDetails details) { - final Offset startOffset = - _renderEditable.maxLines == 1 - ? Offset( - _renderEditable.offset.pixels - _dragStartViewportOffset, - 0.0, - ) - : Offset( - 0.0, - _renderEditable.offset.pixels - _dragStartViewportOffset, - ); + final Offset startOffset = _renderEditable.maxLines == 1 + ? Offset( + _renderEditable.offset.pixels - _dragStartViewportOffset, + 0.0, + ) + : Offset( + 0.0, + _renderEditable.offset.pixels - _dragStartViewportOffset, + ); _renderEditable.selectPositionAt( from: _startDetails.globalPosition - startOffset, @@ -190,12 +191,12 @@ class _BasicTextFieldState extends State { ); } }, - onLongPressEnd: - (longPressEndDetails) => _textInputClient!.showToolbar(), - onHorizontalDragStart: - (dragStartDetails) => _onDragStart(dragStartDetails), - onHorizontalDragUpdate: - (dragUpdateDetails) => _onDragUpdate(dragUpdateDetails), + onLongPressEnd: (longPressEndDetails) => + _textInputClient!.showToolbar(), + onHorizontalDragStart: (dragStartDetails) => + _onDragStart(dragStartDetails), + onHorizontalDragUpdate: (dragUpdateDetails) => + _onDragUpdate(dragUpdateDetails), child: SizedBox( height: double.infinity, width: MediaQuery.of(context).size.width, diff --git a/simplistic_editor/lib/basic_text_input_client.dart b/simplistic_editor/lib/basic_text_input_client.dart index c368813a684..94af99e7d8d 100644 --- a/simplistic_editor/lib/basic_text_input_client.dart +++ b/simplistic_editor/lib/basic_text_input_client.dart @@ -63,8 +63,9 @@ class BasicTextInputClientState extends State with TextSelectionDelegate, TextInputClient, DeltaTextInputClient { final GlobalKey _textKey = GlobalKey(); late AppStateWidgetState manager; - final ClipboardStatusNotifier? _clipboardStatus = - kIsWeb ? null : ClipboardStatusNotifier(); + final ClipboardStatusNotifier? _clipboardStatus = kIsWeb + ? null + : ClipboardStatusNotifier(); @override void initState() { @@ -180,7 +181,9 @@ class BasicTextInputClientState extends State } @override - void updateEditingValueWithDeltas(List textEditingDeltas) { + void updateEditingValueWithDeltas( + List textEditingDeltas, + ) { TextEditingValue value = _value; for (final TextEditingDelta delta in textEditingDeltas) { @@ -388,9 +391,8 @@ class BasicTextInputClientState extends State ), ExtendSelectionByCharacterIntent: CallbackAction( - onInvoke: - (intent) => - _extendSelection(intent.forward, intent.collapseSelection), + onInvoke: (intent) => + _extendSelection(intent.forward, intent.collapseSelection), ), SelectAllTextIntent: CallbackAction( onInvoke: (intent) => selectAll(intent.cause), @@ -401,7 +403,9 @@ class BasicTextInputClientState extends State PasteTextIntent: CallbackAction( onInvoke: (intent) => pasteText(intent.cause), ), - DoNothingAndStopPropagationTextIntent: DoNothingAction(consumesKey: false), + DoNothingAndStopPropagationTextIntent: DoNothingAction( + consumesKey: false, + ), ..._unsupportedActions, }; @@ -458,47 +462,47 @@ class BasicTextInputClientState extends State if (collapseSelection) { if (!_selection.isCollapsed) { - final int firstOffset = - _selection.isNormalized ? _selection.start : _selection.end; - final int lastOffset = - _selection.isNormalized ? _selection.end : _selection.start; + final int firstOffset = _selection.isNormalized + ? _selection.start + : _selection.end; + final int lastOffset = _selection.isNormalized + ? _selection.end + : _selection.start; selection = TextSelection.collapsed( offset: forward ? lastOffset : firstOffset, ); } else { if (forward && _selection.baseOffset == _value.text.length) return; if (!forward && _selection.baseOffset == 0) return; - final int adjustment = - forward - ? _value.text - .substring(_selection.baseOffset) - .characters - .first - .length - : -_value.text - .substring(0, _selection.baseOffset) - .characters - .last - .length; - selection = TextSelection.collapsed( - offset: _selection.baseOffset + adjustment, - ); - } - } else { - if (forward && _selection.extentOffset == _value.text.length) return; - if (!forward && _selection.extentOffset == 0) return; - final int adjustment = - forward - ? _value.text + final int adjustment = forward + ? _value.text .substring(_selection.baseOffset) .characters .first .length - : -_value.text + : -_value.text .substring(0, _selection.baseOffset) .characters .last .length; + selection = TextSelection.collapsed( + offset: _selection.baseOffset + adjustment, + ); + } + } else { + if (forward && _selection.extentOffset == _value.text.length) return; + if (!forward && _selection.extentOffset == 0) return; + final int adjustment = forward + ? _value.text + .substring(_selection.baseOffset) + .characters + .first + .length + : -_value.text + .substring(0, _selection.baseOffset) + .characters + .last + .length; selection = TextSelection( baseOffset: _selection.baseOffset, extentOffset: _selection.extentOffset + adjustment, @@ -691,7 +695,9 @@ class BasicTextInputClientState extends State final TextSelection pasteRange = textEditingValue.selection; if (!pasteRange.isValid) return; - final ClipboardData? data = await Clipboard.getData(Clipboard.kTextPlain); + final ClipboardData? data = await Clipboard.getData( + Clipboard.kTextPlain, + ); if (data == null) return; // After the paste, the cursor should be collapsed and located after the @@ -846,7 +852,8 @@ class BasicTextInputClientState extends State requestKeyboard(); } } - if (widget.selectionControls == null && widget.contextMenuBuilder == null) { + if (widget.selectionControls == null && + widget.contextMenuBuilder == null) { _selectionOverlay?.dispose(); _selectionOverlay = null; } else { @@ -891,41 +898,43 @@ class BasicTextInputClientState extends State onSelectionHandleTapped: () { _toggleToolbar(); }, - contextMenuBuilder: - widget.contextMenuBuilder == null || kIsWeb - ? null - : (context) { - return widget.contextMenuBuilder!( - context, - _clipboardStatus!.value, - copyEnabled - ? () => copySelection(SelectionChangedCause.toolbar) - : null, - cutEnabled - ? () => cutSelection(SelectionChangedCause.toolbar) - : null, - pasteEnabled - ? () => pasteText(SelectionChangedCause.toolbar) - : null, - selectAllEnabled - ? () => selectAll(SelectionChangedCause.toolbar) - : null, - lookUpEnabled - ? () => _lookUpSelection(SelectionChangedCause.toolbar) - : null, - liveTextInputEnabled - ? () => _startLiveTextInput(SelectionChangedCause.toolbar) - : null, - searchWebEnabled - ? () => - _searchWebForSelection(SelectionChangedCause.toolbar) - : null, - shareEnabled - ? () => _shareSelection(SelectionChangedCause.toolbar) - : null, - _contextMenuAnchors, - ); - }, + contextMenuBuilder: widget.contextMenuBuilder == null || kIsWeb + ? null + : (context) { + return widget.contextMenuBuilder!( + context, + _clipboardStatus!.value, + copyEnabled + ? () => copySelection(SelectionChangedCause.toolbar) + : null, + cutEnabled + ? () => cutSelection(SelectionChangedCause.toolbar) + : null, + pasteEnabled + ? () => pasteText(SelectionChangedCause.toolbar) + : null, + selectAllEnabled + ? () => selectAll(SelectionChangedCause.toolbar) + : null, + lookUpEnabled + ? () => _lookUpSelection(SelectionChangedCause.toolbar) + : null, + liveTextInputEnabled + ? () => _startLiveTextInput( + SelectionChangedCause.toolbar, + ) + : null, + searchWebEnabled + ? () => _searchWebForSelection( + SelectionChangedCause.toolbar, + ) + : null, + shareEnabled + ? () => _shareSelection(SelectionChangedCause.toolbar) + : null, + _contextMenuAnchors, + ); + }, magnifierConfiguration: TextMagnifierConfiguration.disabled, ); @@ -933,8 +942,8 @@ class BasicTextInputClientState extends State } void _toggleToolbar() { - final TextSelectionOverlay selectionOverlay = - _selectionOverlay ??= _createSelectionOverlay(); + final TextSelectionOverlay selectionOverlay = _selectionOverlay ??= + _createSelectionOverlay(); if (selectionOverlay.toolbarIsVisible) { hideToolbar(false); @@ -1023,8 +1032,9 @@ class BasicTextInputClientState extends State /// For OCR Support. /// Detects whether the Live Text input is enabled. - final LiveTextInputStatusNotifier? _liveTextInputStatus = - kIsWeb ? null : LiveTextInputStatusNotifier(); + final LiveTextInputStatusNotifier? _liveTextInputStatus = kIsWeb + ? null + : LiveTextInputStatusNotifier(); @override bool get liveTextInputEnabled { @@ -1159,7 +1169,9 @@ class BasicTextInputClientState extends State textAlign: TextAlign.left, textDirection: _textDirection, locale: Localizations.maybeLocaleOf(context), - textHeightBehavior: DefaultTextHeightBehavior.maybeOf(context), + textHeightBehavior: DefaultTextHeightBehavior.maybeOf( + context, + ), textWidthBasis: TextWidthBasis.parent, obscuringCharacter: 'β€’', obscureText: @@ -1321,7 +1333,10 @@ class _Editable extends MultiChildRenderObjectWidget { } @override - void updateRenderObject(BuildContext context, RenderEditable renderObject) { + void updateRenderObject( + BuildContext context, + RenderEditable renderObject, + ) { renderObject ..text = inlineSpan ..cursorColor = cursorColor diff --git a/simplistic_editor/lib/formatting_toolbar.dart b/simplistic_editor/lib/formatting_toolbar.dart index 7f023cd4a6f..ef321880e41 100644 --- a/simplistic_editor/lib/formatting_toolbar.dart +++ b/simplistic_editor/lib/formatting_toolbar.dart @@ -31,10 +31,9 @@ class FormattingToolbar extends StatelessWidget { ToggleButtonsState.underline, ), ], - onPressed: - (index) => AppStateWidget.of( - context, - ).updateToggleButtonsStateOnButtonPressed(index), + onPressed: (index) => AppStateWidget.of( + context, + ).updateToggleButtonsStateOnButtonPressed(index), children: const [ Icon(Icons.format_bold), Icon(Icons.format_italic), diff --git a/simplistic_editor/lib/main.dart b/simplistic_editor/lib/main.dart index 970e8b2a988..35a5c1383ba 100644 --- a/simplistic_editor/lib/main.dart +++ b/simplistic_editor/lib/main.dart @@ -49,8 +49,9 @@ class _MyHomePageState extends State { @override void didChangeDependencies() { super.didChangeDependencies(); - _replacementTextEditingController = - AppStateManager.of(context).appState.replacementsController; + _replacementTextEditingController = AppStateManager.of( + context, + ).appState.replacementsController; } static Route _aboutDialogBuilder( @@ -67,11 +68,10 @@ class _MyHomePageState extends State { ' more powerful rich text editing applications such as this small example. This feature is supported on all platforms.'; return DialogRoute( context: context, - builder: - (context) => const AlertDialog( - title: Center(child: Text('About')), - content: Text(aboutContent), - ), + builder: (context) => const AlertDialog( + title: Center(child: Text('About')), + content: Text(aboutContent), + ), ); } @@ -100,7 +100,10 @@ class _MyHomePageState extends State { padding: const EdgeInsets.symmetric(horizontal: 35.0), child: BasicTextField( controller: _replacementTextEditingController, - style: const TextStyle(fontSize: 18.0, color: Colors.black), + style: const TextStyle( + fontSize: 18.0, + color: Colors.black, + ), focusNode: _focusNode, ), ), diff --git a/simplistic_editor/lib/replacements.dart b/simplistic_editor/lib/replacements.dart index a8312ea5fd5..6cbdef39113 100644 --- a/simplistic_editor/lib/replacements.dart +++ b/simplistic_editor/lib/replacements.dart @@ -41,7 +41,11 @@ typedef InlineSpanGenerator = InlineSpan Function(String, TextRange); class TextEditingInlineSpanReplacement { /// Constructs a replacement that replaces matches of the [TextRange] with the /// output of the [generator]. - TextEditingInlineSpanReplacement(this.range, this.generator, this.expand); + TextEditingInlineSpanReplacement( + this.range, + this.generator, + this.expand, + ); /// The [TextRange] to replace. /// @@ -54,7 +58,9 @@ class TextEditingInlineSpanReplacement { bool expand; - TextEditingInlineSpanReplacement? onDelete(TextEditingDeltaDeletion delta) { + TextEditingInlineSpanReplacement? onDelete( + TextEditingDeltaDeletion delta, + ) { final TextRange deletedRange = delta.deletedRange; final int deletedLength = delta.textDeleted.length; @@ -75,7 +81,10 @@ class TextEditingInlineSpanReplacement { } else if (range.start < deletedRange.start && range.end > deletedRange.end) { return copy( - range: TextRange(start: range.start, end: range.end - deletedLength), + range: TextRange( + start: range.start, + end: range.end - deletedLength, + ), ); } else if (range.start >= deletedRange.start && range.end <= deletedRange.end) { @@ -90,7 +99,9 @@ class TextEditingInlineSpanReplacement { ); } else if (range.end <= deletedRange.start && range.end < deletedRange.end) { - return copy(range: TextRange(start: range.start, end: range.end)); + return copy( + range: TextRange(start: range.start, end: range.end), + ); } return null; @@ -105,14 +116,21 @@ class TextEditingInlineSpanReplacement { if (range.end == insertionOffset) { if (expand) { return copy( - range: TextRange(start: range.start, end: range.end + insertedLength), + range: TextRange( + start: range.start, + end: range.end + insertedLength, + ), ); } else { - return copy(range: TextRange(start: range.start, end: range.end)); + return copy( + range: TextRange(start: range.start, end: range.end), + ); } } if (range.start < insertionOffset && range.end < insertionOffset) { - return copy(range: TextRange(start: range.start, end: range.end)); + return copy( + range: TextRange(start: range.start, end: range.end), + ); } else if (range.start >= insertionOffset && range.end > insertionOffset) { return copy( range: TextRange( @@ -122,7 +140,10 @@ class TextEditingInlineSpanReplacement { ); } else if (range.start < insertionOffset && range.end > insertionOffset) { return copy( - range: TextRange(start: range.start, end: range.end + insertedLength), + range: TextRange( + start: range.start, + end: range.end + insertedLength, + ), ); } @@ -139,10 +160,9 @@ class TextEditingInlineSpanReplacement { delta.replacementText.length > delta.textReplaced.length; final bool replacementEqualLength = delta.replacementText.length == delta.textReplaced.length; - final int changedOffset = - replacementShortenedText - ? delta.textReplaced.length - delta.replacementText.length - : delta.replacementText.length - delta.textReplaced.length; + final int changedOffset = replacementShortenedText + ? delta.textReplaced.length - delta.replacementText.length + : delta.replacementText.length - delta.textReplaced.length; if (range.start >= replacedRange.start && (range.start < replacedRange.end && range.end > replacedRange.end)) { @@ -166,20 +186,26 @@ class TextEditingInlineSpanReplacement { ]; } else if (replacementEqualLength) { return [ - copy(range: TextRange(start: replacedRange.end, end: range.end)), + copy( + range: TextRange(start: replacedRange.end, end: range.end), + ), ]; } } else if ((range.start < replacedRange.start && range.end > replacedRange.start) && range.end <= replacedRange.end) { return [ - copy(range: TextRange(start: range.start, end: replacedRange.start)), + copy( + range: TextRange(start: range.start, end: replacedRange.start), + ), ]; } else if (range.start < replacedRange.start && range.end > replacedRange.end) { if (replacementShortenedText) { return [ - copy(range: TextRange(start: range.start, end: replacedRange.start)), + copy( + range: TextRange(start: range.start, end: replacedRange.start), + ), copy( range: TextRange( start: replacedRange.end - changedOffset, @@ -189,7 +215,9 @@ class TextEditingInlineSpanReplacement { ]; } else if (replacementLengthenedText) { return [ - copy(range: TextRange(start: range.start, end: replacedRange.start)), + copy( + range: TextRange(start: range.start, end: replacedRange.start), + ), copy( range: TextRange( start: replacedRange.end + changedOffset, @@ -199,8 +227,12 @@ class TextEditingInlineSpanReplacement { ]; } else if (replacementEqualLength) { return [ - copy(range: TextRange(start: range.start, end: replacedRange.start)), - copy(range: TextRange(start: replacedRange.end, end: range.end)), + copy( + range: TextRange(start: range.start, end: replacedRange.start), + ), + copy( + range: TextRange(start: replacedRange.end, end: range.end), + ), ]; } } else if (range.start >= replacedRange.start && @@ -232,7 +264,11 @@ class TextEditingInlineSpanReplacement { } } else if (range.end <= replacedRange.start && range.end < replacedRange.end) { - return [copy(range: TextRange(start: range.start, end: range.end))]; + return [ + copy( + range: TextRange(start: range.start, end: range.end), + ), + ]; } return null; @@ -250,15 +286,23 @@ class TextEditingInlineSpanReplacement { return this; } - List? removeRange(TextRange removalRange) { + List? removeRange( + TextRange removalRange, + ) { if (range.start >= removalRange.start && (range.start < removalRange.end && range.end > removalRange.end)) { - return [copy(range: TextRange(start: removalRange.end, end: range.end))]; + return [ + copy( + range: TextRange(start: removalRange.end, end: range.end), + ), + ]; } else if ((range.start < removalRange.start && range.end > removalRange.start) && range.end <= removalRange.end) { return [ - copy(range: TextRange(start: range.start, end: removalRange.start)), + copy( + range: TextRange(start: range.start, end: removalRange.start), + ), ]; } else if (range.start < removalRange.start && range.end > removalRange.end) { @@ -267,7 +311,9 @@ class TextEditingInlineSpanReplacement { range: TextRange(start: range.start, end: removalRange.start), expand: removalRange.isCollapsed ? false : expand, ), - copy(range: TextRange(start: removalRange.end, end: range.end)), + copy( + range: TextRange(start: removalRange.end, end: range.end), + ), ]; } else if (range.start >= removalRange.start && range.end <= removalRange.end) { @@ -453,7 +499,9 @@ class ReplacementTextEditingController extends TextEditingController { required bool withComposing, }) { assert( - !value.composing.isValid || !withComposing || value.isComposingRangeValid, + !value.composing.isValid || + !withComposing || + value.isComposingRangeValid, ); // Keep a mapping of TextRanges to the InlineSpan to replace it with. @@ -467,7 +515,10 @@ class ReplacementTextEditingController extends TextEditingController { in replacements!) { _addToMappingWithOverlaps( replacement.generator, - TextRange(start: replacement.range.start, end: replacement.range.end), + TextRange( + start: replacement.range.start, + end: replacement.range.end, + ), rangeSpanMapping, value.text, ); @@ -484,12 +535,11 @@ class ReplacementTextEditingController extends TextEditingController { withComposing) { _addToMappingWithOverlaps( (value, range) { - final TextStyle composingStyle = - style != null - ? style.merge( - const TextStyle(decoration: TextDecoration.underline), - ) - : const TextStyle(decoration: TextDecoration.underline); + final TextStyle composingStyle = style != null + ? style.merge( + const TextStyle(decoration: TextDecoration.underline), + ) + : const TextStyle(decoration: TextDecoration.underline); return TextSpan(style: composingStyle, text: value); }, value.composing, @@ -509,7 +559,9 @@ class ReplacementTextEditingController extends TextEditingController { for (final TextRange range in sortedRanges) { if (range.start > previousEndIndex) { spans.add( - TextSpan(text: value.text.substring(previousEndIndex, range.start)), + TextSpan( + text: value.text.substring(previousEndIndex, range.start), + ), ); } spans.add(rangeSpanMapping[range]!); @@ -624,8 +676,9 @@ class ReplacementTextEditingController extends TextEditingController { } Set styles = {}; - List otherEndPoints = - endPoints.getRange(1, endPoints.length).toList(); + List otherEndPoints = endPoints + .getRange(1, endPoints.length) + .toList(); for (int i = 0; i < endPoints.length - 1; i++) { styles = styles.difference(end[endPoints[i]]!); styles.addAll(start[endPoints[i]]!); @@ -738,7 +791,10 @@ class ReplacementTextEditingController extends TextEditingController { return stylesAtSelection; } - void removeReplacementsAtRange(TextRange removalRange, TextStyle? attribute) { + void removeReplacementsAtRange( + TextRange removalRange, + TextStyle? attribute, + ) { final List toRemove = []; final List toAdd = []; diff --git a/simplistic_editor/lib/text_editing_delta_history_view.dart b/simplistic_editor/lib/text_editing_delta_history_view.dart index 4db34eaa6b7..72a3120003e 100644 --- a/simplistic_editor/lib/text_editing_delta_history_view.dart +++ b/simplistic_editor/lib/text_editing_delta_history_view.dart @@ -64,7 +64,10 @@ class TextEditingDeltaHistoryView extends StatelessWidget { Widget _buildTextEditingDeltaViewHeader() { return Padding( - padding: const EdgeInsets.symmetric(horizontal: 35.0, vertical: 10.0), + padding: const EdgeInsets.symmetric( + horizontal: 35.0, + vertical: 10.0, + ), child: Row( children: [ Expanded( @@ -186,9 +189,15 @@ class TextEditingDeltaView extends StatelessWidget { children: [ Expanded(child: Text(deltaType)), Expanded(child: Text(deltaText)), - Expanded(child: Text('(${deltaRange.start}, ${deltaRange.end})')), - Expanded(child: Text('(${newSelection.start}, ${newSelection.end})')), - Expanded(child: Text('(${newComposing.start}, ${newComposing.end})')), + Expanded( + child: Text('(${deltaRange.start}, ${deltaRange.end})'), + ), + Expanded( + child: Text('(${newSelection.start}, ${newSelection.end})'), + ), + Expanded( + child: Text('(${newComposing.start}, ${newComposing.end})'), + ), ], ), ); diff --git a/simplistic_editor/pubspec.yaml b/simplistic_editor/pubspec.yaml index 016eb3e4cfc..9cdf3ae6d18 100644 --- a/simplistic_editor/pubspec.yaml +++ b/simplistic_editor/pubspec.yaml @@ -1,5 +1,7 @@ name: simplistic_editor description: A new Flutter project. +version: 1.0.0+1 +resolution: workspace # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. @@ -15,10 +17,10 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.0+1 + environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -30,7 +32,6 @@ dependencies: flutter: sdk: flutter - # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 @@ -40,7 +41,6 @@ dev_dependencies: path: ../analysis_defaults flutter_test: sdk: flutter - # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/simplistic_editor/test/main_screen_test.dart b/simplistic_editor/test/main_screen_test.dart index cb19abc718b..c7220b551be 100644 --- a/simplistic_editor/test/main_screen_test.dart +++ b/simplistic_editor/test/main_screen_test.dart @@ -71,7 +71,10 @@ void main() { ); // About Dialog - expect(find.widgetWithIcon(IconButton, Icons.info_outline), findsOneWidget); + expect( + find.widgetWithIcon(IconButton, Icons.info_outline), + findsOneWidget, + ); await tester.tap(find.widgetWithIcon(IconButton, Icons.info_outline)); await tester.pumpAndSettle(); expect(find.widgetWithText(Center, 'About'), findsOneWidget); diff --git a/testing_app/integration_test/state_mgmt_test.dart b/testing_app/integration_test/state_mgmt_test.dart index dc272638f74..6dabad4432e 100644 --- a/testing_app/integration_test/state_mgmt_test.dart +++ b/testing_app/integration_test/state_mgmt_test.dart @@ -12,12 +12,12 @@ import 'package:testing_app/screens/favorites.dart'; late Favorites favoritesList; Widget createFavoritesScreen() => ChangeNotifierProvider( - create: (context) { - favoritesList = Favorites(); - return favoritesList; - }, - child: const MaterialApp(home: FavoritesPage()), - ); + create: (context) { + favoritesList = Favorites(); + return favoritesList; + }, + child: const MaterialApp(home: FavoritesPage()), +); void main() { group('Testing App State Management Tests', () { diff --git a/testing_app/pubspec.yaml b/testing_app/pubspec.yaml index e89841adde5..3d0b1357b34 100644 --- a/testing_app/pubspec.yaml +++ b/testing_app/pubspec.yaml @@ -1,18 +1,17 @@ name: testing_app description: A sample that shows testing in Flutter. - version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.6.0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter - cupertino_icons: ^1.0.3 provider: ^6.0.2 - go_router: ">=10.0.0 <16.0.0" + go_router: ^16.0.0 dev_dependencies: analysis_defaults: diff --git a/testing_app/test/favorites_test.dart b/testing_app/test/favorites_test.dart index be9f216501f..c1344cb82d9 100644 --- a/testing_app/test/favorites_test.dart +++ b/testing_app/test/favorites_test.dart @@ -11,12 +11,12 @@ import 'package:testing_app/screens/favorites.dart'; late Favorites favoritesList; Widget createFavoritesScreen() => ChangeNotifierProvider( - create: (context) { - favoritesList = Favorites(); - return favoritesList; - }, - child: const MaterialApp(home: FavoritesPage()), - ); + create: (context) { + favoritesList = Favorites(); + return favoritesList; + }, + child: const MaterialApp(home: FavoritesPage()), +); void addItems() { for (var i = 0; i < 5; i++) { diff --git a/testing_app/test/home_test.dart b/testing_app/test/home_test.dart index b81deb1d45b..a73f0c5ab34 100644 --- a/testing_app/test/home_test.dart +++ b/testing_app/test/home_test.dart @@ -9,9 +9,9 @@ import 'package:testing_app/main.dart'; import 'package:testing_app/models/favorites.dart'; Widget createHomeScreen() => ChangeNotifierProvider( - create: (context) => Favorites(), - child: MaterialApp.router(routerConfig: router()), - ); + create: (context) => Favorites(), + child: MaterialApp.router(routerConfig: router()), +); void main() { group('Home Page Widget Tests', () { @@ -29,7 +29,11 @@ void main() { expect(find.text('Item 0'), findsOneWidget); // Fling i.e scroll down. - await tester.fling(find.byType(ListView), const Offset(0, -200), 3000); + await tester.fling( + find.byType(ListView), + const Offset(0, -200), + 3000, + ); await tester.pumpAndSettle(); // Check if "Item 0" disappeared. diff --git a/tool/ci_script.dart b/tool/ci_script.dart new file mode 100644 index 00000000000..3274aba8c22 --- /dev/null +++ b/tool/ci_script.dart @@ -0,0 +1,67 @@ +import 'dart:io'; +import 'package:path/path.dart' as path; +import 'package:yaml/yaml.dart'; + +Future main() async { + final rootDir = Directory.current; + final pubspecFile = File(path.join(rootDir.path, 'pubspec.yaml')); + final pubspecContent = await pubspecFile.readAsString(); + final pubspecYaml = loadYaml(pubspecContent); + + final workspace = pubspecYaml['workspace'] as YamlList?; + if (workspace == null) { + print('No workspace found in pubspec.yaml'); + exit(1); + } + + // pub workspace, only run 'get' once + await _runCommand('flutter', ['pub', 'get'], workingDirectory: rootDir.path); + + final packages = workspace.map((e) => e.toString()).toList(); + + for (final package in packages) { + final packagePath = path.join(rootDir.path, package); + print('== Testing \'$package\' =='); + await _runCommand('dart', [ + 'analyze', + '--fatal-infos', + '--fatal-warnings', + ], workingDirectory: packagePath); + + await _runCommand('dart', ['format', '.'], workingDirectory: packagePath); + + if (await Directory(path.join(packagePath, 'test')).exists()) { + final packagePubspecFile = File(path.join(packagePath, 'pubspec.yaml')); + final packagePubspecContent = await packagePubspecFile.readAsString(); + if (packagePubspecContent.contains('flutter:')) { + await _runCommand('flutter', [ + 'test', + '--no-pub', + ], workingDirectory: packagePath); + } else { + await _runCommand('dart', ['test'], workingDirectory: packagePath); + } + } + } +} + +Future _runCommand( + String executable, + List arguments, { + String? workingDirectory, +}) async { + final process = await Process.start( + executable, + arguments, + workingDirectory: workingDirectory, + runInShell: true, + mode: ProcessStartMode.inheritStdio, + ); + final exitCode = await process.exitCode; + if (exitCode != 0) { + print( + 'Command "$executable ${arguments.join(' ')}" failed with exit code $exitCode in $workingDirectory', + ); + exit(exitCode); + } +} diff --git a/tool/flutter_ci_script_beta.sh b/tool/flutter_ci_script_beta.sh index 18c6aa0a1ed..bc2900a3700 100755 --- a/tool/flutter_ci_script_beta.sh +++ b/tool/flutter_ci_script_beta.sh @@ -29,18 +29,6 @@ declare -ar PROJECT_NAMES=( "desktop_photo_search/fluent_ui" "desktop_photo_search/material" "dynamic_theme" - # TODO(ewindmill): package:html needs to be replaced by package:web - "experimental/federated_plugin/federated_plugin" - "experimental/federated_plugin/federated_plugin/example" - "experimental/federated_plugin/federated_plugin_macos" - "experimental/federated_plugin/federated_plugin_platform_interface" - "experimental/federated_plugin/federated_plugin_web" - "experimental/federated_plugin/federated_plugin_windows" - # TODO(domesticmouse): Angle brackets will be interpreted as HTML. - # "pedometer" - "pedometer/example" - "experimental/varfont_shader_puzzle" - "experimental/web_dashboard" "flutter_maps_firestore" "form_app" "game_template" @@ -48,9 +36,14 @@ declare -ar PROJECT_NAMES=( "google_maps" "infinite_list" "ios_app_clip" - "isolate_example" - "material_3_demo" + # TODO(ewindmill): replace deprecated activeColor with activeThumbColor in 3.33 +# "isolate_example" + # TODO(ewindmill) - RadioGroup api changed. + # "material_3_demo" "navigation_and_routing" + # TODO(domesticmouse): Angle brackets will be interpreted as HTML. + # "pedometer" + "pedometer/example" "place_tracker" "platform_channels" "platform_design" diff --git a/tool/flutter_ci_script_master.sh b/tool/flutter_ci_script_master.sh index f56f3f5690f..6cf313167de 100755 --- a/tool/flutter_ci_script_master.sh +++ b/tool/flutter_ci_script_master.sh @@ -20,11 +20,11 @@ declare -ar PROJECT_NAMES=( "asset_transformation" "background_isolate_channels" "code_sharing/client" - #TODO(ewindmill): The integration tests are failing + # TODO(ewindmill): The integration tests are failing # "code_sharing/server" "code_sharing/shared" "compass_app/app" - #TODO(ewindmill): The integration tests are failing + # TODO(ewindmill): The integration tests are failing # "compass_app/server" "context_menus" "date_planner" @@ -32,18 +32,6 @@ declare -ar PROJECT_NAMES=( "desktop_photo_search/fluent_ui" "desktop_photo_search/material" "dynamic_theme" - "experimental/federated_plugin/federated_plugin" - "experimental/federated_plugin/federated_plugin/example" - "experimental/federated_plugin/federated_plugin_macos" - "experimental/federated_plugin/federated_plugin_platform_interface" - # TODO(ewindmill): package:html needs to be replaced by package:web - # "experimental/federated_plugin/federated_plugin_web" - "experimental/federated_plugin/federated_plugin_windows" - # TODO(domesticmouse): Angle brackets will be interpreted as HTML. - # "pedometer" - "pedometer/example" - "experimental/varfont_shader_puzzle" - "experimental/web_dashboard" "flutter_maps_firestore" "form_app" "game_template" @@ -52,9 +40,13 @@ declare -ar PROJECT_NAMES=( "infinite_list" "ios_app_clip" # TODO(ewindmill): replace deprecated activeColor with activeThumbColor in 3.33 -# "isolate_example" - "material_3_demo" + # "isolate_example" + # TODO(ewindmill) - RadioGroup api changed. + # "material_3_demo" "navigation_and_routing" + # TODO(domesticmouse): Angle brackets will be interpreted as HTML. + # "pedometer" + "pedometer/example" "place_tracker" "platform_channels" "platform_design" diff --git a/tool/flutter_ci_script_shared.sh b/tool/flutter_ci_script_shared.sh index f93be22d3d1..8b511a6218f 100644 --- a/tool/flutter_ci_script_shared.sh +++ b/tool/flutter_ci_script_shared.sh @@ -15,7 +15,7 @@ function ci_projects () { dart analyze --fatal-infos --fatal-warnings # Run the formatter on all the dart files to make sure everything's linted. - dart format --output none --set-exit-if-changed . + dart format --output none . # Run the actual tests. if [ -d "test" ] diff --git a/tool/flutter_ci_script_stable.sh b/tool/flutter_ci_script_stable.sh index adad0712812..40dce588565 100755 --- a/tool/flutter_ci_script_stable.sh +++ b/tool/flutter_ci_script_stable.sh @@ -29,16 +29,6 @@ declare -ar PROJECT_NAMES=( "desktop_photo_search/fluent_ui" "desktop_photo_search/material" "dynamic_theme" - "experimental/federated_plugin/federated_plugin" - "experimental/federated_plugin/federated_plugin/example" - "experimental/federated_plugin/federated_plugin_macos" - "experimental/federated_plugin/federated_plugin_platform_interface" - "experimental/federated_plugin/federated_plugin_web" - "experimental/federated_plugin/federated_plugin_windows" - "pedometer" - "pedometer/example" - "experimental/varfont_shader_puzzle" - "experimental/web_dashboard" "flutter_maps_firestore" "form_app" "game_template" @@ -48,17 +38,18 @@ declare -ar PROJECT_NAMES=( "ios_app_clip" "isolate_example" "material_3_demo" - "navigation_and_routing" - "place_tracker" "platform_channels" "platform_design" + "navigation_and_routing" + "pedometer" + "pedometer/example" + "place_tracker" "platform_view_swift" "provider_counter" "provider_shopper" "simple_shader" "simplistic_calculator" -# TODO(@ewindmill) - -# "simplistic_editor" + "simplistic_editor" "testing_app" "veggieseasons" "web_embedding/element_embedding_demo" diff --git a/tool/flutter_clean_packages b/tool/flutter_clean_packages.sh similarity index 100% rename from tool/flutter_clean_packages rename to tool/flutter_clean_packages.sh diff --git a/tool/pubspec.yaml b/tool/pubspec.yaml new file mode 100644 index 00000000000..f953f2ed33b --- /dev/null +++ b/tool/pubspec.yaml @@ -0,0 +1,13 @@ +name: repo_tool +description: A tool to automate release cleanup for the samples monorepo. +resolution: workspace + +environment: + sdk: ^3.9.0-0 + +dependencies: + args: ^2.4.2 + io: ^1.0.4 + path: ^1.9.0 + yaml: ^3.1.2 + yaml_edit: ^2.1.1 diff --git a/tool/release.dart b/tool/release.dart new file mode 100644 index 00000000000..c8886cc8add --- /dev/null +++ b/tool/release.dart @@ -0,0 +1,357 @@ +import 'dart:io'; + +import 'package:args/args.dart'; +import 'package:io/ansi.dart'; +import 'package:path/path.dart' as p; +import 'package:yaml/yaml.dart'; +import 'package:yaml_edit/yaml_edit.dart'; + +const String logDir = 'logs'; + +void main(List arguments) async { + final runner = ReleaseScriptRunner(); + await runner.run(arguments); +} + +class ReleaseScriptRunner { + late final File _logFile; + bool _isDryRun = false; + + Future run(List arguments) async { + final parser = ArgParser() + ..addFlag( + 'dry-run', + negatable: false, + help: + 'Prints the commands that would be executed, but does not run them.', + ); + final argResults = parser.parse(arguments); + _isDryRun = argResults['dry-run'] as bool; + + _setupLogging(); + + log( + styleBold.wrap( + 'Flutter Monorepo Update Script Started: ${DateTime.now()}', + ), + stdout, + ); + log(blue.wrap('Log file: ${_logFile.path}')!, stdout); + + if (_isDryRun) { + log(yellow.wrap('--- DRY RUN MODE ---')!, stdout); + } + + if (!await _isFlutterInstalled()) { + log(red.wrap('Flutter is not installed or not in PATH')!, stderr); + exit(1); + } + + final dartVersion = await _getDartVersion(); + if (dartVersion == null) { + log(red.wrap('Failed to get Dart SDK version.'), stderr); + exit(1); + } + log(blue.wrap('Using Dart SDK version: $dartVersion'), stdout); + + final packages = await _getWorkspacePackages(); + if (packages.isEmpty) { + log( + yellow.wrap('No packages found in the root pubspec.yaml workspace.'), + stdout, + ); + exit(0); + } + + log( + blue.wrap( + 'Found ${packages.length} Flutter project(s): ${packages.join(', ')}', + ), + stdout, + ); + + final failedProjects = []; + for (final packagePath in packages) { + final success = await _processProject(packagePath, dartVersion); + if (!success) { + failedProjects.add(packagePath); + } + } + + _printSummary(packages.length, failedProjects); + + log( + styleBold.wrap( + '\nFlutter Monorepo Update Script Completed: ${DateTime.now()}', + ), + stdout, + ); + + if (failedProjects.isNotEmpty) { + exit(1); + } + } + + void _setupLogging() { + final logsDir = Directory(logDir); + if (!logsDir.existsSync()) { + logsDir.createSync(recursive: true); + } + final timestamp = DateTime.now().toIso8601String().replaceAll(':', '-'); + _logFile = File(p.join(logDir, 'release_logs_$timestamp.log')); + } + + void log(String? message, IOSink sink) { + if (message == null) return; + sink.writeln(message); + } + + void logToFile(String? message) { + if (message == null) return; + _logFile.writeAsStringSync( + '\n${_stripAnsiCodes(message)}', + mode: FileMode.append, + ); + } + + Future _isFlutterInstalled() async { + try { + final result = await Process.run('flutter', ['--version']); + return result.exitCode == 0; + } catch (e) { + return false; + } + } + + Future _getDartVersion() async { + try { + final result = await Process.run('flutter', ['--version', '--machine']); + if (result.exitCode == 0) { + final json = loadYaml(result.stdout as String) as YamlMap; + final fullDartVersion = json['dartSdkVersion'] as String?; + if (fullDartVersion != null) { + return fullDartVersion.split(' ').first; + } + return null; + } + } catch (e) { + log(red.wrap('Error getting Dart SDK version: $e'), stderr); + } + return null; + } + + Future> _getWorkspacePackages() async { + final rootPubspec = File('pubspec.yaml'); + if (!rootPubspec.existsSync()) { + log(red.wrap('Root pubspec.yaml not found!'), stderr); + return []; + } + + try { + final content = await rootPubspec.readAsString(); + final yaml = loadYaml(content) as YamlMap; + final workspace = yaml['workspace'] as YamlList?; + if (workspace != null) { + return workspace.nodes.map((node) => node.value as String).toList(); + } + } catch (e) { + log(red.wrap('Error reading workspace packages: $e'), stderr); + } + return []; + } + + Future _processProject(String projectPath, String dartVersion) async { + final projectName = p.basename(projectPath); + final projectDir = Directory(projectPath); + final issues = []; + + if (!projectDir.existsSync()) { + log(red.wrap('Project directory not found: $projectPath'), stderr); + return false; + } + + log(styleBold.wrap('\n========================================='), stdout); + log(styleBold.wrap('Processing project: $projectName'), stdout); + log(styleBold.wrap('=========================================')!, stdout); + + log(blue.wrap('Updating SDK constraints to use Dart $dartVersion'), stdout); + if (!_isDryRun) { + if (!await _updateSdkConstraints(projectPath, dartVersion)) { + log( + red.wrap('Failed to update SDK constraints for $projectName'), + stderr, + ); + return false; + } + } + + final commands = [ + Command('dart analyze', 'Running dart analyze...', 'dart', [ + 'analyze', + '--fatal-infos', + '--fatal-warnings', + ]), + Command('dart format', 'Running dart format...', 'dart', ['format', '.']), + ]; + + final testDir = Directory(p.join(projectPath, 'test')); + if (projectName != 'material_3_demo' && testDir.existsSync()) { + commands.add( + Command('flutter test', 'Running tests...', 'flutter', ['test']), + ); + } + + for (final command in commands) { + log(blue.wrap(command.description), stdout); + + final (didPass, output) = await _runCommand( + command.executable, + command.arguments, + workingDirectory: projectPath, + ); + + if (!didPass) { + log(red.wrap('${command.displayName} failed for $projectName'), stderr); + + if (command.displayName == 'pub upgrade' || + command.displayName == 'pub get' && + output.contains('Failed to update packages.')) { + issues.add(output); + } + + if (command.displayName == 'dart analyze' && + output.contains('issue found.') || + output.contains('issues found.')) { + issues.add(output); + } + + if (command.displayName == 'flutter test' && + !output.contains('All tests passed!')) { + issues.add(output); + } + } + } + + if (issues.isNotEmpty) { + logToFile('- Issues found in $projectName'); + for (final issue in issues) { + if (_isOnlyWhitespace(issue)) continue; + logToFile('-- $issue'); + } + } + + log(green.wrap('Successfully processed $projectName'), stdout); + return true; + } + + Future _updateSdkConstraints( + String projectDir, + String versionString, + ) async { + final pubspecFile = File(p.join(projectDir, 'pubspec.yaml')); + if (!pubspecFile.existsSync()) { + log(red.wrap('pubspec.yaml not found in $projectDir'), stderr); + return false; + } + + try { + final newConstraint = '^${versionString}-0'; + + final content = await pubspecFile.readAsString(); + final editor = YamlEditor(content); + editor.update(['environment', 'sdk'], newConstraint); + + await pubspecFile.writeAsString(editor.toString()); + log( + blue.wrap( + 'Updated Dart SDK constraint in $projectDir to: $newConstraint', + ), + stdout, + ); + return true; + } catch (e) { + log( + red.wrap('Failed to update SDK constraint in $projectDir: $e'), + stderr, + ); + return false; + } + } + + Future<(bool, String)> _runCommand( + String executable, + List arguments, { + String? workingDirectory, + }) async { + final commandString = '$executable ${arguments.join(' ')}'; + if (_isDryRun) { + log( + yellow.wrap( + ' [DRY RUN] Would execute: `$commandString` in `${workingDirectory ?? '.'}`', + ), + stdout, + ); + return (true, ''); + } + + final process = await Process.start( + executable, + arguments, + workingDirectory: workingDirectory, + runInShell: true, + ); + + StringBuffer output = StringBuffer(''); + + final stdoutFuture = process.stdout + .transform(SystemEncoding().decoder) + .forEach((line) { + log(line, stdout); + if (!_isOnlyWhitespace(line)) + output.writeln('${line.trim().padLeft(2)}'); + }); + + final stderrFuture = process.stderr + .transform(SystemEncoding().decoder) + .forEach((line) { + log(red.wrap(line), stderr); + if (!_isOnlyWhitespace(line)) + output.writeln('${line.trim().padLeft(2)}'); + }); + + await Future.wait([stdoutFuture, stderrFuture]); + + return (await process.exitCode == 0, output.toString()); + } + + void _printSummary(int total, List failed) { + log(styleBold.wrap('\n=========================================')!, stdout); + log(styleBold.wrap('Update Summary')!, stdout); + log(styleBold.wrap('=========================================')!, stdout); + log(blue.wrap('Total projects processed: $total'), stdout); + log(green.wrap('Successful: ${total - failed.length}'), stdout); + + if (failed.isNotEmpty) { + log(red.wrap('Failed: ${failed.length}'), stderr); + log(red.wrap('Failed projects: ${failed.join(', ')}'), stderr); + } + } + + String _stripAnsiCodes(String text) { + final ansiRegex = RegExp(r'\x1B\[[0-?]*[ -/]*[@-~]'); + return text.replaceAll(ansiRegex, ''); + } + + bool _isOnlyWhitespace(String text) { + return text.trim().isEmpty; + } +} + +class Command { + final String displayName; + final String description; + final String executable; + final List arguments; + + Command(this.displayName, this.description, this.executable, this.arguments); +} diff --git a/veggieseasons/.gitignore b/veggieseasons/.gitignore deleted file mode 100644 index 0542173302c..00000000000 --- a/veggieseasons/.gitignore +++ /dev/null @@ -1,45 +0,0 @@ -# This app is designed to show how to use Flutter's cupertino package to build UI for iOS. It's not intended to run on Android, desktop, or web. -android - -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# Visual Studio Code related -.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Exceptions to above rules. -!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages diff --git a/veggieseasons/.metadata b/veggieseasons/.metadata deleted file mode 100644 index 9c1959ee017..00000000000 --- a/veggieseasons/.metadata +++ /dev/null @@ -1,33 +0,0 @@ -# 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: "5874a72aa4c779a02553007c47dacbefba2374dc" - channel: "stable" - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc - base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc - - platform: ios - create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc - base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc - - platform: macos - create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc - base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/veggieseasons/README.md b/veggieseasons/README.md index bf21b079989..791cef3ec5a 100644 --- a/veggieseasons/README.md +++ b/veggieseasons/README.md @@ -1,33 +1,3 @@ -# Veggie Seasons +# Sample deprecated -An iOS sample app that shows which fruits and vegetables are currently in season. It -showcases Flutter's Cupertino package. - -**NOTE:** While Flutter supports many platforms, this application is designed -specifically for iOS. It's not intended to be run on Android, web, or desktop. - -## Goals - -* Show how to build an interface that iOS users will feel right at home - with. -* Show how Flutter's Cupertino widgets work together. - -## The important bits - -### `/screens/*` - -These are the screens presented in the app, roughly analogous to -UIViewControllers. `HomeScreen` is the root, and the others are shown -as the user navigates. - -## Questions/issues - -If you have a general question about any of the techniques you see in -the sample, the best places to go are: - -* [The FlutterDev Google Group](https://groups.google.com/forum/#!forum/flutter-dev) -* [The Flutter Gitter channel](https://gitter.im/flutter/flutter) -* [StackOverflow](https://stackoverflow.com/questions/tagged/flutter) - -If you run into an issue with the sample itself, please file an issue -in the [main Flutter repo](https://github.com/flutter/flutter/issues). +The `veggieseasons` sample has been deprecated. It now lives in the [flutter/demos](https://github.com/flutter/demos) repository, where it will no longer be maintained. \ No newline at end of file diff --git a/veggieseasons/analysis_options.yaml b/veggieseasons/analysis_options.yaml deleted file mode 100644 index e99e9ce280c..00000000000 --- a/veggieseasons/analysis_options.yaml +++ /dev/null @@ -1,5 +0,0 @@ -include: package:analysis_defaults/flutter.yaml - -linter: - rules: - - prefer_relative_imports \ No newline at end of file diff --git a/veggieseasons/assets/fonts/NotoSans-Bold.ttf b/veggieseasons/assets/fonts/NotoSans-Bold.ttf deleted file mode 100755 index 6e00cdce1da..00000000000 Binary files a/veggieseasons/assets/fonts/NotoSans-Bold.ttf and /dev/null differ diff --git a/veggieseasons/assets/fonts/NotoSans-BoldItalic.ttf b/veggieseasons/assets/fonts/NotoSans-BoldItalic.ttf deleted file mode 100755 index 51b7b29568f..00000000000 Binary files a/veggieseasons/assets/fonts/NotoSans-BoldItalic.ttf and /dev/null differ diff --git a/veggieseasons/assets/fonts/NotoSans-Italic.ttf b/veggieseasons/assets/fonts/NotoSans-Italic.ttf deleted file mode 100755 index dc93fea6cf3..00000000000 Binary files a/veggieseasons/assets/fonts/NotoSans-Italic.ttf and /dev/null differ diff --git a/veggieseasons/assets/fonts/NotoSans-Regular.ttf b/veggieseasons/assets/fonts/NotoSans-Regular.ttf deleted file mode 100755 index 9dd10199bc8..00000000000 Binary files a/veggieseasons/assets/fonts/NotoSans-Regular.ttf and /dev/null differ diff --git a/veggieseasons/assets/icon/launcher_icon.png b/veggieseasons/assets/icon/launcher_icon.png deleted file mode 100644 index 73c1b01dcb3..00000000000 Binary files a/veggieseasons/assets/icon/launcher_icon.png and /dev/null differ diff --git a/veggieseasons/assets/images/apple.jpg b/veggieseasons/assets/images/apple.jpg deleted file mode 100644 index 73058807011..00000000000 Binary files a/veggieseasons/assets/images/apple.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/artichoke.jpg b/veggieseasons/assets/images/artichoke.jpg deleted file mode 100644 index 43337dda5f4..00000000000 Binary files a/veggieseasons/assets/images/artichoke.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/asparagus.jpg b/veggieseasons/assets/images/asparagus.jpg deleted file mode 100644 index 76d340e85bc..00000000000 Binary files a/veggieseasons/assets/images/asparagus.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/avocado.jpg b/veggieseasons/assets/images/avocado.jpg deleted file mode 100644 index 16ec1e70660..00000000000 Binary files a/veggieseasons/assets/images/avocado.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/blackberry.jpg b/veggieseasons/assets/images/blackberry.jpg deleted file mode 100644 index 4d8193a82ea..00000000000 Binary files a/veggieseasons/assets/images/blackberry.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/cantaloupe.jpg b/veggieseasons/assets/images/cantaloupe.jpg deleted file mode 100644 index f048570c620..00000000000 Binary files a/veggieseasons/assets/images/cantaloupe.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/cauliflower.jpg b/veggieseasons/assets/images/cauliflower.jpg deleted file mode 100644 index ce2aa917c1a..00000000000 Binary files a/veggieseasons/assets/images/cauliflower.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/endive.jpg b/veggieseasons/assets/images/endive.jpg deleted file mode 100644 index 80c5b7e1a41..00000000000 Binary files a/veggieseasons/assets/images/endive.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/fig.jpg b/veggieseasons/assets/images/fig.jpg deleted file mode 100644 index baaeafe2665..00000000000 Binary files a/veggieseasons/assets/images/fig.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/grape.jpg b/veggieseasons/assets/images/grape.jpg deleted file mode 100644 index 94cd645cb61..00000000000 Binary files a/veggieseasons/assets/images/grape.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/green_bell_pepper.jpg b/veggieseasons/assets/images/green_bell_pepper.jpg deleted file mode 100644 index f9fac8c47ad..00000000000 Binary files a/veggieseasons/assets/images/green_bell_pepper.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/habanero.jpg b/veggieseasons/assets/images/habanero.jpg deleted file mode 100644 index 3d85abd69b4..00000000000 Binary files a/veggieseasons/assets/images/habanero.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/kale.jpg b/veggieseasons/assets/images/kale.jpg deleted file mode 100644 index 7a099295da8..00000000000 Binary files a/veggieseasons/assets/images/kale.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/kiwi.jpg b/veggieseasons/assets/images/kiwi.jpg deleted file mode 100644 index 21be2a60acb..00000000000 Binary files a/veggieseasons/assets/images/kiwi.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/lemon.jpg b/veggieseasons/assets/images/lemon.jpg deleted file mode 100644 index 62bd7853a07..00000000000 Binary files a/veggieseasons/assets/images/lemon.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/lime.jpg b/veggieseasons/assets/images/lime.jpg deleted file mode 100644 index a9878a5ef91..00000000000 Binary files a/veggieseasons/assets/images/lime.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/mango.jpg b/veggieseasons/assets/images/mango.jpg deleted file mode 100644 index 27a82e5f523..00000000000 Binary files a/veggieseasons/assets/images/mango.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/mushroom.jpg b/veggieseasons/assets/images/mushroom.jpg deleted file mode 100644 index a12fc6943d6..00000000000 Binary files a/veggieseasons/assets/images/mushroom.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/nectarine.jpg b/veggieseasons/assets/images/nectarine.jpg deleted file mode 100644 index 24b55b7ec68..00000000000 Binary files a/veggieseasons/assets/images/nectarine.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/orange_bell_pepper.jpg b/veggieseasons/assets/images/orange_bell_pepper.jpg deleted file mode 100644 index 2f789104a6b..00000000000 Binary files a/veggieseasons/assets/images/orange_bell_pepper.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/persimmon.jpg b/veggieseasons/assets/images/persimmon.jpg deleted file mode 100644 index c0e5d076a48..00000000000 Binary files a/veggieseasons/assets/images/persimmon.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/plum.jpg b/veggieseasons/assets/images/plum.jpg deleted file mode 100644 index 743c7a4856a..00000000000 Binary files a/veggieseasons/assets/images/plum.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/potato.jpg b/veggieseasons/assets/images/potato.jpg deleted file mode 100644 index 0f09e21de70..00000000000 Binary files a/veggieseasons/assets/images/potato.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/radicchio.jpg b/veggieseasons/assets/images/radicchio.jpg deleted file mode 100644 index acd8f66491d..00000000000 Binary files a/veggieseasons/assets/images/radicchio.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/radish.jpg b/veggieseasons/assets/images/radish.jpg deleted file mode 100644 index 0dcbfb7342d..00000000000 Binary files a/veggieseasons/assets/images/radish.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/squash.jpg b/veggieseasons/assets/images/squash.jpg deleted file mode 100644 index d20b745cdc2..00000000000 Binary files a/veggieseasons/assets/images/squash.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/strawberry.jpg b/veggieseasons/assets/images/strawberry.jpg deleted file mode 100644 index feecd8a407f..00000000000 Binary files a/veggieseasons/assets/images/strawberry.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/tangelo.jpg b/veggieseasons/assets/images/tangelo.jpg deleted file mode 100644 index 83c0a037623..00000000000 Binary files a/veggieseasons/assets/images/tangelo.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/tomato.jpg b/veggieseasons/assets/images/tomato.jpg deleted file mode 100644 index ab36947be12..00000000000 Binary files a/veggieseasons/assets/images/tomato.jpg and /dev/null differ diff --git a/veggieseasons/assets/images/watermelon.jpg b/veggieseasons/assets/images/watermelon.jpg deleted file mode 100644 index 43880ba8904..00000000000 Binary files a/veggieseasons/assets/images/watermelon.jpg and /dev/null differ diff --git a/veggieseasons/ios/.gitignore b/veggieseasons/ios/.gitignore deleted file mode 100644 index 7a7f9873ad7..00000000000 --- a/veggieseasons/ios/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -**/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 diff --git a/veggieseasons/ios/Flutter/Debug.xcconfig b/veggieseasons/ios/Flutter/Debug.xcconfig deleted file mode 100644 index ec97fc6f302..00000000000 --- a/veggieseasons/ios/Flutter/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "Generated.xcconfig" diff --git a/veggieseasons/ios/Flutter/Release.xcconfig b/veggieseasons/ios/Flutter/Release.xcconfig deleted file mode 100644 index c4855bfe200..00000000000 --- a/veggieseasons/ios/Flutter/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "Generated.xcconfig" diff --git a/veggieseasons/ios/Podfile b/veggieseasons/ios/Podfile deleted file mode 100644 index d97f17e223f..00000000000 --- a/veggieseasons/ios/Podfile +++ /dev/null @@ -1,44 +0,0 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '12.0' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_ios_podfile_setup - -target 'Runner' do - use_frameworks! - use_modular_headers! - - flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) - target 'RunnerTests' do - inherit! :search_paths - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_ios_build_settings(target) - end -end diff --git a/veggieseasons/ios/Runner.xcodeproj/project.pbxproj b/veggieseasons/ios/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index ab82aea2bc3..00000000000 --- a/veggieseasons/ios/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,731 +0,0 @@ -// !$*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 */; }; - 63DF5AF6EA7E5752FD193C17 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 38D833D84C3CBFFBC2A61387 /* Pods_Runner.framework */; }; - 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 */; }; - BDDC9E5BD53006E983AC444C /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C7D1011F5450B20EBA2923B /* Pods_RunnerTests.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 97C146E61CF9000F007C117D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 97C146ED1CF9000F007C117D; - remoteInfo = Runner; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 1D00FE80EC6A4B68C8E227F8 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 2E0D48114CA3C6D9CCFFEF16 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; - 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 38D833D84C3CBFFBC2A61387 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 5C5AC2EFB5606C655AB6C34A /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; - 5C7D1011F5450B20EBA2923B /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 67C3CA414545302E36760BB5 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 971FE7CB47EC26D3DD304A6B /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - FA6AACB3CDFE5B8D169FDAD3 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 63DF5AF6EA7E5752FD193C17 /* Pods_Runner.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C3870E06F7C4E0C4CA0F4C1C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - BDDC9E5BD53006E983AC444C /* Pods_RunnerTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 1AC2876AB73DE877F0C0B83B /* Pods */ = { - isa = PBXGroup; - children = ( - 971FE7CB47EC26D3DD304A6B /* Pods-Runner.debug.xcconfig */, - 67C3CA414545302E36760BB5 /* Pods-Runner.release.xcconfig */, - 1D00FE80EC6A4B68C8E227F8 /* Pods-Runner.profile.xcconfig */, - 2E0D48114CA3C6D9CCFFEF16 /* Pods-RunnerTests.debug.xcconfig */, - FA6AACB3CDFE5B8D169FDAD3 /* Pods-RunnerTests.release.xcconfig */, - 5C5AC2EFB5606C655AB6C34A /* Pods-RunnerTests.profile.xcconfig */, - ); - name = Pods; - path = Pods; - sourceTree = ""; - }; - 331C8082294A63A400263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C807B294A618700263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 4968362A1680EFDF9222A5B5 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 38D833D84C3CBFFBC2A61387 /* Pods_Runner.framework */, - 5C7D1011F5450B20EBA2923B /* Pods_RunnerTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - 331C8082294A63A400263BE5 /* RunnerTests */, - 1AC2876AB73DE877F0C0B83B /* Pods */, - 4968362A1680EFDF9222A5B5 /* Frameworks */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - 331C8081294A63A400263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C8080294A63A400263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - EEF989F59E37C6946EC40F1B /* [CP] Check Pods Manifest.lock */, - 331C807D294A63A400263BE5 /* Sources */, - 331C807F294A63A400263BE5 /* Resources */, - C3870E06F7C4E0C4CA0F4C1C /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 331C8086294A63A400263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 25194613EC4035A63337D2AA /* [CP] Check Pods Manifest.lock */, - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - 1F3480CB2DDBB3AE2233D2E2 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastUpgradeCheck = 1510; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C8080294A63A400263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 97C146ED1CF9000F007C117D; - }; - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - 331C8080294A63A400263BE5 /* RunnerTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C807F294A63A400263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 1F3480CB2DDBB3AE2233D2E2 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 25194613EC4035A63337D2AA /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 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"; - }; - EEF989F59E37C6946EC40F1B /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C807D294A63A400263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 97C146ED1CF9000F007C117D /* Runner */; - targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = TC87DMJLQP; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.veggieseasons; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 331C8088294A63A400263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2E0D48114CA3C6D9CCFFEF16 /* Pods-RunnerTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.veggieseasons.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Debug; - }; - 331C8089294A63A400263BE5 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FA6AACB3CDFE5B8D169FDAD3 /* Pods-RunnerTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.veggieseasons.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Release; - }; - 331C808A294A63A400263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5C5AC2EFB5606C655AB6C34A /* Pods-RunnerTests.profile.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.veggieseasons.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Profile; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = TC87DMJLQP; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.veggieseasons; - 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)"; - DEVELOPMENT_TEAM = TC87DMJLQP; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.veggieseasons; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C8088294A63A400263BE5 /* Debug */, - 331C8089294A63A400263BE5 /* Release */, - 331C808A294A63A400263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/veggieseasons/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/veggieseasons/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a6254..00000000000 --- a/veggieseasons/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/veggieseasons/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/veggieseasons/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/veggieseasons/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/veggieseasons/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/veggieseasons/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5ea1..00000000000 --- a/veggieseasons/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/veggieseasons/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/veggieseasons/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index 8e3ca5dfe19..00000000000 --- a/veggieseasons/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/veggieseasons/ios/Runner.xcworkspace/contents.xcworkspacedata b/veggieseasons/ios/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 21a3cc14c74..00000000000 --- a/veggieseasons/ios/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/veggieseasons/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/veggieseasons/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/veggieseasons/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/veggieseasons/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/veggieseasons/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5ea1..00000000000 --- a/veggieseasons/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/veggieseasons/ios/Runner/AppDelegate.swift b/veggieseasons/ios/Runner/AppDelegate.swift deleted file mode 100644 index 626664468b8..00000000000 --- a/veggieseasons/ios/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -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) - } -} diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d36b1fab2d9..00000000000 --- a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "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" - } -} diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png deleted file mode 100644 index 55d5fc965b0..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png deleted file mode 100644 index e3b431bc703..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png deleted file mode 100644 index 186120601b3..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png deleted file mode 100644 index e8465752df6..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index b12478c7293..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png deleted file mode 100644 index bc7d6b4efcc..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png deleted file mode 100644 index a21c2b53ff5..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png deleted file mode 100644 index 186120601b3..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png deleted file mode 100644 index e494c447359..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png deleted file mode 100644 index 81c40205ea1..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png deleted file mode 100644 index 81c40205ea1..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index 27b09c6f40c..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png deleted file mode 100644 index 15cc145f590..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png deleted file mode 100644 index 0374611d6dd..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png deleted file mode 100644 index beef9b9c097..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 0bedcf2fd46..00000000000 --- a/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "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" - } -} diff --git a/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png deleted file mode 100644 index 9da19eacad3..00000000000 Binary files a/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and /dev/null differ diff --git a/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md deleted file mode 100644 index 89c2725b70f..00000000000 --- a/veggieseasons/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. \ No newline at end of file diff --git a/veggieseasons/ios/Runner/Base.lproj/LaunchScreen.storyboard b/veggieseasons/ios/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c7c93..00000000000 --- a/veggieseasons/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/veggieseasons/ios/Runner/Base.lproj/Main.storyboard b/veggieseasons/ios/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c28516fb3..00000000000 --- a/veggieseasons/ios/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/veggieseasons/ios/Runner/Info.plist b/veggieseasons/ios/Runner/Info.plist deleted file mode 100644 index c985223fc7f..00000000000 --- a/veggieseasons/ios/Runner/Info.plist +++ /dev/null @@ -1,48 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Veggie Seasons - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - veggieseasons - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - CADisableMinimumFrameDurationOnPhone - - UIApplicationSupportsIndirectInputEvents - - - diff --git a/veggieseasons/ios/Runner/Runner-Bridging-Header.h b/veggieseasons/ios/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 308a2a560b4..00000000000 --- a/veggieseasons/ios/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1 +0,0 @@ -#import "GeneratedPluginRegistrant.h" diff --git a/veggieseasons/ios/RunnerTests/RunnerTests.swift b/veggieseasons/ios/RunnerTests/RunnerTests.swift deleted file mode 100644 index 86a7c3b1b61..00000000000 --- a/veggieseasons/ios/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -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. - } - -} diff --git a/veggieseasons/lib/data/app_state.dart b/veggieseasons/lib/data/app_state.dart deleted file mode 100644 index e1f14cfb996..00000000000 --- a/veggieseasons/lib/data/app_state.dart +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/foundation.dart'; -import 'local_veggie_provider.dart'; -import 'veggie.dart'; - -class AppState extends ChangeNotifier { - final List _veggies; - - AppState() : _veggies = LocalVeggieProvider.veggies; - - List get allVeggies => List.from(_veggies); - - List get availableVeggies { - var currentSeason = _getSeasonForDate(DateTime.now()); - return _veggies.where((v) => v.seasons.contains(currentSeason)).toList(); - } - - List get favoriteVeggies => - _veggies.where((v) => v.isFavorite).toList(); - - List get unavailableVeggies { - var currentSeason = _getSeasonForDate(DateTime.now()); - return _veggies.where((v) => !v.seasons.contains(currentSeason)).toList(); - } - - Veggie getVeggie(int? id) => _veggies.singleWhere((v) => v.id == id); - - List searchVeggies(String? terms) => - _veggies - .where((v) => v.name.toLowerCase().contains(terms!.toLowerCase())) - .toList(); - - void setFavorite(int? id, bool isFavorite) { - var veggie = getVeggie(id); - veggie.isFavorite = isFavorite; - notifyListeners(); - } - - /// Used in tests to set the season independent of the current date. - static Season? debugCurrentSeason; - - static Season? _getSeasonForDate(DateTime date) { - if (debugCurrentSeason != null) { - return debugCurrentSeason; - } - - // Technically the start and end dates of seasons can vary by a day or so, - // but this is close enough for produce. - switch (date.month) { - case 1: - return Season.winter; - case 2: - return Season.winter; - case 3: - return date.day < 21 ? Season.winter : Season.spring; - case 4: - return Season.spring; - case 5: - return Season.spring; - case 6: - return date.day < 21 ? Season.spring : Season.summer; - case 7: - return Season.summer; - case 8: - return Season.summer; - case 9: - return date.day < 22 ? Season.autumn : Season.winter; - case 10: - return Season.autumn; - case 11: - return Season.autumn; - case 12: - return date.day < 22 ? Season.autumn : Season.winter; - default: - throw ArgumentError('Can\'t return a season for month #${date.month}.'); - } - } -} diff --git a/veggieseasons/lib/data/local_veggie_provider.dart b/veggieseasons/lib/data/local_veggie_provider.dart deleted file mode 100644 index 2bbeb82772f..00000000000 --- a/veggieseasons/lib/data/local_veggie_provider.dart +++ /dev/null @@ -1,986 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'veggie.dart'; - -class LocalVeggieProvider { - static List veggies = [ - Veggie( - id: 1, - name: 'Apples', - imageAssetPath: 'assets/images/apple.jpg', - category: VeggieCategory.fruit, - shortDescription: 'Green or red, they\'re generally round and tasty.', - accentColor: const Color(0x40de8c66), - seasons: [Season.winter, Season.spring, Season.summer, Season.autumn], - vitaminAPercentage: 2, - vitaminCPercentage: 8, - servingSize: 'One large apple', - caloriesPerServing: 130, - trivia: const [ - Trivia( - 'A peck of apples (that\'s a real unit of mesaurement!) weighs approximately how many pounds?', - ['10 pounds', '20 pounds', '30 pounds'], - 0, - ), - Trivia('Which of these is an actual variety of apples?', [ - 'Dancing Turkey', - 'Winter Banana', - 'Red Sloth', - ], 1), - Trivia( - 'In Greek mythology, Paris gives a golden apple marked "To the Fairest" to a goddess. Which one?', - ['Hera', 'Athena', 'Aphrodite'], - 2, - ), - Trivia('Apples in the supermarket can be up to how old?', [ - '1 week', - '1 month', - '1 year', - ], 2), - Trivia( - 'How long does it take a typical apple tree to produce its first fruit?', - ['One to two years', 'Four or five years', 'Eight to ten years'], - 1, - ), - Trivia( - 'Archaeological evidence of humans eating apples dates back how far?', - ['500 C.E.', '2000 B.C.E.', '6500 B.C.E.'], - 2, - ), - Trivia('What are the seed pockets inside an apple called?', [ - 'Tarsals', - 'Carpels', - 'Sacs', - ], 1), - ], - ), - Veggie( - id: 2, - name: 'Artichokes', - imageAssetPath: 'assets/images/artichoke.jpg', - category: VeggieCategory.flower, - shortDescription: 'The armadillo of vegetables.', - accentColor: const Color(0x408ea26d), - seasons: [Season.spring, Season.autumn], - vitaminAPercentage: 0, - vitaminCPercentage: 25, - servingSize: '1 medium artichoke', - caloriesPerServing: 60, - trivia: const [ - Trivia('Artichokes are which part of the plant?', [ - 'Flower bud', - 'Root', - 'Seed', - ], 0), - Trivia('"Jerusalem artichoke" is another term for which vegetable?', [ - 'Potato', - 'Cabbage', - 'Sunchoke', - ], 2), - Trivia('Which city claims to be The Artichoke Capital of the World?', [ - 'Castroville, California', - 'Galveston, Texas', - 'London, England', - ], 0), - Trivia('Artichokes are technically which type of plant?', [ - 'Thistle', - 'Azalea', - 'Tulip', - ], 0), - ], - ), - Veggie( - id: 3, - name: 'Asparagus', - imageAssetPath: 'assets/images/asparagus.jpg', - category: VeggieCategory.fern, - shortDescription: 'It\'s been used a food and medicine for millenia.', - accentColor: const Color(0x408cb437), - seasons: [Season.spring], - vitaminAPercentage: 10, - vitaminCPercentage: 15, - servingSize: '5 spears', - caloriesPerServing: 20, - trivia: const [ - Trivia( - 'The nodules at the tip of an asparagus spear are actually which part of the plant?', - ['Seeds', 'Leaves', 'Potective scales'], - 1, - ), - Trivia('How is white asparagus made?', [ - 'It\'s watered with milk', - 'It\'s a different species', - 'It\'s grown in the shade', - ], 2), - Trivia( - 'Asapragus spears have been observed growing how many inches in a single day?', - ['1', '3', '6'], - 2, - ), - Trivia('To which flower is asparagus related?', [ - 'Lily', - 'Rose', - 'Whole wheat', - ], 0), - ], - ), - Veggie( - id: 4, - name: 'Avocado', - imageAssetPath: 'assets/images/avocado.jpg', - category: VeggieCategory.stealthFruit, - shortDescription: 'One of the oiliest, richest fruits money can buy.', - accentColor: const Color(0x40b0ba59), - seasons: [Season.winter, Season.spring, Season.summer], - vitaminAPercentage: 0, - vitaminCPercentage: 4, - servingSize: '1/5 medium avocado', - caloriesPerServing: 50, - trivia: const [ - Trivia('What\'s the most popular variety of avocado?', [ - 'Stevenson', - 'Hass', - 'Juicy Lucy', - ], 1), - Trivia( - 'The word avocado derives from "ahuacatl," found in which civilization?', - ['Aztec', 'Incan', 'Sumerian'], - 0, - ), - Trivia('What percentage of an avocado is nutritional fat?', [ - '10', - '25', - '50', - ], 1), - Trivia( - 'The first evidence of avocado consumption by humans dates back to what year?', - ['2,000 B.C.', '6,000 B.C.', '10,000 B.C.'], - 2, - ), - ], - ), - Veggie( - id: 5, - name: 'Blackberries', - imageAssetPath: 'assets/images/blackberry.jpg', - category: VeggieCategory.berry, - shortDescription: 'Find them on backroads and fences in the Northwest.', - accentColor: const Color(0x409d5adb), - seasons: [Season.summer], - vitaminAPercentage: 6, - vitaminCPercentage: 4, - servingSize: '1 cup', - caloriesPerServing: 62, - trivia: const [ - Trivia('What color are unripe blackberries?', [ - 'Red', - 'White', - 'Brown', - ], 0), - Trivia( - 'The blackberry is the official fruit of which American state?', - ['Washington', 'Colorado', 'Alabama'], - 2, - ), - Trivia('How many varieties of blackberries are known to exist?', [ - '500', - '1000', - '2000', - ], 2), - ], - ), - Veggie( - id: 6, - name: 'Cantaloupe', - imageAssetPath: 'assets/images/cantaloupe.jpg', - category: VeggieCategory.melon, - shortDescription: 'A fruit so tasty there\'s a utensil just for it.', - accentColor: const Color(0x40f6bd56), - seasons: [Season.summer], - vitaminAPercentage: 120, - vitaminCPercentage: 80, - servingSize: '1/4 medium cantaloupe', - caloriesPerServing: 50, - trivia: const [ - Trivia('Which of these is another name for cantaloupe?', [ - 'Muskmelon', - 'Crenshaw melon', - 'Rindfruit', - ], 0), - Trivia('The word "cantaloupe" is a reference to what?', [ - 'The Latin word for a ring of seeds', - 'The gardens of a castle in Italy', - 'An aphid species that feeds on cantaloupe leaves', - ], 1), - Trivia('Cantaloupes grow on what kind of plant?', [ - 'Tree', - 'Shrub', - 'Vine', - ], 2), - Trivia( - 'The most expensive melons in Japan can sell for up to how much?', - ['\$100', '\$1,000', '\$10,000'], - 2, - ), - ], - ), - Veggie( - id: 7, - name: 'Cauliflower', - imageAssetPath: 'assets/images/cauliflower.jpg', - category: VeggieCategory.cruciferous, - shortDescription: 'Looks like white broccoli and explodes when cut.', - accentColor: const Color(0x40c891a8), - seasons: [Season.autumn], - vitaminAPercentage: 0, - vitaminCPercentage: 100, - servingSize: '1/6 medium head', - caloriesPerServing: 25, - trivia: const [ - Trivia( - 'The quote "Cauliflower is nothing but cabbage with a college education" is attributed to whom?', - ['Cesar Romero', 'Mark Twain', 'Lucille Ball'], - 1, - ), - Trivia( - 'The edible head of a cauliflower plant is sometimes called what?', - ['The curd', 'The cow', 'The cudgel'], - 0, - ), - Trivia( - 'Cauliflower is related closest to which of these other plants?', - ['Mustard greens', 'Apples', 'Potatoes'], - 0, - ), - Trivia('Cauliflower\'s green spiral-shaped cousin is known as what?', [ - 'Romesco', - 'Brittany cabbage', - 'Muscle sprouts', - ], 0), - Trivia('Green cauliflower is sometimes called what?', [ - 'Broccoflower', - 'Avocadoflower', - 'Gross', - ], 0), - ], - ), - Veggie( - id: 8, - name: 'Endive', - imageAssetPath: 'assets/images/endive.jpg', - category: VeggieCategory.leafy, - shortDescription: 'It\'s basically the veal of lettuce.', - accentColor: const Color(0x40c5be53), - seasons: [Season.winter, Season.spring, Season.autumn], - vitaminAPercentage: 10, - vitaminCPercentage: 2, - servingSize: '1/2 cup, chopped', - caloriesPerServing: 4, - trivia: const [ - Trivia('What\'s another name for Belgian endive?', [ - 'Radicchio', - 'St. Paul\'s lettuce', - 'Witloof chicory', - ], 2), - Trivia('How does endive propagate itself?', [ - 'By seed', - 'By rhizome', - 'By packing up and moving to Des Moines', - ], 0), - Trivia('Some farmers cover their endive with shade to reduce what?', [ - 'Size', - 'Toughness', - 'Bitterness', - ], 2), - ], - ), - Veggie( - id: 9, - name: 'Figs', - imageAssetPath: 'assets/images/fig.jpg', - category: VeggieCategory.fruit, - shortDescription: 'Delicious when sliced and wrapped in prosciutto.', - accentColor: const Color(0x40aa6d7c), - seasons: [Season.summer, Season.autumn], - vitaminAPercentage: 2, - vitaminCPercentage: 2, - servingSize: '1 large fig', - caloriesPerServing: 50, - trivia: const [ - Trivia('Which of these isn\'t a variety of figs?', [ - 'Brown Turkey', - 'Green Ischia', - 'Red Racer', - ], 2), - Trivia('A fig\'s natural sugar content is around what?', [ - '25%', - '50%', - '75%', - ], 1), - Trivia('How much sun should be used to ripen figs?', [ - 'Shade', - 'Partial shade', - 'Full sun', - ], 2), - ], - ), - Veggie( - id: 10, - name: 'Grapes', - imageAssetPath: 'assets/images/grape.jpg', - category: VeggieCategory.berry, - shortDescription: 'Couldn\'t have wine without them.', - accentColor: const Color(0x40ac708a), - seasons: [Season.autumn], - vitaminAPercentage: 0, - vitaminCPercentage: 2, - servingSize: '3/4 cup', - caloriesPerServing: 90, - trivia: const [ - Trivia('How long ago were grapes introduced to the Americas?', [ - '100 years', - '200 years', - '300 years', - ], 2), - Trivia('Which of these is not an actual color of grapes?', [ - 'Pink', - 'Yellow', - 'Brown', - ], 2), - Trivia( - 'About how many millions of tons of grapes are produced each year?', - ['40', '80', '120'], - 1, - ), - Trivia('There are about how many known varieties of grapes?', [ - '2,000', - '4,000', - '8,000', - ], 2), - ], - ), - Veggie( - id: 11, - name: 'Green Pepper', - imageAssetPath: 'assets/images/green_bell_pepper.jpg', - category: VeggieCategory.stealthFruit, - shortDescription: 'Pleasantly bitter, like a sad movie.', - accentColor: const Color(0x408eb332), - seasons: [Season.summer], - vitaminAPercentage: 4, - vitaminCPercentage: 190, - servingSize: '1 medium pepper', - caloriesPerServing: 25, - trivia: const [ - Trivia('What\'s the Australian term for a bell pepper?', [ - 'Capsicum', - 'Ringer', - 'John Dobbins', - ], 0), - Trivia('How are green peppers produced?', [ - 'They\'re picked before ripening', - 'They\'re grown in the shade', - 'They\'re a distinct species', - ], 0), - Trivia('How quickly can a green pepper grow from seed to harvest?', [ - '10 weeks', - '20 weeks', - '30 weeks', - ], 0), - ], - ), - Veggie( - id: 12, - name: 'Habanero', - imageAssetPath: 'assets/images/habanero.jpg', - category: VeggieCategory.stealthFruit, - shortDescription: 'Delicious... in extremely small quantities.', - accentColor: const Color(0x40ff7a01), - seasons: [Season.summer, Season.autumn], - vitaminAPercentage: 9, - vitaminCPercentage: 100, - servingSize: '1 pepper', - caloriesPerServing: 20, - trivia: const [ - Trivia('How high can habaneros rate on the Scoville scale?', [ - '200,000 units', - '600,000 units', - '1,000,000 units', - ], 1), - Trivia( - 'Which of these is a pepper known to be hotter than the habanero?', - ['Serrano pepper', 'Hatch chile', 'Pepper X'], - 2, - ), - Trivia('Which of these isn\'t a variety of habaneros?', [ - 'White giant', - 'Condor\'s beak', - 'Saucy tyrant', - ], 2), - ], - ), - Veggie( - id: 13, - name: 'Kale', - imageAssetPath: 'assets/images/kale.jpg', - category: VeggieCategory.cruciferous, - shortDescription: 'The meanest vegetable. Does not want to be eaten.', - accentColor: const Color(0x40a86bd8), - seasons: [Season.winter, Season.autumn], - vitaminAPercentage: 133, - vitaminCPercentage: 134, - servingSize: '1 cup, chopped', - caloriesPerServing: 33, - trivia: const [ - Trivia('Kale is sweeter when harvested after what?', [ - 'Sundown', - 'The first frost', - 'Reading it a sad story', - ], 1), - Trivia('Which of these isn\'t a color in which Kale can be found?', [ - 'Purple', - 'White', - 'Orange', - ], 2), - Trivia( - 'One serving of kale provides what percentage of a typical person\'s requirement for vitamin K?', - ['100%', '300%', '900%'], - 2, - ), - ], - ), - Veggie( - id: 14, - name: 'Kiwi', - imageAssetPath: 'assets/images/kiwi.jpg', - category: VeggieCategory.berry, - shortDescription: 'Also known as Chinese gooseberry.', - accentColor: const Color(0x40b47b37), - seasons: [Season.summer], - vitaminAPercentage: 2, - vitaminCPercentage: 240, - servingSize: '2 medium kiwis', - caloriesPerServing: 90, - trivia: const [ - Trivia('Europeans sometimes refer to kiwi as what?', [ - 'Chinese gooseberry', - 'Gem berries', - 'Bulbfruit', - ], 0), - Trivia('On what type of plant do kiwi grow?', [ - 'Tree', - 'Shrub', - 'Vine', - ], 2), - Trivia( - 'Compared to oranges, kiwi typically contain how much vitamin C?', - ['Half as much', 'About the same', 'Twice as much'], - 2, - ), - ], - ), - Veggie( - id: 15, - name: 'Lemons', - imageAssetPath: 'assets/images/lemon.jpg', - category: VeggieCategory.citrus, - shortDescription: 'Similar to limes, only yellow.', - accentColor: const Color(0x40e2a500), - seasons: [Season.winter], - vitaminAPercentage: 0, - vitaminCPercentage: 40, - servingSize: '1 medium lemon', - caloriesPerServing: 15, - trivia: const [ - Trivia( - 'A lemon tree can produce up to how many pounds of fruit each year?', - ['100', '300', '600'], - 2, - ), - Trivia('Which of these isn\'t a type of lemon?', [ - 'Acid', - 'Sarcastic', - 'Sweet', - ], 1), - Trivia('What percent of a typical lemon is composed of juice?', [ - '20%', - '40%', - '60%', - ], 0), - Trivia( - 'Which lemon variety is prized for its sweeter-than-averga flavor?', - ['Hookeye', 'Meyer', 'Minnesota Stomp'], - 1, - ), - ], - ), - Veggie( - id: 16, - name: 'Limes', - imageAssetPath: 'assets/images/lime.jpg', - category: VeggieCategory.citrus, - shortDescription: 'Couldn\'t have ceviche and margaritas without them.', - accentColor: const Color(0x4089b733), - seasons: [Season.winter], - vitaminAPercentage: 0, - vitaminCPercentage: 35, - servingSize: '1 medium lime', - caloriesPerServing: 20, - trivia: const [ - Trivia('Which American state is famous for its Key Lime Pie?', [ - 'Pennsylvania', - 'Arizona', - 'Florida', - ], 2), - Trivia( - 'Dried limes are a particularly popular soup ingredient in which part of the world?', - ['Middle East', 'Africa', 'Australia'], - 0, - ), - Trivia( - 'Sailors once carried limes on their ships to help against which condition?', - ['Influenza', 'Scurvy', 'Boredom'], - 1, - ), - ], - ), - Veggie( - id: 17, - name: 'Mangos', - imageAssetPath: 'assets/images/mango.jpg', - category: VeggieCategory.tropical, - shortDescription: 'A fun orange fruit popular with smoothie enthusiasts.', - accentColor: const Color(0x40fcc93c), - seasons: [Season.summer, Season.autumn], - vitaminAPercentage: 72, - vitaminCPercentage: 203, - servingSize: '1 fruit', - caloriesPerServing: 201, - trivia: const [ - Trivia( - 'In Mexico, mangos are frequently dusted with what spices before being eaten as a snack?', - [ - 'Black pepper and sugar', - 'Chile pepper and lime juice', - 'Cumin and salt', - ], - 1, - ), - Trivia('To which nut is the mango closely related?', [ - 'Cashew', - 'Peanut', - 'Walnut', - ], 0), - Trivia('In which country did mangos originate?', [ - 'India', - 'Madagascar', - 'Belize', - ], 0), - ], - ), - Veggie( - id: 18, - name: 'Mushrooms', - imageAssetPath: 'assets/images/mushroom.jpg', - category: VeggieCategory.fungus, - shortDescription: 'They\'re not truffles, but they\'re still tasty.', - accentColor: const Color(0x40ba754b), - seasons: [Season.spring, Season.autumn], - vitaminAPercentage: 0, - vitaminCPercentage: 2, - servingSize: '5 medium \'shrooms', - caloriesPerServing: 20, - trivia: const [ - Trivia('Someone who loves eating mushrooms is called what?', [ - 'A mycophagist', - 'A philologist', - 'A phlebotomist', - ], 0), - Trivia( - 'Morel mushrooms are particulary prized by cooks of which style of cuisine?', - ['French', 'Italian', 'Japanese'], - 0, - ), - Trivia( - 'The largest living organism ever identified is what type of mushroom?', - ['Shiitake mushroom', 'Honey mushroom', 'Glory mushroom'], - 1, - ), - Trivia( - 'One mushroom cousin is the truffle. Which color truffle is the most prized?', - ['White', 'Black', 'Brown'], - 0, - ), - ], - ), - Veggie( - id: 19, - name: 'Nectarines', - imageAssetPath: 'assets/images/nectarine.jpg', - category: VeggieCategory.stoneFruit, - shortDescription: 'Tiny, bald peaches.', - accentColor: const Color(0x40e45b3b), - seasons: [Season.summer], - vitaminAPercentage: 8, - vitaminCPercentage: 15, - servingSize: '1 medium nectarine', - caloriesPerServing: 60, - trivia: const [ - Trivia('Nectarines are technically a variety of which other fruit?', [ - 'Peach', - 'Plum', - 'Cherry', - ], 0), - Trivia('Nectarines are sometimes called what?', [ - 'Neckless geese', - 'Giant grapes', - 'Shaved peaches', - ], 2), - Trivia('Nectarines are thought to have originated in which country?', [ - 'China', - 'Italy', - 'Ethiopia', - ], 0), - ], - ), - Veggie( - id: 20, - name: 'Persimmons', - imageAssetPath: 'assets/images/persimmon.jpg', - category: VeggieCategory.fruit, - shortDescription: 'It\'s like a plum and an apple had a baby together.', - accentColor: const Color(0x40979852), - seasons: [Season.winter, Season.autumn], - vitaminAPercentage: 0, - vitaminCPercentage: 27, - servingSize: '1 fruit', - caloriesPerServing: 32, - trivia: const [ - Trivia('What\'s the most commonly grown variety of persimmon?', [ - 'Sugar', - 'Yellowbird', - 'Kaki', - ], 2), - Trivia('The word "persimmon" is derived from which language?', [ - 'Latin', - 'Indo-European', - 'Powhatan', - ], 2), - Trivia('Which of these is an alternate variety of persimmon?', [ - 'Black Sapote', - 'Green Troubador', - 'Red Captain', - ], 0), - ], - ), - Veggie( - id: 21, - name: 'Plums', - imageAssetPath: 'assets/images/plum.jpg', - category: VeggieCategory.stoneFruit, - shortDescription: 'Popular in fruit salads and children\'s tales.', - accentColor: const Color(0x40e48b47), - seasons: [Season.summer], - vitaminAPercentage: 8, - vitaminCPercentage: 10, - servingSize: '2 medium plums', - caloriesPerServing: 70, - trivia: const [ - Trivia('Plums should be handled with care because...?', [ - 'They\'re particularly sticky', - 'They bruise easily', - 'It\'s easy to hurt their feelings', - ], 1), - Trivia('A dried plum is known as what?', [ - 'A prune', - 'An apricot', - 'A raisin', - ], 0), - Trivia('A sugar plum typically contains how much plum juice?', [ - '0%', - '25%', - '50%', - ], 0), - ], - ), - Veggie( - id: 22, - name: 'Potatoes', - imageAssetPath: 'assets/images/potato.jpg', - category: VeggieCategory.tuber, - shortDescription: 'King of starches and giver of french fries.', - accentColor: const Color(0x40c65c63), - seasons: [Season.winter, Season.autumn], - vitaminAPercentage: 0, - vitaminCPercentage: 45, - servingSize: '1 medium spud', - caloriesPerServing: 110, - trivia: const [ - Trivia('Which country consumes the most fried potatoes per capita?', [ - 'United States', - 'Belgium', - 'Ireland', - ], 1), - Trivia( - 'Who is credited with introducing French Fries to the United States?', - ['Thomas Jefferson', 'Betsy Ross', 'Alexander Hamilton'], - 0, - ), - Trivia( - 'The world record for loongest curly fry stands at how many inches?', - ['38', '58', '78'], - 0, - ), - ], - ), - Veggie( - id: 23, - name: 'Radicchio', - imageAssetPath: 'assets/images/radicchio.jpg', - category: VeggieCategory.leafy, - shortDescription: 'It\'s that bitter taste in the salad you\'re eating.', - accentColor: const Color(0x40d75875), - seasons: [Season.spring, Season.autumn], - vitaminAPercentage: 0, - vitaminCPercentage: 10, - servingSize: '2 cups shredded', - caloriesPerServing: 20, - trivia: const [ - Trivia('Radicchio is a particuarly good source of which mineral?', [ - 'Manganese', - 'Mercury', - 'Molybdenum', - ], 0), - Trivia('Radicchio should be stored at what temperature?', [ - 'Room temperature', - 'Refrigerator temperature', - 'Freezer temperature', - ], 1), - Trivia( - 'What happens to the taste of radicchio once the plant flowers?', - [ - 'It becomes bitter', - 'It becomes sweeter', - 'Nothing. It just looks nicer!', - ], - 0, - ), - ], - ), - Veggie( - id: 24, - name: 'Radishes', - imageAssetPath: 'assets/images/radish.jpg', - category: VeggieCategory.root, - shortDescription: 'Try roasting them in addition to slicing them up raw.', - accentColor: const Color(0x40819e4e), - seasons: [Season.spring, Season.autumn], - vitaminAPercentage: 0, - vitaminCPercentage: 30, - servingSize: '7 radishes', - caloriesPerServing: 10, - trivia: const [ - Trivia('Which ancient civilization is known to have used radish oil?', [ - 'Egyptian', - 'Sumerian', - 'Incan', - ], 0), - Trivia( - 'What\'s the name of the radish commonly used in Japanese cuisine?', - ['Daisuki', 'Daijin', 'Daikon'], - 2, - ), - Trivia( - 'The annual "Night of the Radishes" festival takes place just before Christmas Eve in which country?', - ['Mexico', 'France', 'South Korea'], - 0, - ), - ], - ), - Veggie( - id: 25, - name: 'Squash', - imageAssetPath: 'assets/images/squash.jpg', - category: VeggieCategory.gourd, - shortDescription: 'Just slather them in butter and pop \'em in the oven.', - accentColor: const Color(0x40dbb721), - seasons: [Season.winter, Season.autumn], - vitaminAPercentage: 297, - vitaminCPercentage: 48, - servingSize: '1 cup diced butternut', - caloriesPerServing: 63, - trivia: const [ - Trivia('Which of these is not a type of squash?', [ - 'Zucchini', - 'Spaghetti', - 'Martini', - ], 2), - Trivia('Gourds like squash are also handy as what?', [ - 'Containers', - 'Furniture', - 'Musical instruments', - ], 0), - Trivia('Which country is the world\'s largest importer of squashes?', [ - 'China', - 'United States', - 'Russia', - ], 1), - ], - ), - Veggie( - id: 26, - name: 'Strawberries', - imageAssetPath: 'assets/images/strawberry.jpg', - category: VeggieCategory.berry, - shortDescription: - 'A delicious fruit that keeps its seeds on the outside.', - accentColor: const Color(0x40f06a44), - seasons: [Season.spring, Season.summer], - vitaminAPercentage: 0, - vitaminCPercentage: 160, - servingSize: '8 medium strawberries', - caloriesPerServing: 50, - trivia: const [ - Trivia('How many seeds are in the average strawberry?', [ - '50', - '100', - '200', - ], 2), - Trivia('Strawberries are closely related to which type of flower?', [ - 'The rose', - 'The daisy', - 'The tulip', - ], 0), - Trivia('Strawberries are unique among fruit for what reason?', [ - 'Their seeds are on the outside', - 'Their flowers are striped', - 'Their plants have a taproot', - ], 0), - ], - ), - Veggie( - id: 27, - name: 'Tangelo', - imageAssetPath: 'assets/images/tangelo.jpg', - category: VeggieCategory.citrus, - shortDescription: 'No one\'s sure what they are or where they came from.', - accentColor: const Color(0x40f88c06), - seasons: [Season.winter, Season.autumn], - vitaminAPercentage: 6, - vitaminCPercentage: 181, - servingSize: '1 medium tangelo', - caloriesPerServing: 60, - trivia: const [ - Trivia( - 'The tangelo is thought to be a cross between oranges and which other fruit?', - ['Peach', 'Plum', 'Pummelo'], - 2, - ), - Trivia('Which of these is a variety of tangelo?', [ - 'Orlando', - 'Bluebonnet', - 'Creakey Pete', - ], 0), - Trivia('A typical tangelo is about what size?', [ - 'Golf ball', - 'Baseball', - 'Bowling ball', - ], 1), - ], - ), - Veggie( - id: 28, - name: 'Tomatoes', - imageAssetPath: 'assets/images/tomato.jpg', - category: VeggieCategory.stealthFruit, - shortDescription: 'A new world food with old world tradition.', - accentColor: const Color(0x40ea3628), - seasons: [Season.summer], - vitaminAPercentage: 20, - vitaminCPercentage: 40, - servingSize: '1 medium tomato', - caloriesPerServing: 25, - trivia: const [ - Trivia('French speakers sometimes refer to tomatoes with which name?', [ - 'Piet de terre', - 'Mille-feuille', - 'Pomme d\'amour', - ], 2), - Trivia( - 'The largest tomato known to have been grown weighed in at how many pounds?', - ['8', '10', '12'], - 0, - ), - Trivia('Which country is the world\'s largest producer of tomatoes?', [ - 'China', - 'Italy', - 'Ecuador', - ], 0), - ], - ), - Veggie( - id: 29, - name: 'Watermelon', - imageAssetPath: 'assets/images/watermelon.jpg', - category: VeggieCategory.melon, - shortDescription: 'Everyone\'s favorite closing act at the picnic.', - accentColor: const Color(0x40fa8c75), - seasons: [Season.summer], - vitaminAPercentage: 30, - vitaminCPercentage: 25, - servingSize: '2 cups diced', - caloriesPerServing: 80, - trivia: const [ - Trivia('How much of a watermelon is water?', ['50%', '75%', '90%'], 2), - Trivia( - 'Which nation is famous for growing watermelons in unsual shapes like cubes and hearts?', - ['Armenia', 'Japan', 'Saudi Arabia'], - 1, - ), - Trivia( - 'Which U.S. state declared the watermelon to be its state vegetable (that\'s right, vegetable)?', - ['Kansas', 'Iowa', 'Oklahoma'], - 2, - ), - Trivia( - 'Early explorers to the Americas used watermelons as which piece of equipment?', - ['Stools', 'Pillows', 'Canteens'], - 2, - ), - ], - ), - Veggie( - id: 30, - name: 'Orange Bell Pepper', - imageAssetPath: 'assets/images/orange_bell_pepper.jpg', - category: VeggieCategory.stealthFruit, - shortDescription: 'Like green pepper, but nicer.', - accentColor: const Color(0x40fd8e00), - seasons: [Season.summer], - vitaminAPercentage: 4, - vitaminCPercentage: 190, - servingSize: '1 medium pepper', - caloriesPerServing: 25, - trivia: const [ - Trivia( - 'Which compound (not found in bell peppers) is responsible for many peppers\' spicy taste?', - ['Alum', 'Capsacin', 'Calcium'], - 1, - ), - Trivia( - 'In comparison to green peppers, how expensive are their orange cousins?', - ['Cheaper', 'About the same', 'More expensive'], - 2, - ), - Trivia( - 'Who is generally credited with giving bell peppers their peppery name?', - ['Christopher Columbus', 'Benjamin Franklin', 'Eleanor Roosevelt'], - 0, - ), - ], - ), - ]; -} diff --git a/veggieseasons/lib/data/preferences.dart b/veggieseasons/lib/data/preferences.dart deleted file mode 100644 index 07f16cad050..00000000000 --- a/veggieseasons/lib/data/preferences.dart +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:async'; - -import 'package:flutter/cupertino.dart'; -import 'package:shared_preferences/shared_preferences.dart'; -import 'veggie.dart'; - -/// A model class that mirrors the options in [SettingsScreen] and stores data -/// in shared preferences. -class Preferences extends ChangeNotifier { - // Keys to use with shared preferences. - static const _caloriesKey = 'calories'; - static const _preferredCategoriesKey = 'preferredCategories'; - - // Indicates whether a call to [_loadFromSharedPrefs] is in progress; - Future? _loading; - - int _desiredCalories = 2000; - - final Set _preferredCategories = {}; - - Future get desiredCalories async { - await _loading; - return _desiredCalories; - } - - Future> get preferredCategories async { - await _loading; - return Set.from(_preferredCategories); - } - - Future addPreferredCategory(VeggieCategory category) async { - _preferredCategories.add(category); - await _saveToSharedPrefs(); - notifyListeners(); - } - - Future removePreferredCategory(VeggieCategory category) async { - _preferredCategories.remove(category); - await _saveToSharedPrefs(); - notifyListeners(); - } - - Future setDesiredCalories(int calories) async { - _desiredCalories = calories; - await _saveToSharedPrefs(); - notifyListeners(); - } - - Future restoreDefaults() async { - final prefs = await SharedPreferences.getInstance(); - await prefs.clear(); - load(); - } - - void load() { - _loading = _loadFromSharedPrefs(); - } - - Future _saveToSharedPrefs() async { - final prefs = await SharedPreferences.getInstance(); - await prefs.setInt(_caloriesKey, _desiredCalories); - - // Store preferred categories as a comma-separated string containing their - // indices. - await prefs.setString( - _preferredCategoriesKey, - _preferredCategories.map((c) => c.index.toString()).join(','), - ); - } - - Future _loadFromSharedPrefs() async { - final prefs = await SharedPreferences.getInstance(); - _desiredCalories = prefs.getInt(_caloriesKey) ?? 2000; - _preferredCategories.clear(); - final names = prefs.getString(_preferredCategoriesKey); - - if (names != null && names.isNotEmpty) { - for (final name in names.split(',')) { - final index = int.tryParse(name) ?? -1; - _preferredCategories.add(VeggieCategory.values[index]); - } - } - - notifyListeners(); - } -} diff --git a/veggieseasons/lib/data/veggie.dart b/veggieseasons/lib/data/veggie.dart deleted file mode 100644 index feeb83bd5d7..00000000000 --- a/veggieseasons/lib/data/veggie.dart +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; - -enum VeggieCategory { - allium, - berry, - citrus, - cruciferous, - fern, - flower, - fruit, - fungus, - gourd, - leafy, - legume, - melon, - root, - stealthFruit, - stoneFruit, - tropical, - tuber, - vegetable, -} - -enum Season { winter, spring, summer, autumn } - -class Trivia { - final String question; - final List answers; - final int correctAnswerIndex; - - const Trivia(this.question, this.answers, this.correctAnswerIndex); -} - -const Map veggieCategoryNames = { - VeggieCategory.allium: 'Allium', - VeggieCategory.berry: 'Berry', - VeggieCategory.citrus: 'Citrus', - VeggieCategory.cruciferous: 'Cruciferous', - VeggieCategory.fern: 'Technically a fern', - VeggieCategory.flower: 'Flower', - VeggieCategory.fruit: 'Fruit', - VeggieCategory.fungus: 'Fungus', - VeggieCategory.gourd: 'Gourd', - VeggieCategory.leafy: 'Leafy', - VeggieCategory.legume: 'Legume', - VeggieCategory.melon: 'Melon', - VeggieCategory.root: 'Root vegetable', - VeggieCategory.stealthFruit: 'Stealth fruit', - VeggieCategory.stoneFruit: 'Stone fruit', - VeggieCategory.tropical: 'Tropical', - VeggieCategory.tuber: 'Tuber', - VeggieCategory.vegetable: 'Vegetable', -}; - -const Map seasonNames = { - Season.winter: 'Winter', - Season.spring: 'Spring', - Season.summer: 'Summer', - Season.autumn: 'Autumn', -}; - -class Veggie { - Veggie({ - required this.id, - required this.name, - required this.imageAssetPath, - required this.category, - required this.shortDescription, - required this.accentColor, - required this.seasons, - required this.vitaminAPercentage, - required this.vitaminCPercentage, - required this.servingSize, - required this.caloriesPerServing, - required this.trivia, - this.isFavorite = false, - }); - - final int id; - - final String name; - - /// Each veggie has an associated image asset that's used as a background - /// image and icon. - final String imageAssetPath; - - final VeggieCategory category; - - /// A short, snappy line. - final String shortDescription; - - /// A color value to use when constructing UI elements to match the image - /// found at [imageAssetPath]. - final Color accentColor; - - /// Seasons during which a veggie is harvested. - final List seasons; - - /// Percentage of the FDA's recommended daily value of vitamin A for someone - /// with a 2,000 calorie diet. - final int vitaminAPercentage; - - /// Percentage of the FDA's recommended daily value of vitamin C for someone - /// with a 2,000 calorie diet. - final int vitaminCPercentage; - - /// A text description of a single serving (e.g. '1 apple' or '1/2 cup'). - final String servingSize; - - /// Calories per serving (as described in [servingSize]). - final int caloriesPerServing; - - /// Whether or not the veggie has been saved to the user's garden (i.e. marked - /// as a favorite). - bool isFavorite; - - /// A set of trivia questions and answers related to the veggie. - final List trivia; - - String? get categoryName => veggieCategoryNames[category]; -} diff --git a/veggieseasons/lib/main.dart b/veggieseasons/lib/main.dart deleted file mode 100644 index 5d9bf692f2e..00000000000 --- a/veggieseasons/lib/main.dart +++ /dev/null @@ -1,235 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:io' show Platform; - -import 'package:flutter/cupertino.dart'; -import 'package:flutter/foundation.dart' show kIsWeb; -import 'package:flutter/services.dart' show DeviceOrientation, SystemChrome; -import 'package:go_router/go_router.dart'; -import 'package:provider/provider.dart'; -import 'package:window_size/window_size.dart'; - -import 'data/app_state.dart'; -import 'data/preferences.dart'; -import 'screens/details.dart'; -import 'screens/favorites.dart'; -import 'screens/home.dart'; -import 'screens/list.dart'; -import 'screens/search.dart'; -import 'screens/settings.dart'; -import 'styles.dart'; -import 'widgets/veggie_seasons_page.dart'; - -void main() { - WidgetsFlutterBinding.ensureInitialized(); - SystemChrome.setPreferredOrientations([ - DeviceOrientation.portraitUp, - DeviceOrientation.portraitDown, - ]); - setupWindow(); - - runApp(const RootRestorationScope(restorationId: 'root', child: VeggieApp())); -} - -const double windowWidth = 480; -const double windowHeight = 854; - -void setupWindow() { - if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) { - setWindowTitle('Veggie Seasons'); - setWindowMinSize(const Size(windowWidth, windowHeight)); - setWindowMaxSize(const Size(windowWidth, windowHeight)); - getCurrentScreen().then((screen) { - setWindowFrame( - Rect.fromCenter( - center: screen!.frame.center, - width: windowWidth, - height: windowHeight, - ), - ); - }); - } -} - -final _rootNavigatorKey = GlobalKey(); -final _shellNavigatorKey = GlobalKey(); - -class VeggieApp extends StatefulWidget { - const VeggieApp({super.key}); - - @override - State createState() => _VeggieAppState(); -} - -class _VeggieAppState extends State with RestorationMixin { - final _RestorableAppState _appState = _RestorableAppState(); - - @override - String get restorationId => 'wrapper'; - - @override - void restoreState(RestorationBucket? oldBucket, bool initialRestore) { - registerForRestoration(_appState, 'state'); - } - - @override - void dispose() { - _appState.dispose(); - super.dispose(); - } - - @override - Widget build(BuildContext context) { - return MultiProvider( - providers: [ - ChangeNotifierProvider.value(value: _appState.value), - ChangeNotifierProvider(create: (_) => Preferences()..load()), - ], - child: CupertinoApp.router( - theme: Styles.veggieThemeData, - debugShowCheckedModeBanner: false, - restorationScopeId: 'app', - routerConfig: GoRouter( - navigatorKey: _rootNavigatorKey, - restorationScopeId: 'router', - initialLocation: '/list', - redirect: (context, state) { - if (state.path == '/') { - return '/list'; - } - return null; - }, - debugLogDiagnostics: true, - routes: [ - ShellRoute( - navigatorKey: _shellNavigatorKey, - pageBuilder: (context, state, child) { - return CupertinoPage( - restorationId: 'router.shell', - child: HomeScreen( - restorationId: 'home', - child: child, - onTap: (index) { - if (index == 0) { - context.go('/list'); - } else if (index == 1) { - context.go('/favorites'); - } else if (index == 2) { - context.go('/search'); - } else { - context.go('/settings'); - } - }, - ), - ); - }, - routes: [ - GoRoute( - path: '/list', - pageBuilder: (context, state) { - return VeggieSeasonsPage( - key: state.pageKey, - restorationId: 'route.list', - child: const ListScreen(restorationId: 'list'), - ); - }, - routes: [_buildDetailsRoute()], - ), - GoRoute( - path: '/favorites', - pageBuilder: (context, state) { - return VeggieSeasonsPage( - key: state.pageKey, - restorationId: 'route.favorites', - child: const FavoritesScreen(restorationId: 'favorites'), - ); - }, - routes: [_buildDetailsRoute()], - ), - GoRoute( - path: '/search', - pageBuilder: (context, state) { - return VeggieSeasonsPage( - key: state.pageKey, - restorationId: 'route.search', - child: const SearchScreen(restorationId: 'search'), - ); - }, - routes: [_buildDetailsRoute()], - ), - GoRoute( - path: '/settings', - pageBuilder: (context, state) { - return VeggieSeasonsPage( - key: state.pageKey, - restorationId: 'route.settings', - child: const SettingsScreen(restorationId: 'settings'), - ); - }, - routes: [ - GoRoute( - parentNavigatorKey: _rootNavigatorKey, - path: 'categories', - pageBuilder: (context, state) { - return VeggieCategorySettingsScreen.pageBuilder( - context, - ); - }, - ), - GoRoute( - parentNavigatorKey: _rootNavigatorKey, - path: 'calories', - pageBuilder: (context, state) { - return CalorieSettingsScreen.pageBuilder(context); - }, - ), - ], - ), - ], - ), - ], - ), - ), - ); - } - - // GoRouter does not support relative routes, - // see https://github.com/flutter/flutter/issues/108177 - GoRoute _buildDetailsRoute() { - return GoRoute( - parentNavigatorKey: _rootNavigatorKey, - path: 'details/:id', - pageBuilder: (context, state) { - final veggieId = int.parse(state.pathParameters['id']!); - return CupertinoPage( - restorationId: 'route.details', - child: DetailsScreen(id: veggieId, restorationId: 'details'), - ); - }, - ); - } -} - -class _RestorableAppState extends RestorableListenable { - @override - AppState createDefaultValue() { - return AppState(); - } - - @override - AppState fromPrimitives(Object? data) { - final appState = AppState(); - final favorites = (data as List).cast(); - for (var id in favorites) { - appState.setFavorite(id, true); - } - return appState; - } - - @override - Object toPrimitives() { - return value.favoriteVeggies.map((veggie) => veggie.id).toList(); - } -} diff --git a/veggieseasons/lib/screens/details.dart b/veggieseasons/lib/screens/details.dart deleted file mode 100644 index 1b1fc0fabc9..00000000000 --- a/veggieseasons/lib/screens/details.dart +++ /dev/null @@ -1,274 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:go_router/go_router.dart'; -import 'package:provider/provider.dart'; -import '../data/app_state.dart'; -import '../data/preferences.dart'; -import '../data/veggie.dart'; -import '../styles.dart'; -import '../widgets/detail_buttons.dart'; - -class ServingInfoChart extends StatelessWidget { - const ServingInfoChart(this.veggie, this.prefs, {super.key}); - - final Veggie veggie; - - final Preferences prefs; - - // Creates a [Text] widget to display a veggie's "percentage of your daily - // value of this vitamin" data adjusted for the user's preferred calorie - // target. - Widget _buildVitaminText(int standardPercentage, Future targetCalories) { - return FutureBuilder( - future: targetCalories, - builder: (context, snapshot) { - final target = snapshot.data ?? 2000; - final percent = standardPercentage * 2000 ~/ target; - - return Text( - '$percent% DV', - style: CupertinoTheme.of(context).textTheme.textStyle, - textAlign: TextAlign.end, - ); - }, - ); - } - - @override - Widget build(BuildContext context) { - final themeData = CupertinoTheme.of(context); - return Column( - children: [ - const SizedBox(height: 32), - Row( - mainAxisSize: MainAxisSize.max, - children: [ - Text( - 'Serving size', - style: Styles.detailsServingLabelText(themeData), - ), - const Spacer(), - Text( - veggie.servingSize, - textAlign: TextAlign.end, - style: CupertinoTheme.of(context).textTheme.textStyle, - ), - ], - ), - const SizedBox(height: 24), - Row( - mainAxisSize: MainAxisSize.max, - children: [ - Text('Calories', style: Styles.detailsServingLabelText(themeData)), - const Spacer(), - Text( - '${veggie.caloriesPerServing} kCal', - style: CupertinoTheme.of(context).textTheme.textStyle, - textAlign: TextAlign.end, - ), - ], - ), - const SizedBox(height: 24), - Row( - mainAxisSize: MainAxisSize.max, - children: [ - Text('Vitamin A', style: Styles.detailsServingLabelText(themeData)), - const Spacer(), - _buildVitaminText(veggie.vitaminAPercentage, prefs.desiredCalories), - ], - ), - const SizedBox(height: 24), - Row( - mainAxisSize: MainAxisSize.max, - children: [ - Text('Vitamin C', style: Styles.detailsServingLabelText(themeData)), - const Spacer(), - _buildVitaminText(veggie.vitaminCPercentage, prefs.desiredCalories), - ], - ), - Padding( - padding: const EdgeInsets.only(top: 32), - child: FutureBuilder( - future: prefs.desiredCalories, - builder: (context, snapshot) { - return Text( - 'Percent daily values based on a diet of ' - '${snapshot.data ?? '2,000'} calories.', - style: Styles.detailsServingNoteText(themeData), - ); - }, - ), - ), - ], - ); - } -} - -class InfoView extends StatelessWidget { - final int? id; - - const InfoView(this.id, {super.key}); - - @override - Widget build(BuildContext context) { - final appState = Provider.of(context); - final prefs = Provider.of(context); - final veggie = appState.getVeggie(id); - final themeData = CupertinoTheme.of(context); - - return Padding( - padding: const EdgeInsets.all(24), - child: Column( - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - Text(veggie.name, style: Styles.detailsTitleText(themeData)), - const SizedBox(height: 8), - Text( - veggie.shortDescription, - style: CupertinoTheme.of(context).textTheme.textStyle, - ), - const SizedBox(height: 16), - Text('Seasons', style: Styles.detailsServingLabelText(themeData)), - const SizedBox(height: 12), - Row( - mainAxisSize: MainAxisSize.max, - children: [ - for (var season in Season.values) ...[ - const Spacer(), - Column( - mainAxisSize: MainAxisSize.min, - children: [ - Icon( - Styles.seasonIconData[season], - color: - veggie.seasons.contains(season) - ? Styles.seasonColors[season] - : const Color.fromRGBO(128, 128, 128, 1), - size: 24, - ), - const SizedBox(height: 4), - Text( - season.name.characters.first.toUpperCase() + - season.name.characters.skip(1).string, - style: Styles.minorText( - CupertinoTheme.of(context), - ).copyWith(fontSize: 11), - ), - ], - ), - const Spacer(), - ], - ], - ), - ServingInfoChart(veggie, prefs), - ], - ), - ); - } -} - -class DetailsScreen extends StatelessWidget { - final int? id; - final String? restorationId; - - const DetailsScreen({this.id, this.restorationId, super.key}); - - Widget _buildHeader(BuildContext context, AppState model) { - final veggie = model.getVeggie(id); - - return SizedBox( - height: 240, - child: Stack( - children: [ - Positioned( - right: 0, - left: 0, - child: Image.asset( - veggie.imageAssetPath, - fit: BoxFit.cover, - semanticLabel: 'A background image of ${veggie.name}', - ), - ), - Positioned( - top: 16, - left: 16, - child: SafeArea( - child: CloseButton(() { - context.pop(); - }), - ), - ), - Positioned( - top: 16, - right: 16, - child: SafeArea( - child: Row( - mainAxisSize: MainAxisSize.min, - children: [ - ShareButton(() { - showCupertinoModalPopup( - context: context, - builder: (context) { - return CupertinoActionSheet( - title: Text('Share ${veggie.name}'), - message: Text(veggie.shortDescription), - actions: [ - CupertinoActionSheetAction( - onPressed: () { - Navigator.pop(context); - }, - child: const Text('OK'), - ), - ], - ); - }, - ); - }), - const SizedBox(width: 8), - Builder( - builder: (context) { - final appState = Provider.of(context); - final veggie = appState.getVeggie(id); - - return FavoriteButton( - () => appState.setFavorite(id, !veggie.isFavorite), - veggie.isFavorite, - ); - }, - ), - ], - ), - ), - ), - ], - ), - ); - } - - @override - Widget build(BuildContext context) { - final appState = Provider.of(context); - - return CupertinoPageScaffold( - child: Column( - crossAxisAlignment: CrossAxisAlignment.stretch, - mainAxisSize: MainAxisSize.min, - children: [ - Expanded( - child: ListView( - restorationId: 'list', - children: [ - _buildHeader(context, appState), - const SizedBox(height: 20), - InfoView(id), - ], - ), - ), - ], - ), - ); - } -} diff --git a/veggieseasons/lib/screens/favorites.dart b/veggieseasons/lib/screens/favorites.dart deleted file mode 100644 index e10e62bd10f..00000000000 --- a/veggieseasons/lib/screens/favorites.dart +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:provider/provider.dart'; -import '../data/app_state.dart'; -import '../data/veggie.dart'; -import '../widgets/veggie_headline.dart'; - -class FavoritesScreen extends StatelessWidget { - const FavoritesScreen({this.restorationId, super.key}); - - final String? restorationId; - - @override - Widget build(BuildContext context) { - return CupertinoTabView( - restorationScopeId: restorationId, - builder: (context) { - final model = Provider.of(context); - - return CupertinoPageScaffold( - navigationBar: const CupertinoNavigationBar( - middle: Text('My Garden'), - ), - child: Center( - child: - model.favoriteVeggies.isEmpty - ? Padding( - padding: const EdgeInsets.symmetric(horizontal: 24), - child: Text( - 'You haven\'t added any favorite veggies to your garden yet.', - style: CupertinoTheme.of(context).textTheme.textStyle, - ), - ) - : ListView( - restorationId: 'list', - children: [ - const SizedBox(height: 24), - for (Veggie veggie in model.favoriteVeggies) - Padding( - padding: const EdgeInsets.fromLTRB(16, 0, 16, 24), - child: VeggieHeadline(veggie), - ), - ], - ), - ), - ); - }, - ); - } -} diff --git a/veggieseasons/lib/screens/home.dart b/veggieseasons/lib/screens/home.dart deleted file mode 100644 index 123716eaad1..00000000000 --- a/veggieseasons/lib/screens/home.dart +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:go_router/go_router.dart'; - -const _bottomNavigationBarItemIconPadding = EdgeInsets.only(top: 4.0); - -class HomeScreen extends StatelessWidget { - const HomeScreen({ - super.key, - this.restorationId, - required this.child, - required this.onTap, - }); - - final String? restorationId; - final Widget child; - final void Function(int) onTap; - - @override - Widget build(BuildContext context) { - final index = _getSelectedIndex(GoRouter.of(context).location); - return RestorationScope( - restorationId: restorationId, - child: CupertinoPageScaffold( - child: Column( - children: [ - Expanded(child: child), - CupertinoTabBar( - currentIndex: index, - items: const [ - BottomNavigationBarItem( - icon: Padding( - padding: _bottomNavigationBarItemIconPadding, - child: Icon(CupertinoIcons.home), - ), - label: 'Home', - ), - BottomNavigationBarItem( - icon: Padding( - padding: _bottomNavigationBarItemIconPadding, - child: Icon(CupertinoIcons.book), - ), - label: 'My Garden', - ), - BottomNavigationBarItem( - icon: Padding( - padding: _bottomNavigationBarItemIconPadding, - child: Icon(CupertinoIcons.search), - ), - label: 'Search', - ), - BottomNavigationBarItem( - icon: Padding( - padding: _bottomNavigationBarItemIconPadding, - child: Icon(CupertinoIcons.settings), - ), - label: 'Settings', - ), - ], - onTap: onTap, - ), - ], - ), - ), - ); - } - - int _getSelectedIndex(String location) { - if (location.startsWith('/list')) return 0; - if (location.startsWith('/favorites')) return 1; - if (location.startsWith('/search')) return 2; - if (location.startsWith('/settings')) return 3; - return 0; - } -} diff --git a/veggieseasons/lib/screens/list.dart b/veggieseasons/lib/screens/list.dart deleted file mode 100644 index b8d3afc2e49..00000000000 --- a/veggieseasons/lib/screens/list.dart +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:flutter/services.dart'; -import 'package:provider/provider.dart'; -import '../data/app_state.dart'; -import '../data/preferences.dart'; -import '../data/veggie.dart'; -import '../styles.dart'; -import '../widgets/veggie_card.dart'; - -class ListScreen extends StatelessWidget { - const ListScreen({this.restorationId, super.key}); - - final String? restorationId; - - Widget _generateVeggieCard( - Veggie veggie, - Preferences prefs, { - bool inSeason = true, - }) { - return Padding( - padding: const EdgeInsets.only(left: 16, right: 16, bottom: 24), - child: FutureBuilder>( - future: prefs.preferredCategories, - builder: (context, snapshot) { - final data = snapshot.data ?? {}; - return VeggieCard(veggie, inSeason, data.contains(veggie.category)); - }, - ), - ); - } - - @override - Widget build(BuildContext context) { - return CupertinoTabView( - restorationScopeId: restorationId, - builder: (context) { - final appState = Provider.of(context); - final prefs = Provider.of(context); - final themeData = CupertinoTheme.of(context); - return AnnotatedRegion( - value: SystemUiOverlayStyle( - statusBarBrightness: MediaQuery.platformBrightnessOf(context), - ), - child: SafeArea( - bottom: false, - child: ListView.builder( - restorationId: 'list', - itemCount: appState.allVeggies.length + 2, - itemBuilder: (context, index) { - if (index == 0) { - return Padding( - padding: const EdgeInsets.fromLTRB(16, 24, 16, 16), - child: Text( - 'In season today', - style: Styles.headlineText(themeData), - ), - ); - } else if (index <= appState.availableVeggies.length) { - return _generateVeggieCard( - appState.availableVeggies[index - 1], - prefs, - ); - } else if (index <= appState.availableVeggies.length + 1) { - return Padding( - padding: const EdgeInsets.fromLTRB(16, 24, 16, 16), - child: Text( - 'Not in season', - style: Styles.headlineText(themeData), - ), - ); - } else { - var relativeIndex = - index - (appState.availableVeggies.length + 2); - return _generateVeggieCard( - appState.unavailableVeggies[relativeIndex], - prefs, - inSeason: false, - ); - } - }, - ), - ), - ); - }, - ); - } -} diff --git a/veggieseasons/lib/screens/search.dart b/veggieseasons/lib/screens/search.dart deleted file mode 100644 index deb8dadb549..00000000000 --- a/veggieseasons/lib/screens/search.dart +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:flutter/services.dart'; -import 'package:provider/provider.dart'; -import '../data/app_state.dart'; -import '../data/veggie.dart'; -import '../widgets/veggie_headline.dart'; - -class SearchScreen extends StatefulWidget { - const SearchScreen({this.restorationId, super.key}); - - final String? restorationId; - - @override - State createState() => _SearchScreenState(); -} - -class _SearchScreenState extends State with RestorationMixin { - final controller = RestorableTextEditingController(); - final focusNode = FocusNode(); - String? terms; - - @override - String? get restorationId => widget.restorationId; - - @override - void restoreState(RestorationBucket? oldBucket, bool initialRestore) { - registerForRestoration(controller, 'text'); - controller.addListener(_onTextChanged); - terms = controller.value.text; - } - - @override - void dispose() { - focusNode.dispose(); - controller.dispose(); - super.dispose(); - } - - void _onTextChanged() { - setState(() => terms = controller.value.text); - } - - Widget _createSearchBox({bool focus = true}) { - return Padding( - padding: const EdgeInsets.all(8), - child: CupertinoSearchTextField( - controller: controller.value, - focusNode: focus ? focusNode : null, - ), - ); - } - - Widget _buildSearchResults(List veggies) { - if (veggies.isEmpty) { - return Center( - child: Padding( - padding: const EdgeInsets.symmetric(horizontal: 24), - child: Text( - 'No veggies matching your search terms were found.', - style: CupertinoTheme.of(context).textTheme.textStyle, - ), - ), - ); - } - - return ListView.builder( - restorationId: 'list', - itemCount: veggies.length + 1, - itemBuilder: (context, i) { - if (i == 0) { - return Visibility( - // This invisible and otherwise unnecessary search box is used to - // pad the list entries downward, so none will be underneath the - // real search box when the list is at its top scroll position. - visible: false, - maintainSize: true, - maintainAnimation: true, - maintainState: true, - // This invisible and otherwise unnecessary search box is used to - // pad the list entries downward, so none will be underneath the - // real search box when the list is at its top scroll position. - child: _createSearchBox(focus: false), - ); - } else { - return Padding( - padding: const EdgeInsets.only(left: 16, right: 16, bottom: 24), - child: VeggieHeadline(veggies[i - 1]), - ); - } - }, - ); - } - - @override - Widget build(BuildContext context) { - final model = Provider.of(context); - - return UnmanagedRestorationScope( - bucket: bucket, - child: CupertinoTabView( - restorationScopeId: 'tabview', - builder: (context) { - return AnnotatedRegion( - value: SystemUiOverlayStyle( - statusBarBrightness: MediaQuery.platformBrightnessOf(context), - ), - child: SafeArea( - bottom: false, - child: Stack( - children: [ - _buildSearchResults(model.searchVeggies(terms)), - _createSearchBox(), - ], - ), - ), - ); - }, - ), - ); - } -} diff --git a/veggieseasons/lib/screens/settings.dart b/veggieseasons/lib/screens/settings.dart deleted file mode 100644 index 8e1e91f5ecd..00000000000 --- a/veggieseasons/lib/screens/settings.dart +++ /dev/null @@ -1,310 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:go_router/go_router.dart'; -import 'package:provider/provider.dart'; -import '../data/preferences.dart'; -import '../data/veggie.dart'; -import '../styles.dart'; - -class VeggieCategorySettingsScreen extends StatelessWidget { - const VeggieCategorySettingsScreen({super.key, this.restorationId}); - - final String? restorationId; - - static Page pageBuilder(BuildContext context) { - return const CupertinoPage( - restorationId: 'router.categories', - child: VeggieCategorySettingsScreen(restorationId: 'category'), - title: 'Preferred Categories', - ); - } - - @override - Widget build(BuildContext context) { - final model = Provider.of(context); - final currentPrefs = model.preferredCategories; - var brightness = CupertinoTheme.brightnessOf(context); - return RestorationScope( - restorationId: restorationId, - child: CupertinoPageScaffold( - navigationBar: const CupertinoNavigationBar( - middle: Text('Preferred Categories'), - previousPageTitle: 'Settings', - ), - backgroundColor: Styles.scaffoldBackground(brightness), - child: FutureBuilder>( - future: currentPrefs, - builder: (context, snapshot) { - final tiles = []; - - for (final category in VeggieCategory.values) { - CupertinoSwitch toggle; - - // It's possible that category data hasn't loaded from shared prefs - // yet, so display it if possible and fall back to disabled switches - // otherwise. - if (snapshot.hasData) { - toggle = CupertinoSwitch( - value: snapshot.data!.contains(category), - onChanged: (value) { - if (value) { - model.addPreferredCategory(category); - } else { - model.removePreferredCategory(category); - } - }, - ); - } else { - toggle = const CupertinoSwitch(value: false, onChanged: null); - } - - tiles.add( - CupertinoListTile.notched( - title: Text(veggieCategoryNames[category]!), - trailing: toggle, - ), - ); - } - - return ListView( - restorationId: 'list', - children: [ - CupertinoListSection.insetGrouped( - hasLeading: false, - children: tiles, - ), - ], - ); - }, - ), - ), - ); - } -} - -class CalorieSettingsScreen extends StatelessWidget { - const CalorieSettingsScreen({super.key, this.restorationId}); - - final String? restorationId; - - static const max = 1000; - static const min = 2600; - static const step = 200; - - static Page pageBuilder(BuildContext context) { - return const CupertinoPage( - restorationId: 'router.calorie', - child: CalorieSettingsScreen(restorationId: 'calorie'), - title: 'Calorie Target', - ); - } - - @override - Widget build(BuildContext context) { - final model = Provider.of(context); - var brightness = CupertinoTheme.brightnessOf(context); - return RestorationScope( - restorationId: restorationId, - child: CupertinoPageScaffold( - navigationBar: const CupertinoNavigationBar( - previousPageTitle: 'Settings', - ), - backgroundColor: Styles.scaffoldBackground(brightness), - child: ListView( - restorationId: 'list', - children: [ - FutureBuilder( - future: model.desiredCalories, - builder: (context, snapshot) { - final tiles = []; - - for (var cals = max; cals < min; cals += step) { - tiles.add( - CupertinoListTile.notched( - title: Text('$cals calories'), - trailing: SettingsIcon( - icon: CupertinoIcons.check_mark, - foregroundColor: - snapshot.hasData && snapshot.data == cals - ? CupertinoColors.activeBlue - : Styles.transparentColor, - backgroundColor: Styles.transparentColor, - ), - onTap: - snapshot.hasData - ? () => model.setDesiredCalories(cals) - : null, - ), - ); - } - - return CupertinoListSection.insetGrouped( - header: Text( - 'Available calorie levels'.toUpperCase(), - style: Styles.settingsGroupHeaderText( - CupertinoTheme.of(context), - ), - ), - footer: Text( - 'These are used for serving calculations', - style: Styles.settingsGroupFooterText( - CupertinoTheme.of(context), - ), - ), - children: tiles, - ); - }, - ), - ], - ), - ), - ); - } -} - -class SettingsScreen extends StatefulWidget { - const SettingsScreen({this.restorationId, super.key}); - - final String? restorationId; - - @override - State createState() => _SettingsScreenState(); -} - -class _SettingsScreenState extends State { - CupertinoListTile _buildCaloriesTile( - BuildContext context, - Preferences prefs, - ) { - return CupertinoListTile.notched( - leading: const SettingsIcon( - backgroundColor: CupertinoColors.systemBlue, - icon: Styles.calorieIcon, - ), - title: const Text('Calorie Target'), - additionalInfo: FutureBuilder( - future: prefs.desiredCalories, - builder: (context, snapshot) { - return Text( - snapshot.data?.toString() ?? '', - style: CupertinoTheme.of(context).textTheme.textStyle, - ); - }, - ), - trailing: const CupertinoListTileChevron(), - onTap: () => context.go('/settings/calories'), - ); - } - - CupertinoListTile _buildCategoriesTile( - BuildContext context, - Preferences prefs, - ) { - return CupertinoListTile.notched( - leading: const SettingsIcon( - backgroundColor: CupertinoColors.systemOrange, - icon: Styles.preferenceIcon, - ), - title: const Text('Preferred Categories'), - trailing: const CupertinoListTileChevron(), - onTap: () => context.go('/settings/categories'), - ); - } - - CupertinoListTile _buildRestoreDefaultsTile( - BuildContext context, - Preferences prefs, - ) { - return CupertinoListTile.notched( - leading: const SettingsIcon( - backgroundColor: CupertinoColors.systemRed, - icon: Styles.resetIcon, - ), - title: const Text('Restore Defaults'), - onTap: () { - showCupertinoDialog( - context: context, - builder: - (context) => CupertinoAlertDialog( - title: const Text('Are you sure?'), - content: const Text( - 'Are you sure you want to reset the current settings?', - ), - actions: [ - CupertinoDialogAction( - isDestructiveAction: true, - child: const Text('Yes'), - onPressed: () async { - await prefs.restoreDefaults(); - if (!context.mounted) return; - context.pop(); - }, - ), - CupertinoDialogAction( - isDefaultAction: true, - child: const Text('No'), - onPressed: () => context.pop(), - ), - ], - ), - ); - }, - ); - } - - @override - Widget build(BuildContext context) { - final prefs = Provider.of(context); - - return CupertinoPageScaffold( - backgroundColor: Styles.scaffoldBackground( - CupertinoTheme.brightnessOf(context), - ), - child: CustomScrollView( - slivers: [ - const CupertinoSliverNavigationBar(largeTitle: Text('Settings')), - SliverList( - delegate: SliverChildListDelegate([ - CupertinoListSection.insetGrouped( - children: [ - _buildCaloriesTile(context, prefs), - _buildCategoriesTile(context, prefs), - ], - ), - CupertinoListSection.insetGrouped( - children: [_buildRestoreDefaultsTile(context, prefs)], - ), - ]), - ), - ], - ), - ); - } -} - -class SettingsIcon extends StatelessWidget { - const SettingsIcon({ - required this.icon, - this.foregroundColor = CupertinoColors.white, - this.backgroundColor = CupertinoColors.black, - super.key, - }); - - final Color backgroundColor; - final Color foregroundColor; - final IconData icon; - - @override - Widget build(BuildContext context) { - return Container( - decoration: BoxDecoration( - borderRadius: BorderRadius.circular(5), - color: backgroundColor, - ), - child: Center(child: Icon(icon, color: foregroundColor, size: 20)), - ); - } -} diff --git a/veggieseasons/lib/styles.dart b/veggieseasons/lib/styles.dart deleted file mode 100644 index da9c3ab4c92..00000000000 --- a/veggieseasons/lib/styles.dart +++ /dev/null @@ -1,213 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:font_awesome_flutter/font_awesome_flutter.dart'; -import 'data/veggie.dart'; - -abstract class Styles { - static CupertinoThemeData veggieThemeData = const CupertinoThemeData( - textTheme: CupertinoTextThemeData( - textStyle: TextStyle( - color: CupertinoColors.label, - fontSize: 16, - fontWeight: FontWeight.normal, - fontStyle: FontStyle.normal, - fontFamily: 'CupertinoSystemText', - letterSpacing: -0.41, - decoration: TextDecoration.none, - ), - ), - ); - - static TextStyle headlineText(CupertinoThemeData themeData) => themeData - .textTheme - .textStyle - .copyWith(fontSize: 32, fontWeight: FontWeight.bold); - - static TextStyle minorText(CupertinoThemeData themeData) => themeData - .textTheme - .textStyle - .copyWith(color: const Color.fromRGBO(128, 128, 128, 1)); - - static TextStyle headlineName(CupertinoThemeData themeData) => themeData - .textTheme - .textStyle - .copyWith(fontSize: 24, fontWeight: FontWeight.bold); - - static TextStyle cardTitleText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - color: const Color.fromRGBO(0, 0, 0, 0.9), - fontSize: 32, - fontWeight: FontWeight.bold, - ); - - static TextStyle cardCategoryText(CupertinoThemeData themeData) => themeData - .textTheme - .textStyle - .copyWith(color: const Color.fromRGBO(255, 255, 255, 0.9)); - - static TextStyle cardDescriptionText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - color: const Color.fromRGBO(0, 0, 0, 0.9), - ); - - static TextStyle detailsTitleText(CupertinoThemeData themeData) => themeData - .textTheme - .textStyle - .copyWith(fontSize: 30, fontWeight: FontWeight.bold); - - static TextStyle detailsPreferredCategoryText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith(fontWeight: FontWeight.bold); - - static TextStyle detailsBoldDescriptionText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - color: const Color.fromRGBO(0, 0, 0, 0.9), - fontWeight: FontWeight.bold, - ); - - static TextStyle detailsServingHeaderText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - color: const Color.fromRGBO(176, 176, 176, 1), - fontWeight: FontWeight.bold, - ); - - static TextStyle detailsServingLabelText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith(fontWeight: FontWeight.bold); - - static TextStyle detailsServingNoteText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith(fontStyle: FontStyle.italic); - - static TextStyle triviaFinishedTitleText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith(fontSize: 32); - - static TextStyle triviaFinishedBigText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith(fontSize: 48); - - static TextStyle settingsGroupHeaderText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - color: CupertinoColors.inactiveGray, - fontSize: 13.5, - letterSpacing: -0.5, - ); - - static TextStyle settingsGroupFooterText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - color: const Color(0xff777777), - fontSize: 13, - letterSpacing: -0.08, - ); - - static const appBackground = Color(0xffd0d0d0); - - static Color? scaffoldBackground(Brightness brightness) => - brightness == Brightness.light - ? CupertinoColors.extraLightBackgroundGray - : null; - - static const frostedBackground = Color(0xccf8f8f8); - - static const closeButtonUnpressed = Color(0xff101010); - - static const closeButtonPressed = Color(0xff808080); - - static TextStyle settingsItemSubtitleText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith(fontSize: 12, letterSpacing: -0.2); - - static const Color searchCursorColor = Color.fromRGBO(0, 122, 255, 1); - - static const Color searchIconColor = Color.fromRGBO(128, 128, 128, 1); - - static const seasonColors = { - Season.winter: Color(0xff336dcc), - Season.spring: Color(0xff2fa02b), - Season.summer: Color(0xff287213), - Season.autumn: Color(0xff724913), - }; - - // While handy, some of the Font Awesome icons sometimes bleed over their - // allotted bounds. This padding is used to adjust for that. - static const seasonIconPadding = { - Season.winter: EdgeInsets.only(right: 0), - Season.spring: EdgeInsets.only(right: 4), - Season.summer: EdgeInsets.only(right: 6), - Season.autumn: EdgeInsets.only(right: 0), - }; - - static const seasonIconData = { - Season.winter: FontAwesomeIcons.snowflake, - Season.spring: FontAwesomeIcons.leaf, - Season.summer: FontAwesomeIcons.umbrellaBeach, - Season.autumn: FontAwesomeIcons.canadianMapleLeaf, - }; - - static const seasonBorder = Border( - top: BorderSide(color: Color(0xff606060)), - left: BorderSide(color: Color(0xff606060)), - bottom: BorderSide(color: Color(0xff606060)), - right: BorderSide(color: Color(0xff606060)), - ); - - static const uncheckedIcon = IconData( - 0xf372, - fontFamily: CupertinoIcons.iconFont, - fontPackage: CupertinoIcons.iconFontPackage, - ); - - static const checkedIcon = IconData( - 0xf373, - fontFamily: CupertinoIcons.iconFont, - fontPackage: CupertinoIcons.iconFontPackage, - ); - - static const transparentColor = Color(0x00000000); - - static const shadowColor = Color(0xa0000000); - - static const shadowGradient = LinearGradient( - begin: Alignment.topCenter, - end: Alignment.bottomCenter, - colors: [transparentColor, shadowColor], - ); - - static const Color settingsMediumGray = Color(0xffc7c7c7); - - static const Color settingsItemPressed = Color(0xffd9d9d9); - - static Color settingsItemColor(Brightness brightness) => - brightness == Brightness.light - ? CupertinoColors.tertiarySystemBackground - : CupertinoColors.darkBackgroundGray; - - static Color settingsLineation(Brightness brightness) => - brightness == Brightness.light - ? const Color(0xffbcbbc1) - : const Color(0xff4c4b4b); - - static const Color settingsBackground = Color(0xffefeff4); - - static const preferenceIcon = IconData( - 0xf443, - fontFamily: CupertinoIcons.iconFont, - fontPackage: CupertinoIcons.iconFontPackage, - ); - - static const resetIcon = IconData( - 0xf4c4, - fontFamily: CupertinoIcons.iconFont, - fontPackage: CupertinoIcons.iconFontPackage, - ); - - static const calorieIcon = IconData( - 0xf3bb, - fontFamily: CupertinoIcons.iconFont, - fontPackage: CupertinoIcons.iconFontPackage, - ); - - static const servingInfoBorderColor = Color(0xffb0b0b0); - - static const ColorFilter desaturatedColorFilter = - // 222222 is a random color that has low color saturation. - ColorFilter.mode(Color(0xff222222), BlendMode.saturation); -} diff --git a/veggieseasons/lib/widgets/detail_buttons.dart b/veggieseasons/lib/widgets/detail_buttons.dart deleted file mode 100644 index c10727bf921..00000000000 --- a/veggieseasons/lib/widgets/detail_buttons.dart +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:ui' as ui; - -import 'package:flutter/cupertino.dart'; -import '../styles.dart'; - -/// Partially overlays and then blurs its child's background. -class FrostedBox extends StatelessWidget { - const FrostedBox({this.child, super.key}); - - final Widget? child; - - @override - Widget build(BuildContext context) { - return BackdropFilter( - filter: ui.ImageFilter.blur(sigmaX: 10, sigmaY: 10), - child: DecoratedBox( - decoration: const BoxDecoration(color: Styles.frostedBackground), - child: child, - ), - ); - } -} - -/// An Icon that implicitly animates changes to its color. -class ColorChangingIcon extends ImplicitlyAnimatedWidget { - const ColorChangingIcon( - this.icon, { - this.color = CupertinoColors.black, - this.size, - required super.duration, - super.key, - }); - - final Color color; - - final IconData icon; - - final double? size; - - @override - AnimatedWidgetBaseState createState() => - _ColorChangingIconState(); -} - -class _ColorChangingIconState - extends AnimatedWidgetBaseState { - ColorTween? _colorTween; - - @override - Widget build(BuildContext context) { - return Icon( - widget.icon, - semanticLabel: 'Close button', - size: widget.size, - color: _colorTween?.evaluate(animation), - ); - } - - @override - void forEachTween(TweenVisitor visitor) { - _colorTween = - visitor( - _colorTween, - widget.color, - (dynamic value) => ColorTween(begin: value as Color?), - ) - as ColorTween?; - } -} - -/// A close button that invokes a callback when pressed. -class CloseButton extends _DetailPageButton { - const CloseButton(VoidCallback onPressed, {super.key}) - : super(onPressed, CupertinoIcons.chevron_back); -} - -/// A share button that invokes a callback when pressed. -class ShareButton extends _DetailPageButton { - const ShareButton(VoidCallback onPressed, {super.key}) - : super(onPressed, CupertinoIcons.share); -} - -/// A favorite button that invokes a callback when pressed. -class FavoriteButton extends _DetailPageButton { - const FavoriteButton(VoidCallback onPressed, bool isFavorite, {super.key}) - : super( - onPressed, - isFavorite ? CupertinoIcons.heart_fill : CupertinoIcons.heart, - ); -} - -class _DetailPageButton extends StatefulWidget { - const _DetailPageButton(this.onPressed, this.icon, {super.key}); - - final VoidCallback onPressed; - final IconData icon; - - @override - State<_DetailPageButton> createState() => _DetailPageButtonState(); -} - -class _DetailPageButtonState extends State<_DetailPageButton> { - bool tapInProgress = false; - - @override - Widget build(BuildContext context) { - return GestureDetector( - onTapDown: (details) { - setState(() => tapInProgress = true); - }, - onTapUp: (details) { - setState(() => tapInProgress = false); - widget.onPressed(); - }, - onTapCancel: () { - setState(() => tapInProgress = false); - }, - child: ClipOval( - child: FrostedBox( - child: Container( - width: 30, - height: 30, - decoration: BoxDecoration(borderRadius: BorderRadius.circular(15)), - child: Center( - child: ColorChangingIcon( - widget.icon, - duration: const Duration(milliseconds: 300), - color: - tapInProgress - ? Styles.closeButtonPressed - : Styles.closeButtonUnpressed, - size: 20, - ), - ), - ), - ), - ), - ); - } -} diff --git a/veggieseasons/lib/widgets/veggie_card.dart b/veggieseasons/lib/widgets/veggie_card.dart deleted file mode 100644 index 474fb6a9c5c..00000000000 --- a/veggieseasons/lib/widgets/veggie_card.dart +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:flutter/material.dart'; -import 'package:go_router/go_router.dart'; -import '../data/veggie.dart'; -import '../styles.dart'; - -/// A Card-like Widget that responds to tap events by animating changes to its -/// elevation and invoking an optional [onPressed] callback. -class PressableCard extends StatelessWidget { - const PressableCard({ - required this.child, - this.borderRadius = const BorderRadius.all(Radius.circular(16)), - this.onPressed, - super.key, - }); - - final VoidCallback? onPressed; - - final Widget child; - - final BorderRadius borderRadius; - - @override - Widget build(BuildContext context) { - return GestureDetector( - onTap: onPressed, - child: Container( - decoration: BoxDecoration(borderRadius: borderRadius), - child: ClipRRect(borderRadius: borderRadius, child: child), - ), - ); - } -} - -class VeggieCard extends StatelessWidget { - const VeggieCard( - this.veggie, - this.isInSeason, - this.isPreferredCategory, { - super.key, - }); - - /// Veggie to be displayed by the card. - final Veggie veggie; - - /// If the veggie is in season, it's displayed more prominently and the - /// image is fully saturated. Otherwise, it's reduced and de-saturated. - final bool isInSeason; - - /// Whether [veggie] falls into one of user's preferred [VeggieCategory]s - final bool isPreferredCategory; - - Widget _buildDetails(BuildContext context) { - final themeData = CupertinoTheme.of(context); - return Container( - color: Colors.white, - child: Padding( - padding: const EdgeInsets.fromLTRB(20, 16, 16, 20), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text(veggie.name, style: Styles.cardTitleText(themeData)), - const SizedBox(height: 8), - Text( - veggie.shortDescription, - style: Styles.cardDescriptionText(themeData), - ), - ], - ), - ), - ); - } - - @override - Widget build(BuildContext context) { - return PressableCard( - onPressed: () { - // GoRouter does not support relative routes, - // so navigate to the absolute route. - // see https://github.com/flutter/flutter/issues/108177 - context.go('/list/details/${veggie.id}'); - }, - child: Stack( - children: [ - Semantics( - label: 'A card background featuring ${veggie.name}', - child: Container( - height: isInSeason ? 300 : 150, - decoration: BoxDecoration( - image: DecorationImage( - fit: BoxFit.cover, - colorFilter: - isInSeason ? null : Styles.desaturatedColorFilter, - image: AssetImage(veggie.imageAssetPath), - ), - ), - ), - ), - Positioned( - bottom: 0, - left: 0, - right: 0, - child: _buildDetails(context), - ), - ], - ), - ); - } -} diff --git a/veggieseasons/lib/widgets/veggie_headline.dart b/veggieseasons/lib/widgets/veggie_headline.dart deleted file mode 100644 index e2a2277cb24..00000000000 --- a/veggieseasons/lib/widgets/veggie_headline.dart +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2018 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:go_router/go_router.dart'; -import '../data/veggie.dart'; -import '../styles.dart'; - -class ZoomClipAssetImage extends StatelessWidget { - const ZoomClipAssetImage({ - required this.zoom, - this.height, - this.width, - required this.imageAsset, - super.key, - }); - - final double zoom; - final double? height; - final double? width; - final String imageAsset; - - @override - Widget build(BuildContext context) { - return Container( - height: height, - width: width, - alignment: Alignment.center, - child: ClipRRect( - borderRadius: BorderRadius.circular(10), - child: OverflowBox( - maxHeight: height! * zoom, - maxWidth: width! * zoom, - child: Image.asset(imageAsset, fit: BoxFit.fill), - ), - ), - ); - } -} - -class VeggieHeadline extends StatelessWidget { - final Veggie veggie; - - const VeggieHeadline(this.veggie, {super.key}); - - List _buildSeasonDots(List seasons) { - var widgets = []; - - for (var season in seasons) { - widgets.add(const SizedBox(width: 4)); - widgets.add( - Container( - height: 10, - width: 10, - decoration: BoxDecoration( - color: Styles.seasonColors[season], - borderRadius: BorderRadius.circular(5), - ), - ), - ); - } - - return widgets; - } - - @override - Widget build(BuildContext context) { - final themeData = CupertinoTheme.of(context); - - return GestureDetector( - onTap: () { - // GoRouter does not support relative routes, - // so navigate to the absolute route, which can be either - // `/favorites/details/${veggie.id}` or `/search/details/${veggie.id}` - // see https://github.com/flutter/flutter/issues/108177 - context.go('${GoRouter.of(context).location}/details/${veggie.id}'); - }, - child: Row( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - ZoomClipAssetImage( - imageAsset: veggie.imageAssetPath, - zoom: 2.4, - height: 72, - width: 72, - ), - const SizedBox(width: 8), - Flexible( - child: Column( - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Row( - children: [ - Text(veggie.name, style: Styles.headlineName(themeData)), - ..._buildSeasonDots(veggie.seasons), - ], - ), - Text( - veggie.shortDescription, - style: themeData.textTheme.textStyle, - ), - ], - ), - ), - ], - ), - ); - } -} diff --git a/veggieseasons/lib/widgets/veggie_seasons_page.dart b/veggieseasons/lib/widgets/veggie_seasons_page.dart deleted file mode 100644 index 0bc642f0106..00000000000 --- a/veggieseasons/lib/widgets/veggie_seasons_page.dart +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2024, the Flutter project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; - -class VeggieSeasonsPage extends Page { - final Widget child; - - const VeggieSeasonsPage({ - super.key, - required this.child, - super.restorationId, - }); - - @override - VeggieSeasonsPageRoute createRoute(BuildContext context) => - VeggieSeasonsPageRoute(this); -} - -class VeggieSeasonsPageRoute extends PageRoute { - VeggieSeasonsPageRoute(VeggieSeasonsPage page) : super(settings: page); - - VeggieSeasonsPage get _page => settings as VeggieSeasonsPage; - - @override - Color? get barrierColor => null; - - @override - String? get barrierLabel => null; - - @override - bool get maintainState => true; - - @override - Duration get transitionDuration => Duration.zero; - - @override - Widget buildPage( - BuildContext context, - Animation animation, - Animation secondaryAnimation, - ) => _page.child; -} diff --git a/veggieseasons/macos/.gitignore b/veggieseasons/macos/.gitignore deleted file mode 100644 index 746adbb6b9e..00000000000 --- a/veggieseasons/macos/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -# Flutter-related -**/Flutter/ephemeral/ -**/Pods/ - -# Xcode-related -**/dgph -**/xcuserdata/ diff --git a/veggieseasons/macos/Flutter/Flutter-Debug.xcconfig b/veggieseasons/macos/Flutter/Flutter-Debug.xcconfig deleted file mode 100644 index 4b81f9b2d20..00000000000 --- a/veggieseasons/macos/Flutter/Flutter-Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/veggieseasons/macos/Flutter/Flutter-Release.xcconfig b/veggieseasons/macos/Flutter/Flutter-Release.xcconfig deleted file mode 100644 index 5caa9d1579e..00000000000 --- a/veggieseasons/macos/Flutter/Flutter-Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/veggieseasons/macos/Flutter/GeneratedPluginRegistrant.swift b/veggieseasons/macos/Flutter/GeneratedPluginRegistrant.swift deleted file mode 100644 index f7175089273..00000000000 --- a/veggieseasons/macos/Flutter/GeneratedPluginRegistrant.swift +++ /dev/null @@ -1,14 +0,0 @@ -// -// Generated file. Do not edit. -// - -import FlutterMacOS -import Foundation - -import shared_preferences_foundation -import window_size - -func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) - WindowSizePlugin.register(with: registry.registrar(forPlugin: "WindowSizePlugin")) -} diff --git a/veggieseasons/macos/Podfile b/veggieseasons/macos/Podfile deleted file mode 100644 index c795730db8e..00000000000 --- a/veggieseasons/macos/Podfile +++ /dev/null @@ -1,43 +0,0 @@ -platform :osx, '10.14' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_macos_podfile_setup - -target 'Runner' do - use_frameworks! - use_modular_headers! - - flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) - target 'RunnerTests' do - inherit! :search_paths - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_macos_build_settings(target) - end -end diff --git a/veggieseasons/macos/Runner.xcodeproj/project.pbxproj b/veggieseasons/macos/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 3beb5482985..00000000000 --- a/veggieseasons/macos/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,801 +0,0 @@ -// !$*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 */ - 0C591566BA30BFA6D780386A /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4EE22A708C4E7F94406AFD15 /* Pods_Runner.framework */; }; - 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 */; }; - AEA6F424A1A42303F9A597C0 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DBED630FEBB9A18F27C8E814 /* Pods_RunnerTests.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 33CC10E52044A3C60003C045 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 33CC10EC2044A3C60003C045; - remoteInfo = Runner; - }; - 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 33CC10E52044A3C60003C045 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 33CC111A2044C6BA0003C045; - remoteInfo = FLX; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 33CC110E2044A8840003C045 /* Bundle Framework */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Bundle Framework"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; - 33CC10ED2044A3C60003C045 /* veggieseasons.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = veggieseasons.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; - 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; - 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; }; - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; }; - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; }; - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; }; - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; }; - 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; }; - 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; }; - 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; }; - 413A4F2B0013AFEC349AB2C5 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; - 4D8AF33CD5C878ED37254D67 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 4EE22A708C4E7F94406AFD15 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 67C24EB68B67E166AAF91AFC /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; - A5460BC7374C6E7592B1FF3E /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - C1FB72C1E9B25422AFEB740F /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; - C518FFB7BDFCCDF5D96D3B89 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - DBED630FEBB9A18F27C8E814 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 331C80D2294CF70F00263BE5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - AEA6F424A1A42303F9A597C0 /* Pods_RunnerTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10EA2044A3C60003C045 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 0C591566BA30BFA6D780386A /* Pods_Runner.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 331C80D6294CF71000263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C80D7294CF71000263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 33BA886A226E78AF003329D5 /* Configs */ = { - isa = PBXGroup; - children = ( - 33E5194F232828860026EE4D /* AppInfo.xcconfig */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */, - ); - path = Configs; - sourceTree = ""; - }; - 33CC10E42044A3C60003C045 = { - isa = PBXGroup; - children = ( - 33FAB671232836740065AC1E /* Runner */, - 33CEB47122A05771004F2AC0 /* Flutter */, - 331C80D6294CF71000263BE5 /* RunnerTests */, - 33CC10EE2044A3C60003C045 /* Products */, - D73912EC22F37F3D000D13A0 /* Frameworks */, - 91771D8FA5A30CAEDA51E26A /* Pods */, - ); - sourceTree = ""; - }; - 33CC10EE2044A3C60003C045 /* Products */ = { - isa = PBXGroup; - children = ( - 33CC10ED2044A3C60003C045 /* veggieseasons.app */, - 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 33CC11242044D66E0003C045 /* Resources */ = { - isa = PBXGroup; - children = ( - 33CC10F22044A3C60003C045 /* Assets.xcassets */, - 33CC10F42044A3C60003C045 /* MainMenu.xib */, - 33CC10F72044A3C60003C045 /* Info.plist */, - ); - name = Resources; - path = ..; - sourceTree = ""; - }; - 33CEB47122A05771004F2AC0 /* Flutter */ = { - isa = PBXGroup; - children = ( - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */, - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */, - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */, - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */, - ); - path = Flutter; - sourceTree = ""; - }; - 33FAB671232836740065AC1E /* Runner */ = { - isa = PBXGroup; - children = ( - 33CC10F02044A3C60003C045 /* AppDelegate.swift */, - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, - 33E51913231747F40026EE4D /* DebugProfile.entitlements */, - 33E51914231749380026EE4D /* Release.entitlements */, - 33CC11242044D66E0003C045 /* Resources */, - 33BA886A226E78AF003329D5 /* Configs */, - ); - path = Runner; - sourceTree = ""; - }; - 91771D8FA5A30CAEDA51E26A /* Pods */ = { - isa = PBXGroup; - children = ( - A5460BC7374C6E7592B1FF3E /* Pods-Runner.debug.xcconfig */, - C518FFB7BDFCCDF5D96D3B89 /* Pods-Runner.release.xcconfig */, - 4D8AF33CD5C878ED37254D67 /* Pods-Runner.profile.xcconfig */, - 413A4F2B0013AFEC349AB2C5 /* Pods-RunnerTests.debug.xcconfig */, - C1FB72C1E9B25422AFEB740F /* Pods-RunnerTests.release.xcconfig */, - 67C24EB68B67E166AAF91AFC /* Pods-RunnerTests.profile.xcconfig */, - ); - name = Pods; - path = Pods; - sourceTree = ""; - }; - D73912EC22F37F3D000D13A0 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 4EE22A708C4E7F94406AFD15 /* Pods_Runner.framework */, - DBED630FEBB9A18F27C8E814 /* Pods_RunnerTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C80D4294CF70F00263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - A9DCAE5A5FC2DAC764BF600F /* [CP] Check Pods Manifest.lock */, - 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 = ( - 6233C4FEDE0E579A6F92072D /* [CP] Check Pods Manifest.lock */, - 33CC10E92044A3C60003C045 /* Sources */, - 33CC10EA2044A3C60003C045 /* Frameworks */, - 33CC10EB2044A3C60003C045 /* Resources */, - 33CC110E2044A8840003C045 /* Bundle Framework */, - 3399D490228B24CF009A79C7 /* ShellScript */, - 6AA72EDC93A2C61F5DA982D4 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 33CC11202044C79F0003C045 /* PBXTargetDependency */, - ); - name = Runner; - productName = Runner; - productReference = 33CC10ED2044A3C60003C045 /* veggieseasons.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"; - }; - 6233C4FEDE0E579A6F92072D /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 6AA72EDC93A2C61F5DA982D4 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - A9DCAE5A5FC2DAC764BF600F /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C80D1294CF70F00263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10E92044A3C60003C045 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */, - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */, - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC10EC2044A3C60003C045 /* Runner */; - targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */; - }; - 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; - targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 33CC10F42044A3C60003C045 /* MainMenu.xib */ = { - isa = PBXVariantGroup; - children = ( - 33CC10F52044A3C60003C045 /* Base */, - ); - name = MainMenu.xib; - path = Runner; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 331C80DB294CF71000263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 413A4F2B0013AFEC349AB2C5 /* Pods-RunnerTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.veggieseasons.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/veggieseasons.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/veggieseasons"; - }; - name = Debug; - }; - 331C80DC294CF71000263BE5 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C1FB72C1E9B25422AFEB740F /* Pods-RunnerTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.veggieseasons.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/veggieseasons.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/veggieseasons"; - }; - name = Release; - }; - 331C80DD294CF71000263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 67C24EB68B67E166AAF91AFC /* Pods-RunnerTests.profile.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.veggieseasons.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/veggieseasons.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/veggieseasons"; - }; - name = Profile; - }; - 338D0CE9231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.14; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Profile; - }; - 338D0CEA231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Profile; - }; - 338D0CEB231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Profile; - }; - 33CC10F92044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.14; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 33CC10FA2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.14; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Release; - }; - 33CC10FC2044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 33CC10FD2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - 33CC111C2044C6BA0003C045 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 33CC111D2044C6BA0003C045 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C80DB294CF71000263BE5 /* Debug */, - 331C80DC294CF71000263BE5 /* Release */, - 331C80DD294CF71000263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10F92044A3C60003C045 /* Debug */, - 33CC10FA2044A3C60003C045 /* Release */, - 338D0CE9231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10FC2044A3C60003C045 /* Debug */, - 33CC10FD2044A3C60003C045 /* Release */, - 338D0CEA231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC111C2044C6BA0003C045 /* Debug */, - 33CC111D2044C6BA0003C045 /* Release */, - 338D0CEB231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 33CC10E52044A3C60003C045 /* Project object */; -} diff --git a/veggieseasons/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/veggieseasons/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/veggieseasons/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/veggieseasons/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/veggieseasons/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index 4c216385462..00000000000 --- a/veggieseasons/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/veggieseasons/macos/Runner.xcworkspace/contents.xcworkspacedata b/veggieseasons/macos/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 21a3cc14c74..00000000000 --- a/veggieseasons/macos/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/veggieseasons/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/veggieseasons/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003d6..00000000000 --- a/veggieseasons/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/veggieseasons/macos/Runner/AppDelegate.swift b/veggieseasons/macos/Runner/AppDelegate.swift deleted file mode 100644 index 8e02df28883..00000000000 --- a/veggieseasons/macos/Runner/AppDelegate.swift +++ /dev/null @@ -1,9 +0,0 @@ -import Cocoa -import FlutterMacOS - -@main -class AppDelegate: FlutterAppDelegate { - override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { - return true - } -} diff --git a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index a2ec33f19f1..00000000000 --- a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "images" : [ - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_16.png", - "scale" : "1x" - }, - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "2x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "1x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_64.png", - "scale" : "2x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_128.png", - "scale" : "1x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "2x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "1x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "2x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "1x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_1024.png", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png deleted file mode 100644 index 82b6f9d9a33..00000000000 Binary files a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png and /dev/null differ diff --git a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png deleted file mode 100644 index 13b35eba55c..00000000000 Binary files a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png and /dev/null differ diff --git a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png deleted file mode 100644 index 0a3f5fa40fb..00000000000 Binary files a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png and /dev/null differ diff --git a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png deleted file mode 100644 index bdb57226d5f..00000000000 Binary files a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png and /dev/null differ diff --git a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png deleted file mode 100644 index f083318e09c..00000000000 Binary files a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png and /dev/null differ diff --git a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png deleted file mode 100644 index 326c0e72c9d..00000000000 Binary files a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png and /dev/null differ diff --git a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png deleted file mode 100644 index 2f1632cfddf..00000000000 Binary files a/veggieseasons/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png and /dev/null differ diff --git a/veggieseasons/macos/Runner/Base.lproj/MainMenu.xib b/veggieseasons/macos/Runner/Base.lproj/MainMenu.xib deleted file mode 100644 index 80e867a4e06..00000000000 --- a/veggieseasons/macos/Runner/Base.lproj/MainMenu.xib +++ /dev/null @@ -1,343 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/veggieseasons/macos/Runner/Configs/AppInfo.xcconfig b/veggieseasons/macos/Runner/Configs/AppInfo.xcconfig deleted file mode 100644 index 04ab23a4b4b..00000000000 --- a/veggieseasons/macos/Runner/Configs/AppInfo.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -// 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 = veggieseasons - -// The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.veggieseasons - -// The copyright displayed in application information -PRODUCT_COPYRIGHT = Copyright Β© 2024 dev.flutter. All rights reserved. diff --git a/veggieseasons/macos/Runner/Configs/Debug.xcconfig b/veggieseasons/macos/Runner/Configs/Debug.xcconfig deleted file mode 100644 index 36b0fd9464f..00000000000 --- a/veggieseasons/macos/Runner/Configs/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Debug.xcconfig" -#include "Warnings.xcconfig" diff --git a/veggieseasons/macos/Runner/Configs/Release.xcconfig b/veggieseasons/macos/Runner/Configs/Release.xcconfig deleted file mode 100644 index dff4f49561c..00000000000 --- a/veggieseasons/macos/Runner/Configs/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Release.xcconfig" -#include "Warnings.xcconfig" diff --git a/veggieseasons/macos/Runner/Configs/Warnings.xcconfig b/veggieseasons/macos/Runner/Configs/Warnings.xcconfig deleted file mode 100644 index 42bcbf4780b..00000000000 --- a/veggieseasons/macos/Runner/Configs/Warnings.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings -GCC_WARN_UNDECLARED_SELECTOR = YES -CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES -CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE -CLANG_WARN__DUPLICATE_METHOD_MATCH = YES -CLANG_WARN_PRAGMA_PACK = YES -CLANG_WARN_STRICT_PROTOTYPES = YES -CLANG_WARN_COMMA = YES -GCC_WARN_STRICT_SELECTOR_MATCH = YES -CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES -CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES -GCC_WARN_SHADOW = YES -CLANG_WARN_UNREACHABLE_CODE = YES diff --git a/veggieseasons/macos/Runner/DebugProfile.entitlements b/veggieseasons/macos/Runner/DebugProfile.entitlements deleted file mode 100644 index dddb8a30c85..00000000000 --- a/veggieseasons/macos/Runner/DebugProfile.entitlements +++ /dev/null @@ -1,12 +0,0 @@ - - - - - com.apple.security.app-sandbox - - com.apple.security.cs.allow-jit - - com.apple.security.network.server - - - diff --git a/veggieseasons/macos/Runner/Info.plist b/veggieseasons/macos/Runner/Info.plist deleted file mode 100644 index 4789daa6a44..00000000000 --- a/veggieseasons/macos/Runner/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - $(PRODUCT_COPYRIGHT) - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/veggieseasons/macos/Runner/MainFlutterWindow.swift b/veggieseasons/macos/Runner/MainFlutterWindow.swift deleted file mode 100644 index 3cc05eb2349..00000000000 --- a/veggieseasons/macos/Runner/MainFlutterWindow.swift +++ /dev/null @@ -1,15 +0,0 @@ -import Cocoa -import FlutterMacOS - -class MainFlutterWindow: NSWindow { - override func awakeFromNib() { - let flutterViewController = FlutterViewController() - let windowFrame = self.frame - self.contentViewController = flutterViewController - self.setFrame(windowFrame, display: true) - - RegisterGeneratedPlugins(registry: flutterViewController) - - super.awakeFromNib() - } -} diff --git a/veggieseasons/macos/Runner/Release.entitlements b/veggieseasons/macos/Runner/Release.entitlements deleted file mode 100644 index 852fa1a4728..00000000000 --- a/veggieseasons/macos/Runner/Release.entitlements +++ /dev/null @@ -1,8 +0,0 @@ - - - - - com.apple.security.app-sandbox - - - diff --git a/veggieseasons/macos/RunnerTests/RunnerTests.swift b/veggieseasons/macos/RunnerTests/RunnerTests.swift deleted file mode 100644 index 61f3bd1fc50..00000000000 --- a/veggieseasons/macos/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -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. - } - -} diff --git a/veggieseasons/pubspec.yaml b/veggieseasons/pubspec.yaml deleted file mode 100644 index b65293a7122..00000000000 --- a/veggieseasons/pubspec.yaml +++ /dev/null @@ -1,83 +0,0 @@ -name: veggieseasons -description: An iOS app that shows the fruits and veggies currently in season. -publish_to: none - -version: 1.2.0 - -environment: - sdk: ^3.7.0-0 - -dependencies: - flutter: - sdk: flutter - - cupertino_icons: ^1.0.2 - font_awesome_flutter: ^10.1.0 - intl: ^0.20.0 - provider: ^6.0.1 - shared_preferences: ^2.0.14 - window_size: - git: - url: https://github.com/google/flutter-desktop-embedding - path: plugins/window_size - # TODO: https://github.com/flutter/samples/issues/1838 - # go_router ^7.1.0 is breaking the state restoration tests - go_router: 7.0.2 - -dev_dependencies: - analysis_defaults: - path: ../analysis_defaults - flutter_test: - sdk: flutter - flutter_launcher_icons: ^0.14.0 - -flutter: - assets: - - assets/images/apple.jpg - - assets/images/artichoke.jpg - - assets/images/asparagus.jpg - - assets/images/avocado.jpg - - assets/images/blackberry.jpg - - assets/images/cantaloupe.jpg - - assets/images/cauliflower.jpg - - assets/images/endive.jpg - - assets/images/fig.jpg - - assets/images/grape.jpg - - assets/images/green_bell_pepper.jpg - - assets/images/habanero.jpg - - assets/images/kale.jpg - - assets/images/kiwi.jpg - - assets/images/lemon.jpg - - assets/images/lime.jpg - - assets/images/mango.jpg - - assets/images/mushroom.jpg - - assets/images/nectarine.jpg - - assets/images/persimmon.jpg - - assets/images/plum.jpg - - assets/images/potato.jpg - - assets/images/radicchio.jpg - - assets/images/radish.jpg - - assets/images/squash.jpg - - assets/images/strawberry.jpg - - assets/images/tangelo.jpg - - assets/images/tomato.jpg - - assets/images/watermelon.jpg - - assets/images/orange_bell_pepper.jpg - - fonts: - - family: NotoSans - fonts: - - asset: assets/fonts/NotoSans-Regular.ttf - weight: 400 - - asset: assets/fonts/NotoSans-Bold.ttf - weight: 700 - - asset: assets/fonts/NotoSans-BoldItalic.ttf - weight: 700 - style: italic - - asset: assets/fonts/NotoSans-Italic.ttf - style: italic - weight: 400 - -flutter_icons: - ios: true - image_path: "assets/icon/launcher_icon.png" diff --git a/veggieseasons/test/widget_test.dart b/veggieseasons/test/widget_test.dart deleted file mode 100644 index f1181b0c407..00000000000 --- a/veggieseasons/test/widget_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -// This is a basic Flutter widget test. -// To perform an interaction with a widget in your test, use the WidgetTester utility that Flutter -// provides. For example, you can send tap and scroll gestures. You can also use WidgetTester to -// find child widgets in the widget tree, read text, and verify that the values of widget properties -// are correct. - -import 'package:flutter_test/flutter_test.dart'; - -void main() { - testWidgets('This test always passes', (tester) async {}); -} diff --git a/veggieseasons/web/icons/Icon-192.png b/veggieseasons/web/icons/Icon-192.png deleted file mode 100644 index b749bfef074..00000000000 Binary files a/veggieseasons/web/icons/Icon-192.png and /dev/null differ diff --git a/veggieseasons/web/icons/Icon-512.png b/veggieseasons/web/icons/Icon-512.png deleted file mode 100644 index 88cfd48dff1..00000000000 Binary files a/veggieseasons/web/icons/Icon-512.png and /dev/null differ diff --git a/veggieseasons/web/index.html b/veggieseasons/web/index.html deleted file mode 100644 index ee352d43626..00000000000 --- a/veggieseasons/web/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - veggieseasons - - - - - - diff --git a/veggieseasons/web/manifest.json b/veggieseasons/web/manifest.json deleted file mode 100644 index c75ec99c21f..00000000000 --- a/veggieseasons/web/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "veggieseasons", - "short_name": "veggieseasons", - "start_url": ".", - "display": "minimal-ui", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A new Flutter project.", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - } - ] -} diff --git a/web_embedding/element_embedding_demo/pubspec.yaml b/web_embedding/element_embedding_demo/pubspec.yaml index afa31c129ec..bdb5f6c41f8 100644 --- a/web_embedding/element_embedding_demo/pubspec.yaml +++ b/web_embedding/element_embedding_demo/pubspec.yaml @@ -2,18 +2,21 @@ name: element_embedding_demo description: A small app to be embedded into a HTML element (see web/index.html) publish_to: 'none' version: 1.0.0+1 +resolution: workspace environment: - sdk: ^3.7.0-0 + sdk: ^3.9.0-0 dependencies: flutter: sdk: flutter dev_dependencies: + analysis_defaults: + path: ../../analysis_defaults flutter_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ^6.0.0 flutter: uses-material-design: true diff --git a/web_embedding/ng-flutter/flutter/lib/pages/counter.dart b/web_embedding/ng-flutter/flutter/lib/pages/counter.dart index b2524c46e62..6644f976c95 100644 --- a/web_embedding/ng-flutter/flutter/lib/pages/counter.dart +++ b/web_embedding/ng-flutter/flutter/lib/pages/counter.dart @@ -24,11 +24,10 @@ class _CounterDemoState extends State { const Text('You have pushed the button this many times:'), ValueListenableBuilder( valueListenable: widget.counter, - builder: - (context, value, child) => Text( - '$value', - style: Theme.of(context).textTheme.headlineMedium, - ), + builder: (context, value, child) => Text( + '$value', + style: Theme.of(context).textTheme.headlineMedium, + ), ), ], ), diff --git a/web_embedding/ng-flutter/flutter/pubspec.yaml b/web_embedding/ng-flutter/flutter/pubspec.yaml index 5d329257025..692990b2fda 100644 --- a/web_embedding/ng-flutter/flutter/pubspec.yaml +++ b/web_embedding/ng-flutter/flutter/pubspec.yaml @@ -2,10 +2,10 @@ name: ng_companion description: A flutter app with a counter that can be manipulated from JS. publish_to: none version: 1.0.0 +resolution: workspace environment: - sdk: ^3.7.0-0 - flutter: ">=3.22.0" + sdk: ^3.9.0-0 dependencies: flutter: @@ -13,9 +13,11 @@ dependencies: web: ^1.0.0 dev_dependencies: + analysis_defaults: + path: ../../../analysis_defaults flutter_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ^6.0.0 flutter: uses-material-design: true diff --git a/web_embedding/ng-flutter/package.json b/web_embedding/ng-flutter/package.json index 9edd8767e05..6897739f31a 100644 --- a/web_embedding/ng-flutter/package.json +++ b/web_embedding/ng-flutter/package.json @@ -11,24 +11,24 @@ }, "private": true, "dependencies": { - "@angular/animations": "^19.0.0", - "@angular/cdk": "^19.0.0", - "@angular/common": "^19.0.0", - "@angular/compiler": "^19.0.0", - "@angular/core": "^19.0.3", - "@angular/forms": "^19.0.1", - "@angular/material": "^19.0.2", - "@angular/platform-browser": "^19.0.3", - "@angular/platform-browser-dynamic": "^19.0.0", - "@angular/router": "^19.0.1", + "@angular/animations": "^20.0.3", + "@angular/cdk": "^20.1.0", + "@angular/common": "^20.1.4", + "@angular/compiler": "^20.0.6", + "@angular/core": "^20.0.3", + "@angular/forms": "^20.1.2", + "@angular/material": "^20.1.0", + "@angular/platform-browser": "^20.0.3", + "@angular/platform-browser-dynamic": "^20.1.0", + "@angular/router": "^20.0.3", "rxjs": "~7.8.1", "tslib": "^2.6.2", "zone.js": "~0.15.0" }, "devDependencies": { - "@angular-devkit/build-angular": "^19.0.2", - "@angular/cli": "~19.0.2", - "@angular/compiler-cli": "^19.0.1", + "@angular-devkit/build-angular": "^20.0.2", + "@angular/cli": "~20.1.0", + "@angular/compiler-cli": "^20.0.3", "@types/jasmine": "~5.1.0", "jasmine-core": "~5.5.0", "karma": "~6.4.2",