flutter_form_bloc 0.19.0

Flutter Android iOS

Create Beautiful Forms in Flutter. The easiest way to Prefill, Async Validation, Update Form Fields, and Show Progress, Failures or Navigate by Reacting to the Form State.

84
likes
90 / 110
pub points
92 %
popularity

We analyzed this package on Oct 27, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 200 out of 264 API elements (75.8 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:flutter_form_bloc/flutter_form_bloc.dart that imports:
  • package:flutter_form_bloc/src/dropdown_field_bloc_builder.dart that imports:
  • package:flutter_form_bloc/src/dropdown_field_bloc_builder_mobile.dart that imports:
  • package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart that declares support for platforms: Android, iOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:flutter_form_bloc/flutter_form_bloc.dart that imports:
  • package:flutter_form_bloc/src/dropdown_field_bloc_builder.dart that imports:
  • package:flutter_form_bloc/src/dropdown_field_bloc_builder_mobile.dart that imports:
  • package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform Linux

Because:

  • package:flutter_form_bloc/flutter_form_bloc.dart that imports:
  • package:flutter_form_bloc/src/dropdown_field_bloc_builder.dart that imports:
  • package:flutter_form_bloc/src/dropdown_field_bloc_builder_mobile.dart that imports:
  • package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform macOS

Because:

  • package:flutter_form_bloc/flutter_form_bloc.dart that imports:
  • package:flutter_form_bloc/src/dropdown_field_bloc_builder.dart that imports:
  • package:flutter_form_bloc/src/dropdown_field_bloc_builder_mobile.dart that imports:
  • package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: Close instances of `dart.core.Sink`.

lib/src/can_show_field_bloc_builder.dart:49:11

   ╷
49 │     final bloc = (widget.fieldBloc as Bloc);
   │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/can_show_field_bloc_builder.dart

INFO: Close instances of `dart.core.Sink`.

lib/src/can_show_field_bloc_builder.dart:74:13

   ╷
74 │       final formBloc = (widget.fieldBloc as dynamic).state.formBloc as Bloc;
   │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/can_show_field_bloc_builder.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
bloc^6.0.06.1.06.1.0
collection^1.14.111.15.0-nullsafety.31.15.0-nullsafety.4
flutterflutter0.0.00.0.0
flutter_bloc^6.0.06.0.66.0.6
flutter_keyboard_visibility^3.0.03.2.23.2.2
form_bloc^0.19.00.19.10.19.1
intl>=0.15.1 <0.17.00.16.10.16.1
rxdart^0.24.00.24.10.24.1
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-11.0.011.0.0
analyzer-0.40.40.40.4
args-1.6.01.6.0
async-2.5.0-nullsafety.22.5.0-nullsafety.2
bloc_test-7.0.67.0.6
boolean_selector-2.1.0-nullsafety.22.1.0-nullsafety.2
build-1.5.01.5.0
built_collection-4.3.24.3.2
built_value-7.1.07.1.0
characters-1.1.0-nullsafety.31.1.0-nullsafety.4
charcode-1.2.0-nullsafety.21.2.0-nullsafety.2
cli_util-0.2.00.2.0
code_builder-3.5.03.5.0
convert-2.1.12.1.1
coverage-0.14.10.14.1
crypto-2.1.52.1.5
dart_style-1.3.81.3.8
equatable-1.2.51.2.5
fixnum-0.10.110.10.11
glob-1.2.01.2.0
http_multi_server-2.2.02.2.0
http_parser-3.1.43.1.4
io-0.3.40.3.4
js-0.6.3-nullsafety.20.6.3-nullsafety.2
logging-0.11.40.11.4
matcher-0.12.10-nullsafety.20.12.10-nullsafety.2
meta-1.3.0-nullsafety.31.3.0-nullsafety.5
mime-0.9.70.9.7
mockito-4.1.34.1.3
nested-0.0.40.0.4
node_interop-1.1.11.1.1
node_io-1.1.11.1.1
node_preamble-1.4.121.4.12
package_config-1.9.31.9.3
path-1.8.0-nullsafety.21.8.0-nullsafety.2
pool-1.5.0-nullsafety.21.5.0-nullsafety.2
provider-4.3.2+24.3.2+2
pub_semver-1.4.41.4.4
quiver-2.1.4+12.1.4+1
shelf-0.7.90.7.9
shelf_packages_handler-2.0.02.0.0
shelf_static-0.2.80.2.8
shelf_web_socket-0.2.30.2.3
sky_engine-0.0.990.0.99
source_gen-0.9.7+10.9.7+1
source_map_stack_trace-2.1.0-nullsafety.32.1.0-nullsafety.3
source_maps-0.10.10-nullsafety.20.10.10-nullsafety.2
source_span-1.8.0-nullsafety.21.8.0-nullsafety.3
stack_trace-1.10.0-nullsafety.51.10.0-nullsafety.5
stream_channel-2.1.0-nullsafety.22.1.0-nullsafety.2
string_scanner-1.1.0-nullsafety.21.1.0-nullsafety.2
term_glyph-1.2.0-nullsafety.21.2.0-nullsafety.2
test-1.16.0-nullsafety.71.16.0-nullsafety.7
test_api-0.2.19-nullsafety.40.2.19-nullsafety.4
test_core-0.3.12-nullsafety.70.3.12-nullsafety.7
typed_data-1.3.0-nullsafety.31.3.0-nullsafety.4
uuid-2.2.22.2.2
vector_math-2.1.0-nullsafety.32.1.0-nullsafety.4
vm_service-5.2.05.2.0
watcher-0.9.7+150.9.7+15
web_socket_channel-1.1.01.1.0
webkit_inspection_protocol-0.7.30.7.3
yaml-2.2.12.2.1

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

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

84
likes
90
pub points
92%
popularity

Create Beautiful Forms in Flutter. The easiest way to Prefill, Async Validation, Update Form Fields, and Show Progress, Failures or Navigate by Reacting to the Form State.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

giancarlocode@gmail.com

Dependencies

bloc, collection, flutter, flutter_bloc, flutter_keyboard_visibility, form_bloc, intl, rxdart

More

Packages that depend on flutter_form_bloc