color property

Color color
final

With all Neu design the basis of these decorations is a color and a depth. Color should ideally match with or be similar to the color of the background behind the resulting decoration. The depth is the extent to which this decoration will appear "extruded" from its surface. A larger depth increases the contrast of the shading of colors on either side of the decoration.

Default is lightWhite, Color(0xFFE0E0E0).

If insets is given a non-zero value, this color will also be used as the background for a secondary container under the neumorphic one, providing a padded, solid-color backdrop for the container.

Implementation

final Color color;