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

Core interfaces and domain models for Flutter Fixtures

Changelog #

0.2.0 #

  • BREAKING: DataSelectorView.pick now returns FixtureChoice? (the chosen document plus a remember flag); null means the user cancelled.
  • BREAKING: DataSelectorType is now a plain enum (pick, defaultValue, random) instead of a sealed class hierarchy.
  • BREAKING: FixtureDocument rejects documents declaring both data and dataPath; invalid fixtures now fail at parse time.
  • FixtureSelector owns the full selection flow: it writes selection memory, deduplicates concurrent picks for the same collection, and propagates cancel as null.
  • New FixtureSource concentrates fixture-file IO (candidate resolution, JSON decoding, payload loading) behind the new FixtureAssetLoader seam.
  • New FixtureDocument.statusCode exposes the leading 3-digit code of the description as a typed field.
  • New FixtureCollection.fromJson / FixtureDocument.fromJson own the fixture wire format.

0.1.3 #

  • Support JSON arrays as response data in DataQuery.

0.1.2 Response Delay #

  • Add DataSelectorDelay class to simulate response delays.
  • Add delay to FixtureSelector.select method.

0.1.1 Selection Memory #

  • Add in-memory selection memory to remember user choices for fixture collections.
  • Add FixtureSelectionMemory class to manage remembered selections.
  • Auto-select single option when using Pick selector.

0.1.0 First Minor Release #

  • Updated all packages to version 0.1.0
  • Renamed Fixture mixin to FixtureSelector for better clarity
  • Improved documentation across all packages
  • Added comprehensive CONTRIBUTING.md guide
  • Added MIT License
  • Updated GitHub repository references to brotoo25/flutter_fixtures

0.0.1 Initial Release #

  • Initial release of Flutter Fixtures
  • Restructured as a workspace with multiple packages:
    • flutter_fixtures_core: Core interfaces and domain models
    • flutter_fixtures_dio: Dio implementation
    • flutter_fixtures_ui: UI components
    • flutter_fixtures: Meta-package that depends on all the above
  • Support for Dio HTTP client
  • Three fixture selection modes: Random, Default, and Pick
  • Dialog-based UI for user selection
  • Example app demonstrating basic and advanced usage
0
likes
0
points
223
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Core interfaces and domain models for Flutter Fixtures

Repository (GitHub)
View/report issues

Topics

#mock #testing #fixtures

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_fixtures_core