flutter_weather_icons
flutter_weather_icons copied to clipboard
Flutter package for Weather Icons
flutter_weather_icons v1.0.2
See Catalog
Important Note
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)
222 Weather Themed Icons for Flutter.
This flutter package allows you to use all of the Weather Icons made by Erik Flowers
Find it at at pub.dartlang.org
Installation
In the dependencies: section of your pubspec.yaml, add the following line:
flutter_weather_icons: <latest_version>
Usage
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");
}
);
}
}
Example
View the Flutter app in the example
directory.
Screenshot
Developers
Made with ❤️ by Rishi Banerjee and Nikhil Anand