flu_vcc_ads

A Flutter plugin for integrating VCCorp Ads SDK into Android and iOS applications.

Features

  • Easy integration of VCC Ads.
  • Support for multiple ad formats (Banner, Popup, In-page, etc.).
  • Native performance with PlatformView.
  • BLoC-ready architecture for ad management.

Installation

Add flu_vcc_ads to your pubspec.yaml:

dependencies:
  flu_vcc_ads: ^1.0.0

Usage

1. Initialize Ad Control

Create a VccAdControl with a unique tag for your screen or layout:

final control = VccAdControl(tag: 'my_screen_tag');

2. Request Ads

Request ads for specific slot IDs:

control.requestAds('your_ad_slot_id');

3. Display Ad Widget

Use the VccAdWidget to display the ad:

VccAdWidget(
  adId: 'your_ad_slot_id',
  tag: 'my_screen_tag',
  control: control,
)

Documentation

For more detailed information, please refer to the API documentation.

Example

Check out the example folder for a complete demonstration of various ad formats and usage patterns.

License

This project is licensed under the MIT License - see the LICENSE file for details.