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