Label constructor
Creates a Label.
Parameters:
child(Widget, required): Main label content.leading(Widget?, optional): Leading widget.trailing(Widget?, optional): Trailing widget.
Implementation
const Label({
super.key,
this.leading,
required this.child,
this.trailing,
});