layout_grid 1.0.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 50

layout_grid #

A CSS-Grid like package for Flutter.

[1.0.0] - sep 12.

  • Fixed example.

[1.0.0-dev.3] - sep 12.

  • Added first simple example.

[1.0.0-dev.2] - sep 11.

  • Changed the minimum sdk version.

[1.0.0-dev.1] - sep 11.

  • Moved to flutter from flutter_web and added LayoutUnits, fixed bugs, improved performance, improved usability.

[0.0.1-dev.2] - jul 25.

  • Formatted code.

[0.0.1-dev.1] - jul 25.

  • Created a functional albeit still not perfect copy of CSS-Grid for flutter_web.

example/README.md

basic_example #

Basic example for the layout_grid library.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  layout_grid: ^1.0.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:layout_grid/layout_grid.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
50
Learn more about scoring.

We analyzed this package on Dec 9, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.6

Health suggestions

Format lib/layout_grid.dart.

Run flutter format to format lib/layout_grid.dart.

Format lib/src/Util/inherited_layout_model.dart.

Run flutter format to format lib/src/Util/inherited_layout_model.dart.

Format lib/src/Util/layout_creation.dart.

Run flutter format to format lib/src/Util/layout_creation.dart.

Fix additional 5 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/Util/layout_grid_child.dart (Run flutter format to format lib/src/Util/layout_grid_child.dart.)
  • lib/src/Util/layout_grid_private_units.dart (Run flutter format to format lib/src/Util/layout_grid_private_units.dart.)
  • lib/src/Util/layout_grid_units.dart (Run flutter format to format lib/src/Util/layout_grid_units.dart.)
  • lib/src/layout_grid.dart (Run flutter format to format lib/src/layout_grid.dart.)
  • lib/src/layout_grid_couple.dart (Run flutter format to format lib/src/layout_grid_couple.dart.)

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test