iconoir/packages/iconoir-flutter/lib/contactless.dart
2023-03-26 12:41:44 +00:00

28 lines
1.1 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class Contactless extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const Contactless({Key? key, this.color, this.width, this.height})
: super(key: key);
@override
Widget build(BuildContext context) => SvgPicture.string(
'''
<svg width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15 21.5C19 16 19 8 15 2.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M11.5 20C15 15 15 9 11.5 4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8.5 18C11.1667 14.25 11.1667 9.75 8.5 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M5.5 16C7 13.5 7 10.5 5.5 8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
colorFilter:
color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null,
width: width,
height: height,
);
}