shadowOutline method

VxBox shadowOutline({
  1. Color? outlineColor,
})

To give shadow with some outline color.

Implementation

VxBox shadowOutline({Color? outlineColor}) {
  _boxShadow = [
    BoxShadow(
      color: outlineColor?.withOpacity(0.5) ??
          const Color.fromRGBO(66, 153, 225, 0.5),
      blurRadius: 0.0,
      spreadRadius: 3.0,
      offset: const Offset(0.0, 0.0),
    ),
  ];

  return this;
}