LabelImage constructor
const
LabelImage({
- Key? key,
- required String imageUrl,
- required List<
LabelItem> labels, - required GlobalKey<
ExtendedImageSlidePageState> slidePageKey, - TextStyle? textStyle,
- TextScaler? textScaler = TextScaler.noScaling,
- Axis labelDirection = Axis.vertical,
- BoxBorder? labelBorder,
- EdgeInsets? labelPadding,
- double? width,
- double? height,
- BoxFit? fit,
- bool enableSlideOutPage = false,
- 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,
});