Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gawdat committed Sep 17, 2023
1 parent 34fc8db commit 5c0e079
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/day_view/_internal_day_view_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class InternalDayViewPage<T extends Object?> extends StatelessWidget {

/// Defines a single day page.
const InternalDayViewPage({
super.key,
Key? key,
required this.showVerticalLine,
required this.width,
required this.date,
Expand All @@ -129,19 +129,19 @@ class InternalDayViewPage<T extends Object?> extends StatelessWidget {
required this.dayDetectorBuilder,
required this.showHalfHours,
required this.halfHourIndicatorSettings,
});
}) : super(key: key);

@override
Widget build(BuildContext context) {
final fullDayEventList = controller.getFullDayEvent(date);
final isRtl = Directionality.of(context) == TextDirection.rtl;

return SizedBox(
return Container(
height: height,
width: width,
child: Column(
children: [
fullDayEventList.isEmpty ? const SizedBox.shrink() : fullDayEventBuilder(fullDayEventList, date),
fullDayEventList.isEmpty ? SizedBox.shrink() : fullDayEventBuilder(fullDayEventList, date),
Expanded(
child: SingleChildScrollView(
controller: scrollController,
Expand Down

0 comments on commit 5c0e079

Please sign in to comment.