// SPDX-FileCopyrightText: 2026 FocusFlow contributors
// SPDX-License-Identifier: AGPL-3.0-only

part of '../focus_flow_app.dart';

/// Stateful home screen that owns the Today controller lifecycle.
class FocusFlowHome extends StatefulWidget {
  /// Creates the FocusFlow home screen from an application composition.
  const FocusFlowHome({required this.composition, super.key});

  /// Factory and controller bundle used by the home screen.
  final SchedulerAppComposition composition;

  /// Creates the mutable state object used by this stateful widget.
  /// Flutter calls this once for each mounted widget instance before lifecycle callbacks and builds begin.
  @override
  State<FocusFlowHome> createState() => _FocusFlowHomeState();
}
