GithubHelp home page GithubHelp logo

Comments (4)

sharmaAshish-dev avatar sharmaAshish-dev commented on August 28, 2024

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.

Den4ikMagia avatar Den4ikMagia commented on August 28, 2024

Hi! I have also problem ((

from bubble_bottom_bar.

mahbubhswe avatar mahbubhswe commented on August 28, 2024

Remove this import

from bubble_bottom_bar.

Shakle avatar Shakle commented on August 28, 2024

dependency_overrides:
badges: ^3.1.2

this helps

from bubble_bottom_bar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.