CircleButton constructor

const CircleButton({
  1. Key? key,
  2. String text = "",
  3. required Function onPressed,
  4. double? width,
  5. double? height,
  6. Color? color,
  7. Color? textColor,
  8. IconData? icon,
  9. double? iconSize,
  10. Color? iconColor,
  11. ValueNotifier<BoxShadow>? shadow,
})

Creates a CircleButton widget.

The onPressed parameter must not be null.

Implementation

const CircleButton({
  super.key,
  super.text,
  required super.onPressed,
  super.width,
  super.height,
  super.color,
  super.textColor,
  super.icon,
  super.iconSize,
  super.iconColor,
  super.shadow,
});