flutter_math 0.2.1
flutter_math: ^0.2.1 copied to clipboard
Fast and high-quality TeX math equation rendering with pure Dart & Flutter.
23
likes
90
/ 110
pub points
85
%
popularity
We analyzed this package on Jan 16, 2021, and awarded it 90 pub points (of a possible 110):
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: Package has an example
- Found example at:
example/lib/main.dart
0/10 points: Failed to run dartdoc
- Running
dartdoc
failed with the following output:
warning: unresolved doc reference [x], from package-flutter_math: file:///tmp/pub-dartlang-dartdocYCDHCD/pkg
warning: unresolved doc reference [x+y], from tex.TexParser.parseGroup: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/parser/tex/parser.dart:345:13)
error: failed to write file at: ast/MathStyleExt/reduceTable-constant.html, for symbol ast.MathStyleExt.reduceTable: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/style.dart:48:16)
Dartdoc generates a path and filename to write to for each symbol.
ast.MathStyleExt.reduceTable conflicts with another symbol in the generated path, and
therefore can not be written out. Changing the name, library name, or
class name (if appropriate) of one of the conflicting items can resolve
the conflict. Alternatively, use the @nodoc tag in one symbol's
documentation comments to hide it.
error: failed to write file at: ast/MathStyleExtOnSize/sizeStyleMap-constant.html, for symbol ast.MathStyleExtOnSize.sizeStyleMap: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/style.dart:88:16)
warning: Comment reference resolution inside extension methods is not yet implemented, from ast.GreenNodeWrappingExt.expandEquationRow: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/syntax_tree.dart:748:19)
warning: unresolved doc reference [EquationRowNode], from ast.GreenNodeWrappingExt.expandEquationRow: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/syntax_tree.dart:748:19)
warning: Comment reference resolution inside extension methods is not yet implemented, from ast.GreenNodeWrappingExt.unwrapEquationRow: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/syntax_tree.dart:762:13)
warning: unresolved doc reference [EquationRowNode], from ast.GreenNodeWrappingExt.unwrapEquationRow: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/syntax_tree.dart:762:13)
warning: Comment reference resolution inside extension methods is not yet implemented, from ast.GreenNodeWrappingExt.wrapWithEquationRow: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/syntax_tree.dart:739:19)
warning: unresolved doc reference [EquationRowNode], from ast.GreenNodeWrappingExt.wrapWithEquationRow: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/syntax_tree.dart:739:19)
warning: Comment reference resolution inside extension methods is not yet implemented, from ast.GreenNodeListWrappingExt.wrapWithEquationRow: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/syntax_tree.dart:779:19)
warning: unresolved doc reference [GreenNode], from ast.GreenNodeListWrappingExt.wrapWithEquationRow: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/syntax_tree.dart:779:19)
warning: unresolved doc reference [EquationRowNode], from ast.GreenNodeListWrappingExt.wrapWithEquationRow: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/ast/syntax_tree.dart:779:19)
warning: undefined macro [flutter_math.widgets.math.mathStyle], from flutter_math.SelectableMath.mathStyle: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/widgets/selectable.dart:135:19)
warning: unresolved doc reference [parseError]
from flutter_math.SelectableMath.onErrorFallback: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/widgets/selectable.dart:141:25)
in documentation inherited from flutter_math.SelectableMath.onErrorFallback: (file:///tmp/pub-dartlang-dartdocYCDHCD/pkg/lib/src/widgets/selectable.dart:141:25)
warning: dartdoc generated a broken link to: ast/UnitExt/parse.html
warning: dartdoc generated a broken link to: doc/unsupported.md, linked to from package-flutter_math: file:///tmp/pub-dartlang-dartdocYCDHCD/pkg
warning: dartdoc generated a broken link to: www.mathjax.org, linked to from package-flutter_math: file:///tmp/pub-dartlang-dartdocYCDHCD/pkg
warning: dartdoc generated a broken link to: doc/design.md, linked to from package-flutter_math: file:///tmp/pub-dartlang-dartdocYCDHCD/pkg
found 17 warnings and 2 errors
Unhandled exception:
dartdoc encountered 2 errors while processing.
#0 Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:231:9)
<asynchronous suspension>
#1 main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:33)
<asynchronous suspension>
#2 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#3 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: 'useTextSelectionTheme' is deprecated and shouldn't be used. No longer used by the framework, please remove any reference to it. This feature was deprecated after v1.23.0-4.0.pre..
lib/src/widgets/selectable.dart:293:19
╷
293 │ if (theme.useTextSelectionTheme) {
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/src/widgets/selectable.dart
INFO: 'textSelectionColor' is deprecated and shouldn't be used. Use TextSelectionThemeData.selectionColor instead. This feature was deprecated after v1.23.0-4.0.pre..
lib/src/widgets/selectable.dart:300:34
╷
300 │ selectionColor = theme.textSelectionColor;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/src/widgets/selectable.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter_svg | ^0.19.0 | 0.19.2+1 | 0.19.2+1 |
meta | ^1.2.3 | 1.3.0-nullsafety.6 | 1.3.0-nullsafety.6 |
provider | ^4.3.2+2 | 4.3.2+4 | 4.3.2+4 |
tuple | ^1.0.3 | 1.0.3 | 1.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.1.0-nullsafety.5 | 1.1.0-nullsafety.5 |
charcode | - | 1.1.3 | 1.2.0-nullsafety.3 |
collection | - | 1.15.0-nullsafety.5 | 1.15.0-nullsafety.5 |
convert | - | 2.1.1 | 2.1.1 |
matcher | - | 0.12.9 | 0.12.10-nullsafety.3 |
nested | - | 0.0.4 | 0.0.4 |
path | - | 1.7.0 | 1.8.0-nullsafety.3 |
path_drawing | - | 0.4.1+1 | 0.4.1+1 |
path_parsing | - | 0.1.4 | 0.1.4 |
petitparser | - | 3.1.0 | 3.1.0 |
quiver | - | 2.1.5 | 2.1.5 |
stack_trace | - | 1.9.6 | 1.10.0-nullsafety.6 |
typed_data | - | 1.3.0-nullsafety.5 | 1.3.0-nullsafety.5 |
vector_math | - | 2.1.0-nullsafety.5 | 2.1.0-nullsafety.5 |
xml | - | 4.5.1 | 4.5.1 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.