Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Banner Ads and Banner Ads background or Title color is not change. #132

Open
aakashch0179 opened this issue Jan 26, 2022 · 0 comments

Comments

@aakashch0179
Copy link

aakashch0179 commented Jan 26, 2022

Native Banner Ads And Banner Ads Background Color Error

In my app Native Banner Ads can not change the background color white and Banner Ads throw the background color black
how can fix this issue pls help.

NativeAd(
        placementId: "3025685484414127_3025692344413441",
        adType: NativeAdType.NATIVE_BANNER_AD,
        bannerAdSize: NativeBannerAdSize.HEIGHT_100,
        width: double.infinity,
        height: MediaQuery.of(context).size.height * 0.12,
        backgroundColor: Colors.white,
        titleColor: Colors.black,
        descriptionColor: Colors.grey,
        buttonColor: Colors.blueAccent,
        buttonTitleColor: Colors.white,
        buttonBorderColor: Colors.white,
        listener: NativeAdListener(
          onError: (code, message) =>
              print('native banner ad error\ncode: $code\nmessage:$message'),
          onLoaded: () => print('native banner ad loaded'),
          onMediaDownloaded: () => 'native banner ad media downloaded',
        ),
      ),

148950381-9041fced-1fd5-4985-8428-58a383e01a9c

How can I change this black background color to white and the white title color to black?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant