CircularButton constructor

const CircularButton({
  1. Key? key,
  2. required IconData icon,
  3. required double size,
  4. required Color color,
  5. required double index,
  6. required bool isNotGreyed,
  7. void onTap()?,
  8. bool viewOnly = false,
})

Implementation

const CircularButton({
  super.key,
  required this.icon,
  required this.size,
  required this.color,
  required this.index,
  required this.isNotGreyed,
  this.onTap,
  this.viewOnly = false,
});