ButttonWithIcon constructor

const ButttonWithIcon({
  1. Key? key,
  2. required String title,
  3. required Function onPressed,
  4. Color? buttonColor,
  5. required IconData icon,
  6. Color? color,
})

Implementation

const ButttonWithIcon(
    {Key? key,
    required this.title,
    required this.onPressed,
    this.buttonColor,
    required this.icon,
    this.color})
    : super(key: key);