BorderSegment constructor

BorderSegment({
  1. double initialSize = 220.0,
  2. double heightFactor = 0.6,
  3. BorderSegmentAlignment? alignment,
  4. double position = 0,
  5. required Color color,
})

Implementation

BorderSegment({
  this.initialSize = 220.0,
  this.heightFactor = 0.6,
  this.alignment,
  double position = 0,
  required this.color,
}) {
  this.position = position.abs();
}