electric 0.0.6 copy "electric: ^0.0.6" to clipboard
electric: ^0.0.6 copied to clipboard

electric package

100/ 160
pub points
32
downloads

We analyzed this package 4 days ago, and awarded it 100 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Failed check 0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.6").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting electric... Discovering libraries... Linking elements... Precaching local docs for 108039 elements... Initialized dartdoc with 56 libraries Generating docs for library taigi/taigi4_wind_pressure.dart from package:electric/taigi/taigi4_wind_pressure.dart... Generating docs for library taigi/taigi4_allowable_stress.dart from package:electric/taigi/taigi4_allowable_stress.dart... Generating docs for library electric.dart from package:electric/electric.dart... Generating docs for library utils/unit.dart from package:electric/utils/unit.dart... Generating docs for library dengi/dengi29.dart from package:electric/dengi/dengi29.dart... [1 more lines] ERR: warning: electric has no library level documentation comments from electric: (file:///tmp/pana_YGETIY/lib/taigi/taigi4_wind_pressure.dart:1:1) warning: electric has no library level documentation comments from electric: (file:///tmp/pana_YGETIY/lib/taigi/taigi4_allowable_stress.dart:1:1) error: file already written at "electric/index.html" for symbol electric: (file:///tmp/pana_YGETIY/lib/taigi/taigi4_allowable_stress.dart:1:1) conflicting with file already generated by electric: (file:///tmp/pana_YGETIY/lib/taigi/taigi4_wind_pressure.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'electric' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [29 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 8 issues. Showing the first 2:

WARNING: Unused import: 'dart:collection'.

lib/utils/unit.dart:1:8

  ╷
1 │ import 'dart:collection';
  │        ^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The variable name 'Lk' isn't a lowerCamelCase identifier.

lib/taigi/taigi4_allowable_stress.dart:36:27

   ╷
36 │   double calcLamda(double Lk, double i) {
   │                           ^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

No dependencies.

Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
vector_math - 2.2.0 2.2.0

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Flutter 3.41.0, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

electric package

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on electric