renderHexagonShadow method

Path renderHexagonShadow(
  1. Size size
)

Implementation

Path renderHexagonShadow(Size size) {
  final path = Path();

  path.lineTo((size.width * 0.35), size.height * 0.05);
  path.lineTo((size.width * 0.3), size.height * 0.1);
  path.lineTo((size.width * 0.7), size.height * 0.1);
  path.lineTo((size.width * 0.85), size.height * 0.5);
  path.lineTo((size.width * 0.7), size.height * 0.9);
  path.lineTo((size.width * 0.77), size.height * 0.85);
  path.lineTo((size.width * 0.9), size.height * 0.45);
  path.lineTo((size.width * 0.75), size.height * 0.05);
  path.lineTo((size.width * 0.35), size.height * 0.05);
  path.close();
  return path;
}