symbols library Symbols

All three Material Symbols icon styles within Symbols - The outline versions have no suffix and the sharp and rounded versions of each icon have the style as a suffix to the icon name. The outlined style versions are accessed via Symbols.iconname. The sharp and rounded styles are accessed via Symbols.iconname_style, for example Symbols.circle_sharp or Symbols.circle_rounded.

import 'package:material_symbols_icons/symbols.dart';

Classes

IconVariationDefaults
Class to store our icon variation defaults which we allow to be stored by font family name, so that there can be different defaults for different icon font families.
MaterialSymbolsBase
The Symbols class derivces from this class and contains references to all of the symbols.
Symbols
Access icons using Symbols.iconname for the outlined version, or Symbols.iconname_style for the rounded and sharp versions of each icon (with _style appended to the identifiers).

Enums

TwoToneVariation
TwoToneVariation - Note: having a fill property=1.0 will reverse this

Extensions

TwoToneIcon on Icon
This extension creates a two-tone icon using a stack of two icons, each with different colors and fill variations.
VariedIcon on Icon
Extension to Icon that creates icons are varied by any defaults you have set using MaterialSymbolsBase.setOutlinedVariationDefaults, MaterialSymbolsBase.setRoundedVariationDefaults or MaterialSymbolsBase.setSharpVariationDefaults first and then using the IconTheme's IconThemeData secondarily. This allows different variation defaults for regular, rounded and sharp versions of the Material Symbols icons.