-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #303 from its-me-abhishek/main
Added a global class to manage Font weights and Font sizes
- Loading branch information
Showing
27 changed files
with
182 additions
and
126 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class TaskWarriorFonts { | ||
// Font weights | ||
static const FontWeight thin = FontWeight.w100; | ||
static const FontWeight extraLight = FontWeight.w200; | ||
static const FontWeight light = FontWeight.w300; | ||
static const FontWeight regular = FontWeight.w400; | ||
static const FontWeight medium = FontWeight.w500; | ||
static const FontWeight semiBold = FontWeight.w600; | ||
static const FontWeight bold = FontWeight.w700; | ||
static const FontWeight extraBold = FontWeight.w800; | ||
static const FontWeight black = FontWeight.w900; | ||
|
||
// Font sizes | ||
static const double fontSizeSmall = 12.0; | ||
static const double fontSizeMedium = 16.0; | ||
static const double fontSizeLarge = 20.0; | ||
static const double fontSizeExtraLarge = 24.0; | ||
} |
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
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
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
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
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
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
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
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
Oops, something went wrong.