This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
enum TaskPriority { low, medium, high, veryHigh } | |
class TodoApp extends StatelessWidget { | |
final List<Task> tasks; // Declaração da lista de tarefas | |
TodoApp( | |
{required this.tasks}); // Atribuição da lista de tarefas no construtor |