mirror of
https://github.com/janoodleFTW/timy-messenger.git
synced 2026-01-23 02:14:39 +00:00
Remove unused constant
- Fix deprecated code - Switch to master channel
This commit is contained in:
parent
3e706abbcc
commit
8c325aef88
4 changed files with 28 additions and 24 deletions
|
|
@ -326,9 +326,6 @@ class CalendarScreen extends StatelessWidget {
|
|||
|
||||
/// Private Styles
|
||||
class _Style {
|
||||
static const topSectionHeight =
|
||||
_Style.titleHeight + DrawerStyle.sectionPadding * 2;
|
||||
|
||||
static const pastItemOpacity = 0.6;
|
||||
static const defaultElementPadding = EdgeInsets.only(
|
||||
left: 4,
|
||||
|
|
|
|||
|
|
@ -15,5 +15,5 @@ class MessagesScrollController extends InheritedWidget {
|
|||
}
|
||||
|
||||
static MessagesScrollController of(BuildContext context) =>
|
||||
context.inheritFromWidgetOfExactType(MessagesScrollController);
|
||||
context.dependOnInheritedWidgetOfExactType<MessagesScrollController>();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ class AppTheme {
|
|||
/// Calendar
|
||||
|
||||
static TextStyle get calendarDayTitle {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: colorDarkBlue,
|
||||
fontSize: 16,
|
||||
fontFamily: fontFamilyEdmondsansBold,
|
||||
|
|
@ -50,7 +50,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get calendarListEventName {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: colorDarkBlue,
|
||||
fontSize: 16,
|
||||
fontFamily: fontFamilyEdmondsansMedium,
|
||||
|
|
@ -58,7 +58,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get calendarListGroupName {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: colorDarkBlue.withAlpha(150),
|
||||
fontSize: 16,
|
||||
fontFamily: fontFamilyEdmondsansMedium,
|
||||
|
|
@ -66,7 +66,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get calendarListTime {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: Colors.white,
|
||||
fontSize: 12,
|
||||
fontFamily: fontFamilyEdmondsansMedium,
|
||||
|
|
@ -76,7 +76,7 @@ class AppTheme {
|
|||
///
|
||||
|
||||
static TextStyle get eventIconMemberTitle {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: Colors.white,
|
||||
fontSize: 11,
|
||||
fontFamily: fontFamilyEdmondsansBold,
|
||||
|
|
@ -84,7 +84,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get eventIconTitle {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: colorDarkBlueFont,
|
||||
fontSize: 11,
|
||||
fontFamily: fontFamilyEdmondsansBold,
|
||||
|
|
@ -92,7 +92,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get eventIconMemberSubTitle {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: Colors.white,
|
||||
fontSize: 8,
|
||||
height: 0.7,
|
||||
|
|
@ -101,7 +101,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get eventIconSubTitle {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: colorDarkBlueFont,
|
||||
fontSize: 8,
|
||||
height: 0.7,
|
||||
|
|
@ -110,7 +110,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get channelTitle {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: Colors.black,
|
||||
fontSize: 16,
|
||||
fontFamily: fontFamilyEdmondsansBold,
|
||||
|
|
@ -134,7 +134,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get circleTitle {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: colorDarkBlueFont,
|
||||
fontSize: 24,
|
||||
fontFamily: fontFamilyEdmondsansBold,
|
||||
|
|
@ -142,7 +142,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get circleSectionButtonTitle {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: colorDarkBlueFont,
|
||||
fontSize: 16,
|
||||
fontFamily: fontFamilyEdmondsansBold,
|
||||
|
|
@ -150,7 +150,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get circleSectionChannelTitle {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: colorDarkBlue,
|
||||
fontSize: 16,
|
||||
fontFamily: fontFamilyEdmondsansMedium,
|
||||
|
|
@ -158,7 +158,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get circleSectionTitle {
|
||||
return theme.textTheme.headline.copyWith(
|
||||
return theme.textTheme.headline5.copyWith(
|
||||
color: colorDarkBlueFont.withOpacity(0.4),
|
||||
fontSize: 12,
|
||||
letterSpacing: 1,
|
||||
|
|
@ -167,7 +167,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get notificationTitle {
|
||||
return theme.textTheme.body1.copyWith(
|
||||
return theme.textTheme.bodyText2.copyWith(
|
||||
color: Colors.white,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w800,
|
||||
|
|
@ -176,7 +176,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get notificationTime {
|
||||
return theme.textTheme.body1.copyWith(
|
||||
return theme.textTheme.bodyText2.copyWith(
|
||||
color: Colors.white,
|
||||
fontSize: 12,
|
||||
fontFamily: fontFamilyEdmondsansRegular,
|
||||
|
|
@ -184,7 +184,7 @@ class AppTheme {
|
|||
}
|
||||
|
||||
static TextStyle get notificationBody {
|
||||
return theme.textTheme.body1.copyWith(
|
||||
return theme.textTheme.bodyText2.copyWith(
|
||||
color: Colors.white,
|
||||
fontSize: 16,
|
||||
fontFamily: fontFamilyEdmondsansRegular,
|
||||
|
|
|
|||
15
pubspec.lock
15
pubspec.lock
|
|
@ -435,7 +435,7 @@ packages:
|
|||
name: intl
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.16.0"
|
||||
version: "0.16.1"
|
||||
io:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -736,21 +736,21 @@ packages:
|
|||
name: test
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.9.4"
|
||||
version: "1.12.0"
|
||||
test_api:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: test_api
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.2.11"
|
||||
version: "0.2.14"
|
||||
test_core:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: test_core
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.2.15"
|
||||
version: "0.3.0"
|
||||
timing:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -828,6 +828,13 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.0"
|
||||
webkit_inspection_protocol:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: webkit_inspection_protocol
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.5.0"
|
||||
xml:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue