theta_models 0.8.5 copy "theta_models: ^0.8.5" to clipboard
theta_models: ^0.8.5 copied to clipboard

unlisted

A package for the models used in Theta.

0
likes
80/ 160
pub points
185
downloads

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

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

Failed check 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.

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: Apache-2.0.

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

247 out of 924 API elements (26.7 %) have documentation comments.

Some symbols that are missing documentation: theta_models, theta_models.AlignIntrinsicStates.AlignIntrinsicStates.create, theta_models.AssetType, theta_models.AutoResizingTextType, theta_models.BranchID.

Passed check 10/10 points: Package has 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: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

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 15 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/widgets/nodes/node.dart:433:20

433required final WidgetState state,
    │                    ^^^^^^^^^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/nodes/node.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/widgets/nodes/widget_adapter.dart:9:20

9required final WidgetState state,
  │                    ^^^^^^^^^^^
  ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/nodes/widget_adapter.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

Package Constraint Compatible Latest
collection ^1.17.1 1.19.1 1.19.1
device_frame ^1.1.0 1.2.0 1.2.0
enum_to_string ^2.0.1 2.2.0 2.2.0
equatable ^2.0.5 2.0.7 2.0.7
flutter flutter 0.0.0 0.0.0
light_logger ^0.0.3 0.0.3 0.0.3
recase ^4.1.0 4.1.0 4.1.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.4.0 1.4.0
freezed_annotation - 2.4.4 2.4.4
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4

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

  • AMBIGUOUS_IMPORT - lib/src/widgets/nodes/node.dart:433:20 - 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/widgets/nodes/widget_adapter.dart:9:20 - 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.18, Flutter 3.29.0, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
May 23Jun 20Jul 18Aug 15Sep 12Oct 10Nov 7Dec 5Jan 2Jan 30020406080100120>=0.0.0-0 <1.0.0