MBElevatedIconButton constructor

const MBElevatedIconButton({
  1. Key? key,
  2. double? elevation,
  3. double? roundness,
  4. Color? buttonColor,
  5. Color? textColor,
  6. required IconData icon,
  7. required String text,
  8. required dynamic onTapFunction()?,
})

Without icon,text and onTapFunction a MBElevatedButton doesn't exist.

Implementation

const MBElevatedIconButton({
  Key? key,
  this.elevation,
  this.roundness,
  this.buttonColor,
  this.textColor,
  required this.icon,
  required this.text,
  required this.onTapFunction,
}) : super(key: key);