Skip to content

Commit 2d81580

Browse files
authored
Update theme.dart
增加阴影
1 parent 37df1a1 commit 2d81580

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/src/theme.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ class EasyLoadingTheme {
5353
? Colors.black.withOpacity(0.9)
5454
: Colors.white;
5555

56+
/// boxShadow color of loading
57+
static List<BoxShadow>? get boxShadow =>
58+
EasyLoading.instance.loadingStyle == EasyLoadingStyle.custom
59+
? EasyLoading.instance.boxShadow!
60+
: null;
61+
5662
/// font color of status
5763
static Color get textColor =>
5864
EasyLoading.instance.loadingStyle == EasyLoadingStyle.custom

0 commit comments

Comments
 (0)