getBorderRadius method
Implementation
BorderRadiusGeometry getBorderRadius() {
assert(controller != null);
if (controller!.isOpen) {
return BorderRadius.only(
topLeft: Radius.circular(widget.borderRadius),
topRight: Radius.circular(widget.borderRadius),
);
} else {
return BorderRadius.all(
Radius.circular(widget.borderRadius),
);
}
}