mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-07 16:32:26 +02:00
34 lines
1.8 KiB
Dart
34 lines
1.8 KiB
Dart
import 'package:flutter/widgets.dart';
|
|
import 'package:flutter_svg/flutter_svg.dart';
|
|
|
|
class VideoProjector extends StatelessWidget {
|
|
final Color? color;
|
|
final double? width;
|
|
final double? height;
|
|
|
|
const VideoProjector({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="M4 19H6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
<path d="M18 19H20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
<path d="M2 16.4V7.6C2 7.26863 2.26863 7 2.6 7H21.4C21.7314 7 22 7.26863 22 7.6V16.4C22 16.7314 21.7314 17 21.4 17H2.6C2.26863 17 2 16.7314 2 16.4Z" stroke="currentColor"/>
|
|
<path d="M5 10.01L5.01 9.99889" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
<path d="M8 10.01L8.01 9.99889" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
<path d="M11 10.01L11.01 9.99889" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
<path d="M5 14.01L5.01 13.9989" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
<path d="M8 14.01L8.01 13.9989" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
<path d="M11 14.01L11.01 13.9989" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
<path d="M17 14C18.1046 14 19 13.1046 19 12C19 10.8954 18.1046 10 17 10C15.8954 10 15 10.8954 15 12C15 13.1046 15.8954 14 17 14Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
</svg>
|
|
''',
|
|
colorFilter:
|
|
color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null,
|
|
width: width,
|
|
height: height,
|
|
);
|
|
}
|