Created
August 24, 2020 19:00
-
-
Save kirshiyin89/c71bcb5a8b4f621c56438cb651335a7b to your computer and use it in GitHub Desktop.
TextStyle for service info.
This file contains 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
TextStyle _getStyleByServiceStatus(bool running) { | |
if (!running) { | |
return TextStyle(fontStyle: FontStyle.italic); | |
} | |
return TextStyle(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment