iconoir/packages/iconoir-flutter/lib/cpu_warning.dart
2022-07-05 10:24:49 -04:00

36 lines
1.9 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class CpuWarning extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const CpuWarning({Key? key, this.color, this.width, this.height})
: super(key: key);
@override
Widget build(BuildContext context) => SvgPicture.string(
'''
<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 2L19 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M19 10.01L19.01 9.99889" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M16 14V15.4C16 15.7314 15.7314 16 15.4 16H8.6C8.26863 16 8 15.7314 8 15.4V8.6C8 8.26863 8.26863 8 8.6 8H14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20 14V19.4C20 19.7314 19.7314 20 19.4 20H4.6C4.26863 20 4 19.7314 4 19.4V4.6C4 4.26863 4.26863 4 4.6 4H14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20 17H22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M17 20V22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12 20V22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7 20V22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M4 17H2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M4 12H2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M4 7H2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12 4V2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7 4V2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
color: color,
width: width,
height: height,
);
}