Naming conventions have been changed for better readability and consistancy with all other flutter icon packs
To convert from the catalog simply follow this method
wi-day-sprinkle => wiDaySprinkle
wi-night-alt-cloudy-gusts => wiNightAltCloudyGusts
if still you face any problems have a look into the documentation (class WeatherIcons)
This flutter package allows you to use all of the Weather Icons made by Erik Flowers
Find it at at pub.dartlang.org
In the dependencies: section of your pubspec.yaml, add the following line:
flutter_weather_icons: <latest_version>
import 'package:flutter_weather_icons/flutter_weather_icons.dart';
class MyAwesomeWidget extends StatelessWidget {
Widget build(BuildContext context) {
return IconButton(
// Use the EvaIcons class for the IconData
icon: Icon(WeatherIcons.wiDaySunny),
onPressed: () {
print("Weather Icon Pressed! It's Sunny");
}
);
}
}
View the Flutter app in the example
directory.
Made with ❤️ by Rishi Banerjee and Nikhil Anand