Skip to content

Commit

Permalink
Fix problems
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisPhilippeHeon committed Nov 13, 2024
1 parent 2bdc689 commit 239919a
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 20 deletions.
4 changes: 2 additions & 2 deletions lib/features/schedule/schedule_default/schedule_default.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ class _ScheduleDefaultState extends State<ScheduleDefault> {
weekNumberBuilder: (date) => null,
headerStyle: const HeaderStyle(
headerTextStyle: TextStyle(fontSize: 0),
leftIconVisible: false,
rightIconVisible: false,
leftIconConfig: null,
rightIconConfig: null,
decoration: BoxDecoration(color: Colors.transparent)),
heightPerMinute: heightPerMinute,
eventTileBuilder: (date, events, boundary, startDuration, endDuration) =>
Expand Down
42 changes: 25 additions & 17 deletions lib/features/schedule/schedule_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -238,15 +238,19 @@ class _ScheduleViewState extends State<ScheduleView>
decoration: BoxDecoration(
color: backgroundColor,
),
leftIcon: Icon(
Icons.chevron_left,
size: 30,
color: chevronColor,
leftIconConfig: calendar_view.IconDataConfig(
icon: (context) => Icon(
Icons.chevron_left,
size: 30,
color: chevronColor
),
),
rightIcon: Icon(
Icons.chevron_right,
size: 30,
color: chevronColor,
rightIconConfig: calendar_view.IconDataConfig(
icon: (context) => Icon(
Icons.chevron_left,
size: 30,
color: chevronColor
),
)),
startDay: calendar_view.WeekDays.sunday,
weekDays: [
Expand Down Expand Up @@ -323,16 +327,20 @@ class _ScheduleViewState extends State<ScheduleView>
decoration: BoxDecoration(
color: backgroundColor,
),
leftIcon: Icon(
Icons.chevron_left,
size: 30,
color: chevronColor,
leftIconConfig: calendar_view.IconDataConfig(
icon: (context) => Icon(
Icons.chevron_left,
size: 30,
color: chevronColor
),
),
rightIconConfig: calendar_view.IconDataConfig(
icon: (context) => Icon(
Icons.chevron_left,
size: 30,
color: chevronColor
),
rightIcon: Icon(
Icons.chevron_right,
size: 30,
color: chevronColor,
)),
)),
weekDayStringBuilder: (p0) {
return weekTitles[p0];
},
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ packages:
source: hosted
version: "2.2.2"
url_launcher:
dependency: transitive
dependency: "direct main"
description:
name: url_launcher
sha256: "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603"
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dependencies:

# Web
flutter_inappwebview: ^6.1.5
url_launcher: ^6.3.1

# Utils
logger: ^2.4.0
Expand Down

0 comments on commit 239919a

Please sign in to comment.