deceiver_flutter 0.2.0 copy "deceiver_flutter: ^0.2.0" to clipboard
deceiver_flutter: ^0.2.0 copied to clipboard

A Flutter debug control panel for the Deceiver HTTP mocking library. Toggle mocks on/off at runtime, switch between strict and passthrough modes, and manage individual mock registrations from a Materi [...]

0.2.0 #

  • DeceiverController now exposes scenarios, activeScenario, activateScenario(), and deactivateScenario() with reactive notifications.
  • DeceiverPanel now includes a Scenarios section with radio-style ListTile selection when scenarios are defined. Tap a scenario to activate it, tap again or "None (base only)" to deactivate.
  • Scenario section is hidden when no scenarios are defined.

0.1.0 #

  • Initial release.
  • DeceiverController -- a ChangeNotifier wrapper around Deceiver with reactive getters/setters for enabled, onlyAllowMocks, and per-mock toggling via toggleMock().
  • DeceiverPanel -- a Material-styled widget displaying global toggles (mocks enabled, only allow mocks) and a scrollable list of registered mocks with individual toggle switches.
0
likes
140
points
174
downloads

Documentation

API reference

Publisher

verified publisherdutchcodingcompany.com

Weekly Downloads

A Flutter debug control panel for the Deceiver HTTP mocking library. Toggle mocks on/off at runtime, switch between strict and passthrough modes, and manage individual mock registrations from a Material UI panel.

Repository (GitHub)
View/report issues

Topics

#http #testing #mock #debugging

License

MIT (license)

Dependencies

deceiver, flutter

More

Packages that depend on deceiver_flutter