element_ui 0.1.3 copy "element_ui: ^0.1.3" to clipboard
element_ui: ^0.1.3 copied to clipboard

Element UI, a set of Flutter-based component libraries for developers.

11
likes
65/ 160
pub points
93
downloads

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

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

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

Homepage URL doesn't exist.

At the time of the analysis http://element.laomengit.com/ was unreachable. Make sure that the website is reachable via HEAD requests.

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:16:4

   ╷
16 │ <p><a href="http://element.laomengit.com/">API Doc</a></p>
   │    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting element_ui... Discovering libraries... Linking elements... Precaching local docs for 638970 elements... Initialized dartdoc with 801 libraries Generating docs for library animations.dart from package:element_ui/animations.dart... Generating docs for library widgets.dart from package:element_ui/widgets.dart... Documented 2 public libraries in 64.9 seconds ERR: warning: element_ui has no library level documentation comments from element_ui: (file:///tmp/pana_PIWMLN/lib/animations.dart:1:1) warning: element_ui has no library level documentation comments from element_ui: (file:///tmp/pana_PIWMLN/lib/widgets.dart:1:1) error: file already written at "element_ui/index.html" for symbol element_ui: (file:///tmp/pana_PIWMLN/lib/widgets.dart:1:1) conflicting with file already generated by element_ui: (file:///tmp/pana_PIWMLN/lib/animations.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'element_ui' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [33 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:element_ui/widgets.dart that imports:
  • package:element_ui/src/widgets/page_view.dart that imports:
  • dart:io

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

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

Found 75 issues. Showing the first 2:

ERROR: A value of type 'DialogThemeData' can't be assigned to a variable of type 'DialogTheme'.

lib/src/widgets/dialog.dart:233:37

    ╷
233 │     final DialogTheme dialogTheme = DialogTheme.of(context);
    │                                     ^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

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

lib/src/widgets/dialog.dart:271:35

    ╷
271 │                   theme.textTheme.headline6!)
    │                                   ^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

No dependencies.

Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
vector_math - 2.1.4 2.2.0

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

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 6 errors:

  • INVALID_ASSIGNMENT - lib/src/widgets/dialog.dart:233:37 - A value of type 'DialogThemeData' can't be assigned to a variable of type 'DialogTheme'.
  • UNDEFINED_GETTER - lib/src/widgets/dialog.dart:271:35 - The getter 'headline6' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/widgets/dialog.dart:302:31 - The getter 'subtitle1' 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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
11
likes
65
points
93
downloads

Publisher

verified publisherlaomengit.com

Weekly Downloads

Element UI, a set of Flutter-based component libraries for developers.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on element_ui