insets property

EdgeInsetsGeometry insets
final

A convenience to provide a padded, solid-color backdrop on which the true container will be rendered. In a scenario where a background is not a solid color that matches color, then insets may be initialized non-negligibly (such as EdgeInsets.all(25)) to provide a small platform for the Neumorphic effect to be more visible.

Implementation

final EdgeInsetsGeometry insets;