Labels constructor
const
Labels({})
Creates a new Labels instance.
The getLabelText function is required, while textAlign, padding,
offset, and style are optional parameters.
Implementation
const Labels({
required this.getLabelText,
this.textAlign = TextAlign.start,
this.padding = EdgeInsets.zero,
this.offset = 0,
this.style,
});