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 3 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
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
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.
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
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
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.