-
Notifications
You must be signed in to change notification settings - Fork 298
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 #68 from edTheGuy00/refactoring
[WIP] Refactoring - Move out default styles
- Loading branch information
Showing
2 changed files
with
72 additions
and
71 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
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,48 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
const TextStyle defaultHeaderTextStyle = const TextStyle( | ||
fontSize: 20.0, | ||
color: Colors.blue, | ||
); | ||
const TextStyle defaultPrevDaysTextStyle = const TextStyle( | ||
color: Colors.grey, | ||
fontSize: 14.0, | ||
); | ||
const TextStyle defaultNextDaysTextStyle = const TextStyle( | ||
color: Colors.grey, | ||
fontSize: 14.0, | ||
); | ||
const TextStyle defaultDaysTextStyle = const TextStyle( | ||
color: Colors.black, | ||
fontSize: 14.0, | ||
); | ||
const TextStyle defaultTodayTextStyle = const TextStyle( | ||
color: Colors.white, | ||
fontSize: 14.0, | ||
); | ||
const TextStyle defaultSelectedDayTextStyle = const TextStyle( | ||
color: Colors.white, | ||
fontSize: 14.0, | ||
); | ||
const TextStyle defaultWeekdayTextStyle = const TextStyle( | ||
color: Colors.deepOrange, | ||
fontSize: 14.0, | ||
); | ||
const TextStyle defaultWeekendTextStyle = const TextStyle( | ||
color: Colors.pinkAccent, | ||
fontSize: 14.0, | ||
); | ||
const TextStyle defaultInactiveDaysTextStyle = const TextStyle( | ||
color: Colors.black38, | ||
fontSize: 14.0, | ||
); | ||
final TextStyle defaultInactiveWeekendTextStyle = TextStyle( | ||
color: Colors.pinkAccent.withOpacity(0.6), | ||
fontSize: 14.0, | ||
); | ||
final Widget defaultMarkedDateWidget = Container( | ||
margin: EdgeInsets.symmetric(horizontal: 1.0), | ||
color: Colors.blueAccent, | ||
height: 4.0, | ||
width: 4.0, | ||
); |