ImageButton constructor

const ImageButton({
  1. Key? key,
  2. required ImageProvider<Object> image,
  3. required double width,
  4. required double height,
  5. required VoidCallback onPressed,
  6. required String text,
})

Implementation

const ImageButton({
  super.key,
  required this.image,
  required this.width,
  required this.height,
  required this.onPressed,
  required this.text,
});