flutter_tex_js 1.2.17
flutter_tex_js: ^1.2.17 copied to clipboard
A lightweight TeX plugin that uses KaTeX (JavaScript) in a native web view to render to PNG
We analyzed this package 15 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
13 out of 18 API elements (72.2 %) have documentation comments.
Some symbols that are missing documentation: flutter_tex_js, flutter_tex_js.ErrorWidgetBuilder, flutter_tex_js.FlutterTexJs, flutter_tex_js.FlutterTexJs.FlutterTexJs.new, flutter_tex_js.TexImage.TexImage.new.
10/10 points: Package has an example
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:flutter_tex_js/flutter_tex_js.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:flutter_tex_js/flutter_tex_js.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flutter_tex_js/flutter_tex_js.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flutter_tex_js/flutter_tex_js.dartthat declares support for platforms:Android,iOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.
lib/flutter_tex_js.dart:2:8
╷
2 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_tex_js.dart
INFO: 'red' is deprecated and shouldn't be used. Use (*.r * 255.0).round().clamp(0, 255).
lib/flutter_tex_js.dart:80:19
╷
80 │ 'rgba(${color.red},${color.green},${color.blue},${color.opacity})';
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_tex_js.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_tex_js_android |
^1.0.0 |
1.0.9 | 3.0.9 | |
flutter_tex_js_ios |
^1.0.0 |
1.0.7 | 2.0.15 | |
flutter_tex_js_platform_interface |
^1.0.0 |
1.0.0 | 1.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.0.0` on flutter_tex_js_android does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_tex_js_android to update the constraint.
The constraint `^1.0.0` on flutter_tex_js_ios does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_tex_js_ios to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.