CircleButton constructor

const CircleButton({
  1. Key? key,
  2. required Icon icon,
  3. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
  4. Color? color,
  5. void onPressed()?,
  6. Color? splashColor,
})

Implementation

const CircleButton({
  Key? key,
  required this.icon,
  this.padding = const EdgeInsets.all(8.0),
  this.color,
  this.onPressed,
  this.splashColor,
}) : super(key: key);