CameraProgressButton constructor

const CameraProgressButton({
  1. Key? key,
  2. required bool isAnimating,
  3. required double outerRadius,
  4. required double ringsWidth,
  5. Color ringsColor = wechatThemeColor,
  6. double progress = 0.0,
  7. Duration duration = const Duration(seconds: 15),
})

Implementation

const CameraProgressButton({
  Key? key,
  required this.isAnimating,
  required this.outerRadius,
  required this.ringsWidth,
  this.ringsColor = wechatThemeColor,
  this.progress = 0.0,
  this.duration = const Duration(seconds: 15),
}) : super(key: key);