material_file_icon 0.3.2
material_file_icon: ^0.3.2 copied to clipboard
A widget that displays a material file icon based on the file name.
We analyzed this package 3 days ago, and awarded it 65 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.3.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
52 out of 62 API elements (83.9 %) have documentation comments.
Some symbols that are missing documentation: material_file_icon, material_file_icon.CrossFile.CrossFile.new, material_file_icon.MFIcon.color, material_file_icon.MFIcon.fileName, material_file_icon.MFIcon.placeholder.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: The argument type 'Future
lib/src/mf_thumb.dart:32:9
╷
32 │ widget.file.name,
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mf_thumb.dart
INFO: The import of 'package:cross_file/cross_file.dart' is unnecessary because all of the used elements are also provided by the import of '../material_file_icon.dart'.
lib/src/mf_thumb.dart:1:8
╷
1 │ import 'package:cross_file/cross_file.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mf_thumb.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cross_file |
>=0.3.3 <1.0.0 |
0.4.0 | 0.4.0 | |
flutter_svg |
>=2.0.0 <3.0.0 |
2.3.0 | 2.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 2.1.0 | 2.1.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file_android |
- | 1.0.0 | 1.0.0 | |
cross_file_darwin |
- | 1.0.0 | 1.0.0 | |
cross_file_io |
- | 1.0.0 | 1.0.0 | |
cross_file_platform_interface |
- | 1.0.0 | 1.0.0 | |
cross_file_web |
- | 1.0.0 | 1.0.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
hooks |
- | 2.2.0 | 2.2.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
objective_c |
- | 9.6.2 | 9.6.2 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_graphics |
- | 1.2.3 | 1.2.3 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.3.0 | 1.3.0 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 7.0.1 | 7.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.23.19, Flutter 3.47.6, Dart 3.13.5.
Check the analysis log for details.