sunny_core_widgets 0.3.2+1 copy "sunny_core_widgets: ^0.3.2+1" to clipboard
sunny_core_widgets: ^0.3.2+1 copied to clipboard

Core widgets used by Sunny

1
likes
50/ 160
pub points
145
downloads

We analyzed this package 26 hours ago, and awarded it 50 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger 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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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

140 out of 1447 API elements (9.7 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: app_route_extensions, app_route_extensions.AppRouteTypedExtension, app_route_extensions.AppRouteTypedExtension.toRoute, app_route_extensions.FRouterExtensions, app_route_extensions.FRouterExtensions.list.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:sunny_core_widgets/sunny_core_widgets.dart that imports:
  • package:sunny_core_widgets/widgets.dart that imports:
  • package:sunny_core_widgets/widgets/platform_segment_control.dart that imports:
  • package:sunny_essentials/theme.dart that imports:
  • package:sunny_essentials/theme/themes.dart that imports:
  • package:sunny_essentials/cards.dart that imports:
  • package:sunny_essentials/cards/platform_list_tile.dart that imports:
  • package:sunny_essentials/container/auto_layout.dart that imports:
  • package:sunny_essentials/image/platform_network_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: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/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:sunny_core_widgets/sunny_core_widgets.dart that imports:
  • package:sunny_core_widgets/widgets.dart that imports:
  • package:sunny_core_widgets/widgets/platform_segment_control.dart that imports:
  • package:sunny_essentials/theme.dart that imports:
  • package:sunny_essentials/theme/themes.dart that imports:
  • package:sunny_essentials/cards.dart that imports:
  • package:sunny_essentials/cards/platform_list_tile.dart that imports:
  • package:sunny_essentials/container/auto_layout.dart that imports:
  • package:sunny_essentials/image/platform_network_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: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/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:sunny_core_widgets/sunny_core_widgets.dart that imports:
  • package:sunny_core_widgets/widgets.dart that imports:
  • package:sunny_core_widgets/widgets/platform_segment_control.dart that imports:
  • package:sunny_essentials/theme.dart that imports:
  • package:sunny_essentials/theme/themes.dart that imports:
  • package:sunny_essentials/cards.dart that imports:
  • package:sunny_essentials/cards/platform_list_tile.dart that imports:
  • package:sunny_essentials/container/auto_layout.dart that imports:
  • package:sunny_essentials/image/platform_network_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: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.

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.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 69 issues. Showing the first 2:

ERROR: A value of type 'Null' can't be assigned to a variable of type 'ScrollController'.

lib/layouts/sunny_page_layouts.dart:81:20

   ╷
81 │         scroller = null;
   │                    ^^^^
   ╵

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

ERROR: A value of type 'Null' can't be assigned to a variable of type 'ScrollController'.

lib/layouts/sunny_page_layouts.dart:96:20

   ╷
96 │         scroller = null;
   │                    ^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
cached_network_image ^3.2.0 3.3.1 3.4.1
dartxx ^0.5.5 0.5.5 0.5.5
equatable ^2.0.3 2.0.7 2.0.7
expanding_cards ^0.8.0+6 0.8.0+6 0.8.0+6
flexidate ^0.8.0+3 0.8.0+3 0.8.0+3
flutter flutter 0.0.0 0.0.0
flutter_screen_scaling ^3.3.2+3 3.3.2+3 3.3.2+3
info_x ^0.8.0+3 0.8.0+3 0.8.0+3
intl ^0.17.0 0.17.0 0.20.1
logging ^1.0.2 1.3.0 1.3.0
material_segmented_control ^3.1.2 3.1.2 5.0.1
modal_bottom_sheet ^2.0.1 2.1.2 3.0.0
permission_handler ^9.2.0 9.2.0 11.3.1
provider ^6.0.2 6.1.2 6.1.2
responsive_builder ^0.4.2 0.4.3 0.7.1
sunny_essentials ^0.8.2+1 0.8.2+1 0.8.2+1
sunny_fluro ^1.12.0 1.12.0 1.12.0
sunny_platform_widgets ^1.21.0 1.21.0 1.21.0
sunny_sdk_core ^2.5.0 2.5.0 2.5.0
timeago ^3.2.2 3.3.0 3.7.0
uri ^1.0.0 1.0.0 1.0.0
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.0.2 1.3.48
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
buffer - 1.2.3 1.2.3
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.3.0 1.4.0
chunked_stream - 1.4.2 1.4.2
clock - 1.1.1 1.1.2
cloud_firestore_platform_interface - 5.7.7 6.6.0
cloud_firestore_web - 2.8.10 4.4.0
collection - 1.19.0 1.19.1
collection_diff - 2.0.3+6 2.0.3+6
crypto - 3.0.6 3.0.6
dartx - 0.7.1 1.2.0
dio - 4.0.6 5.7.0
fake_async - 1.3.1 1.3.2
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
firebase_auth - 3.11.2 5.3.4
firebase_auth_platform_interface - 6.10.1 7.4.10
firebase_auth_web - 4.6.1 5.13.5
firebase_core - 1.24.0 3.9.0
firebase_core_platform_interface - 4.8.0 5.4.0
firebase_core_web - 1.7.3 2.19.0
flutter_cache_manager - 3.3.1 3.4.1
flutter_degen_annotations - 1.7.0 1.7.0
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
http - 0.13.6 1.2.2
http_parser - 4.1.1 4.1.1
inflection3 - 0.5.3+2 0.5.3+2
js - 0.6.7 0.7.1
leak_tracker - 10.0.7 10.0.8
leak_tracker_flutter_testing - 3.0.8 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
libphonenumber2 - 2.0.2+2 2.0.2+2
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
matrix4_transform - 2.0.1 4.0.1
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
path - 1.9.0 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
pedantic - 1.11.1 1.11.1
permission_handler_android - 9.0.2+1 12.0.13
permission_handler_apple - 9.1.4 9.4.5
permission_handler_platform_interface - 3.12.0 4.2.3
permission_handler_windows - 0.1.3 0.2.1
pfile - 2.2.0 2.2.0
platform - 3.1.6 3.1.6
platform_detect2 - 1.5.0+2 1.5.0+2
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.5 2.1.5
quiver - 3.2.2 3.2.2
recase - 4.1.0 4.1.0
rxdart - 0.27.7 0.28.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.0 1.10.1
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
stack_trace - 1.12.0 1.12.1
stream_channel - 2.1.2 2.1.3
stream_transform - 2.1.1 2.1.1
string_scanner - 1.3.0 1.4.1
sunny_dart - 0.11.1 0.11.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.2
test_api - 0.7.3 0.7.4
time - 2.1.5 2.1.5
timezone - 0.8.0 0.10.0
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
vm_service - 14.3.0 15.0.0
xdg_directories - 1.1.0 1.1.0

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

Found 5 issues. Showing the first 2:

The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.

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

The constraint `^3.1.2` on material_segmented_control does not support the stable version `4.0.0`.

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

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 2 errors:

  • INVALID_ASSIGNMENT - lib/layouts/sunny_page_layouts.dart:81:20 - A value of type 'Null' can't be assigned to a variable of type 'ScrollController'.
  • INVALID_ASSIGNMENT - lib/layouts/sunny_page_layouts.dart:96:20 - A value of type 'Null' can't be assigned to a variable of type 'ScrollController'.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.