AdLinearLayout constructor

AdLinearLayout({
  1. String orientation = VERTICAL,
  2. required List<AdView> children,
  3. EdgeInsets? padding,
  4. EdgeInsets? margin,
  5. AdDecoration? decoration,
  6. double? width,
  7. double? height,
  8. double? elevation,
  9. Color? elevationColor,
  10. LayoutGravity? gravity,
})

Implementation

AdLinearLayout({
  this.orientation = VERTICAL,
  required this.children,
  EdgeInsets? padding,
  EdgeInsets? margin,
  AdDecoration? decoration,
  double? width,
  double? height,
  double? elevation,
  Color? elevationColor,
  this.gravity,
}) : super(
        id: 'linear_layout',
        viewType: 'linear_layout',
        padding: padding,
        margin: margin,
        decoration: decoration,
        width: width ?? MATCH_PARENT,
        height: height ?? WRAP_CONTENT,
        elevation: elevation,
        elevationColor: elevationColor,
      );