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

26 lines
1.1 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class MissingFont extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const MissingFont({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="M3.46875 18.3744L4.53321 16.0325M14.1134 18.3744L13.0489 16.0325M13.0489 16.0325L8.79105 6.66528L4.53321 16.0325M13.0489 16.0325H4.53321" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M15.1777 8.79421C15.1777 5.06857 21.0323 5.0686 21.0323 8.79421C21.0323 11.4554 18.3711 10.9231 18.3711 14.1164" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M18.3711 18.385L18.3817 18.3732" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
color: color,
width: width,
height: height,
);
}