text: flutter_stetho 0.5.2
  fl #
  Add
  flutter_stetho to your dependencies in the
  pubspec.yaml file
  - For Flutter 1.7.x, use version
  0.3.x
  - For Flutter 1.8.x, use version
  0.4.x
  - For Flutter 1.9.x, use version
  0.5.x.
  0.5.2 - 30 Dec 2019 #
  - Fix for Flutter 1.12.13+hotfix.5
  - Update to Stetho 1.5.1
  - Ensure Widgets initialized
  - Update example to latest Flutter
  0.5.0 - 12 Sep 2019 #
  - Update to work with Flutter Stable 0.19.1+hotfix.2
  - Revert
  UInt8Listback to
  List<int>
  0.4.1 - 19 July 2019 #
  - Update docs to specify correct version for Flutter
  - For Flutter 1.7.x with Dart 2.4, use version
  0.3.0
  - For Flutter 1.8.x+ with Dart 2.5, use version
  0.4.0or higher
  0.4.0 - 18 July 2019 #
  - Proper Fix for latest Dart 2.5 & Flutter 1.8.x -- use
  Uint8Listinstead of
  List<int>
  0.3.0 - 16 July 2019 #
  - Fix missing
  compressionStateerror.
  0.2.2 - 10 Nov 2018 #
  - Bugfix: Show correct request headers when using http client
  0.2.1 - 19 Oct 2018 #
  - Bugfix: Imports were broken
  0.2.0 - 19 Oct 2018 #
  - BREAKING CHANGE: Use
  Stetho.initialize()instead of overriding the HTTP Client!
  - This allows us to initialize the Android code only when
  Stetho.initialize()is invoked, rather than running Stetho by default, which is bad for production builds.
  - More work to be done on stripping the plugin from the APK during production builds. Flutter issue opened.
  0.1.2 - 17 Aug 2018 #
  - Fix
  connectionTimeout. Thanks @pcqpcq!
  0.1.1 - 27 Apr 2018 #
  - Fix docs
  0.1.0 - 27 Apr 2018 #
  - Fix for Dart 2. Thanks @thejakeofink!
  0.0.1 - 4 Mar 2018 #
  - Initial version, with support for network inspection on Android via the Chrome Dev Tools using Stetho
  import 'package:flutter/material.dart'; import 'package:flutter_stetho/flutter_stetho.dart'; import 'package:http/http.dart' as http; void main() { Stetho.initialize(); runApp(new FlutterStethoExample( client: new http.Client(), )); } class FlutterStethoExample extends StatelessWidget { final http.Client client; FlutterStethoExample({Key key, this.client}) : super(key: key); fetchImage() { client.get( '', headers: {'Authorization': 'token'}, ); } fetchJson() { client.get( '', headers: {'Authorization': 'token'}, ); } fetchError() { client.get(''); } @override Widget build(BuildContext context) { return new MaterialApp( home: new Scaffold( appBar: new AppBar( title: new Text('Plugin example app'), ), body: new Center( child: new Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ new Padding( padding: new EdgeInsets.all(16.0), child: new RaisedButton( onPressed: fetchJson, child: new Text("Fetch json"), ), ), new Padding( padding: new EdgeInsets.all(16.0), child: new RaisedButton( onPressed: fetchImage, child: new Text("Fetch image"), ), ), new Padding( padding: new EdgeInsets.all(16.0), child: new RaisedButton( onPressed: fetchError, child: new Text("Fetch with Error"), ), ) ], ), ), ), ); } }
  Use this package as a library
  1. Depend on it
  Add this to your package's pubspec.yaml file:
  dependencies: flutter_stetho: _stetho/flutter_stetho.dart';
  We analyzed this package on Mar 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
  - Dart: 2.7.1
  - pana: 0.13.6
  - Flutter: 1.12.13+hotfix.8
  Health suggestions
  Fix
  lib/src/http_client_response.dart. (-0.50 points)
  Analysis of
  lib/src/http_client_response.dart reported 1 hint:
  line 3 col 8: Unused import: 'dart:typed_data'.
  Fix
  lib/src/utils.dart. (-0.50 points)
  Analysis of
  lib/src/utils.dart reported 1 hint:
  line 4 col 8: Unused import: 'dart:typed_data'.