figma_generator 1.0.2 copy "figma_generator: ^1.0.2" to clipboard
figma_generator: ^1.0.2 copied to clipboard

unlisted

Styles generator from figma & Design System

10
likes
60/ 160
pub points
0%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/Iteo/figma-generator/issues 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.

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

1 out of 12 API elements (8.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: design_system, design_system.DesignSystemFloatingButton, design_system.DesignSystemFloatingButton.DesignSystemFloatingButton, design_system.DesignSystemFloatingButton.assetsDir, design_system.DesignSystemFloatingButton.darkColors.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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 18 issues. Showing the first 2:

ERROR: The getter 'bodyText1' isn't defined for the type 'TextTheme'.

lib/design_system.dart:242:44

    ╷
242 │         style: Theme.of(context).textTheme.bodyText1?.copyWith(
    │                                            ^^^^^^^^^
    ╵

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

ERROR: The getter 'bodyText1' isn't defined for the type 'TextTheme'.

lib/src/views/colors_view.dart:28:56

   ╷
28 │                     style: Theme.of(context).textTheme.bodyText1?.copyWith(
   │                                                        ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/views/colors_view.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
analyzer ^5.0.0 5.13.0 6.9.0
args ^2.3.1 2.5.0 2.5.0
flutter flutter 0.0.0 0.0.0
flutter_hooks ^0.18.5+1 0.18.6 0.20.5
flutter_svg ^1.0.0 1.1.6 2.0.10+1
json_annotation ^4.6.0 4.9.0 4.9.0
meta ^1.7.0 1.15.0 1.16.0
path ^1.8.1 1.9.0 1.9.0
path_provider ^2.0.11 2.1.4 2.1.4
sliver_tools ^0.2.8 0.2.12 0.2.12
yaml ^3.1.1 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 61.0.0 74.0.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
convert - 3.1.1 3.1.1
crypto - 3.0.5 3.0.5
ffi - 2.1.3 2.1.3
file - 7.0.0 7.0.0
glob - 2.1.2 2.1.2
material_color_utilities - 0.11.1 0.12.0
package_config - 2.1.0 2.1.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.0.1 1.0.1
path_provider_android - 2.2.10 2.2.10
path_provider_foundation - 2.4.0 2.4.0
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
petitparser - 6.0.2 6.0.2
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.4 2.1.4
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

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

Found 3 issues. Showing the first 2:

The constraint `^5.0.0` on analyzer does not support the stable version `6.0.0`.

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

The constraint `^0.18.5+1` on flutter_hooks does not support the stable version `0.19.0`.

Try running dart pub upgrade --major-versions flutter_hooks 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 14 errors:

  • UNDEFINED_GETTER - lib/design_system.dart:242:44 - The getter 'bodyText1' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/views/colors_view.dart:28:56 - The getter 'bodyText1' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/views/widget_preview.dart:39:48 - The getter 'bodyText1' isn't defined for the type 'TextTheme'.

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.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.