getBorder method

ShapeBorder getBorder([
  1. BorderRadius br = BorderRadius.zero
])

Implementation

ShapeBorder getBorder([BorderRadius br = BorderRadius.zero]){
  if(widget.beveled){
    return BeveledRectangleBorder(borderRadius: br);
  }
  return RoundedRectangleBorder(borderRadius: br);
}