castor_flutter 1.0.2 copy "castor_flutter: ^1.0.2" to clipboard
castor_flutter: ^1.0.2 copied to clipboard

This Flutter package is a collection of widgets and utilities for building Flutter applications.

105/ 160
pub points
14
downloads

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

Failed report section
Follow Dart file conventions
25 / 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

Failed check 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.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

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

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

84 out of 164 API elements (51.2 %) have documentation comments.

Some symbols that are missing documentation: app_localizations, app_localizations.AppLocalizations.AppLocalizations.new, app_localizations.AppLocalizations.delegate, app_localizations.AppLocalizations.localeName, app_localizations.AppLocalizations.of.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:castor_flutter/castor_flutter.dart that imports:
  • package:castor_flutter/ui/form/label_multi_images_form_field.dart that imports:
  • package:castor_flutter/ui/form/photo/multi_images.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:castor_flutter/castor_flutter.dart that imports:
  • package:castor_flutter/ui/form/label_multi_images_form_field.dart that imports:
  • package:castor_flutter/ui/form/photo/multi_images.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:castor_flutter/castor_flutter.dart that imports:
  • package:castor_flutter/ui/form/label_multi_images_form_field.dart that imports:
  • package:castor_flutter/ui/form/photo/multi_images.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.
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 3 issues. Showing the first 2:

INFO: 'activeColor' is deprecated and shouldn't be used. Use activeThumbColor instead. This feature was deprecated after v3.31.0-2.0.pre.

lib/ui/form/label_switch_form_field.dart:42:21

   ╷
42 │                     activeColor: Color.fromRGBO(58, 102, 242, 1),
   │                     ^^^^^^^^^^^
   ╵

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

INFO: Missing type annotation.

lib/ui/widgets/toast.dart:5:1

  ╷
5 │ toastInfo(BuildContext context, String msg) {
  │ ^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
dio ^5.7.0 5.9.0 5.9.0
flutter_image_compress ^2.4.0 2.4.0 2.4.0
image_picker ^1.1.2 1.2.1 1.2.1
intl >=0.19.0 <0.21.0 0.20.2 0.20.2
photo_manager ^3.6.4 3.8.3 3.8.3
photo_view ^0.15.0 0.15.0 0.15.0
toastification ^1.0.0 1.2.1 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.5+1 0.3.5+1
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.1.1 2.1.1
equatable - 2.0.8 2.0.8
file_selector_linux - 0.9.4 0.9.4
file_selector_macos - 0.9.5 0.9.5
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+5 0.9.3+5
fixnum - 1.1.1 1.1.1
flutter_image_compress_common - 1.0.6 1.0.6
flutter_image_compress_macos - 1.0.3 1.0.3
flutter_image_compress_ohos - 0.0.3 0.0.3
flutter_image_compress_platform_interface - 1.0.5 1.0.5
flutter_image_compress_web - 0.1.5 0.1.5
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
iconsax_flutter - 1.0.1 1.0.1
image_picker_android - 0.8.13+10 0.8.13+10
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+3 0.8.13+3
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
pausable_timer - 3.1.0+3 3.1.0+3
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

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

The constraint `^1.0.0` on toastification does not support the stable version `2.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/ui/widgets/toast.dart:8:12 - The argument type 'Text' can't be assigned to the parameter type 'String'.
  • UNDEFINED_ENUM_CONSTANT - lib/ui/widgets/toast.dart:13:32 - There's no constant named 'simple' in 'ToastificationStyle'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/ui/widgets/toast.dart:25:12 - The argument type 'Text' can't be assigned to the parameter type 'String'.

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.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
105
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

This Flutter package is a collection of widgets and utilities for building Flutter applications.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, flutter_image_compress, flutter_localizations, image_picker, intl, photo_manager, photo_view, toastification

More

Packages that depend on castor_flutter