-
-
Notifications
You must be signed in to change notification settings - Fork 577
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
ClipBehavior cannot be none #361
Comments
I've encountered the same issue. |
Another exception was thrown: 'package:flutter/src/widgets/basic.dart': Failed assertion: line 680 pos 12: 'clipBehavior != Clip.none': is not true. |
Also getting this issue. Per the documentation, clipBehaviour must not be set to null or Clip.none - it defaults to Clip.hardEdge https://api.flutter.dev/flutter/widgets/ClipRect/clipBehavior.html |
I've encountered the same issue. |
i am also getting same issue. |
Cannot even run simple example because of this issue |
i am also getting the same issue.
|
i am also getting the same issue |
This solution is work, for me. |
Which version of flutter do you use? Seems to be ok with Flutter 3.0 (#95593). Maybe I should upgrade the SDK constraints |
Must be it! I’m on 2.5… my company isn’t prepared to update to 3.0 yet. Is there anything you can change in the meantime so it works with both 2.5 and 3.0? Would be ever so grateful
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Romain Rastel ***@***.***>
Sent: Thursday, July 14, 2022 8:40:57 AM
To: letsar/flutter_slidable ***@***.***>
Cc: Addadahine91 ***@***.***>; Comment ***@***.***>
Subject: Re: [letsar/flutter_slidable] ClipBehavior cannot be none (Issue #361)
Which version of flutter do you use? Seems to be ok with Flutter 3.0 (#95593<flutter/flutter#95593>). Maybe I should upgrade the SDK constraints
—
Reply to this email directly, view it on GitHub<#361 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANYYP4ORNIGI2DK7TUMG6MLVT7AATANCNFSM53FMLPDA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
any update ?? im using flutter 2.8.1 |
I've just answered 12 minutes ago!!! |
Goodmorning,
I love your library and you're doing a great job with it!
Just to let you know: I've noticed that in your custom SizeTransition class at line 147 there is the following operation to not clip when the sizeFactor is 1:
flutter_slidable/lib/src/dismissal.dart
Line 147 in b4e78de
Setting the clipBehavior to none will cause the application to crash because the assert at line 680 of the flutter (package:flutter/src/widgets/basic.dart:680:12) will fail.
It is also stated in the ClipRect -> clipBehavior property documentation that the clipBehavior cannot be set to none or null.
I think that the solution is to leave the clipBehavior property to "hardEdge" or find another solution.
Glad to help and sorry if I did not meed the GitHub guidelines.
Thanks for the attention to this issue and keep doing a great job with this library!
The text was updated successfully, but these errors were encountered: