flutterdart

How to inspect network calls in flutter application


I'm making network calls in flutter by using HTTP package, i want to know which type of response is getting for those calls


Solution

  • Use flutter_stetho dart package to inspect network calls

    Visit https://pub.dev/packages/flutter_stetho

    Include this to your package's pubspec.yaml

    dependencies: flutter_stetho:(version) >> for example flutter_stetho: ^0.4.1

    Note: Based on dart version only, choose the Stetho package version