Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecharlatan

Configure and provide fake HTTP responses to the dio HTTP client for testing.

pub.devRemove
network_image_mock

Utility for mocking Image.network responses in Flutter widget tests.

pub.devRemove
ScoresHealth63 (best)50
Maintenance32 (best)0
Quality100100
Popularity3478 (best)
Community7474
Compatibility100100
UsageDownloads (30 days)2k251k (best)
Likes2066 (best)
Pub points160 / 160160 / 160
GitHub stars1628 (best)
MaintenanceLatest release0.5.0, 2 years ago (best)2.1.1, 4 years ago
Major versions in 12 months00
Contributors77
Publisherbetterment.devstelynx.com
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyYesNo
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies41 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Makes testing Dio HTTP calls straightforward and readable.
  • Supports URI templates and custom request matching logic.
  • Simple and straightforward API.
  • Prevents Image.network from crashing tests.
  • Supports null safety.
Weaknesses
  • Limited specifically to the Dio HTTP client.
  • Not documented to support complex mock server scenarios beyond adapter-level faking.
  • Limited to mocking network image responses in a testing context.
WarningsNoneNone
charlatan vs network_image_mock: which Flutter package should you use? | pubscout