yako-dev / flutter_badges

A flutter package for creating badges.

Home Page:https://pub.dev/packages/badges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No named parameter with the name 'clipBehavior'

shw2ypro opened this issue · comments

Good Night
After upgrading to badges: ^1.1.3
I got this error
what should i do ???

Compiler message: /C:/flutter/.pub-cache/hosted/pub.dartlang.org/badges-1.1.3/lib/src/badge.dart:83:9: Error: No named parameter with the name 'clipBehavior'. clipBehavior: Clip.none, ^^^^^^^^^^^^ /C:/flutter/packages/flutter/lib/src/widgets/basic.dart:3210:3: Context: Found this candidate, but the arguments don't match. Stack({ ^^^^^

I found the same issues

I found the same issues ???

It looks like the changes made to this library were ahead of the stable release. Make sure to update flutter to latest version on the stable channel.

Its resolved now.

@ahmedGibran
i downgraded version to 1.1.1 and it worked fine
Hint: if u downgraded version and still show the same error just edit dart tool file and change package version from 1.1.3 to 1.1.1

@shw2ypro, you can use 1.1.4