padding property

EdgeInsetsGeometry? padding
final

The amount of space by which to inset the tooltip's child.

On mobile, defaults to 16.0 logical pixels horizontally and 4.0 vertically. On desktop, defaults to 8.0 logical pixels horizontally and 4.0 vertically.

Implementation

final EdgeInsetsGeometry? padding;