Legend constructor
const
Legend(})
Creates a Legend component.
childrenorchild: The title text for the fieldset.tag: The HTML tag for the root element, defaults to 'legend'.style: A list of LegendStyling instances for styling.- Other parameters are inherited from UiComponent.
Implementation
const Legend(
super.children, {
super.tag = 'legend',
List<LegendStyling>? style,
super.id,
super.classes,
super.css,
super.attributes,
super.eventHandlers,
super.child,
super.key,
}) : super(style: style);