mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-29 10:50:27 +02:00
26 lines
1,016 B
Dart
26 lines
1,016 B
Dart
|
import 'package:flutter/widgets.dart';
|
||
|
import 'package:flutter_svg/flutter_svg.dart';
|
||
|
|
||
|
class WarningTriangleOutline extends StatelessWidget {
|
||
|
final Color? color;
|
||
|
final double? width;
|
||
|
final double? height;
|
||
|
|
||
|
const WarningTriangleOutline({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="M20.0429 21H3.95705C2.41902 21 1.45658 19.3364 2.22324 18.0031L10.2662 4.01533C11.0352 2.67792 12.9648 2.67791 13.7338 4.01532L21.7768 18.0031C22.5434 19.3364 21.581 21 20.0429 21Z" stroke="currentColor" stroke-linecap="round"/>
|
||
|
<path d="M12 9V13" stroke="currentColor" stroke-linecap="round"/>
|
||
|
<path d="M12 17.01L12.01 16.9989" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
||
|
</svg>
|
||
|
''',
|
||
|
color: color,
|
||
|
width: width,
|
||
|
height: height,
|
||
|
);
|
||
|
}
|