radius of type Radius used to give a curved border only when the border type is RRect, in other cases radius will not work
final Radius radius;