BoxImageTitle constructor

const BoxImageTitle({
  1. Key? key,
  2. ImageProvider<Object>? image,
  3. ImageProvider<Object>? defaultImage,
  4. VoidCallback? onPressed,
  5. required double width,
  6. Color? backgroundColor,
  7. Color textColor = Colors.black,
  8. bool isEnabled = true,
  9. String text = "Title",
  10. double borderRadius = 8.0,
})

Implementation

const BoxImageTitle({
  super.key,
  this.image,
  this.defaultImage,
  this.onPressed,
  required this.width,
  this.backgroundColor,
  this.textColor = Colors.black,
  this.isEnabled = true,
  this.text = "Title",
  this.borderRadius = 8.0,
});