this answers would not worked well for me i have directly tried to make container in the design of divider
Container( clipBehavior: Clip.hardEdge, height: 0.5.h, decoration: BoxDecoration( color: Colors.grey, borderRadius: BorderRadius.circular(500), ), ),
using this code it is not a best way of solution but it works well for requirement