storybook_device_preview 0.2.0+5 copy "storybook_device_preview: ^0.2.0+5" to clipboard
storybook_device_preview: ^0.2.0+5 copied to clipboard

discontinued

A plugin for device_preview package that allows to embed storybook_flutter.

11
likes
140/ 160
pub points
24%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: storybook_device_preview,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: storybook_device_preview.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

90 out of 179 API elements (50.3 %) have documentation comments.

Some symbols that are missing documentation: storybook_device_preview, storybook_device_preview.AndroidDevices.all, storybook_device_preview.AndroidDevices.large, storybook_device_preview.AndroidDevices.medium, storybook_device_preview.AndroidDevices.nexus9.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:storybook_device_preview/storybook_device_preview.dart that imports:
  • package:device_preview/plugins.dart that imports:
  • package:device_preview/src/plugins/file_explorer.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:storybook_device_preview/storybook_device_preview.dart that imports:
  • package:storybook_flutter/storybook_flutter.dart that imports:
  • package:storybook_flutter/src/storybook.dart that imports:
  • package:storybook_flutter/src/story_provider.dart that imports:
  • package:storybook_flutter/src/story.dart that imports:
  • package:storybook_flutter/src/control_panel/provider.dart that imports:
  • package:storybook_flutter/src/plugins/plugin.dart that imports:
  • package:storybook_flutter/src/plugins/device_frame_plugin.dart that imports:
  • package:device_frame/device_frame.dart that imports:
  • package:device_frame/src/frame.dart that imports:
  • package:flutter_svg/flutter_svg.dart that imports:
  • package:flutter_svg/svg.dart that imports:
  • package:flutter_svg/src/vector_drawable.dart that imports:
  • package:flutter_svg/src/svg/xml_parsers.dart that imports:
  • package:flutter_svg/src/svg/parsers.dart that imports:
  • package:flutter_svg/src/utilities/http.dart that imports:
  • package:flutter_svg/src/utilities/_http_io.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
device_preview ^0.7.1 0.7.4 1.2.0
flutter flutter 0.0.0 0.0.0
storybook_flutter ^0.7.0+1 0.7.0+1 0.14.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.1 1.1.2
collection - 1.18.0 1.19.1
device_frame - 0.4.2 1.2.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_localizations - 0.0.0 0.0.0
flutter_svg - 0.22.0 2.0.15
flutter_web_plugins - 0.0.0 0.0.0
font_awesome_flutter - 9.2.0 10.8.0
freezed_annotation - 0.14.3 2.4.4
http - 0.13.6 1.2.2
http_parser - 4.0.2 4.1.1
intl - 0.19.0 0.20.0
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.1
path_drawing - 0.5.1+1 1.0.1
path_parsing - 0.2.1 1.1.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
pedantic - 1.11.1 1.11.1
petitparser - 5.4.0 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 5.0.0 6.1.2
recase - 4.1.0 4.1.0
shared_preferences - 2.3.3 2.3.3
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
xml - 5.4.1 6.5.0

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

The constraint `^0.7.1` on device_preview does not support the stable version `0.8.0`.

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

The constraint `^0.7.0+1` on storybook_flutter does not support the stable version `0.8.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

11
likes
140
pub points
24%
popularity

Publisher

verified publisherookamikb.dev

A plugin for device_preview package that allows to embed storybook_flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

device_preview, flutter, storybook_flutter

More

Packages that depend on storybook_device_preview