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
Enables the Android ripple effect and configures its properties.
125
+
Enables the Android ripple effect and configures its properties. The `color` field accepts both plain colors and [`PlatformColor`](platformcolor) values, so you can reference theme attributes like `?attr/colorAccent`. When a `PlatformColor` is used, the ripple is automatically updated when the system configuration changes (for example, when switching between light and dark mode).
126
126
127
127
| Type |
128
128
| -------------------------------------- |
@@ -260,9 +260,10 @@ Ripple effect configuration for the `android_ripple` property.
| color |[color](colors)| No | Defines the color of the ripple effect. |
266
-
| borderless | boolean | No | Defines if ripple effect should not include border. |
267
-
| radius | number | No | Defines the radius of the ripple effect. |
268
-
| foreground | boolean | No | Set to true to add the ripple effect to the foreground of the view, instead of the background. This is useful if one of your child views has a background of its own, or you're e.g. displaying images, and you don't want the ripple to be covered by them. |
| color |[color](colors) or [PlatformColor](platformcolor)| No | Defines the color of the ripple effect. |
266
+
| borderless | boolean | No | Defines if ripple effect should not include border. |
267
+
| radius | number | No | Defines the radius of the ripple effect. |
268
+
| foreground | boolean | No | Set to true to add the ripple effect to the foreground of the view, instead of the background. This is useful if one of your child views has a background of its own, or you're e.g. displaying images, and you don't want the ripple to be covered by them. |
269
+
| alpha | number | No | Controls the opacity of the ripple. Accepts a value between `0.0` (fully transparent) and `1.0` (fully opaque). The value is applied on top of any alpha already present in the color. |
0 commit comments