mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-29 10:50:27 +02:00
24 lines
904 B
Dart
24 lines
904 B
Dart
|
import 'package:flutter/widgets.dart';
|
||
|
import 'package:flutter_svg/flutter_svg.dart';
|
||
|
|
||
|
class CursorPointer extends StatelessWidget {
|
||
|
final Color? color;
|
||
|
final double? width;
|
||
|
final double? height;
|
||
|
|
||
|
const CursorPointer({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 fill-rule="evenodd" clip-rule="evenodd" d="M19.5027 9.96958C20.7073 10.4588 20.6154 12.1941 19.3658 12.5533L13.0605 14.3658L10.1807 20.2606C9.60996 21.4288 7.88499 21.218 7.6124 19.9468L4.67677 6.25646C4.44638 5.18204 5.5121 4.2878 6.53019 4.70126L19.5027 9.96958Z" stroke="currentColor" stroke-width="1.5"/>
|
||
|
</svg>
|
||
|
''',
|
||
|
color: color,
|
||
|
width: width,
|
||
|
height: height,
|
||
|
);
|
||
|
}
|