CircleBorder constructor

const CircleBorder({
  1. BorderSide side = BorderSide.none,
  2. double eccentricity = 0.0,
})

Create a circle border.

Implementation

const CircleBorder({ super.side, this.eccentricity = 0.0 })
    : assert(eccentricity >= 0.0, 'The eccentricity argument $eccentricity is not greater than or equal to zero.'),
      assert(eccentricity <= 1.0, 'The eccentricity argument $eccentricity is not less than or equal to one.');