grapheme_splitter 1.0.0

Dart native js
Flutter Android iOS web

A Dart library that breaks strings into their individual user-perceived characters.

0
likes
75 / 110
pub points
73 %
popularity

We analyzed this package on Sep 25, 2020, and awarded it 75 pub points (of a possible 110):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Provide documentation
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 6 out of 35 API elements (17.1 %) 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.

Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 9 issues. Showing the first 2:

INFO: Unused import: 'dart:async'.

lib/grapheme_splitter.dart:1:8

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

To reproduce make sure you are using pedantic and run dartanalyzer lib/grapheme_splitter.dart

INFO: Use contains instead of indexOf

lib/grapheme_splitter.dart:96:7

   ╷
96 │       [Extend, E_Base, E_Base_GAZ].indexOf(start) == -1) {
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/grapheme_splitter.dart

Support up-to-date dependencies
20 / 20

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

No dependencies.

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

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

0
likes
75
pub points
73%
popularity

A Dart library that breaks strings into their individual user-perceived characters.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

javierlecuona@gmail.com

License

Unlicense (LICENSE)

More

Packages that depend on grapheme_splitter