NativeAdmobOptions constructor
const
NativeAdmobOptions({
- bool showMediaContent = true,
- Color ratingColor = Colors.yellow,
- NativeTextStyle adLabelTextStyle = const NativeTextStyle(fontSize: 12, color: Colors.white, backgroundColor: Color(0xFFFFCC66)),
- NativeTextStyle headlineTextStyle = const NativeTextStyle(fontSize: 16, color: Colors.black, backgroundColor: Colors.white),
- NativeTextStyle advertiserTextStyle = const NativeTextStyle(fontSize: 14, backgroundColor: Colors.white, color: Colors.black),
- NativeTextStyle bodyTextStyle = const NativeTextStyle(fontSize: 12, backgroundColor: Colors.white, color: Colors.grey),
- NativeTextStyle storeTextStyle = const NativeTextStyle(fontSize: 12, backgroundColor: Colors.white, color: Colors.black),
- NativeTextStyle priceTextStyle = const NativeTextStyle(fontSize: 12, backgroundColor: Colors.white, color: Colors.black),
- 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),
),
});