flutty_solar_icons 1.0.4 copy "flutty_solar_icons: ^1.0.4" to clipboard
flutty_solar_icons: ^1.0.4 copied to clipboard

Solar icon pack for Flutter by FluttyUI with 6 weights and multi-layer duotone support.

FluttySolarIcons #

flutty_solar_icons is a Flutter icon package generated from SVG sources.
Flutter port created by FluttyUI.

It provides 1246 icons across 6 weights:

  • bold
  • broken
  • linear
  • outline
  • boldDuotone
  • lineDuotone

The API is designed for direct use in widgets and keeps icon access flat (SolarIcons.*), while the showcase app can still group by category.

Installation #

Add the dependency:

dependencies:
  flutty_solar_icons: ^1.0.4

Then run:

flutter pub get

Basic usage #

import 'package:flutty_solar_icons/solar_icons_flutter.dart';

SolarIcon(
  SolarIcons.Person,
  weight: SolarIconWeight.linear,
  color: Colors.blue,
  size: 24,
)

Duotone and multi-layer usage #

Use only color and optional secondaryColor.

Layer behavior:

  • Layer 1 uses color.
  • Layer 2 uses secondaryColor or color.withAlpha(128) if secondaryColor is not provided.
  • Layer 3 uses:
    • secondaryColor.withAlpha(64) if secondaryColor is provided.
    • otherwise color.withAlpha(64).
  • Layer 4 uses:
    • secondaryColor.withAlpha(32) if secondaryColor is provided.
    • otherwise color.withAlpha(32).
SolarIcon(
  SolarIcons.Leaf,
  weight: SolarIconWeight.lineDuotone,
  color: const Color(0xFF1E293B),
  secondaryColor: const Color(0xFFF97316),
  size: 28,
)

For non-duotone weights, only color is used.

API #

  • SolarIcon widget
  • SolarIcons icon constants
  • SolarIconWeight enum
  • SolarIconData

Example #

A runnable example is included in /example.

License #

MIT License. See LICENSE.

0
likes
150
points
182
downloads

Publisher

unverified uploader

Weekly Downloads

Solar icon pack for Flutter by FluttyUI with 6 weights and multi-layer duotone support.

Homepage
Repository (GitHub)
View/report issues

Topics

#icons #flutter #ui #duotone #design-system

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutty_solar_icons