flutter – What is the use of Material Widget?
The Material widget is responsible for:
Clipping: If clipBehavior is not Clip.none, Material clips
its widget sub-tree to the shape specified by shape, type,
and borderRadius. By default, clipBehavior is
Clip.none for performance considerations.
Elevation: Material elevates its widget sub-tree on the Z-axis by elevation pixels, and draws the appropriate shadow.
For more information about Material Widget go through this link.