Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rshrc/flutter_weather_icons
Flutter package for Weather Icons
https://github.com/rshrc/flutter_weather_icons
dart flutter icons package
Last synced: 9 days ago
JSON representation
Flutter package for Weather Icons
- Host: GitHub
- URL: https://github.com/rshrc/flutter_weather_icons
- Owner: rshrc
- License: mit
- Created: 2019-07-16T01:58:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-19T00:55:08.000Z (over 5 years ago)
- Last Synced: 2024-10-12T06:49:10.640Z (25 days ago)
- Topics: dart, flutter, icons, package
- Language: Dart
- Homepage: https://pub.dev/packages/flutter_weather_icons
- Size: 553 KB
- Stars: 34
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
![header](github_assets/header.jpg)
# flutter_weather_icons _v1.0.2_
![Pub Version](https://img.shields.io/pub/v/flutter_weather_icons.svg)
![Issues](https://img.shields.io/github/issues/rshrc/flutter_weather_icons.svg)
![GitHub forks](https://img.shields.io/github/forks/rshrc/flutter_weather_icons.svg)
![License](https://img.shields.io/github/license/rshrc/flutter_weather_icons.svg?color=red)
![Github Stars](https://img.shields.io/github/stars/rshrc/flutter_weather_icons.svg?style=social)
![Twitter](https://img.shields.io/twitter/url/https/github.com%2Frshrc%2Fflutter_weather_icons.svg)## [See Catalog](https://erikflowers.github.io/weather-icons/)
### _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 => wiDaySprinklewi-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](https://github.com/erikflowers/weather-icons) made by [Erik Flowers](https://github.com/erikflowers)
Find it at at [pub.dartlang.org](https://pub.dev/packages/flutter_weather_icons)
![Icon Preview](https://i.imgur.com/XmZW2q3.png)
## Installation
In the dependencies: section of your pubspec.yaml, add the following line:
`flutter_weather_icons: `
## Usage
```dart
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
![screenshot](github_assets/screenshot.jpg)
## Developers
_Made with ❤️ by [Rishi Banerjee](https://github.com/rshrc) and [Nikhil Anand](https://github.com/muj-programmer)_