flutter_layout_grid 1.0.6 copy "flutter_layout_grid: ^1.0.6" to clipboard
flutter_layout_grid: ^1.0.6 copied to clipboard

outdated

A powerful grid layout system for Flutter, optimized for complex user interface design.

768
likes
90/ 160
pub points
98%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

82 out of 101 API elements (81.2 %) have documentation comments.

Some symbols that are missing documentation: flutter_layout_grid, flutter_layout_grid.AutoPlacement.packing, flutter_layout_grid.AutoPlacement.trackType, flutter_layout_grid.GridArea.GridArea.withSpans, flutter_layout_grid.GridArea.columnSpan.

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

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

Found 19 issues. Showing the first 2:

ERROR: Couldn't infer type parameter 'T'.\n\nTried to infer 'AutoPlacement' for 'T' which doesn't work:\n Type parameter 'T' is declared to extend 'Enum?' producing 'Enum?'.\nThe type 'AutoPlacement' was inferred from:\n Parameter 'value' declared as 'T?'\n but argument is 'AutoPlacement'.\n\nConsider passing explicit type argument(s) to the generic.\n\n

lib/src/widgets/layout_grid.dart:212:20

    ╷
212 │     properties.add(EnumProperty('autoPlacement', autoPlacement));
    │                    ^^^^^^^^^^^^
    ╵

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

ERROR: 'AutoPlacement' doesn't conform to the bound 'Enum?' of the type parameter 'T'.

lib/src/widgets/layout_grid.dart:212:20

    ╷
212 │     properties.add(EnumProperty('autoPlacement', autoPlacement));
    │                    ^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.19.1
flutter flutter 0.0.0 0.0.0
meta ^1.3.0 1.15.0 1.16.0
quiver ^3.0.0 3.2.2 3.2.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.3.1
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
vector_math - 2.1.4 2.1.4

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

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

  • COULD_NOT_INFER - lib/src/widgets/layout_grid.dart:212:20 - Couldn't infer type parameter 'T'.\n\nTried to infer 'AutoPlacement' for 'T' which doesn't work:\n Type parameter 'T' is declared to extend 'Enum?' producing 'Enum?'.\nThe type 'AutoPlacement' was inferred from:\n Parameter 'value' declared as 'T?'\n but argument is 'AutoPlacement'.\n\nConsider passing explicit type argument(s) to the generic.\n\n
  • TYPE_ARGUMENT_NOT_MATCHING_BOUNDS - lib/src/widgets/layout_grid.dart:212:20 - 'AutoPlacement' doesn't conform to the bound 'Enum?' of the type parameter 'T'.
  • INVALID_ASSIGNMENT - lib/src/widgets/placement.dart:82:42 - A value of type 'RenderObject?' can't be assigned to a variable of type 'AbstractNode?'.

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.4, Dart 3.5.4.

Check the analysis log for details.

768
likes
90
pub points
98%
popularity

Publisher

verified publishermadewithfelt.com

A powerful grid layout system for Flutter, optimized for complex user interface design.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, meta, quiver

More

Packages that depend on flutter_layout_grid