Sp3dMaterial class Null safety

(en) Flutter implementation of Sp3dMaterial. Sp3dMaterial is a class used in Sp3dObj that handles information such as colors.

(ja) Sp3dMaterialのflutter実装です。 Sp3dMaterialはSp3dObj内で使用される、色などの情報を扱うクラスです。

Author Masahide Mori

First edition creation date 2021-06-30 23:30:52

Constructors

Sp3dMaterial(Color bg, bool is_fill, double stroke_width, Color stroke_color, int? image_index, Map<String, dynamic>? option)
Constructor [...]

Properties

bg Color
read / write
class_name String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
image_index int?
read / write
is_fill bool
read / write
option Map<String, dynamic>?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stroke_color Color
read / write
stroke_width double
read / write
version String
final

Methods

deep_copy() Sp3dMaterial
Convert the object to a dictionary.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
to_dict() Map<String, dynamic>
Convert the object to a dictionary.
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

from_dict(Map<String, dynamic> src) Sp3dMaterial
Restore this object from the dictionary. [...]