radius static method

BorderRadius radius({
  1. double? tl,
  2. double? tr,
  3. double? br,
  4. double? bl,
})

Implementation

static BorderRadius radius({double? tl, double? tr, double? br, double? bl}) {
  return BorderRadius.only(
    topLeft: Radius.circular(tl??0),
    topRight: Radius.circular(tr??0),
    bottomLeft: Radius.circular(bl??0),
    bottomRight: Radius.circular(br??0),
  );
}