[camera_windows] Improve several error handling scenarios (#6149)

This commit is contained in:
Loïc Sharma
2022-07-28 16:16:05 -07:00
committed by GitHub
parent b83209e3e5
commit 1fbf2f6219
2 changed files with 3 additions and 1 deletions

View File

@ -105,6 +105,8 @@ cd <repository root>
dart run ./script/tool/bin/flutter_plugin_tools.dart native-test --ios --android --no-integration --packages plugin_name
# Run all tests for macOS:
dart run ./script/tool/bin/flutter_plugin_tools.dart native-test --macos --packages plugin_name
# Run all tests for Windows:
dart run ./script/tool/bin/flutter_plugin_tools.dart native-test --windows --packages plugin_name
```
### Update README.md from Example Sources

View File

@ -35,7 +35,7 @@ class PackageChangeState {
/// [changedPaths] should be a list of POSIX-style paths from a common root,
/// and [relativePackagePath] should be the path to [package] from that same
/// root. Commonly these will come from `gitVersionFinder.getChangedFiles()`
/// and `getRelativePoixPath(package.directory, gitDir.path)` respectively;
/// and `getRelativePosixPath(package.directory, gitDir.path)` respectively;
/// they are arguments mainly to allow for caching the changed paths for an
/// entire command run.
PackageChangeState checkPackageChangeState(