Definition at line 20 of file SplashShadowResources.java.
◆ getDrawable() [1/2]
Drawable io.flutter.embedding.android.SplashShadowResources.getDrawable |
( |
int |
id | ) |
|
|
inlineprotected |
Definition at line 36 of file SplashShadowResources.java.
36 {
38 return new ColorDrawable(
Color.BLUE);
39 }
40 return reflector(Resources.class, resources).getDrawable(id);
41 }
static final int SPLASH_DRAWABLE_ID
SK_API sk_sp< SkShader > Color(SkColor)
◆ getDrawable() [2/2]
Drawable io.flutter.embedding.android.SplashShadowResources.getDrawable |
( |
int |
id, |
|
|
@Nullable Resources.Theme |
theme |
|
) |
| |
|
inlineprotected |
Definition at line 44 of file SplashShadowResources.java.
44 {
46
47
48 if (theme == null) {
49 throw new Resources.NotFoundException(
50 "Cannot parse drawable due to missing theme references.");
51 }
52 return new ColorDrawable(
Color.GRAY);
53 }
54 return reflector(Resources.class, resources).getDrawable(id, theme);
55 }
static final int THEMED_SPLASH_DRAWABLE_ID
◆ SPLASH_DRAWABLE_ID
final int io.flutter.embedding.android.SplashShadowResources.SPLASH_DRAWABLE_ID = 191919 |
|
static |
◆ THEMED_SPLASH_DRAWABLE_ID
final int io.flutter.embedding.android.SplashShadowResources.THEMED_SPLASH_DRAWABLE_ID = 212121 |
|
static |
The documentation for this class was generated from the following file: