Skip to content

Instantly share code, notes, and snippets.

@saiankit
Created May 25, 2022 10:48
Show Gist options
  • Select an option

  • Save saiankit/738199cdc536232232282c33477b38a8 to your computer and use it in GitHub Desktop.

Select an option

Save saiankit/738199cdc536232232282c33477b38a8 to your computer and use it in GitHub Desktop.

Revisions

  1. saiankit created this gist May 25, 2022.
    31 changes: 31 additions & 0 deletions textstyles_screen_config.dart
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    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,
    );
    }