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

31 lines
1.5 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class NumberedListLeft extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const NumberedListLeft({Key? key, this.color, this.width, this.height})
: super(key: key);
@override
Widget build(BuildContext context) => SvgPicture.string(
'''
<svg width="24" stroke-width="1.5" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9 6L20 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M5 8L5 4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M6 14L4.6 14C4.26863 14 4 13.7314 4 13.4L4 12.6C4 12.2686 4.26863 12 4.6 12L5.4 12C5.73137 12 6 11.7314 6 11.4L6 10.6C6 10.2686 5.73137 10 5.4 10L4 10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M4 16L5.4 16C5.73137 16 6 16.2686 6 16.6L6 19.4C6 19.7314 5.73137 20 5.4 20L4 20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M6 18L4 18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M9 12L20 12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M9 18L20 18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
colorFilter:
color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null,
width: width,
height: height,
);
}