Created
June 22, 2021 12:49
-
-
Save enginebai/234732cd0788bbae834ca7772e27d236 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Label.text( | |
{Key? key, | |
required this.labelText, | |
this.textColor = Colors.black, | |
this.textSize = _textSize}) | |
: assert(labelText.isNotEmpty), | |
this.backgroundColor = Colors.transparent, | |
this.strokeColor = Colors.transparent, | |
this.strokeWidth = 0.0, | |
super(key: key); | |
Label.stroke( | |
{Key? key, | |
required this.labelText, | |
this.textColor = Colors.black, | |
this.textSize = _textSize, | |
this.strokeColor = Colors.black, | |
this.strokeWidth = _strokeWidth}) | |
: assert(labelText.isNotEmpty), | |
this.backgroundColor = Colors.transparent, | |
super(key: key); | |
Label.filled( | |
{Key? key, | |
required this.labelText, | |
this.backgroundColor = Colors.black, | |
this.textColor = Colors.white, | |
this.textSize = _textSize}) | |
: assert(labelText.isNotEmpty), | |
this.strokeColor = Colors.transparent, | |
this.strokeWidth = 0.0, | |
super(key: key); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment