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

27 lines
978 B
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class Gas extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const Gas({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="M9 8C9 6.34315 10.3431 5 12 5V5C13.6569 5 15 6.34315 15 8V21.4C15 21.7314 14.7314 22 14.4 22H9.6C9.26863 22 9 21.7314 9 21.4V8Z" stroke="currentColor" stroke-linecap="round"/>
<path d="M9 11H15" stroke="currentColor" stroke-linecap="round"/>
<path d="M12 5V2M12 2H11M12 2H13" stroke="currentColor" stroke-linecap="round"/>
</svg>
''',
colorFilter:
color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null,
width: width,
height: height,
);
}