clone method

  1. @override
MeshStandardMaterial clone()
override

Return a new material with the same parameters as this material.

Implementation

@override
MeshStandardMaterial clone() {
  return MeshStandardMaterial(<MaterialProperty, dynamic>{}).copy(this);
}