to_csv 0.0.9 copy "to_csv: ^0.0.9" to clipboard
to_csv: ^0.0.9 copied to clipboard

This flutter package will help you to create a csv/excel file for your data in flutter framework application.

66
likes
60/ 160
pub points
91%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

partial
Provide documentation
10 / 20trigger folding of the section

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

0 out of 2 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: to_csv, to_csv.myCSV.

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:to_csv/to_csv.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:to_csv/to_csv.dart that imports:
  • package:file_saver/file_saver.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:to_csv/to_csv.dart that imports:
  • package:file_saver/file_saver.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:to_csv/to_csv.dart that imports:
  • package:file_saver/file_saver.dart that imports:
  • package:path_provider_linux/path_provider_linux.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:to_csv/to_csv.dart that imports:
  • package:file_saver/file_saver.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:to_csv/to_csv.dart that imports:
  • package:file_saver/file_saver.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

ERROR: Undefined name 'director'.

lib/to_csv.dart:70:42

   ╷
70 │     await FileSaver.instance.saveFile('${director!.path}/item_export_$formattedData.csv', bytes2, 'csv');
   │                                          ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/to_csv.dart

WARNING: Unused import: 'package:path_provider/path_provider.dart'.

lib/to_csv.dart:9:8

  ╷
9 │ import 'package:path_provider/path_provider.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/to_csv.dart

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

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

Package Constraint Compatible Latest
csv ^5.0.1 5.1.1 6.0.0
file_saver ^0.1.1 0.1.1 0.2.14
flutter flutter 0.0.0 0.0.0
flutter_lints ^2.0.0 2.0.3 5.0.0
intl ^0.17.0 0.17.0 0.19.0
path_provider ^2.0.11 2.1.4 2.1.4
universal_html ^2.0.8 2.2.4 2.2.4
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
csslib - 1.0.0 1.0.0
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
lints - 2.1.1 5.1.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.0
path_provider_android - 2.2.10 2.2.10
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
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
xdg_directories - 1.1.0 1.1.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 `^5.0.1` 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 `^0.1.1` on file_saver does not support the stable version `0.2.3`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_IDENTIFIER - lib/to_csv.dart:70:42 - Undefined name 'director'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

66
likes
60
pub points
91%
popularity

Publisher

verified publisherskillzupp.com

This flutter package will help you to create a csv/excel file for your data in flutter framework application.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

csv, file_saver, flutter, flutter_lints, intl, path_provider, universal_html

More

Packages that depend on to_csv