Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OvalBottomBorderClipper #25

Open
satheeshkumar0009 opened this issue Feb 19, 2022 · 5 comments
Open

OvalBottomBorderClipper #25

satheeshkumar0009 opened this issue Feb 19, 2022 · 5 comments

Comments

@satheeshkumar0009
Copy link

show the error:The argument type 'OvalBottomBorderClipper' can't be assigned to the parameter type 'CustomClipper?'

@lohanidamodar
Copy link
Owner

please show your code how you are using it?

@cybex-dev
Copy link

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

@djsjr
Copy link

djsjr commented Mar 24, 2023

Seems like a blatant bug to me that has yet to be corrected. Happening to me as well

@iOS-Kel
Copy link

iOS-Kel commented Sep 11, 2023

image same here

@JasurbekErgashev
Copy link

Using ClipPath instead of ClipOval resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants