LabelConfiguration constructor
const
LabelConfiguration({
- bool useCustomLabel = true,
- bool showDefaultLabel = false,
- Color backgroundColor = Colors.black,
- TextStyle textStyle = const TextStyle(fontSize: 12.0, color: Colors.white),
- double? verticalOffset,
- double horizontalTextOffset = 0,
- double width = 40,
- double height = 24,
- double radius = 5,
- String? imagePath,
- double imageHorizontalOffset = 0,
Implementation
const LabelConfiguration({
this.useCustomLabel = true,
this.showDefaultLabel = false,
this.backgroundColor = Colors.black,
this.textStyle = const TextStyle(fontSize: 12.0, color: Colors.white),
this.verticalOffset,
this.horizontalTextOffset = 0,
this.width = 40,
this.height = 24,
this.radius = 5,
this.imagePath,
this.imageHorizontalOffset = 0,
});