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

25 lines
1 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class CreditCards extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const CreditCards({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="M22 11.4286V19.4C22 19.7314 21.7314 20 21.4 20H5.6C5.26863 20 5 19.7314 5 19.4V16.5M22 11.4286V8.6C22 8.26863 21.7314 8 21.4 8H19M22 11.4286H19" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M19 8V15.9C19 16.2314 18.7314 16.5 18.4 16.5H2.6C2.26863 16.5 2 16.2314 2 15.9V5.1C2 4.76863 2.26863 4.5 2.6 4.5H18.4C18.7314 4.5 19 4.76863 19 5.1V8ZM19 8H5.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
color: color,
width: width,
height: height,
);
}