Skip to content

Instantly share code, notes, and snippets.

@saiankit
Created May 25, 2022 10:48
Show Gist options
  • Save saiankit/738199cdc536232232282c33477b38a8 to your computer and use it in GitHub Desktop.
Save saiankit/738199cdc536232232282c33477b38a8 to your computer and use it in GitHub Desktop.
Text Styles - Screen Config
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