Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- novelforge-project/NovelForge Sentinel Pro/public/use.txtAdded+1
- novelforge-project/NovelForge Sentinel Pro/src/App.cssAdded+42
- novelforge-project/NovelForge Sentinel Pro/src/App.tsxAdded+31
- novelforge-project/NovelForge Sentinel Pro/src/components/ErrorBoundary.tsxAdded+35
- novelforge-project/NovelForge Sentinel Pro/src/hooks/use-mobile.tsxAdded+19
- novelforge-project/NovelForge Sentinel Pro/src/index.cssAdded+38
- novelforge-project/NovelForge Sentinel Pro/src/lib/utils.tsAdded+6
- novelforge-project/NovelForge Sentinel Pro/src/main.tsxAdded+13
- novelforge-project/NovelForge Sentinel Pro/src/vite-env.d.tsAdded+1
- novelforge-project/flutter/bin/dartAdded+59
- novelforge-project/flutter/bin/dart.batAdded+36
- novelforge-project/flutter/bin/flutterAdded+64
- novelforge-project/flutter/bin/flutter.batAdded+55
- novelforge-project/flutter/dev/README.mdAdded+7
- novelforge-project/flutter/dev/analysis_options.yamlAdded+11
- novelforge-project/flutter/docs/Flutter-Self-Service-Index.mdAdded+318
- novelforge-project/flutter/docs/In-case-of-emergency.mdAdded+7
- novelforge-project/flutter/docs/README.mdAdded+36
- novelforge-project/flutter/examples/README.mdAdded+40
- novelforge-project/flutter/examples/flutter_gallery.readmeAdded+4
- novelforge-project/flutter/packages/analysis_options.yamlAdded+9
- novelforge-project/flutter/packages/flutter/LICENSEAdded+25
- novelforge-project/flutter/packages/flutter/README.mdAdded+9
- novelforge-project/flutter/packages/flutter/analysis_options.yamlAdded+5
- novelforge-project/flutter/packages/flutter/build.yamlAdded+5
- novelforge-project/flutter/packages/flutter/dart_test.yamlAdded+8
- novelforge-project/flutter/packages/flutter/flutter.imlAdded+14
- novelforge-project/flutter/packages/flutter/pubspec.lockAdded+236
- novelforge-project/flutter/packages/flutter/pubspec.yamlAdded+51
- novelforge-project/flutter/packages/flutter_driver/analysis_options.yamlAdded+5
- novelforge-project/flutter/packages/flutter_driver/dart_test.yamlAdded+5
- novelforge-project/flutter/packages/flutter_driver/flutter_driver.imlAdded+14
- novelforge-project/flutter/packages/flutter_driver/pubspec.lockAdded+489
- novelforge-project/flutter/packages/flutter_driver/pubspec.yamlAdded+78
- novelforge-project/flutter/packages/flutter_goldens/READMEAdded+9
- novelforge-project/flutter/packages/flutter_goldens/README.mdAdded+11
- novelforge-project/flutter/packages/flutter_goldens/pubspec.lockAdded+228
- novelforge-project/flutter/packages/flutter_goldens/pubspec.yamlAdded+43
- novelforge-project/flutter/packages/flutter_localizations/README.mdAdded+134
- novelforge-project/flutter/packages/flutter_localizations/flutter_localizations.imlAdded+14
- novelforge-project/flutter/packages/flutter_localizations/pubspec.lockAdded+196
- novelforge-project/flutter/packages/flutter_localizations/pubspec.yamlAdded+43
- novelforge-project/flutter/packages/flutter_test/analysis_options.yamlAdded+5
- novelforge-project/flutter/packages/flutter_test/dart_test.yamlAdded+5
- novelforge-project/flutter/packages/flutter_test/flutter_test.imlAdded+14
- novelforge-project/flutter/packages/flutter_test/pubspec.lockAdded+191
- novelforge-project/flutter/packages/flutter_test/pubspec.yamlAdded+56
- novelforge-project/flutter/packages/flutter_tools/README.mdAdded+121
- novelforge-project/flutter/packages/flutter_tools/analysis_options.yamlAdded+12
- novelforge-project/flutter/packages/flutter_tools/dart_test.yamlAdded+18
1keep assets in the dir to use.123456789101112131415161718192021222324252627282930313233343536373839404142#root { margin: 0 auto;}
.logo { height: 6em; padding: 1.5em; will-change: filter; transition: filter 300ms;}
.logo:hover { filter: drop-shadow(0 0 2em #646cffaa);}
.logo.react:hover { filter: drop-shadow(0 0 2em #61dafbaa);}
@keyframes logo-spin { from { transform: rotate(0deg); }
to { transform: rotate(360deg); }}
@media (prefers-reduced-motion: no-preference) { a:nth-of-type(2) .logo { animation: logo-spin infinite 20s linear; }}
.card { padding: 2em;}
.read-the-docs { color: #888;}12345678910111213141516171819202122232425262728293031import { useState } from 'react'import reactLogo from './assets/react.svg'import './App.css'
function App() { const [count, setCount] = useState(0)
return ( <> <div> <a href="https://react.dev" target="_blank"> <img src={reactLogo} className="logo react" alt="React logo" /> </a> </div> <h1>Vite + React</h1> <div className="card"> <button onClick={() => setCount((count) => count + 1)}> count is {count} </button> <p> Edit <code>src/App.tsx</code> and save to test HMR </p> </div> <p className="read-the-docs"> Click on the Vite and React logos to learn more </p> </> )}
export default App1234567891011121314151617181920212223242526272829303132333435import React from 'react';
const searilizeError = (error: any) => { if (error instanceof Error) { return error.message + '\n' + error.stack; } return JSON.stringify(error, null, 2);};
export class ErrorBoundary extends React.Component< { children: React.ReactNode }, { hasError: boolean; error: any }> { constructor(props: { children: React.ReactNode }) { super(props); this.state = { hasError: false, error: null }; }
static getDerivedStateFromError(error: any) { return { hasError: true, error }; }
render() { if (this.state.hasError) { return ( <div className="p-4 border border-red-500 rounded"> <h2 className="text-red-500">Something went wrong.</h2> <pre className="mt-2 text-sm">{searilizeError(this.state.error)}</pre> </div> ); }
return this.props.children; }}12345678910111213141516171819import * as React from "react"
const MOBILE_BREAKPOINT = 768
export function useIsMobile() { const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined)
React.useEffect(() => { const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`) const onChange = () => { setIsMobile(window.innerWidth < MOBILE_BREAKPOINT) } mql.addEventListener("change", onChange) setIsMobile(window.innerWidth < MOBILE_BREAKPOINT) return () => mql.removeEventListener("change", onChange) }, [])
return !!isMobile}1234567891011121314151617181920212223242526272829303132333435363738@tailwind base;@tailwind components;@tailwind utilities;
@layer base { :root { --radius: 0.5rem; --sidebar-background: 0 0% 98%; --sidebar-foreground: 240 5.3% 26.1%; --sidebar-primary: 240 5.9% 10%; --sidebar-primary-foreground: 0 0% 98%; --sidebar-accent: 240 4.8% 95.9%; --sidebar-accent-foreground: 240 5.9% 10%; --sidebar-border: 220 13% 91%; --sidebar-ring: 217.2 91.2% 59.8% }
.dark { --sidebar-background: 240 5.9% 10%; --sidebar-foreground: 240 4.8% 95.9%; --sidebar-primary: 224.3 76.3% 48%; --sidebar-primary-foreground: 0 0% 100%; --sidebar-accent: 240 3.7% 15.9%; --sidebar-accent-foreground: 240 4.8% 95.9%; --sidebar-border: 240 3.7% 15.9%; --sidebar-ring: 217.2 91.2% 59.8% }}
img { object-position: top;}
.fixed { position: fixed;}123456import { clsx, ClassValue } from 'clsx';import { twMerge } from 'tailwind-merge';
export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs));}12345678910111213import { StrictMode } from 'react'import { createRoot } from 'react-dom/client'import { ErrorBoundary } from './components/ErrorBoundary.tsx'import './index.css'import App from './App.tsx'
createRoot(document.getElementById('root')!).render( <StrictMode> <ErrorBoundary> <App /> </ErrorBoundary> </StrictMode>,)1/// <reference types="vite/client" />1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859#!/usr/bin/env bash# 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.
# ---------------------------------- NOTE ---------------------------------- ### Please keep the logic in this file consistent with the logic in the# `dart.bat` script in the same directory to ensure that Flutter & Dart continue# to work across all platforms!## -------------------------------------------------------------------------- #
set -e
# Needed because if it is set, cd may print the path it changed to.unset CDPATH
# On Mac OS, readlink -f doesn't work, so follow_links traverses the path one# link at a time, and then cds into the link destination and find out where it# ends up.## The returned filesystem path must be a format usable by Dart's URI parser,# since the Dart command line tool treats its argument as a file URI, not a# filename. For instance, multiple consecutive slashes should be reduced to a# single slash, since double-slashes indicate a URI "authority", and these are# supposed to be filenames. There is an edge case where this will return# multiple slashes: when the input resolves to the root directory. However, if# that were the case, we wouldn't be running this shell, so we don't do anything# about it.## The function is enclosed in a subshell to avoid changing the working directory# of the caller.function follow_links() ( cd -P "$(dirname -- "$1")" file="$PWD/$(basename -- "$1")" while [[ -h "$file" ]]; do cd -P "$(dirname -- "$file")" file="$(readlink -- "$file")" cd -P "$(dirname -- "$file")" file="$PWD/$(basename -- "$file")" done echo "$file")
PROG_NAME="$(follow_links "${BASH_SOURCE[0]}")"BIN_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)"SHARED_NAME="$BIN_DIR/internal/shared.sh"OS="$(uname -s)"
# If we're on Windows, invoke the batch script instead to get proper locking.if [[ $OS =~ MINGW.* || $OS =~ CYGWIN.* || $OS =~ MSYS.* ]]; then exec "${BIN_DIR}/dart.bat" "$@"fi
# To define `shared::execute()` functionsource "$SHARED_NAME"
shared::execute "$@"123456789101112131415161718192021222324252627282930313233343536@ECHO off
REM Copyright 2014 The Flutter Authors. All rights reserved.
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.
REM ---------------------------------- NOTE ----------------------------------
REM
REM Please keep the logic in this file consistent with the logic in the
REM `dart` script in the same directory to ensure that Flutter & Dart continue to
REM work across all platforms!
REM
REM --------------------------------------------------------------------------
SETLOCAL
FOR %%i IN ("%~dp0..") DO SET FLUTTER_ROOT=%%~fi
REM Include shared scripts in shared.bat
SET shared_bin=%FLUTTER_ROOT%/bin/internal/shared.bat
CALL "%shared_bin%"
SET cache_dir=%FLUTTER_ROOT%\bin\cache
SET dart_sdk_path=%cache_dir%\dart-sdk
SET dart=%dart_sdk_path%\bin\dart.exe
SET exit_with_errorlevel=%FLUTTER_ROOT%/bin/internal/exit_with_errorlevel.bat
REM Chaining the call to 'dart' and 'exit' with an ampersand ensures that
REM Windows reads both commands into memory once before executing them. This
REM avoids nasty errors that may otherwise occur when the dart command (e.g. as
REM part of 'flutter upgrade') modifies this batch script while it is executing.
REM
REM Do not use the CALL command in the next line to execute Dart. CALL causes
REM Windows to re-read the line from disk after the CALL command has finished
REM regardless of the ampersand chain.
"%dart%" %* & "%exit_with_errorlevel%"12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364#!/usr/bin/env bash# 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.
# ---------------------------------- NOTE ---------------------------------- ### Please keep the logic in this file consistent with the logic in the# `flutter.bat` script in the same directory to ensure that Flutter continues# to work across all platforms!## -------------------------------------------------------------------------- #
set -e
# To debug the tool, you can uncomment the following lines to enable debug# mode and set an observatory port:# FLUTTER_TOOL_ARGS="--enable-asserts $FLUTTER_TOOL_ARGS"# FLUTTER_TOOL_ARGS="$FLUTTER_TOOL_ARGS --observe=65432"
# Needed because if it is set, cd may print the path it changed to.unset CDPATH
# On Mac OS, readlink -f doesn't work, so follow_links traverses the path one# link at a time, and then cds into the link destination and find out where it# ends up.## The returned filesystem path must be a format usable by Dart's URI parser,# since the Dart command line tool treats its argument as a file URI, not a# filename. For instance, multiple consecutive slashes should be reduced to a# single slash, since double-slashes indicate a URI "authority", and these are# supposed to be filenames. There is an edge case where this will return# multiple slashes: when the input resolves to the root directory. However, if# that were the case, we wouldn't be running this shell, so we don't do anything# about it.## The function is enclosed in a subshell to avoid changing the working directory# of the caller.function follow_links() ( cd -P "$(dirname -- "$1")" file="$PWD/$(basename -- "$1")" while [[ -h "$file" ]]; do cd -P "$(dirname -- "$file")" file="$(readlink -- "$file")" cd -P "$(dirname -- "$file")" file="$PWD/$(basename -- "$file")" done echo "$file")
PROG_NAME="$(follow_links "${BASH_SOURCE[0]}")"BIN_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)"SHARED_NAME="$BIN_DIR/internal/shared.sh"OS="$(uname -s)"
# If we're on Windows, invoke the batch script instead to get proper locking.if [[ $OS =~ MINGW.* || $OS =~ CYGWIN.* || $OS =~ MSYS.* ]]; then exec "${BIN_DIR}/flutter.bat" "$@"fi
# To define `shared::execute()` functionsource "$SHARED_NAME"
shared::execute "$@"12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455@ECHO off
REM Copyright 2014 The Flutter Authors. All rights reserved.
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.
REM ---------------------------------- NOTE ----------------------------------
REM
REM Please keep the logic in this file consistent with the logic in the
REM `flutter` script in the same directory to ensure that Flutter & Dart continue to
REM work across all platforms!
REM
REM --------------------------------------------------------------------------
SETLOCAL
REM To debug the tool, you can uncomment the following line to enable debug mode:
REM SET FLUTTER_TOOL_ARGS="--enable-asserts %FLUTTER_TOOL_ARGS%"
FOR %%i IN ("%~dp0..") DO SET FLUTTER_ROOT=%%~fi
REM If available, add location of bundled mingit to PATH
SET mingit_path=%FLUTTER_ROOT%\bin\mingit\cmd
IF EXIST "%mingit_path%" SET PATH=%PATH%;%mingit_path%
REM We test if Git is available on the Host as we run git in shared.bat
REM Test if the flutter directory is a git clone, otherwise git rev-parse HEAD would fail
IF NOT EXIST "%flutter_root%\.git" (
ECHO Error: The Flutter directory is not a clone of the GitHub project.
ECHO The flutter tool requires Git in order to operate properly;
ECHO to set up Flutter, run the following command:
ECHO git clone -b stable https://github.com/flutter/flutter.git
EXIT 1
)
REM Include shared scripts in shared.bat
SET shared_bin=%FLUTTER_ROOT%\bin\internal\shared.bat
CALL "%shared_bin%"
SET flutter_tools_dir=%FLUTTER_ROOT%\packages\flutter_tools
SET cache_dir=%FLUTTER_ROOT%\bin\cache
SET snapshot_path=%cache_dir%\flutter_tools.snapshot
SET dart_sdk_path=%cache_dir%\dart-sdk
SET dart=%dart_sdk_path%\bin\dart.exe
SET exit_with_errorlevel=%FLUTTER_ROOT%/bin/internal/exit_with_errorlevel.bat
REM Chaining the call to 'dart' and 'exit' with an ampersand ensures that
REM Windows reads both commands into memory once before executing them. This
REM avoids nasty errors that may otherwise occur when the dart command (e.g. as
REM part of 'flutter upgrade') modifies this batch script while it is executing.
REM
REM Do not use the CALL command in the next line to execute Dart. CALL causes
REM Windows to re-read the line from disk after the CALL command has finished
REM regardless of the ampersand chain.
"%dart%" --disable-dart-dev --packages="%flutter_tools_dir%\.dart_tool\package_config.json" %FLUTTER_TOOL_ARGS% "%snapshot_path%" %* & "%exit_with_errorlevel%"1234567This directory contains tools and resources that the Flutter team usesduring the development of the framework. The tools in this directoryshould not be necessary for developing Flutter applications, though ofcourse, they may be interesting if you are curious.
The tests in this directory are run in the `framework_tests_misc-*`shards.1234567891011include: ../analysis_options.yaml
linter: rules: avoid_print: false # We use prints as debugging tools here a lot.
# Tests try to throw and catch things in exciting ways all the time, so # we disable these lints for the tests. only_throw_errors: false avoid_catching_errors: false avoid_catches_without_on_clauses: false123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318## Flutter Self Service Index
Flutter provides multiple functionality through self-service services. Most of these services are available to any member of the Flutter GitHub organization.
### Audiences
<table> <tr> <td><strong>Name</strong> </td> <td><strong>Description</strong> </td> </tr> <tr> <td>Flutter contributors </td> <td>Anyone contributing to the flutter organization independently of membership to the organization. </td> </tr> <tr> <td>Flutter organization members </td> <td>[Anyone with write access to the flutter organization resources.](./contributing/Contributor-access.md) </td> </tr> <tr> <td>Googlers </td> <td>Members of the Flutter Organization that are also Googlers. </td> </tr> <tr> <td>Flutter organization administrators </td> <td>Members of the Flutter organization that have write access to the organization's settings. </td> </tr></table>
### Infrastructure
<table> <tr> <td><strong>Service</strong> </td> <td><strong>Description</strong> </td> <td><strong>Audience</strong> </td> <td><strong>Documentation</strong> </td> <td><strong>Location</strong> </td> </tr> <tr> <td>.ci.yaml </td> <td>Configuration file to instruct the Flutter Infrastructure which tasks to use to validate commits in a given repository. ".ci.yaml" is read from the top level folder of every supported repository. </td> <td>Flutter contributors </td> <td><a href="https://github.com/flutter/cocoon/blob/main/CI_YAML.md">Link</a> </td> <td>Top level folder of the GitHub repositories. E.g. <a href="https://github.com/flutter/flutter/blob/main/.ci.yaml">flutter/flutter</a>. </td> </tr> <tr> <td>Engine build configurations </td> <td>Configuration files to describe Flutter Engine builds and tests. </td> <td>Flutter contributors </td> <td><a href="https://github.com/flutter/engine/blob/main/ci/builders/README.md">Link</a> </td> <td><a href="https://github.com/flutter/engine/tree/main/ci/builders">engine/ci/builders</a> in the <a href="https://github.com/flutter/engine/tree/main">flutter/engine</a> repository contains all the current configuration files. </td> </tr> <tr> <td>Autosubmit </td> <td>GitHub application that auto-submits pull requests that meet the approval criteria. </td> <td>Flutter organization administrators </td> <td><a href="go/enabling_autosubmit">Link</a> </td> <td>The application code is available in the <a href="https://github.com/flutter/cocoon/tree/main/auto_submit">flutter/cocoon</a> repository. </td> </tr> <tr> <td>FirebaseLab tests </td> <td>Special type of tests configured through .ci.yaml that use resources from FirebaseLab </td> <td>Flutter contributors </td> <td>[Link](./infra/Flutter-FirebaseLab-Tests.md) </td> <td>These configurations go directly in the .ci.yaml file of <a href="https://github.com/flutter/flutter">flutter/flutter</a> repository. </td> </tr> <tr> <td>Codesigning </td> <td>Add metadata to engine artifacts for code signing infrastructure to sign them. </td> <td>Flutter contributors </td> <td>[Link](./engine/release/Code-signing-metadata.md) </td> <td>GN files and global generator scripts in the <a href="https://github.com/flutter/engine">flutter/engine</a> repository. </td> </tr> <tr> <td>Emulators support </td> <td>Using android emulators from tests. </td> <td>Flutter contributors </td> <td>[Link](./platforms/android/Testing-Android-Changes-in-the-Devicelab-on-an-Emulator.md) </td> <td>Flutter Github Wiki page under the “Android Development” Section. </td> </tr> <tr> <td>Rerun GitHub presubmit test using command line </td> <td>Run presubmit tasks using `reset-try-task` end point and gcloud CLI. </td> <td> Googlers </td> <td><a href="https://g3doc.corp.google.com/company/teams/flutter/infrastructure/playbook.md?cl=head#manually-trigger-try-pre-submit-builds">Link</a> </td> <td>Source code is available <a href="https://github.com/flutter/cocoon/blob/main/app_dart/lib/src/request_handlers/reset_try_task.dart">here</a> </td> </tr> <tr> <td>Rerun postsubmit test from Flutter build dashboard </td> <td>Re-run postsubmit tasks from the go/flutter-dashboard. </td> <td> Googlers </td> <td><a href="https://screenshot.googleplex.com/3CgvqjbPEuoLzXs">Link</a> </td> <td>Source code is available <a href="https://g3doc.corp.google.com/company/teams/flutter/go/flutter-dashboard">go/flutter-dashboard</a> </td> </tr> <tr> <td>Run a test multiple times in parallel via LED </td> <td>Run a shard test against a pull request to validate changes/fixes in parallel. </td> <td> Googlers </td> <td><a href="https://g3doc.corp.google.com/company/teams/flutter/infrastructure/playbook.md?cl=head#run-a-shard-multiple-times-in-parallel-via-led">Link</a> </td> <td>N/A </td> </tr> <tr> <td>Create a CIPD package </td> <td>Create and add the package build scripts to cocoon to enable auto building and uploading to flutter CIPD namespaces. </td> <td> Flutter contributors </td> <td><a href="https://github.com/flutter/cocoon/tree/main/cipd_packages">Link</a> </td> <td>Flutter public CIPD namespace: <a href="https://chrome-infra-packages.appspot.com/p/flutter">flutter</a> </td> </tr> <tr> <td>View Infra SLO metrics </td> <td>DataSite with links to a collection of Engineering Productivity dashboards including infrastructure, release and rolls. </td> <td> Googlers </td> <td><a href="https://data.corp.google.com/sites/dash_infra_metrics_datasite/infra_slo_metrics/">Link</a> </td> <td>N/A </td> </tr></table>
### Release
<table> <tr> <td><strong>Service</strong> </td> <td><strong>Description</strong> </td> <td><strong>Audience</strong> </td> <td><strong>Documentation</strong> </td> <td><strong>Location</strong> </td> </tr> <tr> <td>Create non flutter release candidate branches </td> <td>Self service to create release candidate branches used by products different than flutter </td> <td> Googlers </td> <td><a href="https://g3doc.corp.google.com/company/teams/flutter/go/flutter-self-service-branches">Link</a> </td> <td>N/A </td> </tr> <tr> <td>Request 1P cherry picks </td> <td>Request approvals for cherry picks to release candidate branches </td> <td> Googlers </td> <td><a href="https://g3doc.corp.google.com/company/teams/flutter/go/flutter-cp">Link</a> </td> <td><a href="https://g3doc.corp.google.com/company/teams/flutter/github.com/flutter/flutter">flutter/flutter</a> </td> </tr> <tr> <td>G3 Fixes </td> <td>Apply G3 fixes that are automatically applied during the roll process. </td> <td> Googlers </td> <td><a href="https://g3doc.corp.google.com/company/teams/flutter/go/flutter-life-of-a-pr#g3fix">Link</a> </td> <td>N/A </td> </tr> <tr> <td>Single command releases </td> <td>Creating a third party flutter release with multi party approvals. </td> <td> Release Engineering </td> <td><a href="https://g3doc.corp.google.com/company/teams/flutter/go/flutter-release-workflow#push">Link</a> </td> <td>N/A </td> </tr></table>
### Security
<table> <tr> <td><strong>Service</strong> </td> <td><strong>Description</strong> </td> <td><strong>Audience</strong> </td> <td><strong>Documentation</strong> </td> <td><strong>Location</strong> </td> </tr> <tr> <td>Vulnerability scanning and fixes validation </td> <td>Automatic scanning of c, c++ third party dependencies and vulnerability. fix validation. </td> <td>Flutter organization members </td> <td><a href="https://github.com/flutter/engine/security/code-scanning">Link</a> </td> <td><a href="https://github.com/flutter/engine/security">Engine github security tab</a>. </td> </tr> <tr> <td>Request write access to non-prod GCP projects </td> <td> </td> <td> Googlers </td> <td><a href="https://g3doc.corp.google.com/company/teams/flutter/security/gcp_security/aod_roles_for_dash_projects.md?cl=head#available-groups">Link</a> </td> <td>N/A </td> </tr> <tr> <td>Rolling non-auto-updating 3p mirrored deps </td> <td>Dependencies on mirrors that do not automatically roll changes from their upstream might need to be manually rolled </td> <td> Googlers </td> <td><a href="https://g3doc.corp.google.com/company/teams/flutter/security/third_party_deps/index.md?cl=head#rolling-mirrored-dependencies">Link</a> </td> <td>N/A </td> </tr></table>
Googlers can access the internal version using [go/flutter-self-service](http://go/flutter-self-service)1234567## If flutter.dev is down
If one of our web sites is down, please ping `@emergency` on our [Discord server](./contributing/Chat.md).
## If you find a security vulnerability
Please see our [security policy](https://docs.flutter.dev/security#reporting-vulnerabilities) for instructions.123456789101112131415161718192021222324252627282930313233343536This wiki is primarily aimed at engineers building or making contributions to Flutter.
If you are new to Flutter, then you will find more general information on the Flutter project, including tutorials and samples, on our Web site at [flutter.dev](https://flutter.dev). For specific information about Flutter's APIs, consider our API reference which can be found at the [api.flutter.dev](https://api.flutter.dev/).
If you want to know what we're likely to do in the future, our [roadmap](./roadmap/Roadmap.md) may be of interest.
If you intend to contribute to Flutter, welcome! You are encouraged to start with [our contributor guide](../CONTRIBUTING.md), which helps onboard new team members. It points to the most relevant pages on this wiki. You are also invited to join our [Discord](./contributing/Chat.md) server.
## Index of notable sections
* [Actionable bugs](./triage/README.md#what-makes-an-issue-actionable), and the closing of unactionable bugs* [Breaking changes](./contributing/Tree-hygiene.md#handling-breaking-changes)* [Cherrypick process](./releases/Flutter-Cherrypick-Process.md)* [Closing issues](./contributing/issue_hygiene/README.md#closing-issues)* [Dashboards](./infra/Dashboards.md)* [Debugging a broken engine autoroll](./engine/Debugging-the-engine.md#bisecting-a-roll-failure)* [Deprecations](./contributing/Tree-hygiene.md#deprecations)* [Design documents](./contributing/Design-Documents.md)* [Discord](./contributing/Chat.md)* [Engineering Philosophy](./contributing/Style-guide-for-Flutter-repo.md#philosophy)* [Flaky tests](./contributing/issue_hygiene/README.md#flaky-tests)* [flutter.dev is down](./In-case-of-emergency.md)* [Issue prioritization](./contributing/issue_hygiene/README.md#priorities)* [Labels](./contributing/issue_hygiene/README.md#labels)* [Milestones](./contributing/issue_hygiene/README.md#milestones)* [Plugin compatibility policy](./contributing/Style-guide-for-Flutter-repo.md#plugin-compatibility)* [Reviewing code](./contributing/Tree-hygiene.md#getting-a-code-review)* [RFC process](./contributing/issue_hygiene/README.md#how-to-propose-a-specific-change)* [Status of popular issues](./contributing/issue_hygiene/Popular-issues.md)* [Submitting code, process for](./contributing/Tree-hygiene.md#overview)* [Support levels, definitions of](./about/Values.md#support)* [Symbolicating stack traces](./engine/Crashes.md)* [Threading in the Engine](./about/The-Engine-architecture.md#threading)* [When will my bug be fixed?](./contributing/issue_hygiene/README.md#when-will-my-bug-be-fixed)* [Security best practices](./infra/Security.md#best-practices)12345678910111213141516171819202122232425262728293031323334353637383940Flutter Examples================
This directory contains several examples of using Flutter. To run an example,use `flutter run` inside that example's directory. See the [getting startedguide](https://flutter.dev/getting-started/) to install the `flutter` tool.
For additional samples, see the[`flutter/samples`](https://github.com/flutter/samples) repo.
Available examples include:
- **Hello, world** The [hello world app](hello_world) is a minimal Flutter app that shows the text "Hello, world!"
- **Flutter gallery** The flutter gallery app no longer lives in this repo. Please see the [gallery repo](https://github.com/flutter/gallery).
- **Layers** The [layers vignettes](layers) show how to use the various layers in the Flutter framework. For details, see the [layers README](layers/README.md).
- **Platform Channel** The [platform channel app](platform_channel) demonstrates how to connect a Flutter app to platform-specific APIs. For documentation, see <https://flutter.dev/platform-channels/>.
- **Platform Channel Swift** The [platform channel swift app](platform_channel_swift) is the same as [platform channel](platform_channel) but the iOS version is in Swift and there is no Android version.
## Notes
Note on Gradle wrapper files in `.gitignore`:
Gradle wrapper files should normally be checked into source control. The exampleprojects don't do that to avoid having several copies of the wrapper binary inthe Flutter repo. Instead, the Gradle wrapper is injected by Flutter tooling,and the wrapper files are .gitignore'd to avoid making the Flutter repositorydirty as a side effect of running the examples.1234The Flutter Gallery sample application that used to live inthis /examples/ directory has moved, and is now located here:
https://github.com/flutter/gallery123456789# Take our settings from the repo's main analysis_options.yaml file, and include# additional rules that are specific to production code.
include: ../analysis_options.yaml
linter: rules: - public_member_api_docs # see https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#documentation-dartdocs-javadocs-etc - no_runtimeType_toString # use objectRuntimeType from package:foundation12345678910111213141516171819202122232425Copyright 2014 The Flutter Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ANDANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AREDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FORANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ONANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THISSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.123456789# Flutter
Flutter is a new way to build high-performance, cross-platform mobile, web,and desktop apps. Flutter is optimized for today's — and tomorrow's — mobileand desktop devices. We are focused on low-latency input and high frame rateson all platforms.
See the [getting started guide](https://flutter.dev/getting-started/) forinformation about using Flutter.12345include: ../analysis_options.yaml
analyzer: exclude: - "test_fixes/**"12345targets: $default: sources: exclude: - "test/examples/sector_layout_test.dart"12345678tags: # This tag tells the test framework to run these tagged files as part of a # reduced test set. reduced-test-set: # This tag tells the test framework to not shuffle the test order according to # the --test-randomize-ordering-seed for the suites that have this tag. no-shuffle: allow_test_randomization: false1234567891011121314<?xml version="1.0" encoding="UTF-8"?><module type="WEB_MODULE" version="4"> <component name="NewModuleRootManager" inherit-compiler-output="true"> <exclude-output /> <content url="file://$MODULE_DIR$"> <excludeFolder url="file://$MODULE_DIR$/build" /> </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="library" name="Dart SDK" level="project" /> <orderEntry type="library" name="Dart Packages" level="project" /> <orderEntry type="library" name="Flutter Plugins" level="project" /> </component></module>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236# Generated by pub# See https://dart.dev/tools/pub/glossary#lockfilepackages: async: dependency: "direct dev" description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: "direct dev" description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" characters: dependency: "direct main" description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" clock: dependency: "direct dev" description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: "direct main" description: name: collection sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted version: "1.18.0" crypto: dependency: "direct dev" description: name: crypto sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab url: "https://pub.dev" source: hosted version: "3.0.3" fake_async: dependency: "direct dev" description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" file: dependency: "direct dev" description: name: file sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted version: "7.0.0" flutter_goldens: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" leak_tracker: dependency: "direct dev" description: name: leak_tracker sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" url: "https://pub.dev" source: hosted version: "10.0.0" leak_tracker_flutter_testing: dependency: "direct dev" description: name: leak_tracker_flutter_testing sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 url: "https://pub.dev" source: hosted version: "2.0.1" leak_tracker_testing: dependency: "direct dev" description: name: leak_tracker_testing sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 url: "https://pub.dev" source: hosted version: "2.0.1" matcher: dependency: "direct dev" description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: "direct main" description: name: material_color_utilities sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted version: "0.8.0" meta: dependency: "direct main" description: name: meta sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted version: "1.11.0" path: dependency: "direct dev" description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" platform: dependency: "direct dev" description: name: platform sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec" url: "https://pub.dev" source: hosted version: "3.1.4" process: dependency: "direct dev" description: name: process sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32" url: "https://pub.dev" source: hosted version: "5.0.2" sky_engine: dependency: "direct main" description: flutter source: sdk version: "0.0.99" source_span: dependency: "direct dev" description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: "direct dev" description: name: stack_trace sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted version: "1.11.1" stream_channel: dependency: "direct dev" description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" string_scanner: dependency: "direct dev" description: name: string_scanner sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted version: "1.2.0" term_glyph: dependency: "direct dev" description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: "direct dev" description: name: test_api sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted version: "0.6.1" typed_data: dependency: "direct dev" description: name: typed_data sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted version: "1.3.2" vector_math: dependency: "direct main" description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" vm_service: dependency: "direct dev" description: name: vm_service sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted version: "13.0.0" web: dependency: "direct dev" description: name: web sha256: edc8a9573dd8c5a83a183dae1af2b6fd4131377404706ca4e5420474784906fa url: "https://pub.dev" source: hosted version: "0.4.0"sdks: dart: ">=3.2.0-194.0.dev <4.0.0"123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051name: flutterdescription: A framework for writing Flutter applicationshomepage: https://flutter.dev
environment: sdk: '>=3.2.0-0 <4.0.0'
dependencies: # To update these, use "flutter update-packages --force-upgrade". # # For detailed instructions, refer to: # https://github.com/flutter/flutter/wiki/Updating-dependencies-in-Flutter characters: 1.3.0 collection: 1.18.0 material_color_utilities: 0.8.0 meta: 1.11.0 vector_math: 2.1.4 sky_engine: sdk: flutter
dev_dependencies: flutter_test: sdk: flutter flutter_goldens: sdk: flutter fake_async: 1.3.1 # To track memory leaks. leak_tracker_flutter_testing: 2.0.1 web: 0.4.0
async: 2.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" boolean_selector: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" clock: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" crypto: 3.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" file: 7.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker: 10.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" matcher: 0.12.16+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" path: 1.9.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" platform: 3.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" process: 5.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" source_span: 1.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" string_scanner: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vm_service: 13.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM: 130712345include: ../analysis_options.yaml
analyzer: exclude: - "test_fixes/**"12345tags: # This tag tells the test framework to not shuffle the test order according to # the --test-randomize-ordering-seed for the suites that have this tag. no-shuffle: allow_test_randomization: false1234567891011121314<?xml version="1.0" encoding="UTF-8"?><module type="WEB_MODULE" version="4"> <component name="NewModuleRootManager" inherit-compiler-output="true"> <exclude-output /> <content url="file://$MODULE_DIR$"> <excludeFolder url="file://$MODULE_DIR$/build" /> </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="library" name="Dart SDK" level="project" /> <orderEntry type="library" name="Dart Packages" level="project" /> <orderEntry type="library" name="Flutter Plugins" level="project" /> </component></module>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489# Generated by pub# See https://dart.dev/tools/pub/glossary#lockfilepackages: _fe_analyzer_shared: dependency: "direct dev" description: name: _fe_analyzer_shared sha256: "36a321c3d2cbe01cbcb3540a87b8843846e0206df3e691fa7b23e19e78de6d49" url: "https://pub.dev" source: hosted version: "65.0.0" analyzer: dependency: "direct dev" description: name: analyzer sha256: dfe03b90ec022450e22513b5e5ca1f01c0c01de9c3fba2f7fd233cb57a6b9a07 url: "https://pub.dev" source: hosted version: "6.3.0" args: dependency: "direct dev" description: name: args sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 url: "https://pub.dev" source: hosted version: "2.4.2" async: dependency: "direct main" description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: "direct main" description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" characters: dependency: "direct main" description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" clock: dependency: "direct main" description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: "direct main" description: name: collection sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted version: "1.18.0" convert: dependency: "direct dev" description: name: convert sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" url: "https://pub.dev" source: hosted version: "3.1.1" coverage: dependency: "direct dev" description: name: coverage sha256: "8acabb8306b57a409bf4c83522065672ee13179297a6bb0cb9ead73948df7c76" url: "https://pub.dev" source: hosted version: "1.7.2" crypto: dependency: "direct dev" description: name: crypto sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab url: "https://pub.dev" source: hosted version: "3.0.3" fake_async: dependency: "direct dev" description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" file: dependency: "direct main" description: name: file sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted version: "7.0.0" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_test: dependency: "direct main" description: flutter source: sdk version: "0.0.0" frontend_server_client: dependency: "direct dev" description: name: frontend_server_client sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612" url: "https://pub.dev" source: hosted version: "3.2.0" fuchsia_remote_debug_protocol: dependency: "direct main" description: flutter source: sdk version: "0.0.0" glob: dependency: "direct dev" description: name: glob sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" url: "https://pub.dev" source: hosted version: "2.1.2" http_multi_server: dependency: "direct dev" description: name: http_multi_server sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" url: "https://pub.dev" source: hosted version: "3.2.1" http_parser: dependency: "direct dev" description: name: http_parser sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" url: "https://pub.dev" source: hosted version: "4.0.2" io: dependency: "direct dev" description: name: io sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" url: "https://pub.dev" source: hosted version: "1.0.4" js: dependency: "direct dev" description: name: js sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 url: "https://pub.dev" source: hosted version: "0.6.7" leak_tracker: dependency: "direct main" description: name: leak_tracker sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" url: "https://pub.dev" source: hosted version: "10.0.0" leak_tracker_flutter_testing: dependency: "direct main" description: name: leak_tracker_flutter_testing sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 url: "https://pub.dev" source: hosted version: "2.0.1" leak_tracker_testing: dependency: "direct main" description: name: leak_tracker_testing sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 url: "https://pub.dev" source: hosted version: "2.0.1" logging: dependency: "direct dev" description: name: logging sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" url: "https://pub.dev" source: hosted version: "1.2.0" matcher: dependency: "direct main" description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: "direct main" description: name: material_color_utilities sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted version: "0.8.0" meta: dependency: "direct main" description: name: meta sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted version: "1.11.0" mime: dependency: "direct dev" description: name: mime sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e url: "https://pub.dev" source: hosted version: "1.0.4" node_preamble: dependency: "direct dev" description: name: node_preamble sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db" url: "https://pub.dev" source: hosted version: "2.0.2" package_config: dependency: "direct dev" description: name: package_config sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" url: "https://pub.dev" source: hosted version: "2.1.0" path: dependency: "direct main" description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" platform: dependency: "direct main" description: name: platform sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec" url: "https://pub.dev" source: hosted version: "3.1.4" pool: dependency: "direct dev" description: name: pool sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" url: "https://pub.dev" source: hosted version: "1.5.1" process: dependency: "direct main" description: name: process sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32" url: "https://pub.dev" source: hosted version: "5.0.2" pub_semver: dependency: "direct dev" description: name: pub_semver sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" url: "https://pub.dev" source: hosted version: "2.1.4" shelf: dependency: "direct dev" description: name: shelf sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 url: "https://pub.dev" source: hosted version: "1.4.1" shelf_packages_handler: dependency: "direct dev" description: name: shelf_packages_handler sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e" url: "https://pub.dev" source: hosted version: "3.0.2" shelf_static: dependency: "direct dev" description: name: shelf_static sha256: a41d3f53c4adf0f57480578c1d61d90342cd617de7fc8077b1304643c2d85c1e url: "https://pub.dev" source: hosted version: "1.1.2" shelf_web_socket: dependency: "direct dev" description: name: shelf_web_socket sha256: "9ca081be41c60190ebcb4766b2486a7d50261db7bd0f5d9615f2d653637a84c1" url: "https://pub.dev" source: hosted version: "1.0.4" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.99" source_map_stack_trace: dependency: "direct dev" description: name: source_map_stack_trace sha256: "84cf769ad83aa6bb61e0aa5a18e53aea683395f196a6f39c4c881fb90ed4f7ae" url: "https://pub.dev" source: hosted version: "2.1.1" source_maps: dependency: "direct dev" description: name: source_maps sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703" url: "https://pub.dev" source: hosted version: "0.10.12" source_span: dependency: "direct main" description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: "direct main" description: name: stack_trace sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted version: "1.11.1" stream_channel: dependency: "direct main" description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" string_scanner: dependency: "direct main" description: name: string_scanner sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted version: "1.2.0" sync_http: dependency: "direct main" description: name: sync_http sha256: "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961" url: "https://pub.dev" source: hosted version: "0.3.1" term_glyph: dependency: "direct main" description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test: dependency: "direct dev" description: name: test sha256: a1f7595805820fcc05e5c52e3a231aedd0b72972cb333e8c738a8b1239448b6f url: "https://pub.dev" source: hosted version: "1.24.9" test_api: dependency: "direct main" description: name: test_api sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted version: "0.6.1" test_core: dependency: "direct dev" description: name: test_core sha256: a757b14fc47507060a162cc2530d9a4a2f92f5100a952c7443b5cad5ef5b106a url: "https://pub.dev" source: hosted version: "0.5.9" typed_data: dependency: "direct dev" description: name: typed_data sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted version: "1.3.2" vector_math: dependency: "direct main" description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" vm_service: dependency: "direct main" description: name: vm_service sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted version: "13.0.0" watcher: dependency: "direct dev" description: name: watcher sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" url: "https://pub.dev" source: hosted version: "1.1.0" web: dependency: "direct dev" description: name: web sha256: edc8a9573dd8c5a83a183dae1af2b6fd4131377404706ca4e5420474784906fa url: "https://pub.dev" source: hosted version: "0.4.0" web_socket_channel: dependency: "direct dev" description: name: web_socket_channel sha256: "045ec2137c27bf1a32e6ffa0e734d532a6677bf9016a0d1a406c54e499ff945b" url: "https://pub.dev" source: hosted version: "2.4.1" webdriver: dependency: "direct main" description: name: webdriver sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e" url: "https://pub.dev" source: hosted version: "3.0.3" webkit_inspection_protocol: dependency: "direct dev" description: name: webkit_inspection_protocol sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572" url: "https://pub.dev" source: hosted version: "1.2.1" yaml: dependency: "direct dev" description: name: yaml sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" url: "https://pub.dev" source: hosted version: "3.1.2"sdks: dart: ">=3.2.0 <4.0.0"123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778name: flutter_driverdescription: Integration and performance test API for Flutter applicationshomepage: https://flutter.dev
environment: sdk: '>=3.2.0-0 <4.0.0'
dependencies: file: 7.0.0 flutter: sdk: flutter flutter_test: sdk: flutter fuchsia_remote_debug_protocol: sdk: flutter path: 1.9.0 meta: 1.11.0 vm_service: 13.0.0 webdriver: 3.0.3
async: 2.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" boolean_selector: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" clock: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker: 10.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker_flutter_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" matcher: 0.12.16+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" material_color_utilities: 0.8.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" platform: 3.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" process: 5.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" source_span: 1.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" string_scanner: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" sync_http: 0.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies: fake_async: 1.3.1 test: 1.24.9
_fe_analyzer_shared: 65.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" analyzer: 6.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" args: 2.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" convert: 3.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" coverage: 1.7.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" crypto: 3.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" frontend_server_client: 3.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" glob: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" http_multi_server: 3.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" http_parser: 4.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" io: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" js: 0.6.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" logging: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" mime: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" node_preamble: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" package_config: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" pool: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" pub_semver: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" shelf: 1.4.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" shelf_packages_handler: 3.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" shelf_static: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" shelf_web_socket: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" source_map_stack_trace: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" source_maps: 0.10.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.5.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web: 0.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 2.4.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" yaml: 3.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM: 0728123456789This package is an internal implementation detail for our testinginfrastructure. It enables the framework to use the Skia Goldinfrastructure for tracking golden image tests.
See also:
* https://skia.org/docs/dev/testing/skiagold/ * https://flutter-gold.skia.org/ * https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter1234567891011This package is an internal implementation detail for our testinginfrastructure. It enables the framework to use the Skia Goldinfrastructure for tracking golden image tests.
See also: * https://skia.org/docs/dev/testing/skiagold/ * https://flutter-gold.skia.org/ * [Writing a golden file test for package flutter]
[Writing a golden file test for package flutter]: /docs/contributing/testing/Writing-a-golden-file-test-for-package-flutter.md123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228# Generated by pub# See https://dart.dev/tools/pub/glossary#lockfilepackages: async: dependency: "direct main" description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: "direct main" description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" characters: dependency: "direct main" description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" clock: dependency: "direct main" description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: "direct main" description: name: collection sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted version: "1.18.0" crypto: dependency: "direct main" description: name: crypto sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab url: "https://pub.dev" source: hosted version: "3.0.3" fake_async: dependency: "direct main" description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" file: dependency: "direct main" description: name: file sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted version: "7.0.0" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_test: dependency: "direct main" description: flutter source: sdk version: "0.0.0" leak_tracker: dependency: "direct main" description: name: leak_tracker sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" url: "https://pub.dev" source: hosted version: "10.0.0" leak_tracker_flutter_testing: dependency: "direct main" description: name: leak_tracker_flutter_testing sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 url: "https://pub.dev" source: hosted version: "2.0.1" leak_tracker_testing: dependency: "direct main" description: name: leak_tracker_testing sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 url: "https://pub.dev" source: hosted version: "2.0.1" matcher: dependency: "direct main" description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: "direct main" description: name: material_color_utilities sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted version: "0.8.0" meta: dependency: "direct main" description: name: meta sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted version: "1.11.0" path: dependency: "direct main" description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" platform: dependency: "direct main" description: name: platform sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec" url: "https://pub.dev" source: hosted version: "3.1.4" process: dependency: "direct main" description: name: process sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32" url: "https://pub.dev" source: hosted version: "5.0.2" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.99" source_span: dependency: "direct main" description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: "direct main" description: name: stack_trace sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted version: "1.11.1" stream_channel: dependency: "direct main" description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" string_scanner: dependency: "direct main" description: name: string_scanner sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted version: "1.2.0" term_glyph: dependency: "direct main" description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: "direct main" description: name: test_api sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted version: "0.6.1" typed_data: dependency: "direct main" description: name: typed_data sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted version: "1.3.2" vector_math: dependency: "direct main" description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" vm_service: dependency: "direct main" description: name: vm_service sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted version: "13.0.0"sdks: dart: ">=3.2.0-0 <4.0.0"12345678910111213141516171819202122232425262728293031323334353637383940414243name: flutter_goldens
environment: sdk: '>=3.2.0-0 <4.0.0'
dependencies: # To update these, use "flutter update-packages --force-upgrade". # # For detailed instructions, refer to: # https://github.com/flutter/flutter/wiki/Updating-dependencies-in-Flutter flutter: sdk: flutter flutter_test: sdk: flutter file: 7.0.0 meta: 1.11.0 platform: 3.1.4 process: 5.0.2 crypto: 3.0.3 path: 1.9.0
async: 2.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" boolean_selector: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" clock: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" fake_async: 1.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker: 10.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker_flutter_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" matcher: 0.12.16+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" material_color_utilities: 0.8.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" source_span: 1.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" string_scanner: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vm_service: 13.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM: f07c123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134# Flutter Framework localizations
This package contains the localizations used by the Flutter frameworkitself.
See the [localization README](./lib/src/l10n/README.md) for more detailedinformation about the localizations themselves.
## Adding a new string to localizations
If you (someone contributing to the Flutter framework) want to add a newstring to the `MaterialLocalizations`, `WidgetsLocalizations` or the`CupertinoLocalizations` objects (e.g. because you've added a new widgetand it has a tooltip), follow these steps (these instructions are for`MaterialLocalizations`, but apply equally to `CupertinoLocalizations`and `WidgetsLocalizations`, with appropriate name substitutions):
1. ### For messages without parameters, add new getter ``` String get showMenuTooltip; ``` to the localizations class `MaterialLocalizations`, in [`packages/flutter/lib/src/material/material_localizations.dart`](https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/material_localizations.dart);
### For messages with parameters, add new function ``` String aboutListTileTitle(String applicationName); ``` to the same localization class.
2. Implement a default return value in `DefaultMaterialLocalizations` in the same file as in step 1.
### Messages without parameters: ``` @override String get showMenuTooltip => 'Show menu'; ``` ### Messages with parameters: ``` @override String aboutListTileTitle(String applicationName) => 'About $applicationName'; ``` For messages with parameters, do also add the function to `GlobalMaterialLocalizations` in [`packages/flutter_localizations/lib/src/material_localizations.dart`](https://github.com/flutter/flutter/blob/master/packages/flutter_localizations/lib/src/material_localizations.dart), and add a raw getter as demonstrated below:
``` /// The raw version of [aboutListTileTitle], with `$applicationName` verbatim /// in the string. @protected String get aboutListTileTitleRaw;
@override String aboutListTileTitle(String applicationName) { final String text = aboutListTileTitleRaw; return text.replaceFirst(r'$applicationName', applicationName); } ```
3. Add a test to `test/material/localizations_test.dart` that verifies that this new value is implemented.
4. Update the `flutter_localizations` package. To add a new string to the `flutter_localizations` package, you must first add it to the English translations (`lib/src/l10n/material_en.arb`), including a description.
### Messages without parameters: ``` "showMenuTooltip": "Show menu", "@showMenuTooltip": { "description": "The tooltip for the button that shows a popup menu." }, ```
### Messages with parameters: ``` "aboutListTileTitle": "About $applicationName", "@aboutListTileTitle": { "description": "The default title for the drawer item that shows an about page for the application. The value of $applicationName is the name of the application, like GMail or Chrome.", "parameters": "applicationName" }, ```
Then you need to add new entries for the string to all of the other language locale files by running: ``` dart dev/tools/localization/bin/gen_missing_localizations.dart ``` Which will copy the English strings into the other locales as placeholders until they can be translated.
Finally you need to re-generate lib/src/l10n/localizations.dart by running: ``` dart dev/tools/localization/bin/gen_localizations.dart --overwrite ```
If you got an error when running this command, [this issue](https://github.com/flutter/flutter/issues/104601) might be helpful.
TL;DR: If you got the same type of errors as discussed in the issue, run this instead: ``` dart dev/tools/localization/bin/gen_localizations.dart --overwrite --remove-undefined ```
There is a [localization README](./lib/src/l10n/README.md) file with further information in the `lib/src/l10n/` directory.
5. If you are a Google employee, you should then also follow the instructions at `go/flutter-l10n`. If you're not, don't worry about it.
## Updating an existing string
If you or someone contributing to the Flutter framework wants to modify anexisting string in the MaterialLocalizations objects, follow these steps:
1. Modify the default value of the relevant getter(s) in `DefaultMaterialLocalizations` below.
2. Update the `flutter_localizations` package. Modify the out-of-date English strings in `lib/src/l10n/material_en.arb`.
You also need to re-generate `lib/src/l10n/localizations.dart` by running: ``` dart dev/tools/localization/bin/gen_localizations.dart --overwrite ```
This script may result in your updated getters being created in newer locales and set to the old value of the strings. This is to be expected. Leave them as they were generated, and they will be picked up for translation.
There is a [localization README](./lib/src/l10n/README.md) file with further information in the `lib/src/l10n/` directory.
3. If you are a Google employee, you should then also follow the instructions at `go/flutter-l10n`. If you're not, don't worry about it.1234567891011121314<?xml version="1.0" encoding="UTF-8"?><module type="WEB_MODULE" version="4"> <component name="NewModuleRootManager" inherit-compiler-output="true"> <exclude-output /> <content url="file://$MODULE_DIR$"> <excludeFolder url="file://$MODULE_DIR$/build" /> </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="library" name="Dart SDK" level="project" /> <orderEntry type="library" name="Dart Packages" level="project" /> <orderEntry type="library" name="Flutter Plugins" level="project" /> </component></module>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196# Generated by pub# See https://dart.dev/tools/pub/glossary#lockfilepackages: async: dependency: "direct dev" description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: "direct dev" description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" characters: dependency: "direct main" description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" clock: dependency: "direct main" description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: "direct main" description: name: collection sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted version: "1.18.0" fake_async: dependency: "direct dev" description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" intl: dependency: "direct main" description: name: intl sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" url: "https://pub.dev" source: hosted version: "0.18.1" leak_tracker: dependency: "direct dev" description: name: leak_tracker sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" url: "https://pub.dev" source: hosted version: "10.0.0" leak_tracker_flutter_testing: dependency: "direct dev" description: name: leak_tracker_flutter_testing sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 url: "https://pub.dev" source: hosted version: "2.0.1" leak_tracker_testing: dependency: "direct dev" description: name: leak_tracker_testing sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 url: "https://pub.dev" source: hosted version: "2.0.1" matcher: dependency: "direct dev" description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: "direct main" description: name: material_color_utilities sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted version: "0.8.0" meta: dependency: "direct main" description: name: meta sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted version: "1.11.0" path: dependency: "direct main" description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.99" source_span: dependency: "direct dev" description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: "direct dev" description: name: stack_trace sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted version: "1.11.1" stream_channel: dependency: "direct dev" description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" string_scanner: dependency: "direct dev" description: name: string_scanner sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted version: "1.2.0" term_glyph: dependency: "direct dev" description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: "direct dev" description: name: test_api sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted version: "0.6.1" vector_math: dependency: "direct main" description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" vm_service: dependency: "direct dev" description: name: vm_service sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted version: "13.0.0"sdks: dart: ">=3.2.0-0 <4.0.0"12345678910111213141516171819202122232425262728293031323334353637383940414243name: flutter_localizations
environment: sdk: '>=3.2.0-0 <4.0.0'
dependencies: # To update these, use "flutter update-packages --force-upgrade". # # For detailed instructions, refer to: # https://github.com/flutter/flutter/wiki/Updating-dependencies-in-Flutter
flutter: sdk: flutter intl: 0.18.1
characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" clock: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" material_color_utilities: 0.8.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" meta: 1.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" path: 1.9.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies: flutter_test: sdk: flutter
async: 2.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" boolean_selector: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" fake_async: 1.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker: 10.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker_flutter_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" matcher: 0.12.16+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" source_span: 1.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" string_scanner: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vm_service: 13.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM: 3d5d12345include: ../analysis_options.yaml
analyzer: exclude: - "test_fixes/**"12345tags: # This tag tells the test framework to not shuffle the test order according to # the --test-randomize-ordering-seed for the suites that have this tag. no-shuffle: allow_test_randomization: false1234567891011121314<?xml version="1.0" encoding="UTF-8"?><module type="WEB_MODULE" version="4"> <component name="NewModuleRootManager" inherit-compiler-output="true"> <exclude-output /> <content url="file://$MODULE_DIR$"> <excludeFolder url="file://$MODULE_DIR$/build" /> </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="library" name="Dart SDK" level="project" /> <orderEntry type="library" name="Dart Packages" level="project" /> <orderEntry type="library" name="Flutter Plugins" level="project" /> </component></module>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191# Generated by pub# See https://dart.dev/tools/pub/glossary#lockfilepackages: async: dependency: "direct main" description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: "direct main" description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" characters: dependency: "direct main" description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" clock: dependency: "direct main" description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: "direct main" description: name: collection sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted version: "1.18.0" fake_async: dependency: "direct main" description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" file: dependency: "direct dev" description: name: file sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted version: "7.0.0" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" leak_tracker: dependency: "direct main" description: name: leak_tracker sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" url: "https://pub.dev" source: hosted version: "10.0.0" leak_tracker_flutter_testing: dependency: "direct main" description: name: leak_tracker_flutter_testing sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 url: "https://pub.dev" source: hosted version: "2.0.1" leak_tracker_testing: dependency: "direct main" description: name: leak_tracker_testing sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 url: "https://pub.dev" source: hosted version: "2.0.1" matcher: dependency: "direct main" description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: "direct main" description: name: material_color_utilities sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted version: "0.8.0" meta: dependency: "direct main" description: name: meta sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted version: "1.11.0" path: dependency: "direct main" description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.99" source_span: dependency: "direct main" description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: "direct main" description: name: stack_trace sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted version: "1.11.1" stream_channel: dependency: "direct main" description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" string_scanner: dependency: "direct main" description: name: string_scanner sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted version: "1.2.0" term_glyph: dependency: "direct main" description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: "direct main" description: name: test_api sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted version: "0.6.1" vector_math: dependency: "direct main" description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" vm_service: dependency: "direct main" description: name: vm_service sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted version: "13.0.0"sdks: dart: ">=3.2.0-0 <4.0.0"1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556name: flutter_test
environment: sdk: '>=3.2.0-0 <4.0.0'
dependencies: # To update these, use "flutter update-packages --force-upgrade". # # For detailed instructions, refer to: # https://github.com/flutter/flutter/wiki/Updating-dependencies-in-Flutter
flutter: sdk: flutter
# We depend on very specific internal implementation details of the # 'test' package, which change between versions, so when upgrading # this, make sure the tests are still running correctly. test_api: 0.6.1 matcher: 0.12.16+1
# Used by golden file comparator path: 1.9.0
# Testing utilities for dealing with async calls and time. fake_async: 1.3.1 clock: 1.1.1
# We import stack_trace because the test packages uses it and we # need to be able to unmangle the stack traces that it passed to # stack_trace. See https://github.com/dart-lang/test/issues/590 stack_trace: 1.11.1
# Used by globalToLocal et al. vector_math: 2.1.4
# Used to detect memory leaks with `testWidgets`. leak_tracker_flutter_testing: 2.0.1
async: 2.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" boolean_selector: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" characters: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" collection: 1.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker: 10.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" leak_tracker_testing: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" material_color_utilities: 0.8.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" meta: 1.11.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" source_span: 1.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" string_scanner: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vm_service: 13.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies: file: 7.0.0
# PUBSPEC CHECKSUM: 6913123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121# Flutter Tools
This section of the Flutter repository contains the command line developer toolsfor building Flutter applications.
## Working on Flutter Tools
Be sure to follow the instructions on [CONTRIBUTING.md](../../CONTRIBUTING.md)to set up your development environment. Further, familiarize yourself with the[style guide](https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo),which we follow.
### Setting up
First, ensure that the Dart SDK and other necessary artifacts are available byinvoking the Flutter Tools wrapper script. In this directory run:```shell$ flutter --version```
### Running the Tool
To run Flutter Tools from source, in this directory run:```shell$ dart bin/flutter_tools.dart```followed by command-line arguments, as usual.
### Running the analyzer
To run the analyzer on Flutter Tools, in this directory run:```shell$ flutter analyze```
### Writing tests
As with other parts of the Flutter repository, all changes in behavior [must betested](https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#write-test-find-bug).Tests live under the `test/` subdirectory.
- Hermetic unit tests of tool internals go under `test/general.shard` and must run in significantly less than two seconds.
- Tests of tool commands go under `test/commands.shard`. Hermetic tests go under its `hermetic/` subdirectory. Non-hermetic tests go under its `permeable` sub-directory. Avoid adding tests here and prefer writing either a unit test or a full integration test.
- Integration tests (e.g. tests that run the tool in a subprocess) go under `test/integration.shard`.
- Slow web-related tests go in the `test/web.shard` directory.
In general, the tests for the code in a file called `file.dart` shouldgo in a file called `file_test.dart` in the subdirectory that matchesthe behavior of the test.
The `dart_test.yaml` file configures the timeout for these tests to be15 minutes. The `test.dart` script that is used in CI overrides thisto two seconds for the `test/general.shard` directory, to catchbehaviour that is unexpectedly slow.
Please avoid setting any other timeouts.
#### Using local engine builds in integration tests
The integration tests can be configured to use a specific local enginevariant by setting the `FLUTTER_LOCAL_ENGINE` and `FLUTTER_LOCAL_ENGINE_HOST`environment svariable to the name of the local engines (e.g. `android_debug_unopt`and `host_debug_unopt`). If the local engine build requires a source path, thiscan be provided by setting the `FLUTTER_LOCAL_ENGINE_SRC_PATH` environmentvariable. This second variable is not necessary if the `flutter` and `engine`checkouts are in adjacent directories.
```shellexport FLUTTER_LOCAL_ENGINE=android_debug_unoptexport FLUTTER_LOCAL_ENGINE_HOST=host_debug_unoptflutter test test/integration.shard/some_test_case```
### Running the tests
To run all of the unit tests:
```shell$ flutter test test/general.shard```
The tests in `test/integration.shard` are slower to run than the testsin `test/general.shard`. Depending on your development computer, youmight want to limit concurrency. Generally it is easier to run theseon CI, or to manually verify the behavior you are changing instead ofrunning the test.
The integration tests also require the `FLUTTER_ROOT` environmentvariable to be set. The full invocation to run everything mighttherefore look something like:
```shell$ export FLUTTER_ROOT=~/path/to/flutter-sdk$ flutter test --concurrency 1```
This may take some time (on the order of an hour). The unit testsalone take much less time (on the order of a minute).
You can run the tests in a specific file, e.g.:
```shell$ flutter test test/general.shard/utils_test.dart```
### Forcing snapshot regeneration
To force the Flutter Tools snapshot to be regenerated, delete the followingfiles:```shell$ rm ../../bin/cache/flutter_tools.stamp ../../bin/cache/flutter_tools.snapshot```123456789101112include: ../analysis_options.yaml
linter: rules: avoid_catches_without_on_clauses: true avoid_catching_errors: false # TODO(ianh): we should refactor the tool codebase to avoid relying on this so much library_private_types_in_public_api: false # Tool does not have any public API. no_runtimeType_toString: false # We use runtimeType for debugging in the tool. only_throw_errors: true prefer_relative_imports: true public_member_api_docs: false # Tool does not have any public API. unawaited_futures: true123456789101112131415161718# package:test configuration# https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md
# Some of our tests take an absurdly long time to run, and on some# hosts they can take even longer due to the host suddenly being# overloaded. For this reason, we set the test timeout to# significantly more than it would be by default, and we never set the# timeouts in the tests themselves.## For the `test/general.shard` specifically, the `dev/bots/test.dart` script# overrides this, reducing it to only 2000ms. Unit tests must run fast!timeout: 15m
tags: # This tag tells the test framework to not shuffle the test order according to # the --test-randomize-ordering-seed for the suites that have this tag. no-shuffle: allow_test_randomization: falsenovelforge-project/NovelForge Sentinel Pro/public/use.txtAdded+1
novelforge-project/NovelForge Sentinel Pro/src/App.cssAdded+42
novelforge-project/NovelForge Sentinel Pro/src/App.tsxAdded+31
novelforge-project/NovelForge Sentinel Pro/src/components/ErrorBoundary.tsxAdded+35
novelforge-project/NovelForge Sentinel Pro/src/hooks/use-mobile.tsxAdded+19
novelforge-project/NovelForge Sentinel Pro/src/index.cssAdded+38
novelforge-project/NovelForge Sentinel Pro/src/lib/utils.tsAdded+6
novelforge-project/NovelForge Sentinel Pro/src/main.tsxAdded+13
novelforge-project/NovelForge Sentinel Pro/src/vite-env.d.tsAdded+1
novelforge-project/flutter/bin/dartAdded+59
novelforge-project/flutter/bin/dart.batAdded+36
novelforge-project/flutter/bin/flutterAdded+64
novelforge-project/flutter/bin/flutter.batAdded+55
novelforge-project/flutter/dev/README.mdAdded+7
novelforge-project/flutter/dev/analysis_options.yamlAdded+11
novelforge-project/flutter/docs/Flutter-Self-Service-Index.mdAdded+318
novelforge-project/flutter/docs/In-case-of-emergency.mdAdded+7
novelforge-project/flutter/docs/README.mdAdded+36
novelforge-project/flutter/examples/README.mdAdded+40
novelforge-project/flutter/examples/flutter_gallery.readmeAdded+4
novelforge-project/flutter/packages/analysis_options.yamlAdded+9
novelforge-project/flutter/packages/flutter/LICENSEAdded+25
novelforge-project/flutter/packages/flutter/README.mdAdded+9
novelforge-project/flutter/packages/flutter/analysis_options.yamlAdded+5
novelforge-project/flutter/packages/flutter/build.yamlAdded+5
novelforge-project/flutter/packages/flutter/dart_test.yamlAdded+8
novelforge-project/flutter/packages/flutter/flutter.imlAdded+14
novelforge-project/flutter/packages/flutter/pubspec.lockAdded+236
novelforge-project/flutter/packages/flutter/pubspec.yamlAdded+51
novelforge-project/flutter/packages/flutter_driver/analysis_options.yamlAdded+5
novelforge-project/flutter/packages/flutter_driver/dart_test.yamlAdded+5
novelforge-project/flutter/packages/flutter_driver/flutter_driver.imlAdded+14
novelforge-project/flutter/packages/flutter_driver/pubspec.lockAdded+489
novelforge-project/flutter/packages/flutter_driver/pubspec.yamlAdded+78
novelforge-project/flutter/packages/flutter_goldens/READMEAdded+9
novelforge-project/flutter/packages/flutter_goldens/README.mdAdded+11
novelforge-project/flutter/packages/flutter_goldens/pubspec.lockAdded+228
novelforge-project/flutter/packages/flutter_goldens/pubspec.yamlAdded+43
novelforge-project/flutter/packages/flutter_localizations/README.mdAdded+134
novelforge-project/flutter/packages/flutter_localizations/flutter_localizations.imlAdded+14
novelforge-project/flutter/packages/flutter_localizations/pubspec.lockAdded+196
novelforge-project/flutter/packages/flutter_localizations/pubspec.yamlAdded+43
novelforge-project/flutter/packages/flutter_test/analysis_options.yamlAdded+5
novelforge-project/flutter/packages/flutter_test/dart_test.yamlAdded+5
novelforge-project/flutter/packages/flutter_test/flutter_test.imlAdded+14
novelforge-project/flutter/packages/flutter_test/pubspec.lockAdded+191
novelforge-project/flutter/packages/flutter_test/pubspec.yamlAdded+56
novelforge-project/flutter/packages/flutter_tools/README.mdAdded+121
novelforge-project/flutter/packages/flutter_tools/analysis_options.yamlAdded+12
novelforge-project/flutter/packages/flutter_tools/dart_test.yamlAdded+18