PokeBallWidget constructor

PokeBallWidget({
  1. Key? key,
  2. required Color color,
  3. double? opacity,
  4. CustomPainter? foregroundPainter,
  5. Size size = Size.zero,
  6. bool isComplex = false,
  7. bool willChange = false,
  8. Widget? child,
})

Implementation

PokeBallWidget(
    {Key? key,
    required this.color,
    this.opacity,
    this.foregroundPainter,
    this.size = Size.zero,
    this.isComplex = false,
    this.willChange = false,
    this.child})
    : super(key: key);