What is it?
Class that helps on your screen’s components area. The
Safe Area guarantees that the elements from the screen stay visible to the user.
|top||Boolean||Enables a constraint of |
|bottom||Boolean||Enables a constraint de_|
|leading||Boolean||Enables a constraint de_|
|trailing||Boolean||Enables a constraint_|
How to use it?
child = Container( children = listOf( Text("Some Text") ) ), safeArea = SafeArea( top = true, leading = true, trailing = true, bottom = true ) )
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.