FontClassGenerator class
Constructors
-
FontClassGenerator({required List<
GenericGlyph> glyphList, required String fontFileName, required String familyName, required String className, String? package}) -
glyphList
is a list of non-default glyphs.className
is generated class' name.familyName
is font's family name to use in IconData.package
is the name of a font package. Used to provide a font through package dependency.fontFileName
is font file's name. Used in generated docs for class.
Properties
- fontFileName → String
-
final
-
glyphList
→ List<
GenericGlyph> -
final
- 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(
) → String -
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