CrossTarget constructor

const CrossTarget({
  1. Key? key,
  2. double size = 120,
  3. Color color = const Color(0xAAAA00FF),
  4. double strokeWidth = 2,
  5. double innerRing = 0.35,
  6. double outerRing = 0.70,
  7. double centerGap = 0.0,
})

Implementation

const CrossTarget({
  super.key,
  this.size = 120,
  this.color = const Color(0xAAAA00FF),
  this.strokeWidth = 2,
  this.innerRing = 0.35,
  this.outerRing = 0.70,
  this.centerGap = 0.0,
}) : assert(innerRing > 0 && outerRing > innerRing && outerRing <= 1);