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

37 lines
2 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class Cpu extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const Cpu({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="M8 15.4V8.6C8 8.26863 8.26863 8 8.6 8H15.4C15.7314 8 16 8.26863 16 8.6V15.4C16 15.7314 15.7314 16 15.4 16H8.6C8.26863 16 8 15.7314 8 15.4Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20 4.6V19.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 4H19.4C19.7314 4 20 4.26863 20 4.6Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M17 4V2" 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"/>
<path d="M7 20V22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12 20V22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M17 20V22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20 17H22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20 12H22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20 7H22" 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"/>
</svg>
''',
color: color,
width: width,
height: height,
);
}