color_text_highlighter 1.0.0+4 copy "color_text_highlighter: ^1.0.0+4" to clipboard
color_text_highlighter: ^1.0.0+4 copied to clipboard

This package makes it easy for you to select and highlight HTML with inline CSS Content. You can also add other toolbars like Select All, Delete, Search and Copy.

120/ 160
pub points
7
downloads

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

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

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

Failed to verify repository URL.

Repository has multiple matching pubspec.yaml with name: color_text_highlighter.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: color_text_highlighter,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

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

Detected license: BSD-3-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

1 out of 13 API elements (7.7 %) 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: color_text_highlighter, color_text_highlighter.HighlightedList, color_text_highlighter.HighlightedList.HighlightedList.new, color_text_highlighter.HighlightedList.colour, color_text_highlighter.HighlightedList.highlightedText.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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:color_text_highlighter/color_text_highlighter.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:color_text_highlighter/color_text_highlighter.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:color_text_highlighter/color_text_highlighter.dart that imports:
  • package:fluttertoast/fluttertoast.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:color_text_highlighter/color_text_highlighter.dart that imports:
  • package:fluttertoast/fluttertoast.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:color_text_highlighter/color_text_highlighter.dart that imports:
  • package:fluttertoast/fluttertoast.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
cupertino_icons ^1.0.2 1.0.8 1.0.8
fluttertoast ^8.0.8 8.2.14 9.0.0
simple_html_css ^3.0.1+1 3.0.1+1 5.0.0
text_selection_controls ^0.0.2 0.0.2 0.0.2 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
html_unescape - 2.0.0 2.0.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
petitparser - 5.4.0 7.0.2
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
xml - 5.4.1 6.6.1

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

Found 3 issues. Showing the first 2:

The constraint `^8.0.8` on fluttertoast does not support the stable version `9.0.0`.

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

The constraint `^3.0.1+1` on simple_html_css does not support the stable version `4.0.0`.

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

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.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
120
points
7
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

This package makes it easy for you to select and highlight HTML with inline CSS Content. You can also add other toolbars like Select All, Delete, Search and Copy.

License

BSD-3-Clause (license)

Dependencies

cupertino_icons, flutter, fluttertoast, simple_html_css, text_selection_controls

More

Packages that depend on color_text_highlighter