Description
lib/screens/bill_detail_screen.dart (450+ lines) and lib/screens/bill_detail_sheet_content.dart (350+ lines) duplicate the bill editing form, split slider, validation logic, and save logic.
Recommended Fix
Extract the shared form (category selector, amount field, split slider, notes, date picker, save button) into a reusable widget like BillEditForm that both views can compose.
Priority
Medium — increases maintenance burden and risk of divergent behavior between the two views.
Description
lib/screens/bill_detail_screen.dart(450+ lines) andlib/screens/bill_detail_sheet_content.dart(350+ lines) duplicate the bill editing form, split slider, validation logic, and save logic.Recommended Fix
Extract the shared form (category selector, amount field, split slider, notes, date picker, save button) into a reusable widget like
BillEditFormthat both views can compose.Priority
Medium — increases maintenance burden and risk of divergent behavior between the two views.