flutter_weather_icons 1.0.2

  • Readme
  • Changelog
  • Example
  • Installing
  • 73

header

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

Icon Preview

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.daySunny),
      onPressed: () {
          print("Weather Icon Pressed! It's Sunny");
      }
     );
  }
}

Example #

View the Flutter app in the example directory.

Screenshot #

screenshot

Developers #

Made with ❤️ by Rishi Banerjee and Nikhil Anand

1.0.2 #

  • Update
    • Fixed font asset directory

1.0.1 #

  • Update
    • Documentation refactor

1.0.0 #

  • New features
    • Added support for icons
      • Nighttime
      • Neutral
      • Miscellaneous
      • Moon Phases
      • Wind Degree
      • Wind Cardinal

0.0.7 #

  • Update
    • Added support for icons
      • Time
      • Beaufort Wind Scale
      • Directional Arrows
      • Daytime

0.0.6 #

  • Update
    • Minor Fixes and refactoring

0.0.5 #

  • Update
    • Updated instructions and added banner

0.0.4 #

  • Update
    • Author Changed

0.0.3 #

  • Update
    • Bug Fixes

0.0.2 #

  • New features
    • Weather v2.0.10 icons
    • Androidx Compatible
    • Supports iOS
    • Added support for icons
      • Daytime

example/README.md

Weather Icons Demo #

Showcases a gridview consisting of all the 222 awesome icons

Installation #

In the root directory run

flutter pub get

This will fetch all the dependencies for this project

Run #

In the root directory run

flutter run --release

This will execute the project in release mode

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_weather_icons: ^1.0.2

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_weather_icons/flutter_weather_icons.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
46
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
73
Learn more about scoring.

We analyzed this package on Oct 16, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.4

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

286 out of 286 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test
recase ^2.0.1