ElTriangle constructor

const ElTriangle({
  1. Key? key,
  2. double size = 12,
  3. AxisDirection direction = AxisDirection.up,
  4. Color? color,
  5. double radius = 0,
  6. bool onlyRightAngle = false,
  7. bool rightTriangle = false,
})

Element UI 三角形小部件

Implementation

const ElTriangle({
  super.key,
  this.size = 12,
  this.direction = AxisDirection.up,
  this.color,
  this.radius = 0,
  this.onlyRightAngle = false,
  this.rightTriangle = false,
}) : assert(radius >= 0);