⚠️ You are viewing documentation for version: v1.6
Beagle v1.6 is no longer actively maintained. The documented version you are viewing may contain deprecated functionality. For up-to-date documentation, see the latest version .
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.