Skip to main content

genui_mock 0.1.3 copy "genui_mock: ^0.1.3" to clipboard
genui_mock: ^0.1.3 copied to clipboard

Record, save, and replay GenUI streaming sessions as deterministic, git-diffable JSON fixtures. Test Catalog widgets against real recorded model output with zero network calls.

140/ 160
pub points
40
downloads

We analyzed this package 15 hours ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

51 out of 51 API elements (100.0 %) have documentation comments.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:genui_mock/genui_mock.dart that imports:
  • package:genui_mock/src/genui_mock_transport.dart that imports:
  • package:genui/genui.dart that imports:
  • package:genui/src/catalog.dart that imports:
  • package:genui/src/catalog/basic_catalog.dart that imports:
  • package:genui/src/catalog/basic_catalog_widgets/video.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:genui_mock/genui_mock.dart that imports:
  • package:genui_mock/src/genui_mock_transport.dart that imports:
  • package:genui/genui.dart that imports:
  • package:genui/src/catalog.dart that imports:
  • package:genui/src/catalog/basic_catalog.dart that imports:
  • package:genui/src/catalog/basic_catalog_widgets/video.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Web`.

Because:

  • package:genui_mock/genui_mock.dart that imports:
  • package:genui_mock/src/genui_mock_transport.dart that imports:
  • package:genui/genui.dart that imports:
  • package:genui/src/catalog.dart that imports:
  • package:genui/src/catalog/basic_catalog_widgets/audio_player.dart that imports:
  • package:audioplayers/audioplayers.dart that imports:
  • package:audioplayers/src/source.dart that imports:
  • package:audioplayers/src/audioplayer.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:genui_mock/genui_mock.dart that imports:
  • package:genui_mock/src/genui_mock_transport.dart that imports:
  • package:genui/genui.dart that imports:
  • package:genui/src/catalog.dart that imports:
  • package:genui/src/catalog/basic_catalog_widgets/audio_player.dart that imports:
  • package:audioplayers/audioplayers.dart that imports:
  • package:audioplayers/src/source.dart that imports:
  • package:audioplayers/src/audioplayer.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
a2ui_core ^0.1.0 0.1.1 0.10.0
genui ^0.10.4 0.10.4 0.10.4 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
audioplayers - 6.8.1 6.8.1
audioplayers_android - 5.3.0 5.3.0
audioplayers_darwin - 6.5.0 6.5.0
audioplayers_linux - 4.3.0 4.3.0
audioplayers_platform_interface - 7.2.0 7.2.0
audioplayers_web - 5.3.0 5.3.0
audioplayers_windows - 4.4.1 4.4.1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.2.0 2.2.0
collection - 1.19.1 1.19.1
cross_file - 0.3.5+5 0.4.0
crypto - 3.0.8 3.0.8
csslib - 1.0.2 1.0.2
decimal - 3.2.7 3.2.7
email_validator - 3.0.0 3.0.0
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_markdown_plus - 1.0.12 1.0.12
genai_primitives - 0.2.4 0.2.4
hooks - 2.2.0 2.2.0
html - 0.15.7 0.15.7
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.3 0.20.3
jni - 1.2.1 1.2.1
jni_flutter - 1.1.0 1.1.0
jni_util - 1.0.0 1.0.0
json_schema_builder - 0.1.7 0.1.7
listen - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
markdown - 7.3.1 7.3.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
objective_c - 9.6.4 9.6.4
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
preact_signals - 1.9.4 7.0.0
pub_semver - 2.2.1 2.2.1
rational - 2.2.3 2.2.3
record_use - 1.1.1 1.1.1
source_span - 1.10.2 1.10.2
stream_transform - 2.1.2 2.1.2
string_scanner - 1.4.1 1.4.1
synchronized - 3.6.1+1 3.6.1+1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.3 6.3.3
url_launcher_android - 6.3.35 6.3.35
url_launcher_ios - 6.4.2 6.4.2
url_launcher_linux - 3.2.3 3.2.3
url_launcher_macos - 3.2.6 3.2.6
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.6 3.1.6
uuid - 4.6.0 4.6.0
vector_math - 2.4.4 2.4.4
video_player - 2.14.1 2.14.1
video_player_android - 2.13.0 2.13.0
video_player_avfoundation - 2.12.5 2.12.5
video_player_platform_interface - 6.9.0 6.9.0
video_player_web - 2.4.0 2.4.0
video_player_win - 3.3.2 3.3.2
web - 1.1.2 1.1.2
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.1.0` on a2ui_core does not support the stable version `0.2.2`.

Try running dart pub upgrade --major-versions a2ui_core to update the constraint.

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • genui.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.50.1, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
140
points
40
downloads

Documentation

API reference

Publisher

verified publisherjneela.dev

Weekly Downloads

Record, save, and replay GenUI streaming sessions as deterministic, git-diffable JSON fixtures. Test Catalog widgets against real recorded model output with zero network calls.

Repository (GitHub)
View/report issues

Topics

#genui #testing #mocking #fixtures

License

MIT (license)

Dependencies

a2ui_core, flutter, genui

More

Packages that depend on genui_mock