import 'package:flutter/material.dart';

import '../../about/external/data/Commitment.dart';
import 'LiveTaskState.dart';

class LiveTask extends StatefulWidget {
  /// The commitment being run.
  final Commitment commitment;

  /// The goal it belongs to, shown as context in the runner and the ongoing
  /// notification.
  final String goalTitle;

  const LiveTask({super.key, required this.commitment, this.goalTitle = ""});

  @override
  State<LiveTask> createState() => LiveTaskState();
}
