MaterialSlice constructor Null safety
Creates a slice of Material that's mergeable within a MergeableMaterial.
Implementation
const MaterialSlice({
required LocalKey key,
required this.child,
this.color,
}) : assert(key != null),
super(key);