Neighbors constructor

const Neighbors({
  1. bool topLeft = false,
  2. bool topRight = false,
  3. bool left = false,
  4. bool top = false,
  5. bool right = false,
  6. bool bottomLeft = false,
  7. bool bottom = false,
  8. bool bottomRight = false,
})

Implementation

const Neighbors({
  this.topLeft = false,
  this.topRight = false,
  this.left = false,
  this.top = false,
  this.right = false,
  this.bottomLeft = false,
  this.bottom = false,
  this.bottomRight = false,
});