Label constructor
Creates a new Label with the provided text and textStyle
.
Implementation
Label(this._text, {
TextStyle textStyle,
TextAlign textAlign
}) : _textStyle = textStyle ?? const TextStyle(),
textAlign = textAlign ?? TextAlign.left;