YJImageTextWidget constructor

const YJImageTextWidget(
  1. String imageName,
  2. String text, {
  3. double height = 90,
  4. double width = 70,
  5. BoxFit fit = BoxFit.cover,
  6. TextStyle textStyle = const TextStyle(color: Colors.black, fontSize: 16),
  7. int redCount = 0,
  8. double imageHeight = 50,
  9. double imageWidth = 50,
  10. YJClickCallBack? clickCallBack,
  11. ImageDirection imageDirection = ImageDirection.TOP,
  12. 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});