Creates a piece of material.
Source
Material({
Key key,
this.type: MaterialType.canvas,
this.elevation: 0,
this.color,
this.textStyle,
this.borderRadius,
this.child
}) : super(key: key) {
assert(type != null);
assert(elevation != null);
assert(type != MaterialType.circle || borderRadius == null);
}