Skip to content

Commit

Permalink
Commit from GitHub Actions (Forui Presubmit)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pante committed Dec 5, 2024
1 parent e2705ec commit 5ef1739
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion forui/example/lib/sandbox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class Sandbox extends StatefulWidget {
class _SandboxState extends State<Sandbox> with SingleTickerProviderStateMixin {
final FCalendarController<DateTime?> controller = FCalendarController.date();
late FPopoverController popoverController;
late FCalendarController<DateTime?> a = FCalendarController.date();

@override
void initState() {
Expand Down
6 changes: 4 additions & 2 deletions forui/lib/src/widgets/line_calendar/line_calendar.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:forui/forui.dart';
import 'package:forui/src/widgets/line_calendar/speculative_layout.dart';

import 'package:meta/meta.dart';
import 'package:sugar/sugar.dart';

import 'package:forui/forui.dart';
import 'package:forui/src/widgets/line_calendar/speculative_layout.dart';

/// A line calendar displays dates in a single horizontal, scrollable line.
///
/// ## Desktop and web note
Expand Down
8 changes: 5 additions & 3 deletions forui/lib/src/widgets/line_calendar/speculative_layout.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';

import 'package:meta/meta.dart';
import 'package:sugar/sugar.dart' hide Offset;

import 'package:forui/forui.dart';
import 'package:forui/src/foundation/rendering.dart';
import 'package:forui/src/widgets/line_calendar/line_calendar_item.dart';
import 'package:meta/meta.dart';
import 'package:sugar/sugar.dart' hide Offset;

@internal
class CalendarLayout extends StatefulWidget {
Expand All @@ -19,7 +21,7 @@ class CalendarLayout extends StatefulWidget {
final LocalDate? initial;
final LocalDate today;
final BoxConstraints constraints;

const CalendarLayout({
required this.controller,
required this.style,
Expand Down
1 change: 1 addition & 0 deletions forui/test/src/widgets/line_calendar_golden_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ library;
import 'dart:ui';

import 'package:flutter/widgets.dart';

import 'package:flutter_test/flutter_test.dart';

import 'package:forui/forui.dart';
Expand Down

0 comments on commit 5ef1739

Please sign in to comment.