overlayPadding method
- String overlayPadding
You can either specify all the four padding values (top, right, bottom, and left) or combine two or more values
Example:
final stack = contentstack.Stack(apiKey, deliveryToken, environment);
final imageTransformation = stack.imageTransform(imageUrl);
final response = await imageTransformation.
addPadding("25,50,75,100").fetch();
Implementation
// top, right, bottom, left
///
/// Example:
///
/// ```dart
/// final stack = contentstack.Stack(apiKey, deliveryToken, environment);
/// final imageTransformation = stack.imageTransform(imageUrl);
/// final response = await imageTransformation.
/// addPadding("25,50,75,100").fetch();
/// ```
void overlayPadding(String overlayPadding) {
query.append('overlay-pad', overlayPadding);
}