innovaccer_design_system 0.1.2 copy "innovaccer_design_system: ^0.1.2" to clipboard
innovaccer_design_system: ^0.1.2 copied to clipboard

A package that contains the core UI components as per the Innovaccer design system.

28
likes
80/ 160
pub points
48
downloads

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://design.innovaccer.com/0ee0e5c39/v/0/p/99faa4-masala-design-system was unreachable. Make sure that the website is reachable via HEAD requests.

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

222 out of 875 API elements (25.4 %) have documentation comments.

Some symbols that are missing documentation: innovaccer_design_system, innovaccer_design_system.Accent1, innovaccer_design_system.Accent1.Accent1, innovaccer_design_system.Accent2, innovaccer_design_system.Accent2.Accent2.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:innovaccer_design_system/innovaccer_design_system.dart that imports:
  • package:innovaccer_design_system/src/design_system/widgets/atoms/input/mds_input.dart that imports:
  • package:sms_autofill/sms_autofill.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:innovaccer_design_system/innovaccer_design_system.dart that imports:
  • package:innovaccer_design_system/src/design_system/widgets/atoms/input/mds_input.dart that imports:
  • package:sms_autofill/sms_autofill.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:innovaccer_design_system/innovaccer_design_system.dart that imports:
  • package:innovaccer_design_system/src/design_system/widgets/atoms/input/mds_input.dart that imports:
  • package:sms_autofill/sms_autofill.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:innovaccer_design_system/innovaccer_design_system.dart that imports:
  • package:innovaccer_design_system/src/design_system/widgets/atoms/input/mds_input.dart that imports:
  • package:sms_autofill/sms_autofill.dart that declares support for platforms: Android, iOS.

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

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

Found 97 issues. Showing the first 2:

ERROR: The name 'TextScaler' is defined in the libraries 'package:flutter/src/painting/text_scaler.dart (via package:flutter/material.dart)' and 'package:innovaccer_design_system/src/design_system/widgets/atoms/typography/scaler/text_scaler.dart (via package:innovaccer_design_system/innovaccer_design_system.dart)'.

lib/src/design_system/widgets/atoms/toast/mds_toast.dart:105:9

    ╷
105 │     if (TextScaler.of<TextScalingFactor>(context) != null) {
    │         ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/design_system/widgets/atoms/toast/mds_toast.dart

ERROR: The name 'TextScaler' is defined in the libraries 'package:flutter/src/painting/text_scaler.dart (via package:flutter/material.dart)' and 'package:innovaccer_design_system/src/design_system/widgets/atoms/typography/scaler/text_scaler.dart (via package:innovaccer_design_system/innovaccer_design_system.dart)'.

lib/src/design_system/widgets/atoms/toast/mds_toast.dart:106:26

    ╷
106 │       _textScaleFactor = TextScaler.of<TextScalingFactor>(context)?.scaleFactor;
    │                          ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/design_system/widgets/atoms/toast/mds_toast.dart

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

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

Package Constraint Compatible Latest
decimal ^2.3.2 2.3.3 3.1.0
flutter flutter 0.0.0 0.0.0
flutter_linkify ^5.0.2 5.0.2 6.0.0
flutter_styled_toast ^2.1.3 2.2.1 2.2.1
shared_preferences ^2.0.11 2.3.4 2.3.4
sms_autofill ^2.2.0 2.4.1 2.4.1
url_launcher ^6.1.7 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
collection - 1.19.0 1.19.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_localizations - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
intl - 0.19.0 0.20.1
linkify - 4.1.0 5.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.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
pin_input_text_field - 4.5.2 4.5.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
rational - 2.2.3 2.2.3
shared_preferences_android - 2.4.0 2.4.0
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^2.3.2` on decimal does not support the stable version `3.0.0`.

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

The constraint `^5.0.2` on flutter_linkify does not support the stable version `6.0.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 20 errors:

  • AMBIGUOUS_IMPORT - lib/src/design_system/widgets/atoms/toast/mds_toast.dart:105:9 - The name 'TextScaler' is defined in the libraries 'package:flutter/src/painting/text_scaler.dart (via package:flutter/material.dart)' and 'package:innovaccer_design_system/src/design_system/widgets/atoms/typography/scaler/text_scaler.dart (via package:innovaccer_design_system/innovaccer_design_system.dart)'.
  • AMBIGUOUS_IMPORT - lib/src/design_system/widgets/atoms/toast/mds_toast.dart:106:26 - The name 'TextScaler' is defined in the libraries 'package:flutter/src/painting/text_scaler.dart (via package:flutter/material.dart)' and 'package:innovaccer_design_system/src/design_system/widgets/atoms/typography/scaler/text_scaler.dart (via package:innovaccer_design_system/innovaccer_design_system.dart)'.
  • AMBIGUOUS_IMPORT - lib/src/design_system/widgets/atoms/toast/mds_toast.dart:230:9 - The name 'TextScaler' is defined in the libraries 'package:flutter/src/painting/text_scaler.dart (via package:flutter/material.dart)' and 'package:innovaccer_design_system/src/design_system/widgets/atoms/typography/scaler/text_scaler.dart (via package:innovaccer_design_system/innovaccer_design_system.dart)'.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

28
likes
80
points
48
downloads

Publisher

unverified uploader

Weekly Downloads

A package that contains the core UI components as per the Innovaccer design system.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

decimal, flutter, flutter_linkify, flutter_styled_toast, shared_preferences, sms_autofill, url_launcher

More

Packages that depend on innovaccer_design_system