Skip to main content

cassowary_layout 0.0.1 copy "cassowary_layout: ^0.0.1" to clipboard
cassowary_layout: ^0.0.1 copied to clipboard

A Flutter constraint layout widget that uses the Cassowary constraint solving algorithm to create flexible and responsive layouts.

140/ 160
pub points
43
downloads

We analyzed this package 3 days ago, and awarded it 140 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: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

34 out of 78 API elements (43.6 %) have documentation comments.

Some symbols that are missing documentation: cassowary_layout, cassowary_layout.CassowaryConstraints.CassowaryConstraints.new, cassowary_layout.CassowaryConstraints.bottomToTop, cassowary_layout.CassowaryConstraints.leftToRight, cassowary_layout.CassowaryConstraints.marginBottom.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. 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

Found 100 issues. Showing the first 2:

INFO: Unnecessary braces in a string interpolation.

lib/cassowary_layout.dart:594:41

    ╷
594 │             "[ _parentWidthVar - _width(${_width}).clamp(constraints.minWidth(${constraints.minWidth}), "
    │                                         ^^^^^^^^^
    ╵

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

INFO: Unnecessary braces in a string interpolation.

lib/cassowary_layout.dart:658:43

    ╷
658 │             "[ _parentHeightVar - _height(${_height}).clamp(constraints.minHeight(${constraints.minHeight}), "
    │                                           ^^^^^^^^^^
    ╵

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

Passed report section
Support up-to-date dependencies
40 / 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 Notes
cassowary ^0.4.3 0.4.3 0.4.3
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
vector_math - 2.4.4 2.4.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

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

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
43
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter constraint layout widget that uses the Cassowary constraint solving algorithm to create flexible and responsive layouts.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

cassowary, flutter

More

Packages that depend on cassowary_layout