tmt_flutter_utils 1.4.0 copy "tmt_flutter_utils: ^1.4.0" to clipboard
tmt_flutter_utils: ^1.4.0 copied to clipboard

Extension method and utils library using for flutter project.

120/ 160
pub points
132
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting tmt_flutter_utils... Discovering libraries... Linking elements... Precaching local docs for 656758 elements... Initialized dartdoc with 954 libraries Generating docs for library tmt_flutter_utils.dart from package:tmt_flutter_utils/tmt_flutter_utils.dart... Generating docs for library sources/datetime_utils/flutter_datetime_util.dart from package:tmt_flutter_utils/sources/datetime_utils/flutter_datetime_util.dart... Generating docs for library sources/datetime_utils/flutter_datetime_extensions.dart from package:tmt_flutter_utils/sources/datetime_utils/flutter_datetime_extensions.dart... Generating docs for library sources/widget_extensions.dart from package:tmt_flutter_utils/sources/widget_extensions.dart... Generating docs for library sources/context_utils/context_extensions.dart from package:tmt_flutter_utils/sources/context_utils/context_extensions.dart... [6 more lines] ERR: warning: tmt_flutter_utils has no library level documentation comments from tmt_flutter_utils: (file:///tmp/pana_DAUMLM/lib/tmt_flutter_utils.dart:1:1) warning: tmt_flutter_utils has no library level documentation comments from tmt_flutter_utils: (file:///tmp/pana_DAUMLM/lib/sources/datetime_utils/flutter_datetime_util.dart:1:1) error: file already written at "tmt_flutter_utils/index.html" for symbol tmt_flutter_utils: (file:///tmp/pana_DAUMLM/lib/sources/datetime_utils/flutter_datetime_util.dart:1:1) conflicting with file already generated by tmt_flutter_utils: (file:///tmp/pana_DAUMLM/lib/tmt_flutter_utils.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'tmt_flutter_utils' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, [27 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

Package not compatible with platform Web

Because:

  • package:tmt_flutter_utils/tmt_flutter_utils.dart that imports:
  • package:tmt_flutter_utils/tmt_flutter_extensions.dart that imports:
  • package:tmt_flutter_utils/sources/context_utils/context_extensions.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:tmt_flutter_utils/tmt_flutter_utils.dart that imports:
  • package:tmt_flutter_utils/tmt_flutter_extensions.dart that imports:
  • package:tmt_flutter_utils/sources/context_utils/context_extensions.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 10 issues. Showing the first 2:

INFO: 'red' is deprecated and shouldn't be used. Use (*.r * 255.0).round().clamp(0, 255).

lib/sources/color_utils/color_extensions.dart:10:24

   ╷
10 │         (0.299 * (this.red) + 0.587 * this.green + 0.114 * this.blue) / 255;
   │                        ^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/sources/color_utils/color_extensions.dart

INFO: 'green' is deprecated and shouldn't be used. Use (*.g * 255.0).round().clamp(0, 255).

lib/sources/color_utils/color_extensions.dart:10:44

   ╷
10 │         (0.299 * (this.red) + 0.587 * this.green + 0.114 * this.blue) / 255;
   │                                            ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/sources/color_utils/color_extensions.dart

Passed report section
Support up-to-date dependencies
40 / 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
characters ^1.3.0 1.4.1 1.4.1
collection >=1.17.1 <2.0.0 1.19.1 1.19.1
crypto ^3.0.2 3.0.7 3.0.7
diacritic ^0.1.3 0.1.6 0.1.6
intl >=0.17.0 <=0.20.2 0.20.2 0.20.2
timeago ^3.3.0 3.7.1 3.7.1
tmt_dart_utils ^1.4.0 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
clock - 1.1.2 1.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
path - 1.9.1 1.9.1
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.12, Flutter 3.41.7, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
120
points
132
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Extension method and utils library using for flutter project.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

characters, collection, crypto, diacritic, flutter, intl, timeago, tmt_dart_utils

More

Packages that depend on tmt_flutter_utils