neumorphic method

VxBox neumorphic({
  1. Color? color,
  2. VxCurve curve = VxCurve.concave,
  3. double elevation = 12.0,
})

Use this to convert your box to the neumorphic design. Use it wisely.

Implementation

VxBox neumorphic(
        {Color? color,
        VxCurve curve = VxCurve.concave,
        double elevation = 12.0}) =>
    this
      .._velocityNeumorph = velocityDecoration(
        (color ?? velocityColor)!,
        curve,
        elevation,
      );