lite_forms 0.0.24 copy "lite_forms: ^0.0.24" to clipboard
lite_forms: ^0.0.24 copied to clipboard

This packages dramatically simplifies working with forms still letting you use standard flutter decorations.

2
likes
80/ 160
pub points
83
downloads

We analyzed this package 3 days ago, and awarded it 80 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

708 out of 2285 API elements (31.0 %) have documentation comments.

Some symbols that are missing documentation: after_layout, after_layout.PostFrameMixin, after_layout.PostFrameMixin.callAfterFrame, after_layout.PostFrameMixin.didFirstLayoutFinished, age_difference.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:lite_forms/lite_forms.dart that imports:
  • package:lite_forms/utils/exports.dart that imports:
  • package:lite_forms/utils/value_validator.dart that imports:
  • package:lite_forms/base_form_fields/lite_phone_input_field.dart that imports:
  • package:lite_forms/base_form_fields/mixins/form_field_mixin.dart that imports:
  • package:lite_forms/controllers/lite_form_controller.dart that imports:
  • package:lite_forms/base_form_fields/exports.dart that imports:
  • package:lite_forms/base_form_fields/lite_file_picker.dart that imports:
  • package:video_compress/video_compress.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:lite_forms/lite_forms.dart that imports:
  • package:lite_forms/utils/exports.dart that imports:
  • package:lite_forms/utils/value_validator.dart that imports:
  • package:lite_forms/base_form_fields/lite_phone_input_field.dart that imports:
  • package:lite_forms/base_form_fields/mixins/form_field_mixin.dart that imports:
  • package:lite_forms/controllers/lite_form_controller.dart that imports:
  • package:lite_forms/base_form_fields/exports.dart that imports:
  • package:lite_forms/base_form_fields/lite_file_picker.dart that imports:
  • package:video_compress/video_compress.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:lite_forms/lite_forms.dart that imports:
  • package:lite_forms/utils/exports.dart that imports:
  • package:lite_forms/utils/value_validator.dart that imports:
  • package:lite_forms/base_form_fields/lite_phone_input_field.dart that imports:
  • package:lite_forms/base_form_fields/mixins/form_field_mixin.dart that imports:
  • package:lite_forms/controllers/lite_form_controller.dart that imports:
  • package:lite_forms/base_form_fields/exports.dart that imports:
  • package:lite_forms/base_form_fields/lite_text_form_field.dart that imports:
  • package:lite_forms/base_form_fields/error_line.dart that imports:
  • package:lite_state/lite_state.dart that imports:
  • package:lite_state/lite_repo.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:lite_forms/lite_forms.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:lite_forms/lite_forms.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:lite_forms/lite_forms.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 38 issues. Showing the first 2:

ERROR: The body might complete normally, causing 'null' to be returned, but the return type, 'bool', is a potentially non-nullable type.

lib/controllers/_form_group_field.dart:250:12

    ╷
250 │   bool get _isSelfValidating {
    │            ^^^^^^^^^^^^^^^^^
    ╵

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

WARNING: A value for optional parameter 'key' isn't ever given.

lib/base_form_fields/lite_password_field.dart:737:11

    ╷
737 │     super.key,
    │           ^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
clock ^1.1.1 1.1.2 1.1.2
collection ^1.17.0 1.19.1 1.19.1
country_icons ^2.0.2 2.0.2 3.0.0
figma_squircle ^0.5.3 0.5.3 0.6.3
file_picker ^5.3.1 5.5.0 10.2.0
flutter_markdown ^0.6.1 0.6.23 0.7.7+1 Discontinued
flutter_multi_formatter ^2.12.3 2.13.7 2.13.7
font_awesome_flutter ^10.4.0 10.8.0 10.8.0
image_picker ^1.0.4 1.1.2 1.1.2
jiffy ^5.0.0 5.0.1 6.4.3
lite_state ^3.1.0 3.2.4 4.1.0
mime ^1.0.4 1.0.6 2.0.0
path ^1.8.2 1.9.1 1.9.1
universal_html any 2.2.4 2.2.4
video_compress ^3.1.2 3.1.4 3.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
base58check - 2.0.0 2.0.0
bech32 - 0.2.2 0.2.2
characters - 1.4.0 1.4.1
charcode - 1.4.0 1.4.0
convert - 3.1.2 3.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
ffi - 2.1.4 2.1.4
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+3 0.9.4+3
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+4 0.9.3+4
flutter_plugin_android_lifecycle - 2.0.28 2.0.28
hive - 2.2.3 2.2.3
html - 0.15.6 0.15.6
http - 1.4.0 1.4.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.12+23 0.8.12+23
image_picker_for_web - 3.0.6 3.0.6
image_picker_ios - 0.8.12+2 0.8.12+2
image_picker_linux - 0.2.1+2 0.2.1+2
image_picker_macos - 0.2.1+2 0.2.1+2
image_picker_platform_interface - 2.10.1 2.10.1
image_picker_windows - 0.2.1+1 0.2.1+1
intl - 0.18.1 0.20.2
markdown - 7.3.0 7.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
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

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

Found 8 issues. Showing the first 2:

The constraint `^2.0.2` on country_icons does not support the stable version `3.0.0`.

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

The constraint `^0.5.3` on figma_squircle does not support the stable version `0.6.0`.

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

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

  • UNDEFINED_NAMED_PARAMETER - lib/base_form_fields/lite_switch.dart:338:11 - The named parameter 'softLineBreak' isn't defined.
  • BODY_MIGHT_COMPLETE_NORMALLY - lib/controllers/_form_group_field.dart:250:12 - The body might complete normally, causing 'null' to be returned, but the return type, 'bool', is a potentially non-nullable type.

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:
2
likes
80
points
83
downloads

Publisher

verified publishersoftmaestri.com

Weekly Downloads

This packages dramatically simplifies working with forms still letting you use standard flutter decorations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

clock, collection, country_icons, figma_squircle, file_picker, flutter, flutter_markdown, flutter_multi_formatter, font_awesome_flutter, image_picker, jiffy, lite_state, mime, path, universal_html, video_compress

More

Packages that depend on lite_forms