ImageFont class abstract

  1. Download your font in .ttf format
  2. Convert the font to .fnt format using the following link: https://ttf2fnt.com/
  3. Use the converted font in the following method (zip or read Font)

Constructors

ImageFont()

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

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

Static Methods

readOtherFont(String font, Uint8List imgBytes) → BitmapFont
For unzip files (font is the .fnt file and imgBytes is the .png file)
readOtherFontZip(List<int> bytes) → BitmapFont
For zip files