Button.WithText constructor

Button.WithText(
  1. String text
)

Implementation

factory Button.WithText(String text) => Button(WithText(text));