You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may want to get multiple platform colors in case one is not supported by the system. In this case, you can use the `get{n}` function to retrieve the values. You can mix and match Android color and attributes in this call. The first value will be treated as default and rest will be treated as fallback.
51
+
You may want to get multiple platform colors in case one is not supported by the system. In this case, you can use the `get\{n\}` function to retrieve the values. You can mix and match Android color and attributes in this call. The first value will be treated as default and rest will be treated as fallback.
52
52
53
53
Defined up to 7 arguments.
54
54
@@ -60,15 +60,15 @@ Depending on platform & OS version (and for Android you can have user-defined at
60
60
unsafeGet: string => Color.t
61
61
```
62
62
63
-
### unsafeGet{n}
63
+
### unsafeGet\{n\}
64
64
65
-
The unsafe version of `get{n}` where a string can be passed in. This can be any Android resource query, for example: `?attr/colorPrimary` or `?android:attr/colorPrimary`, even resources defined within your Android app. The first value will be treated as default and rest will be treated as fallback.
65
+
The unsafe version of `get\{n\}` where a string can be passed in. This can be any Android resource query, for example: `?attr/colorPrimary` or `?android:attr/colorPrimary`, even resources defined within your Android app. The first value will be treated as default and rest will be treated as fallback.
66
66
67
67
Defined up to 7 arguments.
68
68
69
69
### unsafeGetMultiple
70
70
71
-
The array version of `unsafeGet{n}` supporting arbitrary number of fallbacks.
71
+
The array version of `unsafeGet\{n\}` supporting arbitrary number of fallbacks.
0 commit comments