ButtonBuilder constructor

const ButtonBuilder({
  1. Key? key,
  2. String? imagePath,
  3. String? text,
  4. Color? color = Colors.white,
  5. Color? imageBackgroundColor,
  6. Color? textColor,
  7. double borderRadius = 0.0,
  8. required Function onPressed,
  9. double? width,
  10. double? height,
  11. bool mini = false,
})

Implementation

const ButtonBuilder({
  Key? key,
  this.imagePath,
  this.text,
  this.color = Colors.white,
  this.imageBackgroundColor,
  this.textColor,
  this.borderRadius = 0.0,
  required this.onPressed,
  this.width,
  this.height,
  this.mini = false,
}) : super(key: key);