padRight property

EdgeInsets get padRight

Padding on the right.

Example:

Container(
  padding: 16.padRight, // Adds padding of 16px from Right.
  child: Text("Hello Flutter"),
),

Implementation

EdgeInsets get padRight => EdgeInsets.only(right: toDouble());