padding property Null safety
read / write
The distance to place around the text.
This is intended to ensure that if the RenderErrorBox is placed at the top left of the screen, under the system's status bar, the error text is still visible in the area below the status bar.
The padding is ignored if the error box is smaller than the padding.
See also:
- minimumWidth, which controls how wide the box must be before the horizontal padding is applied.
Implementation
static EdgeInsets padding = const EdgeInsets.fromLTRB(64.0, 96.0, 64.0, 12.0);