flutter_tex 4.0.9 copy "flutter_tex: ^4.0.9" to clipboard
flutter_tex: ^4.0.9 copied to clipboard

A Flutter Package to render Mathematics / Maths, Physics and Chemistry, Statistics Equations and expressions based on LaTeX, TeX, and MathML with HTML and JavaScript support.

301
likes
140/ 160
pub points
4.12k
downloads

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

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

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

72 out of 187 API elements (38.5 %) have documentation comments.

Some symbols that are missing documentation: flutter_tex, flutter_tex.TeXViewBorder, flutter_tex.TeXViewBorder.TeXViewBorder.all, flutter_tex.TeXViewBorder.TeXViewBorder.only, flutter_tex.TeXViewBorder.all.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_tex/flutter_tex.dart that imports:
  • package:flutter_tex/src/views/tex_view.dart that imports:
  • package:flutter_tex/src/views/tex_view_mobile.dart that imports:
  • package:webview_flutter_plus/webview_flutter_plus.dart that imports:
  • package:webview_flutter_plus/src/controller.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_tex/flutter_tex.dart that imports:
  • package:flutter_tex/src/views/tex_view.dart that imports:
  • package:flutter_tex/src/views/tex_view_mobile.dart that imports:
  • package:webview_flutter_plus/webview_flutter_plus.dart that imports:
  • package:webview_flutter_plus/src/controller.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_tex/flutter_tex.dart that imports:
  • package:flutter_tex/src/views/tex_view.dart that imports:
  • package:flutter_tex/src/views/tex_view_mobile.dart that imports:
  • package:webview_flutter_plus/webview_flutter_plus.dart that imports:
  • package:webview_flutter_plus/src/controller.dart that imports:
  • package:webview_flutter_plus/src/server.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

INFO: 'red' is deprecated and shouldn't be used. Use .r.

lib/src/utils/style_utils.dart:8:25

  ╷
8 │   return "rgba(${color?.red}, ${color?.green}, ${color?.blue}, ${color?.alpha})";
  │                         ^^^
  ╵

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

INFO: 'green' is deprecated and shouldn't be used. Use .g.

lib/src/utils/style_utils.dart:8:40

  ╷
8 │   return "rgba(${color?.red}, ${color?.green}, ${color?.blue}, ${color?.alpha})";
  │                                        ^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
markdown ^7.2.2 7.2.2 7.2.2
webview_flutter_plus ^0.4.7 0.4.7 0.4.7
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4
webview_flutter - 4.10.0 4.10.0
webview_flutter_android - 4.2.0 4.2.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3

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

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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

301
likes
140
points
4.12k
downloads

Publisher

verified publishershahxad.com

Weekly Downloads

A Flutter Package to render Mathematics / Maths, Physics and Chemistry, Statistics Equations and expressions based on LaTeX, TeX, and MathML with HTML and JavaScript support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, markdown, webview_flutter_plus

More

Packages that depend on flutter_tex