SpWMLFontStyle class

(en) Font settings assigned to individual elements for SpWML font style version 3. (ja) SpWMLのフォントスタイルバージョン3に関して、個別の要素に割り当てられるフォントの設定です。

Author Masahide Mori

First edition creation date 2023-04-15 18:18:13

Constructors

SpWMLFontStyle({Map<EnumSpWMLElementType, SpWMLFontStyleParams>? overrideMap, bool useV2MaterialStyle = false, bool isBtnColorModeV3 = false})
Constructor
SpWMLFontStyle.copy(Map<EnumSpWMLElementType, SpWMLFontStyleParams> styleMap, {bool useV2MaterialStyle = false, bool isBtnColorModeV3 = false})
(en) Constructor for use internal of deepCopy. Set the argument directly to the class. (ja) deepCopy の内部で使用するコンストラクター。 引数を直接クラスに設定します。

Properties

hashCode int
The hash code for this object.
no setterinherited
isBtnColorModeV3 bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleMap Map<EnumSpWMLElementType, SpWMLFontStyleParams>
getter/setter pair
useV2MaterialStyle bool
getter/setter pair

Methods

deepCopy() SpWMLFontStyle
Get a deepCopy of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDict() Map<String, dynamic>
Convert this object to a map.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromDict(Map<String, dynamic> src) SpWMLFontStyle
Resume this object from map.

Constants

className → const String
version → const String