padding property

double padding
final

The padding to be applied around the child. If animatedOverflowDirection is AnimatedOverflowDirection.VERTICAL, this padding is applied around the top and the bottom of the child. Else, it is applied around the left and the right of the child. The stops of the LinearGradient are also determined by this value.

Implementation

final double padding;