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

IconDataOutlined
IconData for a material symbols outlined icon from a supplied codepoint
IconDataRounded
IconData for a material symbols rounded icon from a supplied codepoint
IconDataSharp
IconData for a material symbols sharp icon from a supplied codepoint
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).

Extensions

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.