TransformProperty constructor

TransformProperty(String name, Matrix4 value, { bool showName: true, Object defaultValue: kNoDefaultValue, DiagnosticLevel level: DiagnosticLevel.info })

Create a diagnostics property for Matrix4 objects.

The showName and level arguments must not be null.

Implementation

TransformProperty(String name, Matrix4 value, {
  bool showName = true,
  Object defaultValue = kNoDefaultValue,
  DiagnosticLevel level = DiagnosticLevel.info,
}) : assert(showName != null),
     assert(level != null),
     super(
       name,
       value,
       showName: showName,
       defaultValue: defaultValue,
       level: level,
     );