RoundedButtonWithIcons constructor

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

Creates a RoundedButtonWithIcons widget.

The icon parameter must not be null.

Implementation

const RoundedButtonWithIcons(
  this.icon, {
  super.key,
  required super.text,
  required super.onPressed,
  super.width,
  super.height,
  super.color,
  super.textColor,
  this.iconSize = 24,
  this.iconColor,
  super.shadow,
}) : super(icon: icon, iconSize: iconSize, iconColor: iconColor);