SafeArea
2020-08-19 本文已影响0人
不二客
SafeArea
一种小部件,通过足够的填充插入子控件,以避免操作系统的入侵。
const SafeArea({
Key key,
this.left = true, //避免左边的系统入侵。
this.top = true,
this.right = true,
this.bottom = true,
this.minimum = EdgeInsets.zero, //要应用的最小填充。
this.maintainBottomViewPadding = false,
@required this.child,
})