vexana_inspector 2.4.1 vexana_inspector: ^2.4.1 copied to clipboard
Vexana Inspector is a package that helps you to debug your network requests.
import 'package:flutter/material.dart';
import 'package:vexana_inspector/vexana_inspector.dart';
import 'json_place_holder/json_place_holder.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return VexanaInspect(
/// enable or disable shake gesture to open inspector
/// custom with InspectorManager.open() method
isShakeEnabled: true,
child: MaterialApp(
navigatorObservers: [InspectorManager.navigatorObserver],
title: 'Material App',
home: const JsonPlaceHolder(),
),
);
}
}