storybook 0.0.2 storybook: ^0.0.2 copied to clipboard
A new Flutter project.
We analyzed this package 2 days ago, and awarded it 90 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 21 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
Some symbols that are missing documentation: storybook
, storybook.StoryActionModel
, storybook.StoryActionModel.StoryActionModel
, storybook.StoryActionModel.actualState
, storybook.StoryActionModel.negativeState
.
10/10 points: Package has an example
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 not compatible with platform Web
Because:
package:storybook/storybook.dart
that imports:package:storybook/src/model/story_book_model.dart
that imports:package:storybook/src/components/code_pad/code_pad.dart
that imports:package:storybook/src/components/code_pad/widget/code_pad.dart
that imports:package:storybook/src/components/code_pad/source/source_code_view.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/picture_provider.dart
that imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 35 issues. Showing the first 2:
WARNING: Unused import: 'package:flutter/scheduler.dart'.
lib/src/components/code_pad/devices/device_widget.dart:3:8
╷
3 │ import 'package:flutter/scheduler.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/code_pad/devices/device_widget.dart
WARNING: The '!' will have no effect because the receiver can't be null.
lib/src/components/code_pad/devices/device_widget.dart:107:68
╷
107 │ animation: DefaultTabController.of(context)!,
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/code_pad/devices/device_widget.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.15.0 |
1.18.0 | 1.18.0 |
device_frame |
^0.4.2 |
0.4.2 | 1.1.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_bloc |
^7.0.1 |
7.3.3 | 8.1.5 |
flutter_localizations |
flutter |
0.0.0 | 0.0.0 |
flutter_modular |
^3.3.1 |
3.4.1+1 | 6.3.3 |
google_fonts |
^2.1.0 |
2.3.3 | 6.2.1 |
string_scanner |
^1.1.0 |
1.2.0 | 1.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
bloc |
- | 7.2.1 | 8.1.4 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
ffi |
- | 2.1.2 | 2.1.2 |
flutter_modular_annotations |
- | 0.0.2 | 0.0.2 |
flutter_svg |
- | 0.22.0 | 2.0.10+1 |
freezed_annotation |
- | 0.14.3 | 2.4.1 |
http |
- | 0.13.6 | 1.2.1 |
http_parser |
- | 4.0.2 | 4.0.2 |
intl |
- | 0.18.1 | 0.19.0 |
json_annotation |
- | 4.9.0 | 4.9.0 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.15.0 |
nested |
- | 1.0.0 | 1.0.0 |
path |
- | 1.9.0 | 1.9.0 |
path_drawing |
- | 0.5.1+1 | 1.0.1 |
path_parsing |
- | 0.2.1 | 1.0.1 |
path_provider |
- | 2.1.3 | 2.1.3 |
path_provider_android |
- | 2.2.4 | 2.2.4 |
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.2.1 | 2.2.1 |
petitparser |
- | 5.4.0 | 6.0.2 |
platform |
- | 3.1.4 | 3.1.4 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
provider |
- | 6.1.2 | 6.1.2 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
triple |
- | 1.5.0+1 | 2.1.0 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
win32 |
- | 5.5.0 | 5.5.0 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
xml |
- | 5.4.1 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^0.4.2` on device_frame does not support the stable version `0.5.0`.
Try running dart pub upgrade --major-versions device_frame
to update the constraint.
The constraint `^7.0.1` on flutter_bloc does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions flutter_bloc
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.