theta 0.10.2 copy "theta: ^0.10.2" to clipboard
theta: ^0.10.2 copied to clipboard

Prototyping and testing your app in production with UI instant updates.

42
likes
80/ 160
pub points
29%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

259 out of 967 API elements (26.8 %) have documentation comments.

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

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

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:theta/theta.dart that imports:
  • package:theta/src/presentation/ui_box.dart that imports:
  • package:theta_rendering/theta_rendering.dart that imports:
  • package:theta_rendering/src/nodes.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

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

lib/src/presentation/ui_box.dart:218:16

    ╷
218 │         state: WidgetState(node: _widget!, loop: 0),
    │                ^^^^^^^^^^^
    ╵

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

ERROR: 'WidgetState' isn't a function.

lib/src/presentation/ui_box.dart:218:16

    ╷
218 │         state: WidgetState(node: _widget!, loop: 0),
    │                ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presentation/ui_box.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
archive ^3.3.7 3.6.1 3.6.1
collection ^1.15.0 1.18.0 1.19.1
device_frame ^1.0.0 1.2.0 1.2.0
either_dart ^1.0.0 1.0.0 1.0.0
encrypt ^5.0.1 5.0.3 5.0.3
equatable ^2.0.3 2.0.5 2.0.5
flutter flutter 0.0.0 0.0.0
get_it ^7.6.0 7.7.0 8.0.2
http ^0.13.0 0.13.6 1.2.2
light_logger ^0.0.3 0.0.3 0.0.3
provider ^6.0.4 6.1.2 6.1.2
theta_models ^0.8.4 0.8.5 0.8.5
theta_open_widgets ^0.8.7 0.8.8 0.8.8
theta_rendering ^0.2.4 0.2.4 0.2.4
Transitive dependencies
Package Constraint Compatible Latest
after_layout - 1.2.0 1.2.0
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
box_transform - 0.2.1 0.4.4
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
defer_pointer - 0.0.2 0.0.2
enum_to_string - 2.0.1 2.0.1
feather_icons - 1.2.0 1.2.0
ffi - 2.1.3 2.1.3
flutter_box_transform - 0.2.1 0.4.6
flutter_staggered_animations - 1.1.1 1.1.1
flutter_svg - 2.0.9 2.0.15
flutter_web_plugins - 0.0.0 0.0.0
font_awesome_flutter - 10.8.0 10.8.0
font_awesome_flutter_named - 1.1.2+1 1.1.2+1
freezed_annotation - 2.4.4 2.4.4
gap - 3.0.1 3.0.1
google_fonts - 4.0.4 6.2.1
http_parser - 4.0.2 4.1.1
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
line_icons - 2.0.3 2.0.3
lottie - 2.7.0 3.1.3
material_color_utilities - 0.11.1 0.12.0
material_design_icons_flutter - 6.0.7296 7.0.7296
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.12 2.2.12
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.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
recase - 4.1.0 4.1.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
theta_design_system - 0.3.6 0.3.6
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.1 3.2.1
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.10+1 1.1.14
vector_graphics_codec - 1.1.10+1 1.1.12
vector_graphics_compiler - 1.1.10+1 1.1.15
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.

The constraint `^7.6.0` on get_it does not support the stable version `8.0.0`.

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

The constraint `^0.13.0` on http does not support the stable version `1.0.0`.

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

  • AMBIGUOUS_IMPORT - lib/src/presentation/ui_box.dart:218:16 - The name 'WidgetState' is defined in the libraries 'package:flutter/src/widgets/widget_state.dart' and 'package:theta_models/src/widgets/nodes/widget_state.dart'.
  • INVOCATION_OF_NON_FUNCTION - lib/src/presentation/ui_box.dart:218:16 - 'WidgetState' isn't a function.

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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.