custom static method
Tạo border radius tùy chỉnh cho từng góc
Implementation
static BorderRadius custom({
double topLeft = 0,
double topRight = 0,
double bottomLeft = 0,
double bottomRight = 0,
}) {
return BorderRadius.only(
topLeft: Radius.circular(topLeft),
topRight: Radius.circular(topRight),
bottomLeft: Radius.circular(bottomLeft),
bottomRight: Radius.circular(bottomRight),
);
}