Why this package exists
A weather icon catalog that ships as code, assets, and docs.
The package bundles the production Meteocons asset sets and gives Flutter apps a single API for resolving exact assets or mapping weather codes to sensible icon choices.
Weather-code mapper
Drive icons straight from forecast APIs.
Use
WeatherIcons.fromOpenMeteoCode(code, isDay: ...)
to map Open-Meteo and WMO weather codes into Meteocons slugs.
WeatherIcons.fromOpenMeteoCode(61)
Flutter snippets
const WeatherIcon(
icon: WeatherIcons.named('partly-cloudy-day'),
style: WeatherIconStyle.line,
format: WeatherIconFormat.svgAnimated,
size: 72,
)
final asset = WeatherIcons.named('wind').resolve(
style: WeatherIconStyle.line,
format: WeatherIconFormat.lottie,
);
final icon = WeatherIcons.fromOpenMeteoCode(
0,
isDay: true,
);
Weather-code reference
Official mapping used by the package.
This mirrors the mapper in the Flutter package so the docs and runtime behavior stay aligned.
Catalog
Browse every bundled icon.
Search across every bundled Meteocons slug, then check which asset families are available for that icon at a glance.