import 'dart:ui'; import 'package:flutter/material.dart'; /// 各类SVG路径 class ViewSvgPath { /// 麦克风 static Path getMicrpphonePath(){ Path mPath = Path(); mPath.moveTo(10.2188, 11.875); mPath.cubicTo(11.9375, 11.875, 13.3438, 10.4688, 13.3438, 8.75); mPath.lineTo(13.3438, 5); mPath.cubicTo(13.3438, 3.28125, 11.9375, 1.875, 10.2188, 1.875); mPath.cubicTo(8.5, 1.875, 7.09375, 3.28125, 7.09375, 5); mPath.lineTo(7.09375, 8.75); mPath.cubicTo(7.09375, 10.4688, 8.5, 11.875, 10.2188, 11.875); mPath.moveTo(15.777, 9.61683); mPath.cubicTo(15.8297, 9.27504, 15.5973, 8.95668, 15.2555, 8.90394); mPath.cubicTo(14.9137, 8.85316, 14.5954, 9.08558, 14.5426, 9.42543); mPath.cubicTo(14.2145, 11.5348, 12.3571, 13.1246, 10.2184, 13.1246); mPath.cubicTo(8.07973, 13.1246, 6.22035, 11.5329, 5.89418, 9.42348); mPath.cubicTo(5.84144, 9.08168, 5.52113, 8.84926, 5.18129, 8.90199); mPath.cubicTo(4.83949, 8.95473, 4.60707, 9.27308, 4.6598, 9.61488); mPath.cubicTo(5.05433, 12.1637, 7.08168, 14.0641, 9.5934, 14.3375); mPath.lineTo(9.5934, 16.2496); mPath.lineTo(7.7184, 16.2496); mPath.cubicTo(7.37269, 16.2496, 7.0934, 16.5289, 7.0934, 16.8746); mPath.cubicTo(7.0934, 17.2204, 7.37269, 17.4996, 7.7184, 17.4996); mPath.lineTo(12.7184, 17.4996); mPath.cubicTo(13.0641, 17.4996, 13.3434, 17.2204, 13.3434, 16.8746); mPath.cubicTo(13.3434, 16.5289, 13.0641, 16.2496, 12.7184, 16.2496); mPath.lineTo(10.8434, 16.2496); mPath.lineTo(10.8434, 14.3375); mPath.cubicTo(13.3532, 14.0641, 15.3825, 12.1657, 15.777, 9.61683); mPath.close(); return mPath; } }