iconoir/packages/iconoir-flutter/lib/dna.dart
2022-12-07 18:32:39 +00:00

29 lines
1.2 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class Dna extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const Dna({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 3C4 8.625 12 12 12 12C12 12 20 15.375 20 21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20 3C20 8.625 12 12 12 12C12 12 4 15.375 4 21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8 6L19 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8 18H19" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M11 9H16.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M11 15H16.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
color: color,
width: width,
height: height,
);
}