detectable_text_field 2.1.0
detectable_text_field: ^2.1.0 copied to clipboard
TextField with detection features. You can detect hashtags, at sign, url or anything you want. Helps you develop Twitter like app. Refinement of hashtagable
We analyzed this package 7 days ago, and awarded it 85 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:111:48
╷
111 │ <td align="center" valign="top" width="14.28%"><a href="http://nexttechphilly.com"><img src="https://avatars.githubusercontent.com/u/21372502?v=4?s=100" width="100px;" alt="Social Jawn"/><br /><sub><b>Social Jawn</b></sub></a><br /><a href="https://github.com/santa112358/detectable_text_field/commits?author=rlee1990" title="Code">💻</a></td>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
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
113 out of 180 API elements (62.8 %) have documentation comments.
Some symbols that are missing documentation: composer
, composer.Composer.Composer.new
, composer.Composer.callOnDetectionTyped
, composer.Composer.composing
, composer.Composer.detectedStyle
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 39 issues. Showing the first 2:
ERROR: The getter 'subtitle1' isn't defined for the type 'TextTheme'.
lib/widgets/detectable_text.dart:104:45
╷
104 │ final TextStyle style = theme.textTheme.subtitle1!.merge(widget.basicStyle);
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/detectable_text.dart
ERROR: The getter 'caption' isn't defined for the type 'TextTheme'.
lib/widgets/detectable_text_field.dart:1023:33
╷
1023 │ themeData.textTheme.caption!.copyWith(color: themeData.errorColor),
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/detectable_text_field.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
vector_math |
- | 2.1.4 | 2.1.5 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
UNDEFINED_GETTER
-lib/widgets/detectable_text.dart:104:45
- The getter 'subtitle1' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER
-lib/widgets/detectable_text_field.dart:1023:33
- The getter 'caption' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER
-lib/widgets/detectable_text_field.dart:1023:68
- The getter 'errorColor' isn't defined for the type 'ThemeData'.
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.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.