extend static method

TransformationData extend({
  1. int? top = 10,
  2. int? left = 10,
  3. int? bottom = 10,
  4. int? right = 10,
  5. String? background = "000000",
  6. Bordertype? borderptype = Bordertype.constant,
  7. double? dpr = 1,
})

Basic Transformations

@param top Top (Default: 10)

@param left Left (Default: 10)

@param bottom Bottom (Default: 10)

@param right Right (Default: 10)

@param background Background (Default: 000000)

@param borderptype Border type (Default: constant)

@param dpr Dpr (Default: 1)

@return The generated TransformationData.

Implementation

static TransformationData extend(
    {int? top = 10,
    int? left = 10,
    int? bottom = 10,
    int? right = 10,
    String? background = "000000",
    Bordertype? borderptype = Bordertype.constant,
    double? dpr = 1}) {
  // Call the generated class method
  return Extend()
      .extend(top, left, bottom, right, background, borderptype, dpr);
}