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

32 lines
1.4 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class BorderBl extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const BorderBl({Key? key, this.color, this.width, this.height})
: super(key: key);
@override
Widget build(BuildContext context) => SvgPicture.string(
'''
<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 4L4 20L20 20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20.01 16L19.9989 16.01" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20.01 12L19.9989 12.01" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20.01 8L19.9989 8.01" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20.01 4L19.9989 4.01" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8.01 4L7.99889 4.01" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12.01 4L11.9989 4.01" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M16.01 4L15.9989 4.01" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
colorFilter:
color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null,
width: width,
height: height,
);
}