stac 0.10.0 copy "stac: ^0.10.0" to clipboard
stac: ^0.10.0 copied to clipboard

Stac is a Server-Driven UI (SDUI) framework for Flutter. Stac allows you to build beautiful cross-platform applications with JSON in real time.

40
likes
150/ 160
pub points
874
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

447 out of 2053 API elements (21.8 %) have documentation comments.

Some symbols that are missing documentation: stac, stac.BottomNavigationController, stac.BottomNavigationController.BottomNavigationController.new, stac.BottomNavigationController.index, stac.BottomNavigationController.initialIndex.

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:stac/stac.dart that imports:
  • package:stac/src/services/services.dart that imports:
  • package:stac/src/services/stac_network_service.dart that imports:
  • package:stac/src/framework/framework.dart that imports:
  • package:stac/src/framework/stac_registry.dart that imports:
  • package:stac/src/utils/log.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:stac/stac.dart that imports:
  • package:stac/src/services/services.dart that imports:
  • package:stac/src/services/stac_network_service.dart that imports:
  • package:stac/src/framework/framework.dart that imports:
  • package:stac/src/framework/stac_registry.dart that imports:
  • package:stac/src/utils/log.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'dialogBackgroundColor' is deprecated and shouldn't be used. Use DialogThemeData.backgroundColor instead. This feature was deprecated after v3.27.0-0.1.pre.

lib/src/parsers/stac_theme/stac_theme.dart:85:7

   ╷
85 │       dialogBackgroundColor: dialogBackgroundColor.toColor(context),
   │       ^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
dio ^5.7.0 5.8.0+1 5.8.0+1
flutter flutter 0.0.0 0.0.0
freezed_annotation ^2.4.4 2.4.4 3.0.0
json_annotation ^4.9.0 4.9.0 4.9.0
logger ^2.5.0 2.5.0 2.5.0
stac_framework ^0.2.1 0.2.2 0.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
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
vector_math - 2.1.4 2.1.4
web - 1.1.1 1.1.1

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

The constraint `^2.4.4` on freezed_annotation does not support the stable version `3.0.0`, that was published 14 days ago.

When freezed_annotation is 30 days old, this package will no longer be awarded points in this category.

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.19, Flutter 3.29.1, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
40
likes
150
points
874
downloads

Publisher

verified publisherstac.dev

Weekly Downloads

Stac is a Server-Driven UI (SDUI) framework for Flutter. Stac allows you to build beautiful cross-platform applications with JSON in real time.

Repository (GitHub)
Contributing

Topics

#ui #widget #server-driven-ui #dynamic-widgets

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, freezed_annotation, json_annotation, logger, stac_framework

More

Packages that depend on stac