pedromassango / bottom_navy_bar

A beautiful and animated bottom navigation
https://youtu.be/jJPSKEEiN-E
Apache License 2.0
1.04k stars 219 forks source link

Text and background color #90

Closed AryanAhadinia closed 4 months ago

AryanAhadinia commented 3 years ago

Now with activeTextColor, you can separately control icon and text color. I had implemented activeBackgroundColor, so you can even control background color separated from icon and text color. These are optional fields, so compatibility will be maintained.

This PR can close both issues #65 and #52.

doola-dev commented 3 years ago

Hello, please this is exactly what I wanted. I'm a flutter beginner, please how can I implement this in my project. This changes you've made. I also need an active Background color

doola-dev commented 3 years ago

THIS IS THE ERRORS IM GETTING

lib/screens/home/bottom_navigator.dart:92:13: Error: No named parameter with the name 'activeBackgroundColor'. activeBackgroundColor: Colors.grey, ^^^^^^^^^^^^^^^^^^^^^ /D:/src/flutter/.pub-cache/hosted/pub.dartlang.org/bottom_navy_bar-6.0.0/lib/bottom_navy_bar.dart:194:3: Context: Found this candidate, but the arguments don't match. BottomNavyBarItem({

^^^^^^^^^^^^^^^^^

AryanAhadinia commented 3 years ago

Hello, Because this changed hasn't merged with master yet. You can use this feature after @pedromassango publish new version or you can add these changes manually to your project.

doola-dev commented 3 years ago

Hello, Because this changed hasn't merged with master yet. You can use this feature after @pedromassango publish new version or you can add these changes manually to your project.

Okay I understand. But please can you show me how I can Add this manually?

baptistesx commented 2 years ago

Hey @pedromassango, could you check this PR and merge it if everything is ok please? :)

Thanks in advance !

antonio-pedro99 commented 4 months ago

Now with activeTextColor, you can separately control icon and text color. I had implemented activeBackgroundColor, so you can even control background color separated from icon and text color. These are optional fields, so compatibility will be maintained.

This PR can close both issues #65 and #52.

Thanks for the contributions and sorry for being late.

I am now in charge of this package, I will be reviewing this PR very soon. Yes, I added it to the upcoming version. Meanwhile, you can consider using the most recent version 6.1.0 with a lot of fixes :)