BoxImageTitle constructor
const
BoxImageTitle({
- Key? key,
- ImageProvider<
Object> ? image, - ImageProvider<
Object> ? defaultImage, - VoidCallback? onPressed,
- required double width,
- Color? backgroundColor,
- Color textColor = Colors.black,
- bool isEnabled = true,
- String text = "Title",
- 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,
});