top2 static method

Border top2(
  1. Color color
)

Constructs a Border with a width of 2.0 for top direction

Implementation

static Border top2(Color color) {
  return Border(top: side2(color));
}