flutter_tk 1.0.4 icon indicating copy to clipboard operation
flutter_tk: ^1.0.4 copied to clipboard

flutter_tk

2
likes
45/ 140
pub points
56%
popularity

We analyzed this package 10 hours ago, and awarded it 45 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
5 / 30icon to trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

* `pubspec.yaml` doesn't have a `homepage` entry. * `pubspec.yaml` doesn't have a `repository` entry.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

CHANGELOG.md contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

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.

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 93 out of 482 API elements (19.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Web

These platforms are not supported:

Package does not support platform Windows.

Because:

  • package:flutter_tk/form/fields/model_text_field.dart that declares support for platforms: Android, iOS, Web.

Package does not support platform Linux.

Because:

  • package:flutter_tk/form/fields/model_text_field.dart that declares support for platforms: Android, iOS, Web.

Package does not support platform macOS.

Because:

  • package:flutter_tk/form/fields/model_text_field.dart that declares support for platforms: Android, iOS, Web.

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

Package does not support platform Android.

Because:

  • package:flutter_tk/form/fields/model_text_field.dart that imports:
  • package:flutter_tk/tk_box.dart that imports:
  • package:flutter_tk/tk.dart that imports:
  • package:flutter_tk/tk_file.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Package does not support platform iOS.

Because:

  • package:flutter_tk/form/fields/model_text_field.dart that imports:
  • package:flutter_tk/tk_box.dart that imports:
  • package:flutter_tk/tk.dart that imports:
  • package:flutter_tk/tk_file.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Package does not support platform Web.

Because:

  • package:flutter_tk/form/fields/model_text_field.dart that imports:
  • package:flutter_tk/tk_box.dart that imports:
  • package:flutter_tk/tk.dart that imports:
  • package:flutter_tk/tk_image.dart that imports:
  • package:fancy_shimmer_image/fancy_shimmer_image.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:cached_network_image_web/cached_network_image_web.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/json_cache_info_repository.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
icon indicating section status
Pass static analysis
0 / 30icon to trigger folding of the section

0/30 points: code has no errors, warnings, lints, or formatting issues

Found 36 issues. Showing the first 2:

ERROR: The default value of an optional parameter must be constant.

lib/tk_stack.dart:17:21

   ╷
17 │     this.overflow = Overflow.clip,
   │                     ^^^^^^^^
   ╵

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

ERROR: Undefined name 'Overflow'.

lib/tk_stack.dart:17:21

   ╷
17 │     this.overflow = Overflow.clip,
   │                     ^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
collection^1.15.01.16.01.17.0
dio^4.0.04.0.64.0.6
email_validator^2.0.12.1.172.1.17
fancy_shimmer_image^2.0.0+12.0.22.0.2
fbutton^2.0.12.0.12.0.1
file_picker^4.0.04.6.15.2.3
flutterflutter0.0.00.0.0
flutter_easyrefresh^2.2.12.2.22.2.2
flutter_focus_watcher^2.0.02.0.02.0.0
flutter_spinkit^5.0.05.1.05.1.0
flutter_web_pluginsflutter0.0.00.0.0
gap^2.0.02.0.12.0.1
get^4.3.44.6.54.6.5
logger^1.0.01.1.01.1.0
lottie^1.1.01.4.32.0.0
modal_bottom_sheet^2.0.02.1.22.1.2
smart_color^0.2.20.2.20.2.2
supercharged^2.0.02.1.12.1.1
validators^3.0.03.0.03.0.0
visibility_detector^0.2.00.2.20.3.3
wechat_assets_picker^5.5.85.5.88.1.4
wechat_camera_picker^2.2.02.6.53.6.5
Transitive dependencies
PackageConstraintCompatibleLatest
archive-3.3.53.3.5
async-2.10.02.10.0
cached_network_image-3.2.33.2.3
cached_network_image_platform_interface-2.0.02.0.0
cached_network_image_web-1.0.21.0.2
camera-0.9.8+10.10.0+4
camera_android-0.9.8+30.10.0+5
camera_avfoundation-0.9.8+60.9.8+6
camera_platform_interface-2.3.12.3.1
camera_web-0.2.1+60.3.0+1
characters-1.2.11.2.1
clock-1.1.11.1.1
convert-3.1.13.1.1
cross_file-0.3.3+20.3.3+2
crypto-3.0.23.0.2
csslib-0.17.20.17.2
extended_image-4.2.16.3.4
extended_image_library-3.4.13.4.1
fcontrol-1.0.12.0.0
ffi-1.2.12.0.1
file-6.1.46.1.4
flutter_blurhash-0.7.00.7.0
flutter_cache_manager-3.3.03.3.0
flutter_plugin_android_lifecycle-2.0.72.0.7
html-0.15.10.15.1
http-0.13.50.13.5
http_client_helper-2.0.32.0.3
http_parser-4.0.24.0.2
js-0.6.40.6.5
matcher-0.12.130.12.13
material_color_utilities-0.1.50.2.0
meta-1.8.01.8.0
nested-1.0.01.0.0
octo_image-1.0.21.0.2
path-1.8.31.8.3
path_provider-2.0.112.0.11
path_provider_android-2.0.222.0.22
path_provider_ios-2.0.112.0.11
path_provider_linux-2.1.72.1.7
path_provider_macos-2.0.62.0.6
path_provider_platform_interface-2.0.52.0.5
path_provider_windows-2.0.72.1.3
pedantic-1.11.11.11.1
photo_manager-1.3.102.5.1+1
pigment-1.0.41.0.4
platform-3.1.03.1.0
plugin_platform_interface-2.1.32.1.3
pointycastle-3.6.23.6.2
process-4.2.44.2.4
provider-5.0.06.0.4
quiver-3.1.03.1.0
rxdart-0.27.70.27.7
shimmer-2.0.02.0.0
sky_engine-0.0.990.0.99
source_span-1.9.11.9.1
sqflite-2.2.22.2.2
sqflite_common-2.4.0+22.4.0+2
stack_trace-1.11.01.11.0
stream_transform-2.1.02.1.0
string_scanner-1.2.01.2.0
supercharged_dart-2.1.12.1.1
synchronized-3.0.0+33.0.0+3
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
uuid-3.0.73.0.7
vector_math-2.1.22.1.4
video_player-2.4.82.4.8
video_player_android-2.3.92.3.9
video_player_avfoundation-2.3.72.3.7
video_player_platform_interface-5.1.46.0.0
video_player_web-2.0.122.0.12
win32-2.6.13.1.2
xdg_directories-0.2.0+20.2.0+2

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

Found 5 issues. Showing the first 2:

The constraint ^4.0.0 on file_picker does not support the stable version 5.0.0.

Try running dart pub upgrade --major-versions file_picker to update the constraint.

The constraint ^1.1.0 on lottie does not support the stable version 2.0.0, that was published 28 days ago.

When lottie is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions lottie to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Null safety support has one or more issues.

Package is not null safe

Because:

  • flutter_tk that depends on:
  • fbutton that doesn't opt in to null safety

For more information

Try running dart pub outdated --mode=null-safety. Be sure to read the migration guide.

Analysed with Pana 0.21.21, Flutter 3.3.9, Dart 2.18.5.