ViewMargin constructor

const ViewMargin({
  1. int? topPx,
  2. int? bottomPx,
  3. int? rightPx,
  4. int? leftPx,
})

Implementation

const ViewMargin({int? topPx, int? bottomPx, int? rightPx, int? leftPx})
    : topPx = topPx ?? 0,
      bottomPx = bottomPx ?? 0,
      rightPx = rightPx ?? 0,
      leftPx = leftPx ?? 0;