AdView class Null safety

Implementers

Constructors

AdView({required String viewType, EdgeInsets? padding = EdgeInsets.zero, EdgeInsets? margin = EdgeInsets.zero, double? width, double? height, String? id, AdDecoration? decoration, double? elevation, Color? elevationColor})

Properties

decoration AdDecoration?
The Decoration of the AdView.
final
elevation double?
The elevation of the view. It may not work in some views
final
elevationColor Color?
The color of the elevation. It may not work in some views
final
hashCode int
The hash code for this object.
read-only, inherited
height double?
The height of the view
final
id String?
The id of the view. Used to recognize it
read / write
margin EdgeInsets?
The margin applied to the view. Default to none
final
padding EdgeInsets?
The padding applied to the view. Default to none
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
viewType String
The type of the view. Do not change this manually
final
width double?
The width of the view
final

Methods

copyWith(AdView view) AdView
Copy this with a new AdView
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited