sampler 0.3.0 sampler: ^0.3.0 copied to clipboard
A specialized utility for managing sample code in the Flutter repo.
We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/flutter/assets-for-api-docs/tree/master/packages/sampler
was unreachable. Make sure that the website is reachable via HEAD
requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+sampler%22
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: sampler
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: sampler
.
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-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
42 out of 95 API elements (44.2 %) have documentation comments.
Some symbols that are missing documentation: constants
, constants.kDetailViewRoute
, constants.kNewSampleSelectViewRoute
, constants.kNewSampleViewRoute
, detail_view
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:sampler/sampler.dart
that imports:package:sampler/utils.dart
that imports:package:snippets/snippets.dart
that imports:package:snippets/util.dart
that imports:package:snippets/data_types.dart
that imports:package:file/file.dart
that imports:package:file/src/interface.dart
that imports:package:file/src/io.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
INFO: The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.
lib/detail_view.dart:6:8
╷
6 │ import 'package:flutter/cupertino.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/detail_view.dart
INFO: 'bodyText2' is deprecated and shouldn't be used. Use bodyMedium instead. This feature was deprecated after v3.1.0-0.0.pre.
lib/helper_widgets.dart:24:62
╷
24 │ final TextStyle labelStyle = Theme.of(context).textTheme.bodyText2!;
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/helper_widgets.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analyzer |
^2.0.0 |
2.8.0 | 6.5.0 |
args |
^2.0.0 |
2.5.0 | 2.5.0 |
convert |
^3.0.1 |
3.1.1 | 3.1.1 |
crypto |
^3.0.1 |
3.0.3 | 3.0.3 |
file |
^6.1.0 |
6.1.4 | 7.0.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_highlight |
^0.7.0 |
0.7.0 | 0.7.0 |
meta |
^1.7.0 |
1.11.0 | 1.14.0 |
path |
^1.8.0 |
1.9.0 | 1.9.0 |
platform |
^3.0.0 |
3.1.4 | 3.1.4 |
process |
^4.2.1 |
4.2.4 | 5.0.2 |
process_runner |
^4.0.0 |
4.1.3 | 4.2.0 |
recase |
^4.0.0 |
4.1.0 | 4.1.0 |
snippets |
^0.2.3 |
0.2.5 | 0.4.3 |
watcher |
^1.0.0 |
1.1.0 | 1.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 31.0.0 | 68.0.0 |
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
characters |
- | 1.3.0 | 1.3.0 |
cli_util |
- | 0.3.5 | 0.4.1 |
collection |
- | 1.18.0 | 1.18.0 |
dart_style |
- | 2.2.1 | 2.3.6 |
glob |
- | 2.1.2 | 2.1.2 |
highlight |
- | 0.7.0 | 0.7.0 |
interval_tree |
- | 0.3.0 | 0.4.1 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
package_config |
- | 2.1.0 | 2.1.0 |
pub_semver |
- | 2.1.4 | 2.1.4 |
quiver |
- | 3.2.1 | 3.2.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.0 | 0.7.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
yaml |
- | 3.1.2 | 3.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^2.0.0` on analyzer does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions analyzer
to update the constraint.
The constraint `^6.1.0` on file does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions file
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.