AdMediaView constructor

AdMediaView({
  1. EdgeInsets? padding,
  2. EdgeInsets? margin,
  3. AdDecoration? decoration,
  4. double? width,
  5. double? height,
  6. double? elevation,
  7. 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,
      );