doceree_ads 0.0.1 doceree_ads: ^0.0.1 copied to clipboard
A Doceree flutter package for web, ios and android is meant for developers so that they can use and implement it as a third-party library.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add doceree_ads
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
doceree_ads: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:doceree_ads/api/ad_block_api.dart';
import 'package:doceree_ads/api/ad_request.dart';
import 'package:doceree_ads/api/data_collection_api.dart';
import 'package:doceree_ads/api/header.dart';
import 'package:doceree_ads/api/network.dart';
import 'package:doceree_ads/api/patient_api.dart';
import 'package:doceree_ads/api/send_impression_api.dart';
import 'package:doceree_ads/api/viewability_api.dart';
import 'package:doceree_ads/doceree_ad.dart';
import 'package:doceree_ads/doceree_ad_view.dart';
import 'package:doceree_ads/hcp.dart';
import 'package:doceree_ads/models/ad_block_model.dart';
import 'package:doceree_ads/models/ad_response.dart';
import 'package:doceree_ads/models/data_collection_model.dart';
import 'package:doceree_ads/models/shared_data.dart';
import 'package:doceree_ads/patient.dart';
import 'package:doceree_ads/repository/ad_loader_repo.dart';
import 'package:doceree_ads/repository/visibility_tracker.dart';
import 'package:doceree_ads/repository/visibility_tracker_mobile.dart';
import 'package:doceree_ads/repository/visibility_tracker_web.dart';
import 'package:doceree_ads/screens/consent_widget.dart';
import 'package:doceree_ads/screens/consent_widget_2.dart';
import 'package:doceree_ads/screens/consent_widget_3.dart';
import 'package:doceree_ads/utils/app_info.dart';
import 'package:doceree_ads/utils/constants.dart';
import 'package:doceree_ads/utils/date_time.dart';
import 'package:doceree_ads/utils/helpers.dart';
import 'package:doceree_ads/utils/library_data.dart';
import 'package:doceree_ads/utils/log.dart';
import 'package:doceree_ads/utils/size_config.dart';
import 'package:doceree_ads/utils/utill.dart';
import 'package:doceree_ads/utils/uuid_implementation.dart';
import 'package:doceree_ads/utils/uuid_interface.dart';
import 'package:doceree_ads/widgets/custom_gesture_detector.dart';
import 'package:doceree_ads/widgets/thanks_widget.dart';
import 'package:doceree_ads/widgets/webview_mobile.dart';
import 'package:doceree_ads/widgets/webview_web.dart';
import 'package:doceree_ads/widgets/webview_widget.dart';