YJImageTextWidget constructor
const
YJImageTextWidget(
- String imageName,
- String text, {
- double height = 90,
- double width = 70,
- BoxFit fit = BoxFit.cover,
- TextStyle textStyle = const TextStyle(color: Colors.black, fontSize: 16),
- int redCount = 0,
- double imageHeight = 50,
- double imageWidth = 50,
- YJClickCallBack? clickCallBack,
- ImageDirection imageDirection = ImageDirection.TOP,
- double spacing = 5,
Implementation
const YJImageTextWidget(this.imageName, this.text,
{this.height = 90,
this.width = 70,
this.fit = BoxFit.cover,
this.textStyle = const TextStyle(color: Colors.black, fontSize: 16),
this.redCount = 0,
this.imageHeight = 50,
this.imageWidth = 50,
this.clickCallBack,
this.imageDirection = ImageDirection.TOP,
this.spacing = 5});