debug_grid 0.4.0

  • Installing
  • Versions
  • 0

Debug Grid

Just include it in your project, and you can overlay a debug grid with the g Key.


  • press Shift - g to toggle between 6 and 12 columns.
  • press l to display lines as well
  • press Shift - l to toggle the visibility of columns only



Add this to your pubspec.yaml:

  debug_grid: any


In your html, just include the grid like this:

<link rel="import" href="packages/debug_grid/debug_grid.html">

and put this at the end of your body tag:


That's it, you're good to go!

I'm assuming you have already a project setup with polymer! If not, please refer to the polymer dart documentation on how to do that, because this grid will not work otherwise.


Here is a fully configured debug grid:

<debug-grid totalWidth="1128"

This would display a 1128px wide grid with 24px wide gutters, 24px line height and 3 columns. By default it is visible and would not show columns, but only lines (which can be toggled with the appropriate keys).

The visibility toggle key has been remapped to 83 (s) and the lines toggle key has been remapped to 86 (v).


MIT License



  • Add possibility to provide units to measurements and switch to rem units per default
  • Ease up on the polymer dependencies
  • Started changelog...

Use this package as a library

1. Depend on it

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

  debug_grid: ^0.4.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:debug_grid/debug_grid.dart';
Version Uploaded Documentation Archive
0.4.0 May 22, 2016 Go to the documentation of debug_grid 0.4.0 Download debug_grid 0.4.0 archive
0.3.0 Mar 31, 2016 Go to the documentation of debug_grid 0.3.0 Download debug_grid 0.3.0 archive
0.2.3 Apr 1, 2015 Go to the documentation of debug_grid 0.2.3 Download debug_grid 0.2.3 archive
0.2.2 Oct 21, 2014 Go to the documentation of debug_grid 0.2.2 Download debug_grid 0.2.2 archive
0.2.1 Sep 5, 2014 Go to the documentation of debug_grid 0.2.1 Download debug_grid 0.2.1 archive
0.2.0 Sep 2, 2014 Go to the documentation of debug_grid 0.2.0 Download debug_grid 0.2.0 archive
0.1.1 Aug 26, 2014 Go to the documentation of debug_grid 0.1.1 Download debug_grid 0.1.1 archive
0.1.0 Aug 22, 2014 Go to the documentation of debug_grid 0.1.0 Download debug_grid 0.1.0 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see

Maintenance issues and suggestions

Running dartdoc failed. (-10 points)

Make sure dartdoc runs without any issues.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.9.0 <2.0.0