import 'package:flutter/material.dart'; import '../../about/external/data/Goal.dart'; import '../../about/external/data/RoutineChain.dart'; import '../../about/internal/application/RoutineKind.dart'; import 'RoutineBuilderState.dart'; class RoutineBuilder extends StatefulWidget { /// The routine being edited; null builds a new one. final RoutineChain? routine; /// The kind a new routine starts as — the library's active filter. final RoutineKind? kind; /// The goal a new routine is created inside, or the goal an edited one /// already belongs to (for its title). Changeable in the form. final Goal? goal; const RoutineBuilder({super.key, this.routine, this.kind, this.goal}); @override State createState() => RoutineBuilderState(); }