Gap constructor

const Gap({
  1. double y = 0,
  2. double x = 0,
  3. Key? key,
})

This is the default constructor and works exactly like SizedBox, but, changing the word height to y and width to x.

Implementation

const Gap({
  this.y = 0,
  this.x = 0,
  super.key,
});