tExtend static method

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

Basic Transformations

  • top : top (Default: 10)

  • left : left (Default: 10)

  • bottom : bottom (Default: 10)

  • right : right (Default: 10)

  • background : background (Default: "000000")

  • borderType : TBorderType (Default: constant)

  • dpr : DPR (Default: 1)

Returns TransformationData.

Implementation

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