iconoir/packages/iconoir-flutter/lib/3_d_bridge.dart
2022-07-05 10:24:49 -04:00

28 lines
1.3 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class Svg3DBridge extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const Svg3DBridge({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="M18 4L21 4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M10 21C10.5523 21 11 20.5523 11 20C11 19.4477 10.5523 19 10 19C9.44772 19 9 19.4477 9 20C9 20.5523 9.44772 21 10 21Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M14 5C14.5523 5 15 4.55228 15 4C15 3.44772 14.5523 3 14 3C13.4477 3 13 3.44772 13 4C13 4.55228 13.4477 5 14 5Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M10 20C10 20 16.5 17.5 12 12C7.5 6.5 14 4 14 4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M3 20H6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
color: color,
width: width,
height: height,
);
}