IconGenerator class
A generator for creating icon fonts from Figma components.
This class handles the process of:
- Fetching icon components from Figma
- Downloading icon assets (SVG/PDF)
- Organizing files in the output directory
- Preparing files for icon font generation
Constructors
- IconGenerator(FigmaClient _client, String _nodeId, String _outputDir, bool _directSvg, bool _verbose)
- Creates a new IconGenerator instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generate(
) → Future< bool> - Generates icon assets and prepares files for font generation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited