Created
May 25, 2022 10:48
-
-
Save saiankit/738199cdc536232232282c33477b38a8 to your computer and use it in GitHub Desktop.
Text Styles - Screen Config
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
class ThemeStyles { | |
static TextStyle t8TextStyle = TextStyle( | |
fontSize: Converts.c8, | |
fontWeight: FontWeight.w700, | |
); | |
static TextStyle t12TextStyle = TextStyle( | |
fontSize: Converts.c12, | |
fontWeight: FontWeight.w700, | |
); | |
static TextStyle t16TextStyle = TextStyle( | |
fontSize: Converts.c16, | |
fontWeight: FontWeight.w700, | |
); | |
static TextStyle t20TextStyle = TextStyle( | |
fontSize: Converts.c20, | |
fontWeight: FontWeight.w700, | |
color: Colors.black, | |
); | |
static TextStyle t24TextStyle = TextStyle( | |
fontSize: Converts.c24, | |
fontWeight: FontWeight.w700, | |
); | |
static TextStyle t32TextStyle = TextStyle( | |
fontSize: Converts.c32, | |
fontWeight: FontWeight.w700, | |
); | |
static TextStyle t40TextStyle = TextStyle( | |
fontSize: Converts.c40, | |
fontWeight: FontWeight.w700, | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment