flutter_ui_bloc 0.8.1 copy "flutter_ui_bloc: ^0.8.1" to clipboard
flutter_ui_bloc: ^0.8.1 copied to clipboard

Validation and custom fields for form_bloc package

1
likes
110/ 140
pub points
28%
popularity

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

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

OK
Provide documentation
20 / 20trigger folding of the section

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

1046 out of 1629 API elements (64.2 %) have documentation comments.

Some symbols that are missing documentation: flutter_ui_bloc, flutter_ui_bloc.BlocNullWidgetBuilder, flutter_ui_bloc.BooleanFieldBlocState, flutter_ui_bloc.BooleanFieldBlocState.BooleanFieldBlocState, flutter_ui_bloc.CanShowFieldBlocBuilder.

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
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 21 issues. Showing the first 2:

INFO: 'toggleableActiveColor' is deprecated and shouldn't be used. No longer used by the framework, please remove any reference to it. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/toggleable-active-color#migration-guide. This feature was deprecated after v3.4.0-19.0.pre.

lib/src/form/fields/base/circular_checkbox_field_bloc_builder.dart:27:30

   ╷
27 │   /// Defaults to [ThemeData.toggleableActiveColor].
   │                              ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/form/fields/base/circular_checkbox_field_bloc_builder.dart

INFO: 'toggleableActiveColor' is deprecated and shouldn't be used. No longer used by the framework, please remove any reference to it. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/toggleable-active-color#migration-guide. This feature was deprecated after v3.4.0-19.0.pre.

lib/src/form/fields/base/circular_checkbox_field_bloc_builder.dart:145:43

    ╷
145 │               color: activeColor ?? theme.toggleableActiveColor,
    │                                           ^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/form/fields/base/circular_checkbox_field_bloc_builder.dart

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

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

Package Constraint Compatible Latest
bloc ^8.1.0 8.1.4 8.1.4
cross_file ^0.3.3 0.3.4+1 0.3.4+1
dotted_border ^2.0.0 2.1.0 2.1.0
flutter flutter 0.0.0 0.0.0
flutter_extensions ^5.0.0 5.0.0 5.0.0
flutter_form_bloc ^0.30.0 0.30.1 0.31.0
mime ^1.0.1 1.0.5 1.0.5
path ^1.8.0 1.9.0 1.9.0
pure_extensions ^5.0.0 5.0.0 5.0.0
rational ^2.2.2 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
equatable - 2.0.5 2.0.5
flutter_bloc - 8.1.5 8.1.5
flutter_keyboard_visibility - 5.4.1 6.0.0
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
flutter_web_plugins - 0.0.0 0.0.0
form_bloc - 0.30.0 0.31.0
intl - 0.17.0 0.19.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
nested - 1.0.0 1.0.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.0.1 1.0.1
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
rxdart - 0.27.7 0.27.7
sky_engine - 0.0.99 0.0.99
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1

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

The constraint `^0.30.0` on flutter_form_bloc does not support the stable version `0.31.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.