Class SafeArea
Inheritance
SafeArea
Inherited Members
Namespace: Unity.UIWidgets.widgets
Syntax
public class SafeArea : StatelessWidget
Constructors
SafeArea(Key, Boolean, Boolean, Boolean, Boolean, EdgeInsets, Widget)
Declaration
public SafeArea(Key key = null, bool left = true, bool top = true, bool right = true, bool bottom = true, EdgeInsets mininum = null, Widget child = null)
Parameters
Type | Name | Description |
---|---|---|
Key | key | |
Boolean | left | |
Boolean | top | |
Boolean | right | |
Boolean | bottom | |
EdgeInsets | mininum | |
Widget | child |
Fields
bottom
Declaration
public readonly bool bottom
Field Value
Type | Description |
---|---|
Boolean |
child
Declaration
public readonly Widget child
Field Value
Type | Description |
---|---|
Widget |
left
Declaration
public readonly bool left
Field Value
Type | Description |
---|---|
Boolean |
minimum
Declaration
public readonly EdgeInsets minimum
Field Value
Type | Description |
---|---|
EdgeInsets |
right
Declaration
public readonly bool right
Field Value
Type | Description |
---|---|
Boolean |
top
Declaration
public readonly bool top
Field Value
Type | Description |
---|---|
Boolean |
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Type | Name | Description |
---|---|---|
BuildContext | context |
Returns
Type | Description |
---|---|
Widget |
Overrides
debugFillProperties(DiagnosticPropertiesBuilder)
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Type | Name | Description |
---|---|---|
DiagnosticPropertiesBuilder | properties |