Comments (4)
Hi there, I was also having the same issue. This is caused by a naming conflict between the badges package and the flutter material badge widget.
A possible solution is to use an alias for one of the imports, like this in bubble_bottom_bar.dart file under dartPackages:
import 'package:badges/src/badge.dart' as badges;
import 'package:flutter/material.dart';
Then you can use badges.Badge or Badge to refer to the different classes. I hope this helps you. Also remember to Change animationType: BadgeAnimationType.fade --> animationType: badge.BadgeAnimationType.fade, so that the Enum will be addressed from Badge plugin.
from bubble_bottom_bar.
Hi! I have also problem ((
from bubble_bottom_bar.
Remove this import
from bubble_bottom_bar.
dependency_overrides:
badges: ^3.1.2
this helps
from bubble_bottom_bar.
Related Issues (20)
- floating btn obscures HOT 3
- Error when changing tabs on One Plus 6t HOT 1
- Notch background transparent HOT 4
- The method 'withOpacity' was called on null. HOT 7
- rtl support HOT 3
- Example With Page Changes HOT 2
- Very small renderflex error during page navigation HOT 1
- [feature request] Adding padding for the items(BubbleBottomBarItem) HOT 5
- How to change border radius for BubbleBottomBarItem ?
- Pages indexes are diffrent with diffrent fab locations
- Add enabled/disabled property
- Can you pls add a function to set the max width?
- Allow Multiple FAB buttons (i.e flutter_speed_dial) HOT 3
- Null Safety HOT 3
- Overflowed Problem HOT 1
- Publish null-safety version on pub.dev HOT 10
- Add NavigationRail
- Please update to null safety HOT 1
- 'Badge' now exists in Flutter v3.7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bubble_bottom_bar.