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

26 lines
1.2 KiB
Dart

import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
class GoogleOne extends StatelessWidget {
final Color? color;
final double? width;
final double? height;
const GoogleOne({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="M11 5V19C11 20.1046 11.8954 21 13 21C14.1046 21 15 20.1046 15 19L15 5C15 3.89543 14.1046 3 13 3C11.8954 3 11 3.89543 11 5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M11.6396 3.52916L6.74732 8.17181C5.94609 8.93214 5.91294 10.198 6.67328 10.9993C7.43361 11.8005 8.69951 11.8336 9.50074 11.0733L14.3931 6.43066C15.1943 5.67033 15.2274 4.40443 14.4671 3.6032C13.7068 2.80198 12.4409 2.76883 11.6396 3.52916Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
''',
colorFilter:
color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null,
width: width,
height: height,
);
}