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

Widget components and extensions to make flutter easy and smart.

3
likes
130/ 160
pub points
228
downloads

We analyzed this package 2 days ago, and awarded it 130 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

175 out of 811 API elements (21.6 %) have documentation comments.

Some symbols that are missing documentation: smart_flutter_widgets.AutocompleteOptionFilter, smart_flutter_widgets.AutocompleteOptionViewBuilder, smart_flutter_widgets.AutocompleteOptions, smart_flutter_widgets.BasicWidget, smart_flutter_widgets.BasicWidget.expanded.

Passed check 10/10 points: Package has an example

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

Passed check 20/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:smart_flutter_widgets/smart_flutter_widgets.dart that imports:
  • package:smart_flutter_widgets/src/src.dart that imports:
  • package:smart_flutter_widgets/src/widgets/widgets.dart that imports:
  • package:smart_flutter_widgets/src/widgets/sliver_list.dart that imports:
  • package:smart_flutter_utils/smart_flutter_utils.dart that imports:
  • package:smart_flutter_utils/src/src.dart that imports:
  • package:smart_flutter_utils/src/cache/cache.dart that imports:
  • package:smart_flutter_utils/src/cache/secure_storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that imports:
  • package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:smart_flutter_widgets/smart_flutter_widgets.dart that imports:
  • package:smart_flutter_widgets/src/src.dart that imports:
  • package:smart_flutter_widgets/src/widgets/widgets.dart that imports:
  • package:smart_flutter_widgets/src/widgets/sliver_list.dart that imports:
  • package:smart_flutter_utils/smart_flutter_utils.dart that imports:
  • package:smart_flutter_utils/src/src.dart that imports:
  • package:smart_flutter_utils/src/cache/cache.dart that imports:
  • package:smart_flutter_utils/src/cache/secure_storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that imports:
  • package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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 6 issues. Showing the first 2:

INFO: 'minSize' is deprecated and shouldn't be used. Use minimumSize instead. This feature was deprecated after v3.28.0-3.0.pre.

lib/src/widgets/app_bar.dart:737:9

    ╷
737 │         minSize: 0,
    │         ^^^^^^^
    ╵

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

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/widgets/bottom_sheet.dart:312:59

    ╷
312 │                       color: (color ?? context.hintColor).withOpacity(opacity),
    │                                                           ^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
20 / 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
auto_size_text ^3.0.0 3.0.0 3.0.0
flutter_svg ^2.0.16 2.2.0 2.2.0
google_fonts ^6.2.1 6.2.1 6.2.1
modal_bottom_sheet ^3.0.0 3.0.0 3.0.0
shimmer ^3.0.0 3.0.0 3.0.0
smart_flutter_utils >=1.0.0 <2.0.0 1.0.5 1.0.5
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bloc - 8.1.4 9.0.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
dio - 5.8.0+1 5.8.0+1
dio_web_adapter - 2.1.1 2.1.1
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_secure_storage - 9.2.4 9.2.4
flutter_secure_storage_linux - 1.2.3 2.0.1
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 3.1.2 4.0.0
formz - 0.4.1 0.8.0
get - 4.7.2 4.7.2
get_storage - 2.1.1 2.1.1
go_router - 14.8.1 15.2.4
http - 1.4.0 1.4.0
http_parser - 4.1.2 4.1.2
intl - 0.19.0 0.20.2
js - 0.6.7 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime_type - 1.0.1 1.0.1
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
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
petitparser - 6.1.0 7.0.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
smart_http - 1.0.6 1.0.6
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
timeago - 3.7.1 3.7.1
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
uuid - 4.5.1 4.5.1
vector_graphics - 1.1.19 1.1.19
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.1.17 1.1.17
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.6.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

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

downgrade analysis failed failed with 16 errors:

  • UNDEFINED_GETTER - lib/src/extensions/basic.dart:133:35 - The getter 'surfaceContainer' isn't defined for the type 'BuildContext'.
  • UNDEFINED_GETTER - lib/src/widgets/bottom_sheet.dart:227:41 - The getter 'surfaceContainer' isn't defined for the type 'BuildContext'.
  • UNDEFINED_CLASS - lib/src/widgets/expansion_list_view.dart:350:14 - Undefined class 'Data'.

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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
130
points
228
downloads

Publisher

unverified uploader

Weekly Downloads

Widget components and extensions to make flutter easy and smart.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

auto_size_text, flutter, flutter_svg, google_fonts, modal_bottom_sheet, shimmer, smart_flutter_utils

More

Packages that depend on smart_flutter_widgets