Skip to main content

form_cubit 0.0.1 copy "form_cubit: ^0.0.1" to clipboard
form_cubit: ^0.0.1 copied to clipboard

Package for managing form state, in Flutter using Cubits. Includes validation, binding and error handling.

130/ 160
pub points
184
downloads

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

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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

30 out of 121 API elements (24.8 %) have documentation comments.

Some symbols that are missing documentation: form_cubit, form_cubit.BaseFormErrorTranslationProvider, form_cubit.BaseFormErrorTranslationProvider.BaseFormErrorTranslationProvider.new, form_cubit.BaseFormErrorTranslationProvider.translate, form_cubit.BoolFormFieldCubit.

Passed check 10/10 points: Package has an example

Passed 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

WASM-ready: This package is compatible with runtime wasm. 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 3 issues. Showing the first 2:

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/src/form_field_binder.dart:1:1

  ╷
1 │ import 'package:flutter/material.dart' hide FormFieldState;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/src/form_field_state.dart:4:1

  ╷
4 │ import 'package:flutter/material.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
bloc ^9.2.0 9.2.1 9.2.1
equatable ^2.0.8 2.1.0 3.0.0
flutter_bloc ^9.1.1 9.1.1 9.1.1
provider ^6.1.5+1 6.1.5+1 6.1.5+1
single_value_cubit ^1.2.3 1.2.3 1.2.3
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
listen - 1.0.1 1.0.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
nested - 1.0.0 1.0.0
rxdart - 0.28.0 0.28.0
vector_math - 2.4.4 2.4.4

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

The constraint `^2.0.8` on equatable does not support the stable version `3.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.50.0, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
184
downloads

Documentation

API reference

Publisher

verified publisherthecodebrothers.pl

Weekly Downloads

Package for managing form state, in Flutter using Cubits. Includes validation, binding and error handling.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

bloc, equatable, flutter, flutter_bloc, provider, single_value_cubit

More

Packages that depend on form_cubit