cpd/lib/model/habit.dart

17 lines
266 B
Dart

import 'package:flutter/material.dart';
class Habit {
bool isComplete;
String title;
String? subtitle;
Icon icon;
Habit({
required this.isComplete,
required this.title,
this.subtitle,
this.icon = const Icon(Icons.priority_high),
});
}