FontSource enum

FontSource defines where is stored the font

Inheritance
Available extensions
Annotations
  • @JsonEnum.new(alwaysCreate: true)

Values

google → const FontSource

google is stored in google fonts, check out google_fonts package

local → const FontSource

local is stored in the local assets

uri → const FontSource

uri is stored in a remote server

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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
toJson() String
toJson returns the string representation of the enum value.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(String json) FontSource
fromJson returns the enum value from a string representation.

Constants

values → const List<FontSource>
A constant List of the values in this enum, in order of their declaration.