BilalShahid13 / PersistentBottomNavBar

A highly customizable persistent bottom navigation bar for Flutter
BSD 3-Clause "New" or "Revised" License
507 stars 368 forks source link

The getter 'backgroundColor' isn't defined for the class 'ThemeData #361

Open TuOnyxtec opened 1 month ago

TuOnyxtec commented 1 month ago

../../.pub-cache/hosted/pub.dev/persistent_bottom_nav_bar-5.0.2/lib/neumorphic_package_by_serge_software/neumorphic_card.dart:57:57: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.

VisionBao commented 1 month ago

Same issue to me.

leorachit commented 1 month ago

Same issue

ayusha259 commented 1 month ago

Same issue in xcode cloud logs during the build process, although when running it locally it is working fine.

image
dedyksuntoro commented 1 month ago

364 I've helped make repairs

leorachit commented 1 month ago

364 I've helped make repairs

When will it be pushed to the main branch?

dedyksuntoro commented 1 month ago

364 I've helped make repairs

When will it be pushed to the main branch?

just wait until the homeowner does it 😊

TuOnyxtec commented 1 month ago

Hey guys,

To fix this locally, I suggest making the neumorphic_card.dart file editable and allowing a static color to be passed. This should resolve the error.

final color = Colors.blue;

Thank you!

ayusha259 commented 1 month ago

It's not creating a problem for me locally but the build process is being affected and forcing me to create a build manually to upload it to app store connect. Don't know why it is working locally without any extra change lol

HamzaSamirAmmar commented 1 month ago

@TuOnyxtec @VisionBao @leorachit

Solved!

You can just add the package in the pubspec.yaml file like this:

  persistent_bottom_nav_bar:
    git:
      url: https://github.com/HamzaSamirAmmar/PersistentBottomNavBar.git 
m-akbarfauzi commented 4 days ago

@TuOnyxtec @VisionBao @leorachit

Solved!

You can just add the package in the pubspec.yaml file like this:

  persistent_bottom_nav_bar:
    git:
      url: https://github.com/HamzaSamirAmmar/PersistentBottomNavBar.git 

thanks