Skip to main content

ux4g_flutter_components 1.5.2 copy "ux4g_flutter_components: ^1.5.2" to clipboard
ux4g_flutter_components: ^1.5.2 copied to clipboard

Flutter implementation of the UX4G design system components and foundations.

120/ 160
pub points
405
downloads

We analyzed this package 29 hours ago, and awarded it 120 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/ux4g-negd/ux4g-flutter-design-system was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/ux4g-negd/ux4g-flutter-design-system/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Documentation URL doesn't exist.

At the time of the analysis https://flutter.ux4g.gov.in was unreachable. Make sure that the website is reachable via HEAD requests.

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

790 out of 2578 API elements (30.6 %) have documentation comments.

Some symbols that are missing documentation: ux4g_flutter_components, ux4g_flutter_components.BiometricColors.BiometricColors.new, ux4g_flutter_components.BiometricColors.attemptLastBg, ux4g_flutter_components.BiometricColors.attemptLastBorder, ux4g_flutter_components.BiometricColors.attemptWarningBg.

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:ux4g_flutter_components/ux4g_flutter_components.dart that imports:
  • package:ux4g_flutter_components/src/components/biometric/biometric.dart that imports:
  • package:ux4g_flutter_components/src/components/biometric/biometric_verification_flow.dart that imports:
  • package:ux4g_flutter_components/src/components/biometric/device_check_screen.dart that imports:
  • package:ux4g_flutter_components/src/components/biometric/biometric_controller.dart that imports:
  • package:ux4g_flutter_components/src/components/biometric/face_detection_service.dart that imports:
  • package:google_mlkit_face_detection/google_mlkit_face_detection.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:ux4g_flutter_components/ux4g_flutter_components.dart that imports:
  • package:ux4g_flutter_components/src/components/file_upload.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/platform/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:ux4g_flutter_components/ux4g_flutter_components.dart that imports:
  • package:ux4g_flutter_components/src/components/file_upload.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/platform/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:ux4g_flutter_components/ux4g_flutter_components.dart that imports:
  • package:ux4g_flutter_components/src/components/biometric/biometric.dart that imports:
  • package:ux4g_flutter_components/src/components/biometric/biometric_verification_flow.dart that imports:
  • package:ux4g_flutter_components/src/components/biometric/device_check_screen.dart that imports:
  • package:ux4g_flutter_components/src/components/biometric/biometric_controller.dart that imports:
  • package:ux4g_flutter_components/src/components/biometric/face_detection_service.dart that imports:
  • package:google_mlkit_face_detection/google_mlkit_face_detection.dart that declares support for platforms: Android, iOS.

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:ux4g_flutter_components/ux4g_flutter_components.dart that imports:
  • package:ux4g_flutter_components/src/components/file_upload.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/platform/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:ux4g_flutter_components/ux4g_flutter_components.dart that imports:
  • package:ux4g_flutter_components/src/components/file_upload.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/platform/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
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 60 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/components/aadhaar_input_field.dart:113:7

    ╷
113 │       return false; // Aadhaar doesn't start with 0 or 1
    │       ^^^^^^^^^^^^^
    ╵

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

INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.

lib/src/components/biometric/biometric_controller.dart:2:8

  ╷
2 │ import 'dart:typed_data';
  │        ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/biometric/biometric_controller.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
camera ^0.11.1 0.11.4 0.12.1
connectivity_plus ^6.1.4 6.1.5 7.3.2
file_picker ^11.0.2 11.0.3 13.3.0
flutter_svg ^2.0.0 2.3.0 2.3.0
google_mlkit_commons ^0.9.0 0.9.0 0.13.0
google_mlkit_face_detection ^0.12.0 0.12.0 0.15.1
image_picker ^1.0.0 1.2.4 1.2.4
permission_handler ^11.4.0 11.4.0 13.0.2
shimmer ^3.0.0 3.0.0 4.0.0
url_launcher ^6.3.0 6.3.3 6.3.3
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
camera_android_camerax - 0.6.30 0.7.6
camera_avfoundation - 0.9.23+2 0.11.1
camera_platform_interface - 2.15.0 2.15.0
camera_web - 0.3.5+6 0.3.5+6
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.1.0 2.1.0
cross_file - 0.3.5+5 0.4.0
dbus - 0.7.15 0.8.0
ffi - 2.2.0 2.2.0
file_selector_linux - 0.9.4+1 0.9.4+1
file_selector_macos - 0.9.5+2 0.9.5+2
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+6 0.9.3+6
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+25 0.8.13+25
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+13 0.8.13+13
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.2 2.11.2
image_picker_windows - 0.2.2 0.2.2
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
nm - 0.5.0 0.6.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
permission_handler_android - 12.1.0 14.1.0
permission_handler_apple - 9.6.4 9.6.4
permission_handler_html - 0.1.4+1 0.1.4+1
permission_handler_platform_interface - 4.4.1 4.4.1
permission_handler_windows - 0.2.2 0.2.2
petitparser - 7.1.0 7.1.0
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.2 1.10.2
stream_transform - 2.1.2 2.1.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.33 6.3.33
url_launcher_ios - 6.4.2 6.4.2
url_launcher_linux - 3.2.3 3.2.3
url_launcher_macos - 3.2.6 3.2.6
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.6 3.1.6
vector_graphics - 1.2.4 1.2.4
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.3.2 1.3.2
vector_math - 2.4.3 2.4.3
web - 1.1.2 1.1.2
win32 - 5.15.0 6.4.0
xml - 7.0.1 7.1.0
yaml - 3.1.4 3.1.4

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

Found 7 issues. Showing the first 2:

The constraint `^0.11.1` on camera does not support the stable version `0.12.0`.

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

The constraint `^6.1.4` on connectivity_plus does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus 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/src/components/side_menu.dart:1364:7 - The named parameter 'errorBuilder' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/components/side_menu.dart:2025:17 - The named parameter 'errorBuilder' isn't defined.

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.23.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: