TeadsAdRatio class

This class is used to help in resizing a given ad view to a given aspect ratio.

Constructors

TeadsAdRatio(String adRequestIdentifier)

Properties

adRequestIdentifier String
The ad request identifier used to match with the native side.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateHeight(double width) Future<double>
Compute the best height for your TeadsInReadAdView with the given width.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
value(double width) Future<double>
Get a double ratio for a given width.

Operators

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