I want to make something similar to the picture sample pic
So I wrote the following codes
Positioned(
top: 200,
bottom: 0,
left: 0,
right: 0,
child: Container(
height: 60,
width: 339,
clipBehavior: Clip.none,
decoration: BoxDecoration(),
child: CustomPaint(
painter: BottomNavBar(),
child: Container(
clipBehavior: Clip.hardEdge,
decoration: BoxDecoration(
color: Colors.black12.withOpacity(0)),
child: BackdropFilter(
filter:
ui.ImageFilter.blur(sigmaX: 20, sigmaY: 20),
child: CustomPaint(painter: BottomNavBar()),
),
),
),
))
But the output is as follows output pic
The borders around the circle also disappear How can I solve it? should i pass image to custompainter and use BackdropFilter ? how ? tnx for ur help