SplashAdLogo.asset constructor

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

使用 Flutter assets 资源(推荐)

Implementation

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