preview_knobs 0.0.1-alpha.9 copy "preview_knobs: ^0.0.1-alpha.9" to clipboard
preview_knobs: ^0.0.1-alpha.9 copied to clipboard

Define custom panel for updating a set of properties.

80/ 160
pub points
2
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 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 https://github.com/aloisdeniel/preview_knobs was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

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

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

84 out of 193 API elements (43.5 %) have documentation comments.

Some symbols that are missing documentation: preview_knobs, preview_knobs.DocumentationBuilder, preview_knobs.KnobEditorFieldThemeData, preview_knobs.KnobEditorFieldThemeData.KnobEditorFieldThemeData.new, preview_knobs.KnobEditorFieldThemeData.contentMinHeight.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

ERROR: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry'.

lib/src/editor/properties_page/fields/knobs/options.dart:28:21

   ╷
28 │         borderRadius: (theme.decoration as BoxDecoration)
   │ ┌─────────────────────^
29 │ │           .borderRadius
30 │ │           ?.resolve(Directionality.of(context)),
   │ └───────────────────────────────────────────────^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/editor/properties_page/fields/knobs/options.dart

ERROR: The named parameter 'bodyText2' isn't defined.

lib/src/editor/theme.dart:131:19

    ╷
131 │                   bodyText2: const TextStyle(
    │                   ^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
equatable ^2.0.3 2.0.8 2.0.8
flutter_markdown ^0.6.10+2 0.6.23 0.7.7+1 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
markdown - 7.3.0 7.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.0
path - 1.9.1 1.9.1
vector_math - 2.2.0 2.2.0

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

The constraint `^0.6.10+2` on flutter_markdown does not support the stable version `0.7.0`.

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • flutter_markdown.

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

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/editor/properties_page/fields/knobs/options.dart:28:21 - The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry'.
  • UNDEFINED_NAMED_PARAMETER - lib/src/editor/theme.dart:131:19 - The named parameter 'bodyText2' isn't defined.

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.8, Flutter 3.38.6, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
80
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

Define custom panel for updating a set of properties.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

equatable, flutter, flutter_markdown

More

Packages that depend on preview_knobs