SplashAdLogo.resource constructor

const SplashAdLogo.resource(
  1. String name, {
  2. double? height,
  3. double? heightRatio,
  4. String? backgroundColor,
})

使用 Android 资源名称(mipmap/drawable)或 iOS 的 UIImage(named:)

Implementation

const SplashAdLogo.resource(
  String name, {
  double? height,
  double? heightRatio,
  String? backgroundColor,
}) : this._(
       SplashLogoSource.resource,
       name,
       height: height,
       heightRatio: heightRatio,
       backgroundColor: backgroundColor,
     );