AdLinearLayout constructor
AdLinearLayout({
- String orientation = VERTICAL,
- required List<
AdView> children, - EdgeInsets? padding,
- EdgeInsets? margin,
- AdDecoration? decoration,
- double? width,
- double? height,
- double? elevation,
- Color? elevationColor,
- 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,
);