import 'package:flutter/material.dart'; import '../../about/external/data/RoutineStep.dart'; import '../../about/internal/application/RoutineKind.dart'; import 'StepEditorState.dart'; /// The bottom sheet for one step. Pops with the edited [RoutineStep], with /// `false` when the step is removed, or with nothing when dismissed. class StepEditor extends StatefulWidget { /// The step being edited; null adds a new one. final RoutineStep? step; /// Decides the defaults for a new step. final RoutineKind kind; const StepEditor({super.key, this.step, required this.kind}); @override State createState() => StepEditorState(); }