Grid constructor

Grid({
  1. bool show = true,
  2. int height = 18,
  3. int width = 30,
  4. Size boxSize = const Size(50, 50),
  5. double lineWidth = 0.25,
  6. Color color = const Color(0x55ffffff),
  7. SnapGrid snap = SnapGrid.none,
})

Implementation

Grid({
  this.show = true,
  this.height = 18,
  this.width = 30,
  this.boxSize = const Size(50,50),
  this.lineWidth = 0.25,
  this.color = const Color(0x55ffffff),
  this.snap = SnapGrid.none,
});