Button.with_label


Description:

public Button.with_label (string? text = null, Font? font = null)

Creates a new Button with a Label as the child.

Parameters:

text

The text for the Label.

font

The font to use for the widget or null to use the default font.