add ad services and Docker configuration for web app
Some checks failed
Build Android App / build (push) Has been cancelled
Some checks failed
Build Android App / build (push) Has been cancelled
This commit is contained in:
19
lib/services/ad_service.dart
Normal file
19
lib/services/ad_service.dart
Normal file
@@ -0,0 +1,19 @@
|
||||
import "package:flutter/widgets.dart";
|
||||
|
||||
abstract class AdService {
|
||||
|
||||
/// Initialize ad SDK
|
||||
Future<void> initialize();
|
||||
|
||||
/// Load banner ad
|
||||
Future<void> loadBannerAd();
|
||||
|
||||
/// Get banner widget to display
|
||||
Widget getBannerWidget();
|
||||
|
||||
/// Dispose resources
|
||||
void dispose();
|
||||
|
||||
/// Check if ads are loaded
|
||||
bool get isLoaded;
|
||||
}
|
||||
Reference in New Issue
Block a user