Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributegoogle_sign_in_mocks

Mocks for Google Sign In to write unit tests for authentication.

pub.devRemove
mocktail_image_network

Mock Image.network in widget tests without real network calls

pub.devRemove
ScoresHealth7381 (best)
Maintenance67 (best)61
Quality81100 (best)
Popularity5877 (best)
Community7480 (best)
Compatibility93100 (best)
UsageDownloads (30 days)13k190k (best)
Likes3564 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars9702 (best)
MaintenanceLatest release0.4.2, 2 months ago (best)1.3.0, 7 months ago
Major versions in 12 months00
Contributors721 (best)
Publisherwafrat.comfelangel.dev
FitPlatformsAndroid, iOS, Web, macOSAndroid, iOS, Windows, macOS, Linux
WASM-readyYesNo
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies21 (best)
LicenseBSD-2-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Easy to set up and use in unit tests alongside firebase_auth_mocks.
  • Allows simulation of canceled sign-ins and custom exceptions.
  • Easy to use with the mockNetworkImages wrapper
  • Prevents failing network image tests in Flutter
  • Supports customizable image bytes and image resolvers
Weaknesses
  • Limited only to mocking Google Sign In functionality for testing.
  • Limited to mocking network images in tests
WarningsNoneNone
google_sign_in_mocks vs mocktail_image_network: which Flutter package should you use? | pubscout