Flutter SafeArea Widget | RRTutors

Flutter SafeArea Widget

A widget that insets its child by sufficient padding to avoid intrusions by

 the operating system


SafeArea is mainly used to ensure that the view will not be covered by system components, such as the status bar, etc

SafeArea Constructor is like below


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,