NativeAdmobOptions constructor

const NativeAdmobOptions({
  1. bool showMediaContent = true,
  2. Color ratingColor = Colors.yellow,
  3. NativeTextStyle adLabelTextStyle = const NativeTextStyle(fontSize: 12, color: Colors.white, backgroundColor: Color(0xFFFFCC66)),
  4. NativeTextStyle headlineTextStyle = const NativeTextStyle(fontSize: 16, color: Colors.black, backgroundColor: Colors.white),
  5. NativeTextStyle advertiserTextStyle = const NativeTextStyle(fontSize: 14, backgroundColor: Colors.white, color: Colors.black),
  6. NativeTextStyle bodyTextStyle = const NativeTextStyle(fontSize: 12, backgroundColor: Colors.white, color: Colors.grey),
  7. NativeTextStyle storeTextStyle = const NativeTextStyle(fontSize: 12, backgroundColor: Colors.white, color: Colors.black),
  8. NativeTextStyle priceTextStyle = const NativeTextStyle(fontSize: 12, backgroundColor: Colors.white, color: Colors.black),
  9. NativeTextStyle callToActionStyle = const NativeTextStyle(fontSize: 15, color: Colors.white, backgroundColor: Color(0xFF4CBE99)),
})

Implementation

const NativeAdmobOptions({
  this.showMediaContent = true,
  this.ratingColor = Colors.yellow,
  this.adLabelTextStyle = const NativeTextStyle(
    fontSize: 12,
    color: Colors.white,
    backgroundColor: Color(0xFFFFCC66),
  ),
  this.headlineTextStyle = const NativeTextStyle(
    fontSize: 16,
    color: Colors.black,
    backgroundColor: Colors.white,
  ),
  this.advertiserTextStyle = const NativeTextStyle(
    fontSize: 14,
    backgroundColor: Colors.white,
    color: Colors.black,
  ),
  this.bodyTextStyle = const NativeTextStyle(
    fontSize: 12,
    backgroundColor: Colors.white,
    color: Colors.grey,
  ),
  this.storeTextStyle = const NativeTextStyle(
    fontSize: 12,
    backgroundColor: Colors.white,
    color: Colors.black,
  ),
  this.priceTextStyle = const NativeTextStyle(
    fontSize: 12,
    backgroundColor: Colors.white,
    color: Colors.black,
  ),
  this.callToActionStyle = const NativeTextStyle(
    fontSize: 15,
    color: Colors.white,
    backgroundColor: Color(0xFF4CBE99),
  ),
});