innovaccer_design_system 0.1.2
innovaccer_design_system: ^0.1.2 copied to clipboard
A package that contains the core UI components as per the Innovaccer design system.
We analyzed this package 27 days ago, and awarded it 80 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
225 out of 878 API elements (25.6 %) have documentation comments.
Some symbols that are missing documentation: innovaccer_design_system, innovaccer_design_system.Accent1, innovaccer_design_system.Accent1.Accent1.new, innovaccer_design_system.Accent2, innovaccer_design_system.Accent2.Accent2.new.
10/10 points: Package has an example
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.dartthat imports:package:innovaccer_design_system/src/design_system/widgets/atoms/input/mds_input.dartthat imports:package:sms_autofill/sms_autofill.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:innovaccer_design_system/innovaccer_design_system.dartthat imports:package:innovaccer_design_system/src/design_system/widgets/atoms/input/mds_input.dartthat imports:package:sms_autofill/sms_autofill.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:innovaccer_design_system/innovaccer_design_system.dartthat imports:package:innovaccer_design_system/src/design_system/widgets/atoms/input/mds_input.dartthat imports:package:sms_autofill/sms_autofill.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:innovaccer_design_system/innovaccer_design_system.dartthat imports:package:innovaccer_design_system/src/design_system/widgets/atoms/input/mds_input.dartthat imports:package:sms_autofill/sms_autofill.dartthat declares support for platforms:Android,iOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 245 issues. Showing the first 2:
ERROR: The named parameter 'locale' isn't defined.
lib/src/design_system/widgets/atoms/toast/mds_toast.dart:53:7
╷
53 │ locale: locale,
│ ^^^^^^
╵
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: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
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
decimal |
^2.3.2 |
2.3.3 | 3.2.4 | |
flutter_linkify |
^5.0.2 |
5.0.2 | 6.0.0 | |
flutter_styled_toast |
^2.1.3 |
2.3.0 | 2.3.0 | |
shared_preferences |
^2.0.11 |
2.5.4 | 2.5.4 | |
sms_autofill |
^2.2.0 |
2.4.1 | 2.4.1 | |
url_launcher |
^6.1.7 |
6.3.2 | 6.3.2 |
Transitive dependencies
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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.