Commit a111551b authored by Adam Barth's avatar Adam Barth Committed by GitHub

Document that Material clips (#8915)

Fixes #8519
parent 97816e15
...@@ -86,6 +86,10 @@ abstract class MaterialInkController { ...@@ -86,6 +86,10 @@ abstract class MaterialInkController {
/// [InkSplash] and [InkHighlight] effects. To trigger a reaction on the /// [InkSplash] and [InkHighlight] effects. To trigger a reaction on the
/// material, use a [MaterialInkController] obtained via [Material.of]. /// material, use a [MaterialInkController] obtained via [Material.of].
/// ///
/// If a material has a non-zero [elevation], then the material will clip its
/// contents because content that is conceptually printing on a separate piece
/// of material cannot be printed beyond the bounds of the material.
///
/// If the layout changes (e.g. because there's a list on the paper, and it's /// If the layout changes (e.g. because there's a list on the paper, and it's
/// been scrolled), a LayoutChangedNotification must be dispatched at the /// been scrolled), a LayoutChangedNotification must be dispatched at the
/// relevant subtree. (This in particular means that Transitions should not be /// relevant subtree. (This in particular means that Transitions should not be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment