iconoir/packages/iconoir-flutter/lib/magnet_energy.dart
2023-03-20 13:33:01 -04:00

31 lines
1.4 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class MagnetEnergy extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const MagnetEnergy({Key? key, this.color, this.width, this.height})
: super(key: key);
@override
Widget build(BuildContext context) => SvgPicture.string(
'''
<svg width="24" stroke-width="1.5" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5 9V15.7407C5 19.1976 8.13401 22 12 22C15.866 22 19 19.1976 19 15.7407V9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M5 9H8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M16 9H19" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M14.0741 11.5V15.0606C14.0741 16.1317 13.1455 17 12 17C10.8545 17 9.9259 16.1317 9.9259 15.0606V11.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M10 13L5 13" stroke="currentColor" stroke-linejoin="round"/>
<path d="M19 13L14 13" stroke="currentColor" stroke-linejoin="round"/>
<path d="M11.6667 2L10 5H14L12.3333 8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
colorFilter:
color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null,
width: width,
height: height,
);
}