Skip to main content

wise_text 1.1.1 copy "wise_text: ^1.1.1" to clipboard
wise_text: ^1.1.1 copied to clipboard

PlatformAndroidiOS
unlisted

Text widget with auto classification and rich text support using styled_text. Using NSDataDetector on iOS and TextClassifier on Android

140/ 160
pub points
110
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/wisemen-digital/wisemen-flutter-packages/packages/wise_text was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/wisemen-digital/wisemen-flutter-packages/packages/wise_text was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

160 out of 173 API elements (92.5 %) have documentation comments.

Some symbols that are missing documentation: wise_text.Dartinstancetype, wise_text.NoOpTextClassifier.NoOpTextClassifier.new, wise_text.StyledNode.StyledNode.new, wise_text.StyledTextActionTag.StyledTextActionTag.new, wise_text.StyledTextCustomTag.StyledTextCustomTag.new.

Passed check 10/10 points: Package has an example

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

Passed check 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:wise_text/wise_text.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:wise_text/wise_text.dart that declares support for platforms: Android, iOS.

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

Package does not support platform `iOS`.

Because:

  • package:wise_text/wise_text.dart that imports:
  • package:wise_text/src/widget/widget.dart that imports:
  • package:wise_text/src/widget/wise_text_widget.dart that imports:
  • package:wise_text/src/classifier/classifier.dart that imports:
  • package:wise_text/src/classifier/wise_text_classifier_android.dart that imports:
  • package:wise_text/src/classifier/wise_text_classifier_android.g.dart that imports:
  • package:jni/jni.dart that declares support for platforms: Android, Windows, Linux.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle.kts`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors 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
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
ffi ^2.2.0 2.2.0 2.2.0
jni ^1.0.0 1.1.1 1.1.1
jni_flutter ^1.0.1 1.0.4+1 1.0.4+1
objective_c ^9.4.1 9.6.2 9.6.2
styled_text ^10.0.0 10.0.0 10.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.1 1.4.1
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
crypto - 3.0.8 3.0.8
hooks - 2.2.0 2.2.0
jni_util - 1.0.0 1.0.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
petitparser - 7.1.0 7.1.0
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
vector_math - 2.4.4 2.4.4
xml - 7.1.0 7.1.0
xmlstream - 1.1.1 1.1.1
yaml - 3.1.4 3.1.4

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • CONST_EVAL_THROWS_EXCEPTION - lib/src/classifier/wise_text_classifier_android.g.dart:42:27 - Evaluation of this constant expression throws an exception.

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.23.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
110
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Text widget with auto classification and rich text support using styled_text. Using NSDataDetector on iOS and TextClassifier on Android

Repository (GitHub)

License

MIT (license)

Dependencies

ffi, flutter, jni, jni_flutter, objective_c, styled_text

More

Packages that depend on wise_text

Packages that implement wise_text