AdMediaView constructor
AdMediaView({
- EdgeInsets? padding,
- EdgeInsets? margin,
- AdDecoration? decoration,
- double? width,
- double? height,
- double? elevation,
- Color? elevationColor,
Implementation
AdMediaView({
EdgeInsets? padding,
EdgeInsets? margin,
AdDecoration? decoration,
double? width,
double? height,
double? elevation,
Color? elevationColor,
}) : super(
viewType: 'media_view',
padding: padding,
margin: margin,
decoration: decoration,
width: width ?? MATCH_PARENT,
height: height ?? WRAP_CONTENT,
elevation: elevation,
elevationColor: elevationColor,
);