Skip to content

oldlegacycode/fl_weather_icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e02b2e7 · May 16, 2024

History

28 Commits
May 16, 2024
Jul 16, 2019
Jul 16, 2019
May 16, 2024
May 16, 2024
Jul 16, 2019
Jul 16, 2019
Jul 16, 2019
Jul 17, 2019
May 16, 2024
May 16, 2024
May 16, 2024
May 16, 2024

Repository files navigation

header

fl_weather_icons v1.0.3

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:

fl_weather_icons: <latest_version>

Usage

import 'package:fl_weather_icons/fl_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