frameBorderDecoration static method

BoxDecoration frameBorderDecoration({
  1. Color backgroundColor = Colors.transparent,
})

Implementation

static BoxDecoration frameBorderDecoration(
    {Color backgroundColor = Colors.transparent}) {
  return BoxDecoration(
    color: backgroundColor,
    border: Border.all(color: primaryBlue.withValues(alpha: 0.3), width: 1.5),
    borderRadius: BorderRadius.circular(4.0),
    boxShadow: [
      BoxShadow(
        color: primaryBlue.withValues(alpha: 0.1),
        blurRadius: 10,
        offset: const Offset(0, 5),
      ),
    ],
  );
}