topOrButton static method
Implementation
static BorderRadius topOrButton({num? radius, bool isTop = true}) {
var _radius = radius ?? FConfig.ins.radius;
var value = Radius.circular(_radius.ww!);
var nullValue = Radius.circular(0);
return BorderRadius.only(
topLeft: isTop ? value : nullValue,
topRight: isTop ? value : nullValue,
bottomLeft: isTop ? nullValue : value,
bottomRight: isTop ? nullValue : value,
);
}