theta_open_widgets 0.8.8 copy "theta_open_widgets: ^0.8.8" to clipboard
theta_open_widgets: ^0.8.8 copied to clipboard

unlisted

Package with all the widgets used in Theta

1
likes
60/ 160
pub points
172
downloads

We analyzed this package 2 days 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/buildwiththeta/buildwiththeta/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Documentation URL doesn't exist.

At the time of the analysis https://docs.buildwiththeta.com 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: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

579 out of 1380 API elements (42.0 %) have documentation comments.

Some symbols that are missing documentation: theta_open_widgets, theta_open_widgets.AlignOpenNode.adapter, theta_open_widgets.AlignOpenNode.addChildrenToComponent, theta_open_widgets.AlignOpenNode.childNotifier, theta_open_widgets.AlignOpenNode.childrenNotifier.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:theta_open_widgets/theta_open_widgets.dart that imports:
  • package:theta_open_widgets/src/reflectable/index.dart that imports:
  • package:theta_open_widgets/src/reflectable/nodes/index.dart that imports:
  • package:theta_open_widgets/src/reflectable/nodes/nodes_parse.dart that imports:
  • package:theta_open_widgets/src/reflectable/nodes/nodes_classes.dart that imports:
  • package:theta_models/theta_models.dart that imports:
  • package:theta_models/src/widgets/features/index.dart that imports:
  • package:theta_models/src/widgets/features/size_range.dart that imports:
  • package:theta_models/src/responsive_builder.dart that imports:
  • dart:io

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

ERROR: The name 'WidgetState' is defined in the libraries 'package:flutter/src/widgets/widget_state.dart (via package:flutter/material.dart)' and 'package:theta_models/src/widgets/nodes/widget_state.dart (via package:theta_models/theta_models.dart)'.

lib/src/core/theta_widget.dart:11:9

   ╷
11 │   final WidgetState nodeState;
   │         ^^^^^^^^^^^
   ╵

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

ERROR: The name 'WidgetState' is defined in the libraries 'package:flutter/src/widgets/widget_state.dart (via package:flutter/material.dart)' and 'package:theta_models/src/widgets/nodes/widget_state.dart (via package:theta_models/theta_models.dart)'.

lib/src/core/theta_widget.dart:12:55

   ╷
12 │   Widget build(BuildContext context, TreeState state, WidgetState nodeState);
   │                                                       ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/theta_widget.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
after_layout ^1.2.0 1.2.0 1.2.0
collection ^1.17.0 1.19.0 1.19.1
defer_pointer ^0.0.2 0.0.2 0.0.2
device_frame ^1.1.0 1.2.0 1.2.0
enum_to_string ^2.0.1 2.0.1 2.0.1
equatable ^2.0.5 2.0.7 2.0.7
feather_icons ^1.2.0 1.2.0 1.2.0
flutter flutter 0.0.0 0.0.0
flutter_box_transform ^0.2.1 0.2.1 0.4.6
flutter_staggered_animations ^1.0.0 1.1.1 1.1.1
flutter_svg ^2.0.7 2.0.16 2.0.16
font_awesome_flutter_named ^1.1.1 1.1.2+1 1.1.2+1
gap ^3.0.0 3.0.1 3.0.1
google_fonts ^4.0.3 4.0.5 6.2.1
light_logger ^0.0.3 0.0.3 0.0.3
line_icons ^2.0.1 2.0.3 2.0.3
lottie ^2.3.2 2.7.0 3.3.0
material_design_icons_flutter ^6.0.7096 6.0.7296 7.0.7296
provider ^6.0.4 6.1.2 6.1.2
theta_design_system ^0.3.5 0.3.6 0.3.6
theta_models ^0.8.5 0.8.5 0.8.5
theta_rendering ^0.2.4 0.2.4 0.2.4
url_launcher ^6.1.10 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
box_transform - 0.2.1 0.4.4
characters - 1.3.0 1.4.0
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
font_awesome_flutter - 10.8.0 10.8.0
freezed_annotation - 2.4.4 2.4.4
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
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.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
recase - 4.1.0 4.1.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

The constraint `^0.2.1` on flutter_box_transform does not support the stable version `0.3.0`.

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

The constraint `^4.0.3` on google_fonts does not support the stable version `5.0.0`.

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

  • AMBIGUOUS_IMPORT - lib/src/core/theta_widget.dart:11:9 - The name 'WidgetState' is defined in the libraries 'package:flutter/src/widgets/widget_state.dart (via package:flutter/material.dart)' and 'package:theta_models/src/widgets/nodes/widget_state.dart (via package:theta_models/theta_models.dart)'.
  • AMBIGUOUS_IMPORT - lib/src/core/theta_widget.dart:12:55 - The name 'WidgetState' is defined in the libraries 'package:flutter/src/widgets/widget_state.dart (via package:flutter/material.dart)' and 'package:theta_models/src/widgets/nodes/widget_state.dart (via package:theta_models/theta_models.dart)'.
  • AMBIGUOUS_IMPORT - lib/src/elements/builders/box_transform.dart:144:22 - The name 'WidgetState' is defined in the libraries 'package:flutter/src/widgets/widget_state.dart (via package:flutter/material.dart)' and 'package:theta_models/src/widgets/nodes/widget_state.dart (via package:theta_models/theta_models.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.