OvalBottomBorderClipper
show the error:The argument type 'OvalBottomBorderClipper' can't be assigned to the parameter type 'CustomClipper<Rect>?'
please show your code how you are using it?
Same problem with OvalTopBorderClipper().
error: The argument type 'OvalTopBorderClipper' can't be assigned to the parameter type 'CustomClipper<Rect>?'. (argument_type_not_assignable at [my_app] lib/screens/dashboard/profile/ui_tab_profile.dart:46)
Reason: OvalTopBorderClipper extends CustomClipper (correct) with type <Path> referred to here in package:flutter/material.dart, however ClipOval clipper is defined with CustomClipper<Rect>? found here.
i.e. OvalTopBorderClipper extends CustomerClipper<Path> isn't the same type as CustomClipper<Rect>? from ClipOval.
Flutter Doctor
[✓] Flutter (Channel stable, 2.10.4, on Arch Linux 5.16.13-arch1-1, locale en_US.UTF-8)
• Flutter version 2.10.4 at /home/cybex/.flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision c860cba910 (3 weeks ago), 2022-03-25 00:23:12 -0500
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2
Seems like a blatant bug to me that has yet to be corrected. Happening to me as well
Using ClipPath instead of ClipOval resolved the issue.