UtilParams class

(en) A utility to convert parameters appropriately when parsing SpWML.

(ja) SpWMLをパースする時、パラメータを適切に変換するためのユーティリティ。

Constructors

UtilParams()

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

convertColor(String color, int lineStart, int lineEnd, SpWMLInfo? info) Color?
ARGB or material parameter to Color
convertCrossAxisAlign(String s, int lineStart, int lineEnd, SpWMLInfo? info) CrossAxisAlignment
  • s : Alignment text.
  • lineStart : line info for the Error handling.
  • lineEnd : line info for the Error handling.
  • info : SpWML info.
  • convertMainAxisAlign(String s, int lineStart, int lineEnd, SpWMLInfo? info) MainAxisAlignment
  • s : Alignment text.
  • lineStart : line info for the Error handling.
  • lineEnd : line info for the Error handling.
  • info : SpWML info.
  • convertWrapAlign(String s, int lineStart, int lineEnd, SpWMLInfo? info) WrapAlignment
  • s : Alignment text.
  • lineStart : line info for the Error handling.
  • lineEnd : line info for the Error handling.
  • info : SpWML info.
  • Constants

    escape → const String
    escape code