csv_picker_button 0.0.7
csv_picker_button: ^0.0.7 copied to clipboard
A TextButton that will open a file picker and parse the CSV.
We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
.
10/10 points: 20% or more of the public API has dartdoc comments
5 out of 17 API elements (29.4 %) have documentation comments.
Some symbols that are missing documentation: csv_picker_button
, csv_picker_button.CsvButton.CsvButton.new
, csv_picker_button.CsvButton.buttonStyle
, csv_picker_button.CsvButton.child
, csv_picker_button.CsvButton.csvConfiguration
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:csv_picker_button/csv_picker_button.dart
that imports:package:csv_picker_button/src/widgets/widgets.dart
that imports:package:csv_picker_button/src/widgets/csv_button.dart
that imports:package:csv_picker_button/src/repositories/repositories.dart
that imports:package:csv_picker_button/src/repositories/file_picker_repository.dart
that imports:package:file_picker/file_picker.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:csv_picker_button/csv_picker_button.dart
that imports:package:csv_picker_button/src/widgets/widgets.dart
that imports:package:csv_picker_button/src/widgets/csv_button.dart
that imports:package:csv_picker_button/src/repositories/repositories.dart
that imports:package:csv_picker_button/src/repositories/file_picker_repository.dart
that imports:package:file_picker/file_picker.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:csv_picker_button/csv_picker_button.dart
that imports:package:csv_picker_button/src/widgets/widgets.dart
that imports:package:csv_picker_button/src/widgets/csv_button.dart
that imports:package:csv_picker_button/src/repositories/repositories.dart
that imports:package:csv_picker_button/src/repositories/file_picker_repository.dart
that imports:package:file_picker/file_picker.dart
that declares support for platforms:Android
,iOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:csv_picker_button/csv_picker_button.dart
that imports:package:csv_picker_button/src/widgets/widgets.dart
that imports:package:csv_picker_button/src/widgets/csv_button.dart
that imports:package:csv_picker_button/src/repositories/repositories.dart
that imports:package:csv_picker_button/src/repositories/file_picker_repository.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/file_picker_io.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:csv_picker_button/csv_picker_button.dart
that imports:package:csv_picker_button/src/widgets/widgets.dart
that imports:package:csv_picker_button/src/widgets/csv_button.dart
that imports:package:csv_picker_button/src/repositories/repositories.dart
that imports:package:csv_picker_button/src/repositories/file_picker_repository.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/file_picker_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.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Angle brackets will be interpreted as HTML.
lib/src/repositories/csv_configuration.dart:7:46
╷
7 │ /// Set the titles manually by passing a List<String> to title and set hasTitle to false
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/repositories/csv_configuration.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/repositories/csv_parser_repository.dart:57:12
╷
57 │ /// a map<String, dynamic> with the title from the column as the key
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/repositories/csv_parser_repository.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
csv |
^5.0.0 |
5.1.1 | 6.0.0 | |
file_picker |
^3.0.0 |
3.0.4 | 10.2.0 | |
rxdart |
^0.26.0 |
0.26.0 | 0.28.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.28 | 2.0.28 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.1.4 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^5.0.0` on csv does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions csv
to update the constraint.
The constraint `^3.0.0` on file_picker does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions file_picker
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.