to_csv 1.1.9 copy "to_csv: ^1.1.9" to clipboard
to_csv: ^1.1.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
50/ 160
pub points
91%
popularity

We analyzed this package 35 hours ago, and awarded it 50 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.

failed
Provide documentation
0 / 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.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:to_csv/to_csv.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_linux.dart that imports:
  • package:url_launcher_linux/url_launcher_linux.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:to_csv/to_csv.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:to_csv/to_csv.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:to_csv/to_csv.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_web.dart that imports:
  • package:share_plus_platform_interface/share_plus_platform_interface.dart that imports:
  • package:share_plus_platform_interface/platform_interface/share_plus_platform.dart that imports:
  • package:share_plus_platform_interface/method_channel/method_channel_share.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:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:to_csv/to_csv.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_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: The method 'fromBytes' isn't defined for the type 'XFile'.

lib/to_csv.dart:81:27

   ╷
81 │       final xFile = XFile.fromBytes(bytes);
   │                           ^^^^^^^^^
   ╵

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

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

lib/to_csv.dart:8:8

  ╷
8 │ import 'package:fluttertoast/fluttertoast.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.2 5.1.1 6.0.0
file_saver ^0.2.5 0.2.14 0.2.14
flutter flutter 0.0.0 0.0.0
flutter_lints ^2.0.0 2.0.3 5.0.0
fluttertoast ^8.2.2 8.2.8 8.2.8
intl ^0.18.0 0.18.1 0.19.0
permission_handler ^10.4.1 10.4.5 11.3.1
share ^2.0.4 2.0.4 2.0.4
share_plus ^7.0.2 7.2.2 10.0.2
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
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.5 3.0.5
csslib - 1.0.0 1.0.0
dio - 5.7.0 5.7.0
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
http_parser - 4.0.2 4.1.0
lints - 2.1.1 5.1.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
path - 1.9.0 1.9.0
path_provider - 2.1.4 2.1.4
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
permission_handler_android - 10.3.6 12.0.12
permission_handler_apple - 9.1.4 9.4.5
permission_handler_platform_interface - 3.12.0 4.2.3
permission_handler_windows - 0.1.3 0.2.1
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
share_plus_platform_interface - 3.4.0 5.0.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.3.0 1.3.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
url_launcher_linux - 3.2.0 3.2.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.2 3.1.2
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.5.5 5.5.5
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 5 issues. Showing the first 2:

The constraint `^5.0.2` 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 `^2.0.0` on flutter_lints does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions flutter_lints 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_METHOD - lib/to_csv.dart:81:27 - The method 'fromBytes' isn't defined for the type 'XFile'.

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
50
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, fluttertoast, intl, permission_handler, share, share_plus, universal_html

More

Packages that depend on to_csv