import 'package:flutter/widgets.dart'; import 'package:flutter_svg/flutter_svg.dart'; class Airplane extends StatelessWidget { final Color? color; final double? width; final double? height; const Airplane({Key? key, this.color, this.width, this.height}) : super(key: key); @override Widget build(BuildContext context) => SvgPicture.string( ''' ''', colorFilter: color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null, width: width, height: height, ); }