stac 0.11.0 copy "stac: ^0.11.0" to clipboard
stac: ^0.11.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.

90/ 160
pub points
11.2k
downloads

We analyzed this package 2 days ago, and awarded it 90 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

457 out of 2127 API elements (21.5 %) 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

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

ERROR: The argument type 'BottomAppBarTheme?' can't be assigned to the parameter type 'BottomAppBarThemeData?'.

lib/src/parsers/stac_theme/stac_theme.dart:115:26

    ╷
115 │       bottomAppBarTheme: bottomAppBarTheme?.parse(context),
    │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: 'groupValue' is deprecated and shouldn't be used. Use a RadioGroup ancestor to manage group value instead. This feature was deprecated after v3.32.0-0.0.pre.

lib/src/parsers/stac_radio/stac_radio_parser.dart:66:11

   ╷
66 │           groupValue: value,
   │           ^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 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.8.0+1 5.9.0 5.9.0
freezed_annotation ^3.0.0 3.1.0 3.1.0
json_annotation ^4.9.0 4.9.0 4.9.0
logger ^2.5.0 2.6.1 2.6.1
stac_framework ^0.3.0 0.3.0 0.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
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.13.0
meta - 1.16.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
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.2.0 2.2.0
web - 1.1.1 1.1.1

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

The constraint `^0.3.0` on stac_framework does not support the stable version `0.4.0`, that was published 9 days ago.

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

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

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 1 error:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/parsers/stac_theme/stac_theme.dart:115:26 - The argument type 'BottomAppBarTheme?' can't be assigned to the parameter type 'BottomAppBarThemeData?'.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
92
likes
90
points
11.2k
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)
View/report issues
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