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

28 lines
1.1 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class SendMail extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const SendMail({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="M9 9L13.5 12L18 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M3 13.5H5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M1 10.5H5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M5 7.5V7C5 5.89543 5.89543 5 7 5H20C21.1046 5 22 5.89543 22 7V17C22 18.1046 21.1046 19 20 19H7C5.89543 19 5 18.1046 5 17V16.5" stroke="currentColor" stroke-linecap="round"/>
</svg>
''',
colorFilter:
color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null,
width: width,
height: height,
);
}