https://github.com/vb10/vexana_inspector
Vexana Network Inspector
https://github.com/vb10/vexana_inspector
vexana
Last synced: about 1 month ago
JSON representation
Vexana Network Inspector
- Host: GitHub
- URL: https://github.com/vb10/vexana_inspector
- Owner: VB10
- License: mit
- Created: 2023-04-05T03:00:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T08:53:05.000Z (about 1 year ago)
- Last Synced: 2024-05-08T08:51:06.812Z (about 1 year ago)
- Topics: vexana
- Language: Dart
- Homepage: https://pub.dev/packages/vexana_inspector
- Size: 29.7 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Vexana Inspector
![]()
![]()
![]()
![]()
![]()
![]()
[](https://discord.gg/sf8S7bga)Applications with basic implementation will be able to access dashboards for network requests made by this library.
| Example | Usage |
| -------- | ------- |
||
|
# How to useJust wrap your root widget with the VexanaInspect widget and set the isEnableShake property to true. This will allow you to open the dashboard by shaking your phone. Check with this link how it's working on. [Vexana Inspector Video](https://firebasestorage.googleapis.com/v0/b/fluttertr-ead5c.appspot.com/o/inspect.gif?alt=media&token=911f56a1-c4c7-4396-8234-023b84e4cc7b)
> You should install [Vexana](https://pub.dev/packages/vexana) before you can use this package.
```dart
VexanaInspect(
isEnableShake: true,
child: MaterialApp(
navigatorObservers: [InspectorManager.navigatorObserver]
)
,);
```Then add vexana interceptor for listening network changes to your manager
```dart
dioInterceptors.add(InspectorManager.instance.interceptor);
```## Inspector open manually
Once the implementation is complete, you can just call the open function with the inspector instance. Instead of shake option.
Your project can work with any button or etc with this function.```dart
InspectorManager.open();
```## Additional information
You can found a sample in [example](example/lib/main.dart) folder.
Please add your thoughts to an issue or PR review and I will merge it as soon as possible.## License
MIT License
Copyright (c) [2024] [Veli Bacik]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.