formux 0.0.7 copy "formux: ^0.0.7" to clipboard
formux: ^0.0.7 copied to clipboard

Form validator system

0
likes
120/ 160
pub points
316
downloads

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

Homepage URL doesn't exist.

At the time of the analysis https://formux.pipen.dev was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

84 out of 199 API elements (42.2 %) have documentation comments.

Some symbols that are missing documentation: cubit_form, cubit_form.CubitForm, cubit_form.CubitForm.CubitForm, dropdown_cubit, dropdown_cubit.DropdownCubit.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

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

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 11 issues. Showing the first 2:

INFO: 'activeColor' is deprecated and shouldn't be used. Use activeTrackColor instead. This feature was deprecated after v3.24.0-0.2.pre.

lib/fields/switch/formux_ui_switch.dart:22:9

   ╷
22 │         activeColor: enabled ? color : context.themeColors.primary.withOpacity(0.7),
   │         ^^^^^^^^^^^
   ╵

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

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

lib/fields/switch/formux_ui_switch.dart:22:68

   ╷
22 │         activeColor: enabled ? color : context.themeColors.primary.withOpacity(0.7),
   │                                                                    ^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
bloc ^8.1.4 8.1.4 8.1.4
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.1.6 8.1.6 8.1.6
pipen ^0.0.20 0.0.24 0.0.24
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
device_info_plus - 11.2.0 11.2.0
device_info_plus_platform_interface - 7.0.2 7.0.2
dio - 5.7.0 5.7.0
dio_web_adapter - 2.0.0 2.0.0
expandable_page_view - 1.0.17 1.0.17
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_secure_storage - 9.2.2 9.2.2
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.2 3.1.2
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 3.1.2 3.1.2
flutter_skeleton_ui - 0.0.6 0.0.6
flutter_web_plugins - 0.0.0 0.0.0
go_router - 14.6.2 14.6.2
gql - 1.0.1-alpha+1730759315362 1.0.1-alpha+1730759315362
gql_dedupe_link - 2.0.4-alpha+1715521079596 2.0.4-alpha+1715521079596
gql_error_link - 1.0.0+1 1.0.0+1
gql_exec - 1.1.1-alpha+1699813812660 1.1.1-alpha+1699813812660
gql_http_link - 1.1.0 1.1.0
gql_link - 1.0.1-alpha+1730759315378 1.0.1-alpha+1730759315378
gql_transform_link - 1.0.0 1.0.0
graphql - 5.2.0-beta.10 5.2.0-beta.10
hive - 2.2.3 2.2.3
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
intl - 0.20.1 0.20.1
js - 0.6.7 0.7.1
json_pretty - 1.0.4 1.0.4
logging - 1.3.0 1.3.0
lottie - 3.3.0 3.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
normalize - 0.9.1 0.9.1
path - 1.9.1 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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
rxdart - 0.28.0 0.28.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
swipe_refresh - 1.1.2 1.1.2
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
vibration - 2.0.1 2.0.1
vibration_platform_interface - 0.0.2 0.0.2
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
win32 - 5.9.0 5.9.0
win32_registry - 1.1.5 2.0.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

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

  • URI_DOES_NOT_EXIST - lib/fields/dropdown/formux_dropdown_field_fetch.dart:3:8 - Target of URI doesn't exist: 'package:pipen/bloc/listener/bloc_listener_fetch.dart'.
  • URI_DOES_NOT_EXIST - lib/fields/dropdown/formux_dropdown_field_fetch.dart:5:8 - Target of URI doesn't exist: 'package:pipen/components/gap/pipen_gap.dart'.
  • UNDEFINED_METHOD - lib/fields/dropdown/formux_dropdown_field_fetch.dart:54:16 - The method 'BlocListenerFetch' isn't defined for the type '_FormuxDropdownFieldFetchState'.

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.