createBorder static method

BoxBorder createBorder({
  1. Color color = Colors.grey,
  2. double width = 1.0,
})

Tạo border đơn giản

Implementation

static BoxBorder createBorder({
  Color color = Colors.grey,
  double width = 1.0,
}) {
  return Border.all(color: color, width: width);
}