flutter_traffic_stats_plus 1.0.6 copy "flutter_traffic_stats_plus: ^1.0.6" to clipboard
flutter_traffic_stats_plus: ^1.0.6 copied to clipboard

A Flutter package for collecting and displaying in-app traffic statistics.

1.0.0 #

  • Initial version.

1.0.1 #

  • Add Comment.

1.0.2 #

  • Optimization function.

1.0.3 #

  • Fix bug.

1.0.5 #

  • Add caller-provided App version support for traffic snapshots.
    • Added FlutterTrafficStats.setAppVersion(String? appVersion) so host apps can attach their own version string to generated traffic statistics.
    • Added the top-level appVersion field to TrafficStatsSnapshot.toJson(), placed alongside generatedAt, totals, and items.
    • Kept TrafficStatsSnapshot.fromJson() compatible with older locally persisted snapshots that do not contain appVersion.
  • Improve snapshot generation consistency.
    • Reuse the snapshot generation time when calculating snapshot size and creating the final TrafficStatsSnapshot.
    • Include appVersion in the estimated snapshotBytes payload size.
  • Document App version usage.
    • Updated README and example startup code to show FlutterTrafficStats.setAppVersion('1.0.0+100').
  • Add regression coverage.
    • Added a snapshot test to verify trimming, serialization, and deserialization of the caller-provided App version.

1.0.6 #

  • Traffic Consumption Diagnosis Details.
0
likes
150
points
222
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for collecting and displaying in-app traffic statistics.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dio, flutter, url_launcher

More

Packages that depend on flutter_traffic_stats_plus