SplashAdLogo class
开屏广告底部LOGO配置
Constructors
- SplashAdLogo.asset(String assetPath, {double? height, double? heightRatio, String? backgroundColor})
-
使用 Flutter assets 资源(推荐)
const
- SplashAdLogo.bundle(String bundlePath, {double? height, double? heightRatio, String? backgroundColor})
-
使用 iOS Bundle 资源路径
const
- SplashAdLogo.file(String filePath, {double? height, double? heightRatio, String? backgroundColor})
-
使用本地文件路径
const
- SplashAdLogo.resource(String name, {double? height, double? heightRatio, String? backgroundColor})
-
使用 Android 资源名称(mipmap/drawable)或 iOS 的 UIImage(named:)
const
Properties
- backgroundColor → String?
-
底部区域背景颜色,#RRGGBB 或 #AARRGGBB
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
固定高度(dp/pt)
final
- heightRatio → double?
-
按屏幕高度百分比定义的高度,范围 (0, 0.25]
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → SplashLogoSource
-
资源类型
final
- value → String
-
资源具体值
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited