#177551 propagates all clips to the mutator stack , but the kBackdropClipRse case currently no-ops
The PlatformViewsController should be updated to implement the kBackdropClipRse case
Reproducible example repo
For this snippet:
Widget build(BuildContext context) {
return ClipRSuperellipse(
borderRadius: BorderRadius.circular(50),
child: Container(
width: 200,
height: 200,
decoration: BoxDecoration(
color: Colors.black.withOpacity(0.2),
borderRadius: BorderRadius.circular(500),
),
child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 10.0, sigmaY: 10.0),
child: const Center(
child: Text('Blurred block 1'),
),
),
),
);
}
The correct behaviour should clip the blur in the RSE shape but currently it produces, wherein the clip is completely ignored
This is because in the rse case we are simply no-oping. The native code to handle this case needs to be implemented
#177551 propagates all clips to the mutator stack , but the
kBackdropClipRsecase currently no-opsThe PlatformViewsController should be updated to implement the
kBackdropClipRsecaseReproducible example repo
For this snippet:
The correct behaviour should clip the blur in the RSE shape but currently it produces, wherein the clip is completely ignored
This is because in the rse case we are simply no-oping. The native code to handle this case needs to be implemented