LabelImage constructor

const LabelImage({
  1. Key? key,
  2. required String imageUrl,
  3. required List<LabelItem> labels,
  4. required GlobalKey<ExtendedImageSlidePageState> slidePageKey,
  5. TextStyle? textStyle,
  6. TextScaler? textScaler = TextScaler.noScaling,
  7. Axis labelDirection = Axis.vertical,
  8. BoxBorder? labelBorder,
  9. EdgeInsets? labelPadding,
  10. double? width,
  11. double? height,
  12. BoxFit? fit,
  13. bool enableSlideOutPage = false,
  14. String? heroTag,
})

Implementation

const LabelImage({
  super.key,
  required this.imageUrl,
  required this.labels,
  required this.slidePageKey,
  this.textStyle,
  this.textScaler = TextScaler.noScaling,
  this.labelDirection = Axis.vertical,
  this.labelBorder,
  this.labelPadding,
  this.width,
  this.height,
  this.fit,
  this.enableSlideOutPage = false,
  this.heroTag,
});