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

30 lines
1.3 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class NoSmoking extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const NoSmoking({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="M18 15V18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M18 11C18 10 17 9 15 9C14.6978 9 14.355 9 14.0002 9C12.3434 9 11 7.65685 11 6V2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M22 11C22 5 18 5 18 5C18 5 22 6 22 2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M22 15V18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M2.6 18H18L15 15H2.6C2.26863 15 2 15.2686 2 15.6V17.4C2 17.7314 2.26863 18 2.6 18Z" stroke="currentColor" stroke-width="1.5"/>
<path d="M3 3L21 21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
colorFilter:
color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null,
width: width,
height: height,
);
}