flutter_cors
1.5.0, released 3 years ago by rexios.dev
A script to disable and re-enable CORS checks for Flutter's Chrome instance.
WASM-ready
What it does
A script that disables or re-enables CORS checks for Flutter's Chrome instance during local testing. It can also disable the warning banner in Chrome and allows specifying the Flutter root path.
AI-written summary of version 1.5.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to bypass CORS restrictions during local development of Flutter Web apps
- You want to disable the warning banner in Chrome while testing locally
Skip it when
- You are dealing with CORS issues in a production environment
- You are not working with Flutter web development
Strengths
- Simplifies local testing by disabling CORS checks
- Supports disabling the warning banner in Chrome
- Automatically determines Flutter root path or allows manual specification
Weaknesses
- Only works for local testing and does not solve production CORS issues
- Not documented for non-CLI programmatic usage
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Install globally via 'dart pub global activate flutter_cors'
fluttercors --disable
fluttercors --enableAlternatives
Packages that do the same job and could replace flutter_cors.
- flutter_bugfender
Bugfender reporting and logging plugin for Flutter apps.
65Compare
Works with
Packages commonly used together with flutter_cors: ones it builds on, ones built on it, and its own family.